/* LegalTech CC 默认首页：深色门厅首屏，暖纸色内容区。 */
.dark-home {
  overflow: hidden;
}

.dark-stage {
  color: #f4f7f5;
  background:
    radial-gradient(ellipse 70% 36% at 50% 100%, rgba(37, 196, 155, .18), transparent 72%),
    linear-gradient(135deg, #071012 0%, #0d1718 58%, #091214 100%);
}

.dark-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 76px;
  border-bottom: 1px solid rgba(230, 243, 238, .14);
}

.dark-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
}

.dark-brand .brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
}

.dark-brand small {
  display: block;
  margin-top: 3px;
  color: rgba(238, 247, 243, .6);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .04em;
}

.dark-nav,
.dark-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dark-brand {
  grid-column: 1;
}

.dark-nav {
  grid-column: 2;
}

.dark-header-actions {
  grid-column: 3;
  justify-self: end;
}

.dark-nav a,
.dark-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 13px;
  border: 0;
  border-radius: 8px;
  color: rgba(237, 246, 242, .68);
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 640;
  text-decoration: none;
}

.dark-nav a:hover,
.dark-dropdown-trigger:hover,
.dark-nav a:focus-visible,
.dark-dropdown-trigger:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.dark-nav a.is-active::after,
.dark-dropdown-trigger.is-active::after,
.dark-dropdown-trigger[aria-expanded="true"]::after {
  position: absolute;
  right: 13px;
  bottom: 5px;
  left: 13px;
  height: 2px;
  border-radius: 100px;
  background: var(--jade);
  content: "";
}

.dark-nav-dropdown {
  position: relative;
}

.dark-dropdown-trigger::before {
  margin-left: 5px;
  color: rgba(237, 246, 242, .45);
  content: "▾";
  font-size: 11px;
}

.dark-dropdown-panel {
  position: absolute;
  z-index: 10;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: 246px;
  padding: 7px;
  border: 1px solid rgba(234, 248, 242, .14);
  border-radius: var(--radius);
  background: #152021;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .28);
}

.dark-dropdown-trigger[aria-expanded="true"] + .dark-dropdown-panel {
  display: grid;
}

.dark-dropdown-panel a {
  display: block;
  min-height: 44px;
  padding: 9px 10px;
  color: #eef6f2;
  border-radius: 8px;
}

.dark-dropdown-panel a small {
  display: block;
  margin-top: 2px;
  color: rgba(238, 246, 242, .57);
  font-size: 11px;
  font-weight: 500;
}

.dark-header-actions {
  gap: 12px;
}

.warm-version-link {
  color: rgba(237, 246, 242, .72);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.warm-version-link:hover {
  color: #fff;
}

.dark-start-link,
.dark-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid rgba(230, 246, 238, .72);
  border-radius: 8px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 720;
  text-decoration: none;
}

.dark-start-link:hover {
  border-color: var(--jade);
  color: #fff;
}

.dark-hero {
  max-width: 1040px;
  padding: clamp(92px, 11vw, 146px) 0 48px;
  text-align: center;
}

.dark-eyebrow,
.workbench-heading > div > p {
  margin: 0 0 16px;
  color: rgba(102, 223, 190, .76);
  font-size: 12.5px;
  font-weight: 720;
  letter-spacing: .12em;
}

.dark-hero h1 {
  margin: 0;
  color: #f8faf8;
  font-size: clamp(48px, 7.1vw, 88px);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .99;
}

.dark-hero h1 em {
  color: #fff;
  font-family: var(--serif);
  font-style: normal;
  font-weight: 620;
}

.dark-lede {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(237, 246, 242, .66);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.7;
}

.dark-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.dark-primary-action {
  min-height: 52px;
  padding: 12px 25px;
  border-color: var(--jade);
  background: var(--jade);
  color: #06211c;
}

.dark-primary-action:hover {
  border-color: #58dab5;
  background: #58dab5;
  color: #061d19;
}

.dark-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: #edf7f3;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
}

.dark-secondary-action:hover {
  color: var(--mint);
}

