/* reachDr public site — "The Practice Week board". See DESIGN.md.
   Locks: Poppins text logo + brand green #1A8C7B are unchanged. */

:root {
  --green: #1A8C7B;
  --green-h: #157562;
  --green-d: #0C4A41;
  --green-l: #BFE3DC;
  --green-t: #DDF1EC;
  --ink: #111111;
  --ink-2: #3A3F42;
  --ink-3: #5C6366;
  --ground: #EEF1EF;
  --board: #FFFFFF;
  --rule: #D5DBD9;
  --amber: #E07A10;
  --amber-d: #8A4300;
  --amber-l: #FFE7C8;

  --cond: "Schibsted Grotesk", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;

  --pad: clamp(20px, 4vw, 48px);
  --max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 99; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Logo (locked) ---------- */
.logo { font-family: Poppins, sans-serif; font-weight: 600; letter-spacing: -0.05em; text-decoration: none; line-height: 1; font-size: 28px; white-space: nowrap; }
.logo .reach { color: #2B3035; }
.logo .dr { color: #1A8C7B; }
.on-dark .logo .reach { color: #FFFFFF; }

/* ---------- Type ---------- */
.display { font-family: var(--cond); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4.2vw, 58px); }
.h3 { font-size: clamp(28px, 2.8vw, 40px); }
.lede { font-size: clamp(19px, 1.5vw, 21px); color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.tag {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: .02em; 
  border: 2px solid currentColor; border-radius: 6px; padding: 3px 10px 2px;
}
.tag b { background: var(--ink); color: #fff; margin: -3px 0 -2px -10px; padding: 3px 8px 2px; border-radius: 3px 0 0 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 19px/1 var(--body); text-decoration: none; border: 0; cursor: pointer;
  border-radius: 999px; padding: 18px 28px; min-height: 56px;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 3px 0 var(--green-d); }
.btn-green:hover { background: var(--green-h); }
.btn-green:active { box-shadow: 0 1px 0 var(--green-d); }
.btn-white { background: #fff; color: var(--green-d); box-shadow: 0 3px 0 rgba(0,0,0,.18); }
.btn-white:hover { background: var(--green-l); }
.btn[disabled] { opacity: .6; cursor: progress; }
.ghost { font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.ghost:hover { color: var(--green-h); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 32px; height: 76px; padding: 0 var(--pad); background: #fff; border-bottom: 1px solid var(--rule); }
.nav-links { display: flex; gap: 28px; margin: 0 auto; font-size: 17px; font-weight: 700; }
.nav-links a { text-decoration: none; color: var(--ink-2); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--green-h); }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-right .signin { text-decoration: none; font-weight: 700; font-size: 17px; color: var(--ink-2); }
.nav-right .signin:hover { color: var(--ink); }
.nav-right .btn { min-height: 48px; padding: 12px 22px; font-size: 19px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font: 700 15px var(--body); color: var(--ink); cursor: pointer; }
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 4.8fr) minmax(0, 7.2fr); min-height: min(calc(100vh - 76px), 900px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 40%; background: #E2E8E5; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 48px 40px 64px var(--pad); max-width: 660px; }
.hero h1 { margin-top: 24px; font-size: clamp(42px, 4.4vw, 68px); }
.hero h1 .g { display: block; color: var(--green); margin-top: .08em; }
.hero .lede { margin-top: 26px; }
.hero .lede strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.fine { margin-top: 24px; font-size: 16px; color: var(--ink-3); display: flex; gap: 10px; align-items: center; }
.fine i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.stage { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 48px var(--pad) 72px 24px; }

/* ---------- The board ---------- */
.board {
  --cell: 118px;
  position: relative; width: min(100%, 800px); background: var(--board); border-radius: 22px; padding: 22px 24px 18px;
  transform: rotate(-2.4deg);
  box-shadow: 0 1px 0 #d6dcda, 0 30px 50px -26px rgba(3,40,34,.35), 0 10px 20px -12px rgba(3,40,34,.2);
}
.board-head { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--ink); }
.board-title { font-family: var(--cond); font-weight: 800; font-size: 32px; line-height: .9;  }
.board-title small { display: block; margin-top: 6px; font-family: var(--body); font-weight: 400; font-size: 13px; text-transform: none; color: var(--ink-3); }
.device { margin-left: auto; display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; border-radius: 12px; padding: 9px 14px; }
.device .logo { font-size: 19px; }
.device .led { width: 9px; height: 9px; border-radius: 50%; background: #5fd3bf; box-shadow: 0 0 0 3px rgba(95,211,191,.18); }
.device .count { font-family: var(--body); font-size: 12px; color: #cfd6d4; line-height: 1.3; }
.device .count b { display: block; font-family: var(--cond); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: .01em; }

.grid { display: grid; grid-template-columns: 124px repeat(5, minmax(0, 1fr)); margin-top: 12px; }
.dayh { font-family: var(--cond); font-weight: 700; font-size: 17px;  text-align: center; padding: 2px 0 8px; }
.rowh { display: flex; flex-direction: column; justify-content: center; padding-right: 10px; border-top: 1px solid var(--rule); }
.rowh .rn { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }
.rowh .rt { font-family: var(--cond); font-weight: 700; font-size: 21px; line-height: 1;  }
.rowh .rs { font-size: 12.5px; color: var(--ink-3); line-height: 1.25; margin-top: 4px; }
.cell { position: relative; height: var(--cell); padding: 8px 6px; border-top: 1px solid var(--rule); }
.well { position: relative; height: 100%; }
.key {
  position: absolute; inset: 3px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--rule);
}
.key::before { content: ""; position: absolute; left: 9px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #1A8C7B; }
.chip { position: relative; z-index: 1; text-align: center; max-width: 92%; }
.chip .k { display: block; font-family: var(--body); font-weight: 400; font-size: 12px; line-height: 1.2; color: var(--ink-3); }
.chip .v { display: block; margin-top: 3px; font-family: var(--cond); font-weight: 700; font-size: 17px; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; text-wrap: balance; }
.cell.miss .key { background: var(--amber-l); box-shadow: inset 0 0 0 2px var(--amber); }
.cell.miss .key::before { display: none; }
.cell.miss .chip .k { color: var(--amber-d); }
.cell.miss .chip .v { color: var(--amber-d); }
.cell.miss .flag { position: absolute; right: 0; top: 0; white-space: nowrap; z-index: 3; font-family: var(--cond); font-weight: 800; font-size: 12px;  background: var(--amber); color: #fff; padding: 1px 6px; border-radius: 0 10px 0 6px; }
.board-foot { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--ink-3); }
.legend { margin-left: auto; display: flex; gap: 18px; font-weight: 700; color: var(--ink); }
.legend span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend i { width: 16px; height: 16px; border-radius: 4px; flex: none; }
.legend .lg { background: #fff; box-shadow: inset 0 0 0 1px var(--rule), inset 0 0 0 5px #fff, inset 0 0 0 8px #1A8C7B; border-radius: 50%; }
.legend .la { box-shadow: inset 0 0 0 2px var(--amber); background: var(--amber-l); }
.demo-note { position: absolute; left: 26px; bottom: -36px; font-family: var(--mono); font-size: 12px; color: #fff; background: rgba(0,0,0,.28); padding: 3px 9px; border-radius: 999px; }

/* ---------- Physician ---------- */
.doc { background: var(--board); padding: clamp(64px, 8vw, 104px) 0; }
.doc-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.doc-photo { width: 260px; aspect-ratio: 1; border-radius: 28px; object-fit: cover; box-shadow: 0 18px 36px -18px rgba(3,40,34,.45); }
.doc blockquote { position: relative; font-family: var(--cond); font-weight: 600; font-size: clamp(28px, 2.8vw, 40px); line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; max-width: 22em; }
.doc blockquote::before { content: "“"; position: absolute; left: -.55em; top: -.05em; color: var(--green); font-weight: 700; }
.doc cite { display: block; margin-top: 24px; font-style: normal; }
.doc cite b { display: block; font-size: 21px; }
.doc cite span { display: block; color: var(--ink-3); font-size: 17px; margin-top: 2px; }
.doc .context { margin-top: 28px; padding-top: 22px; border-top: 3px solid var(--ink); max-width: 44em; color: var(--ink-2); }

/* ---------- Leaks ---------- */
.leaks-intro { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(24px, 4vw, 48px); }
.leaks-intro .lede { margin-top: 22px; }
.leak { padding: clamp(56px, 8vw, 104px) 0; }
.leak-grid { display: grid; gap: clamp(36px, 4vw, 56px); }
.leak-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.lc-body { padding-top: 46px; }
.lc-body .fix { margin-top: 0; }
.row-key { display: inline-flex; align-items: center; gap: 10px; font-family: var(--cond); font-weight: 700; font-size: 19px;  letter-spacing: .02em; color: var(--green-h); }
.row-key::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: #1A8C7B; }
.leak.ink .row-key { color: #5fd3bf; }
.row-key i {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; font-style: normal; font-weight: 800; font-size: 22px; color: #fff;
  background: #1A8C7B; box-shadow: inset 0 -3px 0 rgba(0,0,0,.14);
}
.leak h3 { margin-top: 20px; }
.said { margin: 28px 0 0; max-width: 30em; }
.said blockquote { font-family: var(--cond); font-weight: 600; font-size: 22px; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); text-wrap: pretty; }
.said-by { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink-3); }
.said-by img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.fix { margin-top: 24px; color: var(--ink-2); }
.fix strong { color: var(--ink); }
.spec { margin-top: 26px; border-top: 3px solid var(--ink); }
.spec div { display: grid; grid-template-columns: 112px 1fr; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
.spec dt { font-family: var(--cond); font-weight: 700; font-size: 16px;  letter-spacing: .02em; color: var(--ink-3); padding-top: 1px; }
.spec dd { margin: 0; }
.status { display: inline-block; font-family: var(--body); font-size: 13px; font-weight: 700; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--green-t); color: var(--green-d); }
.status.is-pilot { background: var(--amber-l); color: var(--amber-d); }
.links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.shot { position: relative; margin: 0; }
.shot img { width: 100%; border-radius: 14px; box-shadow: 0 2px 0 rgba(0,0,0,.05), 0 40px 70px -30px rgba(3,40,34,.55), 0 16px 30px -18px rgba(3,40,34,.35); }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.shot figcaption b { color: var(--ink); }

.leak.ink { background: var(--ink); color: #fff; }
.leak.ink .lede, .leak.ink .fix { color: #D3D9D8; }
.leak.ink .fix strong { color: #fff; }
.leak.ink .said blockquote { color: #fff; }
.leak.ink .said-by { color: #A2ABAA; }
.leak.ink .shot figcaption { color: #A2ABAA; }
.leak.ink .shot figcaption b { color: #fff; }
.leak.ink .spec { border-top-color: #fff; }
.leak.ink .spec div { border-bottom-color: #33393B; }
.leak.ink .spec dt { color: #A2ABAA; }
.leak.ink .status.is-pilot { background: #3A2A15; color: #F2A65A; }
.leak.ink .row-key { color: #fff; }
.proofline { margin-top: 28px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 36px; }
.proofline div b { display: block; font-family: var(--cond); font-weight: 800; font-size: 48px; line-height: 1; color: #5fd3bf; }
.proofline div span { font-size: 15px; color: #C4CCCB; }
.proofnote { display: block; margin-top: 12px; font-size: 13px; color: #8E9897; }

/* ---------- Pilot ---------- */
.pilot { background: #fff; color: var(--ink); padding: clamp(72px, 10vw, 128px) 0; }
.pilot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.pilot .h2 { color: var(--ink); }
.pilot .h2 .d { color: var(--green-h); display: block; }
.steps { list-style: none; margin-top: 36px; border-top: 3px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--cond); font-weight: 800; font-size: 40px; line-height: .9; color: var(--green-h); }
.steps b { display: block; font-family: var(--cond); font-weight: 700; font-size: 25px;  line-height: 1.05; }
.steps p { margin-top: 4px; color: var(--ink-2); font-size: 18px; }
.price { margin-top: 26px; color: var(--ink-2); font-size: 17px; }
.price a { color: var(--green-h); font-weight: 700; }

.form-board { background: var(--ground); color: var(--ink); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); }
.form-board h3 { font-size: clamp(32px, 3vw, 44px); }
.form-board .sub { margin-top: 10px; color: var(--ink-3); font-size: 17px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 16px; }
.field input, .field select {
  width: 100%; min-height: 54px; padding: 12px 14px; border: 2px solid #C9D1CF; border-radius: 12px; background: #fff; color: var(--ink);
  font: 400 18px/1.3 var(--body); transition: border-color .15s, box-shadow .15s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23111'%3E%3Cpath d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(26,140,123,.18); }
.form-board .btn { width: 100%; margin-top: 26px; }
.form-status { margin-top: 14px; font-weight: 700; text-align: center; min-height: 1.5em; }
.form-status.ok { color: var(--green-h); }
.form-status.err { color: #B23A12; }
.form-fine { margin-top: 6px; font-size: 14px; color: var(--ink-3); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C4CCCB; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer nav a { text-decoration: none; font-size: 16px; }
.footer nav a:hover { color: #fff; }
.footer small { margin-left: auto; font-size: 14px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .board { opacity: 0; transform: translateY(40px) rotate(-6deg); }
  .js .board.in { opacity: 1; transform: rotate(-2.4deg); transition: transform 900ms cubic-bezier(.2,.8,.2,1), opacity 500ms ease; }
  .js .cell .key { opacity: 0; transform: scale(1.06); }
  .js .cell .chip { opacity: 0; transform: translateY(-6px) scale(.9); }
  .js .cell.on .key { animation: press 460ms cubic-bezier(.22,1,.36,1) forwards; }
  .js .cell.on .chip { animation: drop 380ms 140ms cubic-bezier(.22,1,.36,1) forwards; }
  .js .cell.miss .flag { opacity: 0; }
  .js .cell.miss.on .flag { animation: drop 300ms 260ms ease forwards; }
  .js .hero-copy > * { opacity: 0; transform: translateY(14px); }
  .js .hero-copy.in > * { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
  .js .hero-copy.in > :nth-child(2) { transition-delay: .08s; }
  .js .hero-copy.in > :nth-child(3) { transition-delay: .16s; }
  .js .hero-copy.in > :nth-child(4) { transition-delay: .24s; }
  .js .hero-copy.in > :nth-child(5) { transition-delay: .32s; }
  .js .rise { opacity: .35; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .js .rise.in { opacity: 1; transform: none; }
}
@keyframes press { 0% { opacity: 0; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
@keyframes drop { to { opacity: 1; transform: none; } }
@keyframes tear { 0% { opacity: 0; } 30% { opacity: 1; } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } 100% { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .board { --cell: 104px; }
  .chip .v { font-size: 15.5px; }
  .grid { grid-template-columns: 100px repeat(5, minmax(0, 1fr)); }
  .rowh .rs { display: none; }
  .device .count { display: none; }
}
@media (max-width: 980px) {
  .nav { height: 64px; gap: 14px; }
  .nav-links, .nav-right { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: block; position: absolute; top: 64px; left: 0; right: 0; z-index: 30; background: #fff; border-bottom: 3px solid var(--ink); padding: 8px var(--pad) 20px; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 700; font-size: 19px; text-decoration: none; }
  .mobile-menu a:last-child { border: 0; }
  .hero { grid-template-columns: 1fr; margin-top: 0; padding-top: 0; min-height: 0; }
  .hero::before { display: none; }
  .hero-copy { padding: 8px var(--pad) 36px; max-width: none; }
  .hero h1 { margin-top: 16px; font-size: clamp(38px, 10vw, 56px); }
  .hero .lede { margin-top: 18px; font-size: 18px; }
  .cta-row { margin-top: 24px; gap: 20px; }
  .fine { display: none; }
  .stage { background: #E2E8E5; padding: 36px 14px 48px; }
  .doc-grid, .leak-copy, .pilot-grid { grid-template-columns: 1fr; }
  .lc-body { padding-top: 0; }
  .doc-photo { width: 120px; border-radius: 20px; }
  .doc blockquote::before { position: static; display: inline; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .board { --cell: 94px; padding: 16px 12px 14px; transform: rotate(-1.4deg); }
  .js .board.in { transform: rotate(-1.4deg); }
  .grid { grid-template-columns: 64px repeat(3, minmax(0, 1fr)); }
  .grid .d4, .grid .d5 { display: none; }
  .rowh { padding-right: 6px; }
  .rowh .rt { font-size: 15px; }
  .board-title { font-size: 22px; }
  .board-title small { display: none; }
  .device { padding: 7px 10px; }
  .device .logo { font-size: 16px; }
  .chip .k { font-size: 10.5px; }
  .chip .v { font-size: 14.5px; }
  .key::before { left: 6px; top: 6px; width: 6px; height: 6px; }
  .cell { padding: 6px 4px; }
  .key { border-radius: 8px; inset: 2px; }
  .board-foot { flex-wrap: wrap; gap: 10px; }
  .board-foot > span:first-child { font-size: 12px; }
  .legend { margin-left: 0; font-size: 12px; gap: 14px; }
  .demo-note { left: 12px; }
  .fields { grid-template-columns: 1fr; }
  .proofline { grid-template-columns: 1fr 1fr 1fr; gap: 10px 16px; }
  .proofline div b { font-size: 36px; }
  .proofline div span { font-size: 13px; }
  .spec div { grid-template-columns: 92px 1fr; }
  .footer small { margin-left: 0; }
}
@media (max-width: 640px) {
  .shot img { max-height: 620px; object-fit: cover; object-position: top; border-radius: 12px; }
}

/* ---------- RTM page ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); }
.page-hero h1 { margin-top: 22px; font-size: clamp(50px, 6.4vw, 96px); max-width: 12em; }
.page-hero h1 .g { color: var(--green); }
.page-hero .lede { margin-top: 24px; }
.band-green { background: #E2E8E5; padding: clamp(40px, 6vw, 72px) 0; }
.sect { padding: clamp(64px, 9vw, 112px) 0; }
.sect.white { background: #fff; }
.sect .lede { margin-top: 20px; }
.track { list-style: none; margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 3px solid var(--ink); }
.track li { padding: 22px 0; }
.track b { display: block; font-family: var(--cond); font-weight: 800; font-size: 30px;  line-height: 1; }
.track p { margin-top: 10px; color: var(--ink-2); }
.codes { width: 100%; margin-top: 36px; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px -24px rgba(3,40,34,.35); }
.codes th { text-align: left; font-family: var(--cond); font-weight: 700; font-size: 16px;  letter-spacing: .02em; color: var(--ink-3); padding: 14px 20px; border-bottom: 3px solid var(--ink); }
.codes td { padding: 16px 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.codes tr:last-child td { border-bottom: 0; }
.codes .code { font-family: var(--mono); font-weight: 600; font-size: 15px; color: var(--green-d); white-space: nowrap; }
.codes .rule { color: var(--ink-3); font-size: 17px; }
.new { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--green-t); color: var(--green-d); vertical-align: 2px; }
.codes-note { margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.calc { margin-top: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 50px -28px rgba(3,40,34,.45); }
.calc-in { padding: clamp(24px, 4vw, 44px); }
.calc-in label { font-weight: 700; }
.calc-in .count { font-family: var(--cond); font-weight: 800; font-size: clamp(64px, 8vw, 104px); line-height: .9; margin-top: 10px; }
.calc-in input[type=range] { width: 100%; margin-top: 18px; accent-color: #1A8C7B; height: 32px; }
.calc-out { padding: clamp(24px, 4vw, 44px); background: var(--ink); color: #fff; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #33393B; color: #C4CCCB; font-size: 17px; }
.calc-row span:last-child { font-family: var(--mono); color: #fff; font-size: 15px; }
.calc-total { margin-top: 20px; }
.calc-total b { display: block; font-family: var(--cond); font-weight: 800; font-size: clamp(56px, 6vw, 84px); line-height: .9; color: #5fd3bf; }
.calc-total span { color: #C4CCCB; }
.calc-fine { margin-top: 18px; font-size: 14px; color: #8E9897; }
.faq { margin-top: 32px; border-top: 3px solid var(--ink); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--cond); font-weight: 700; font-size: 28px;  line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 36px; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }
.closer { background: #fff; color: var(--ink); padding: clamp(64px, 9vw, 112px) 0; }
.closer .h2 { color: var(--ink); }
.closer .cta-row { margin-top: 32px; }
.closer .ghost { color: var(--ink); }
@media (max-width: 980px) {
  .track { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .codes thead { display: none; }
  .codes, .codes tbody, .codes tr, .codes td { display: block; width: 100%; }
  .codes tr { padding: 14px 18px; border-bottom: 1px solid var(--rule); }
  .codes td { padding: 2px 0; border: 0; }
  .faq summary { font-size: 23px; }
}

/* ---------- Review fixes ---------- */
.fit { margin-top: 18px; font-size: 15px; color: var(--ink-3); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--amber); }
.dock { display: none; }
@media (max-width: 980px) {
  .dock { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .35s cubic-bezier(.22,1,.36,1); }
  .dock.show { transform: none; }
  .dock .btn { width: 100%; box-shadow: 0 3px 0 var(--green-d), 0 14px 30px -10px rgba(0,0,0,.45); }
}
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* ---------- Legal pages ---------- */
.legal { background: #fff; }
.legal-wrap { max-width: 860px; }
.legal-head { background: var(--ground); padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule); }
.legal-head h1 { font-size: clamp(38px, 5vw, 60px); }
.legal-date { margin-top: 14px; font-weight: 700; color: var(--ink-2); }
.legal-intro { margin-top: 18px; font-size: 20px; color: var(--ink-2); max-width: 40em; }
.legal-body { padding-top: clamp(40px, 6vw, 64px); padding-bottom: clamp(64px, 9vw, 112px); color: var(--ink-2); }
.legal-body h2 { font-family: var(--cond); font-weight: 800; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; line-height: 1.15; color: var(--ink); margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--rule); }
.legal-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal-body h3 { font-family: var(--cond); font-weight: 700; font-size: 21px; color: var(--ink); margin: 28px 0 10px; }
.legal-body p { margin: 0 0 16px; max-width: 44em; }
.legal-body ul, .legal-body ol { margin: 0 0 18px 1.3em; max-width: 44em; }
.legal-body li { margin-bottom: 8px; }
.legal-body li::marker { color: var(--green-h); }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--green-h); font-weight: 700; }
.legal-body > div:last-child { margin-top: 48px; padding: 20px 24px; border-radius: 14px; background: var(--ground); font-size: 16px; text-align: center; }
.legal-body > div:last-child p { margin: 0 auto; }
.legal-body .part-header { margin: 64px 0 20px; padding: 20px 24px; border-radius: 14px; background: var(--ground); }
.legal-body .part-header:first-child { margin-top: 0; }
.legal-body .part-header h2 { margin: 0; padding: 0; border: 0; }
.legal-body .part-header p { margin: 6px 0 0; font-size: 16px; color: var(--ink-3); }
.legal-body .emergency-notice { margin: 16px 0; padding: 16px 20px; border-radius: 12px; background: #FDECEA; color: #8A1C12; font-weight: 700; }
.legal-body .disclaimer-caps { font-size: 16px; letter-spacing: .01em; }
