/* Wheria website — strictly monochrome black & white design system in Nunito */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #f5f5f3;
  --surface: #ffffff;
  --well: #eaeae6;
  --hero: #0e0e0f;
  --hero-surface: #18181a;
  --hero-ink: #f5f5f3;
  --hero-dim: #9e9e9b;
  --hero-line: #2a2a2d;
  --ink: #101011;
  --dim: #5c5c5f;
  --faint: #8a8a8e;
  --line: #e2e2de;
  --inverse-bg: #101011;
  --inverse-ink: #f5f5f3;
  --ok: #1b7a3d;
  --ok-bg: #e5f3ea;
  --danger: #c9342b;
  --danger-bg: #fbe9e8;
  --shadow-card: 0 1px 2px rgba(16, 16, 16, 0.04), 0 12px 28px -16px rgba(16, 16, 16, 0.12);
  --shadow-phone: 0 24px 60px -20px rgba(0, 0, 0, 0.34), 0 2px 8px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --font: "Nunito", ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #080809;
    --surface: #131315;
    --well: #1e1e21;
    --hero: #131315;
    --hero-surface: #1c1c1f;
    --hero-ink: #f3f3f1;
    --hero-dim: #9d9d9a;
    --hero-line: #2c2c30;
    --ink: #f2f2ef;
    --dim: #a0a09d;
    --faint: #6c6c6f;
    --line: #252528;
    --inverse-bg: #f2f2ef;
    --inverse-ink: #0b0b0c;
    --ok: #5cd085;
    --ok-bg: #142a1c;
    --danger: #ff6b63;
    --danger-bg: #321615;
    --shadow-card: none;
    --shadow-phone: 0 28px 68px -20px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --canvas: #080809;
  --surface: #131315;
  --well: #1e1e21;
  --hero: #131315;
  --hero-surface: #1c1c1f;
  --hero-ink: #f3f3f1;
  --hero-dim: #9d9d9a;
  --hero-line: #2c2c30;
  --ink: #f2f2ef;
  --dim: #a0a09d;
  --faint: #6c6c6f;
  --line: #252528;
  --inverse-bg: #f2f2ef;
  --inverse-ink: #0b0b0c;
  --ok: #5cd085;
  --ok-bg: #142a1c;
  --danger: #ff6b63;
  --danger-bg: #321615;
  --shadow-card: none;
  --shadow-phone: 0 28px 68px -20px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 500 17px/1.64 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 800;
  z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.num { font-variant-numeric: tabular-nums; }
.caps {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* Top bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
}
.top-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.nav a {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: var(--radius);
  color: var(--dim);
  transition: background 0.16s, color 0.16s;
}
.nav a:hover { color: var(--ink); background: var(--well); }
.nav a[aria-current="page"] {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
}
.pill-ctrl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  color: var(--ink);
}
.pill-ctrl:hover { background: var(--well); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: center;
  padding: 24px 0 34px;
}
@media (max-width: 860px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 14px; }
}
.hero > *, .sim-box > *, .tour-card > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}
h1 {
  font-size: clamp(30px, 5.8vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 16px 0 16px;
}
.lede {
  font-size: clamp(17px, 1.95vw, 19px);
  color: var(--dim);
  max-width: 570px;
  margin: 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.14s, opacity 0.14s, background 0.16s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { background: var(--well); }
.btn small { font-weight: 700; opacity: 0.72; font-size: 12.5px; }

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 8px;
}

/* Hero Phone Showcase */
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.phone-bezel {
  width: min(310px, 100%);
  background: #0d0d0e;
  border: 1px solid #2b2b2e;
  border-radius: 36px;
  padding: 11px;
  box-shadow: var(--shadow-phone);
}
.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  border: 1px solid #222;
  aspect-ratio: 640 / 1393;
  position: relative;
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.screen-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.screen-pill {
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--dim);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.screen-pill[aria-pressed="true"] {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  border-color: var(--inverse-bg);
}

/* Sensor Signal Strip */
.signal-banner {
  margin-top: 18px;
  background: var(--hero);
  color: var(--hero-ink);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--hero-line);
}
.signal-bar {
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.25) 0 18px,
    transparent 18px 34px
  );
  background-size: 34px 3px;
}
@media (prefers-reduced-motion: no-preference) {
  .signal-bar { animation: tick-slide 3.2s linear infinite; }
}
@keyframes tick-slide {
  from { background-position-x: 0; }
  to { background-position-x: -34px; }
}
.signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--hero-dim);
}
@media (max-width: 760px) {
  .signal-row { grid-template-columns: minmax(0, 1fr); }
}
.signal-row strong {
  display: block;
  color: var(--hero-ink);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 2px;
}