.dark-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(237, 246, 242, .56);
  list-style: none;
  font-size: 13px;
}

.dark-trust li + li::before {
  margin: 0 15px;
  color: var(--jade);
  content: "•";
}

.workbench {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(225, 244, 236, .17);
  border-radius: 20px 20px 0 0;
  background: rgba(5, 12, 14, .56);
  box-shadow: 0 -18px 60px rgba(0, 0, 0, .16);
}

.workbench-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 28px;
  border-bottom: 1px solid rgba(225, 244, 236, .13);
}

.workbench-heading > div > p {
  margin-bottom: 4px;
  font-size: 10.5px;
}

.workbench-heading h2 {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.025em;
}

.workbench-note {
  color: rgba(237, 246, 242, .5);
  font-size: 12px;
  white-space: nowrap;
}

.workbench-layout {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 2.1fr) minmax(215px, .88fr);
  min-height: 322px;
}

.workbench-tabs,
.review-panel {
  padding: 16px;
  background: rgba(255, 255, 255, .025);
}

.workbench-tabs {
  display: grid;
  align-content: start;
  gap: 5px;
  border-right: 1px solid rgba(225, 244, 236, .13);
}

.workbench-tab {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(237, 246, 242, .68);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
  text-align: left;
}

.workbench-tab:hover,
.workbench-tab.is-active {
  border-color: rgba(74, 218, 180, .22);
  background: rgba(37, 196, 155, .12);
  color: #fff;
}

.workbench-tab.is-active {
  box-shadow: inset 3px 0 0 var(--jade);
}

.workbench-canvas {
  padding: clamp(26px, 3.2vw, 42px);
}

.canvas-kicker {
  margin: 0 0 5px;
  color: var(--jade);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: .11em;
}

.workbench-canvas h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 3vw, 33px);
  letter-spacing: -.04em;
}

.canvas-description {
  max-width: 650px;
  margin: 9px 0 22px;
  color: rgba(237, 246, 242, .64);
  font-size: 14px;
  line-height: 1.7;
}

.workbench-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workbench-steps li {
  min-height: 100px;
  padding: 13px;
  border: 1px solid rgba(225, 244, 236, .11);
  border-radius: 9px;
  background: rgba(255, 255, 255, .035);
}

.workbench-steps span,
.workbench-steps strong,
.workbench-steps small {
  display: block;
}

.workbench-steps span {
  color: var(--jade);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .09em;
}

.workbench-steps strong {
  margin-top: 10px;
  color: #f2f7f4;
  font-size: 14px;
}

.workbench-steps small {
  margin-top: 4px;
  color: rgba(237, 246, 242, .55);
  font-size: 11.5px;
  line-height: 1.48;
}

.review-panel {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(225, 244, 236, .13);
}

.review-panel > p {
  margin: 0;
  color: #eff6f3;
  font-size: 13px;
  font-weight: 720;
}

.review-panel ul {
  display: grid;
  gap: 10px;
  margin: 17px 0 18px;
  padding: 0;
  list-style: none;
}

.review-panel li {
  display: flex;
  gap: 8px;
  color: rgba(237, 246, 242, .64);
  font-size: 12.5px;
  line-height: 1.45;
}

.review-panel li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 100%;
  background: var(--jade);
  content: "";
}

.review-panel a {
  margin-top: auto;
  color: var(--mint);
  font-size: 12.5px;
  font-weight: 720;
  text-decoration: none;
}

.warm-content {
  padding: clamp(64px, 9vw, 112px) 0 clamp(58px, 8vw, 96px);
  background: var(--paper);
}

.warm-intro {
  max-width: 850px;
}

.warm-intro h2 {
  max-width: 780px;
  margin: 0;
  font-size: var(--t-h1);
  letter-spacing: -.045em;
  line-height: 1.13;
}

.warm-intro > p:last-child {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.warm-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.warm-card {
  display: flex;
  flex-direction: column;
  min-height: 266px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.warm-card:hover {
  transform: translateY(-3px);
  border-color: var(--jade);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.warm-card-featured {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.warm-card-featured:hover {
  border-color: var(--jade);
  color: #fff;
}

.card-number,
.card-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .1em;
}

.card-number {
  color: var(--jade);
}

.warm-card h3 {
  margin: 18px 0 9px;
  font-size: 23px;
  letter-spacing: -.04em;
}

.warm-card > p:not(.card-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.warm-card-featured > p:not(.card-kicker) {
  color: rgba(255, 255, 255, .72);
}

.card-link {
  margin-top: auto;
  padding-top: 20px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 730;
}

.warm-card-featured .card-link {
  color: var(--mint);
}

.dark-home-footer {
  padding: 18px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
}

.dark-home-footer .row,
.dark-home-footer .links {
  display: flex;
  align-items: center;
}

.dark-home-footer .row {
  justify-content: space-between;
  gap: 16px;
}

.dark-home-footer .row > span {
  min-width: 0;
  flex: 1 1 auto;
}

.dark-home-footer .links {
  gap: 16px;
}

.dark-home-footer a {
  color: var(--muted);
}

.dark-home-footer .operator {
  display: inline;
  margin-top: 0;
}

.dark-home-footer .operator::before {
  display: block;
  height: 5px;
  content: "";
}

.dark-home-footer .filings {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 0 10px;
  vertical-align: middle;
  white-space: nowrap;
}

.dark-home-footer .police-filing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.dark-home-footer .police-filing img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 820px) {
  .dark-home-footer .operator {
    display: block;
    margin-top: 5px;
  }

  .dark-home-footer .operator::before {
    display: none;
  }

  .dark-home-footer .filings {
    display: flex;
    flex-wrap: wrap;
    margin: 5px 0 0;
    white-space: normal;
  }
}

@media (max-width: 980px) {
  .dark-topbar {
    display: flex;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .dark-nav { order: 3; }

  .workbench-layout { grid-template-columns: 170px minmax(0, 1fr); }

  .review-panel {
    grid-column: 1 / -1;
    min-height: 0;
    border-top: 1px solid rgba(225, 244, 236, .13);
    border-left: 0;
  }

  .review-panel ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .review-panel a { margin-top: 0; }

  .warm-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 660px) {
  .dark-topbar { gap: 10px; }

  .dark-brand small,
  .warm-version-link { display: none; }

  .dark-header-actions { margin-left: auto; }

  .dark-start-link { min-height: 36px; padding: 7px 11px; font-size: 12px; }

  .dark-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .dark-nav a,
  .dark-dropdown-trigger { flex: 0 0 auto; padding: 7px 10px; font-size: 12.5px; }

  .dark-nav-dropdown { position: relative; }

  .dark-dropdown-panel {
    right: auto;
    left: 0;
    width: min(246px, calc(100vw - 32px));
  }

  .dark-hero { padding-top: 68px; text-align: left; }

  .dark-hero h1 { font-size: clamp(43px, 13.2vw, 64px); }

  .dark-lede { margin-right: 0; margin-left: 0; font-size: 15px; }

  .dark-hero-actions,
  .dark-trust { justify-content: flex-start; }

  .dark-hero-actions { gap: 14px; }

  .workbench { width: min(var(--max-wide), calc(100% - 20px)); }

  .workbench-heading { display: block; padding: 20px; }

  .workbench-note { display: block; margin-top: 8px; white-space: normal; }

  .workbench-layout { display: block; }

  .workbench-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(225, 244, 236, .13);
  }

  .workbench-tab { flex: 0 0 auto; width: auto; white-space: nowrap; }

  .workbench-canvas { padding: 25px 20px; }

  .workbench-steps { grid-template-columns: 1fr; }

  .workbench-steps li { min-height: 0; }

  .review-panel { padding: 20px; }

  .review-panel ul { grid-template-columns: 1fr; margin: 14px 0; }

  .warm-cards { grid-template-columns: 1fr; }

  .warm-card { min-height: 218px; }

  .dark-home-footer .row { align-items: flex-start; flex-direction: column; }
}