/* Sections */
.sec { padding: 68px 0 0; }
.sec-head { max-width: 700px; margin-bottom: 24px; }
.sec-head h2 {
  font-size: clamp(27px, 4.2vw, 39px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-weight: 800;
  margin: 8px 0 10px;
}
.sec-head p { margin: 0; color: var(--dim); font-size: 17px; }

/* Interactive Basement Simulator */
.sim-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  align-items: stretch;
}
@media (max-width: 860px) {
  .sim-box { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}
.sim-hud {
  background: #0a0a0b;
  color: #f4f4f2;
  border: 1px solid #262629;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
.hud-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.hud-vehicle {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hud-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #1b1b1e;
  border: 1px solid #2e2e32;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
}
.hud-vname { font-weight: 800; font-size: 16px; line-height: 1.2; }
.hud-vsub { font-size: 12.5px; color: #9c9c99; }
.hud-gps {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hud-gps[data-state="denied"] { background: #2d1615; color: #ff7b74; }
.hud-gps[data-state="ok"] { background: #142a1c; color: #5cd085; }

.hud-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 6px 0;
}
.compass-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 10px solid #1e1e21;
  background: #141416;
  display: grid;
  place-items: center;
  position: relative;
}
.compass-ring.arrived {
  border-color: #1c3a25;
}
.compass-arrow {
  width: 44px;
  height: 44px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.hud-meters {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 4px;
}
.hud-meters-label {
  font-size: 13.5px;
  color: #9c9c99;
}
.hud-floor-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius);
  background: #1b1b1e;
  border: 1px solid #2d2d31;
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 2px;
}
.hud-floor-pill.same { background: #142a1c; border-color: #214930; color: #7be39f; }

.hud-meta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.hud-tile {
  background: #161618;
  border: 1px solid #27272b;
  border-radius: var(--radius);
  padding: 10px 12px;
}
.hud-tile span {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f8f93;
}
.hud-tile strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  margin-top: 2px;
  color: #f4f4f2;
}

.hud-path-box {
  background: #141416;
  border: 1px solid #27272b;
  border-radius: var(--radius);
  padding: 10px 14px;
}
.hud-path-svg { width: 100%; height: 68px; display: block; }
.hud-ocr-box {
  background: #161618;
  border: 1px dashed #3a3a3f;
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 13px;
  color: #d6d6d2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.hud-ocr-box[hidden] { display: none; }
.hud-ocr-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 8px;
  background: #142a1c;
  color: #5cd085;
  white-space: nowrap;
}

.sim-controls {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.ctrl-group h4 {
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-btn {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--dim);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.chip-btn[aria-pressed="true"] {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  border-color: var(--inverse-bg);
}
.sim-story {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.sim-story h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.sim-story p {
  margin: 0;
  font-size: 15px;
  color: var(--dim);
}
.slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
}
input[type="range"].walk-slider {
  width: 100%;
  accent-color: var(--ink);
  cursor: pointer;
}

/* Interactive Walkthrough Tour */
.tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.tour-tab {
  padding: 9px 15px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--dim);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.tour-tab[aria-selected="true"] {
  background: var(--inverse-bg);
  color: var(--inverse-ink);
  border-color: var(--inverse-bg);
}
.tour-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 780px) {
  .tour-card { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
.tour-copy h3 {
  font-size: 25px;
  line-height: 1.18;
  margin: 8px 0 10px;
  font-weight: 800;
}
.tour-copy p { margin: 0 0 16px; color: var(--dim); }
.tour-points {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.tour-points li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  display: flex;
  gap: 10px;
}
.tour-points li b {
  font-weight: 800;
  min-width: 24px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}
.tour-visual { display: flex; justify-content: center; }
.tour-visual .phone-bezel { width: min(268px, 100%); }

/* Gallery Strip */
.shots-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 820px) {
  .shots-row {
    grid-template-columns: repeat(4, 68%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .shots-row figure { scroll-snap-align: start; }
}
.shots-row figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 10px;
}
.shots-row img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.shots-row figcaption {
  padding: 10px 4px 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dim);
}

/* Grids & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.25; }
.card p { margin: 0; color: var(--dim); font-size: 15.5px; }
.card-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 6px;
}

/* Tables */
.table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td {
  text-align: left;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
tr:first-child th { border-top: 0; }
th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--canvas);
}
td code, p code, li code {
  font: 13.5px var(--mono);
  background: var(--well);
  padding: 2px 6px;
  border-radius: 6px;
  word-break: break-word;
}

/* Pricing */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
}
.plan-card.featured {
  background: var(--hero);
  color: var(--hero-ink);
  border-color: var(--hero-line);
}
.plan-card.featured p,
.plan-card.featured li { color: var(--hero-dim); }
.plan-price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0; }
.plan-list { list-style: none; padding: 0; margin: 12px 0 0; }
.plan-list li {
  padding: 8px 0;
  border-top: 1px solid rgba(128, 128, 128, 0.22);
  font-size: 15px;
}
.plan-list li:first-child { border-top: 0; }

/* Download Center */
.dl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
}
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.meta-tag {
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--well);
  color: var(--ink);
}
.meta-tag.ok { background: var(--ok-bg); color: var(--ok); }
.sha-box {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  font: 12px/1.45 var(--mono);
  color: var(--dim);
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.copy-btn {
  flex: none;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: 700 12px var(--font);
  cursor: pointer;
}
.steps-ol {
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--dim);
  font-size: 15px;
}
.steps-ol li { margin: 5px 0; }

/* FAQ */
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 800;
  color: var(--dim);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--dim); font-size: 15.5px; }

/* Legal & Support Document Layout */
.doc { max-width: 760px; padding: 28px 0 12px; }
.doc h1 { font-size: clamp(32px, 5.8vw, 48px); margin: 10px 0 8px; }
.doc .meta { color: var(--dim); font-size: 15px; margin: 0 0 22px; }
.tldr {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.tldr strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.tldr p { margin: 0 0 8px; color: var(--dim); font-size: 15.5px; }
.tldr p:last-child { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px; }
.toc a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--dim);
}
.toc a:hover { color: var(--ink); background: var(--well); }
.doc section { margin-top: 34px; }
.doc h2 { font-size: 22px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.015em; }
.doc p { margin: 0 0 12px; color: var(--ink); }
.doc ul { padding-left: 20px; margin: 8px 0 14px; }
.doc li { margin: 7px 0; color: var(--ink); }

/* Footer */
footer {
  margin-top: 72px;
  padding: 26px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { text-decoration: none; font-weight: 700; }
footer a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 600px) {
  .top { padding-block: 14px; }
  .top-right { width: 100%; }
  .nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px; }
  .nav a { white-space: nowrap; }
}
