/* Landing page styling derived from the ChargeSoon dashboard UI:
   warm gray canvas, near-white bordered cards, bold wordmark, pill row actions. */

/* Tokens mirror apps/extension/src/popup/styles.css so the site and the extension
   read as one product. Change them there first, then here. */
:root {
  --canvas: #f8f6f1;
  --app: #f3f0e9;
  --card: #ffffff;
  --white: #ffffff;
  --ink: #171715;
  --ink-soft: #373733;
  --ink-mute: #777670;
  --rule: #ddd9d1;
  --rule-soft: #e9e6df;
  --panel-rule: #e3dfd7;
  --alert-bg: #fbeaea;
  --alert-ink: #b42318;
  --ok-bg: #e4f0e5;
  --ok-ink: #2c6b3b;
  --warn-bg: #f9ecd5;
  --warn-ink: #7c5612;
  --shadow-sm: 0 1px 2px rgba(18, 17, 15, .05);
  --shadow-lg: 0 18px 44px rgba(18, 17, 15, .09);
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- type ---------- */

/* Page headings stay light and editorial. The heavier weights below are scoped to the
   dashboard replicas, where they belong to the product's own UI. */
h1, h2, h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.07;
}

h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.05em; line-height: 1.08; }
h2 { font-size: clamp(32px, 4.2vw, 48px); letter-spacing: -.045em; line-height: 1.08; }
h3 { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
h4 { margin: 0; font-size: 15px; font-weight: 500; letter-spacing: -.015em; }

p { margin: 0; }

.lede {
  font-size: clamp(17px, 1.3vw, 19px);
  color: var(--ink-soft);
  max-width: 47ch;
  line-height: 1.6;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 17px;
}

.tagline { color: var(--ink-mute); font-size: 14px; letter-spacing: -0.01em; }

/* ---------- nav ---------- */

header.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}

header.nav.is-stuck { border-bottom-color: var(--rule); }

.nav-inner { display: flex; align-items: center; gap: 28px; height: 70px; }

.brand {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
  text-decoration: none;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 5px 14px rgb(23 23 21 / 16%);
}

.btn-primary:hover { background: #373733; border-color: #373733; }
.btn-ghost { background: var(--white); border-color: #d8d4cc; color: #22211e; }
.btn-ghost:hover { border-color: #aaa69e; background: #f6f3ed; }
.btn-sm { height: 38px; padding: 0 17px; font-size: 14px; }

/* pill actions, as in the dashboard rows */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}

.pill svg { color: var(--ink-mute); }

/* ---------- hero ---------- */

.hero { padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 5vw, 64px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero h1 { margin-bottom: 20px; max-width: 12ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-mute); }

/* ---------- dashboard replica ---------- */

.ui {
  background: var(--app);
  border: 1px solid var(--panel-rule);
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.ui-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.ui-head .brand { font-size: 17px; }
.ui-head .tagline { font-size: 12.5px; }
.ui-mini { font-size: 12.5px; color: var(--ink-mute); }

/* four-up stat bar */
.statbar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}

/* Each cell reserves the same label height so every value sits on one baseline,
   however the labels wrap. */
.statbar > div {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-left: 1px solid var(--rule);
  min-width: 0;
}

.statbar > div:first-child { border-left: 0; }

.statbar dt {
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink-soft);
  margin-bottom: 10px;
  min-height: 2.6em;
}

.statbar dd {
  margin: 0 auto 0 0;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* entry-point cards */
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.entry {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 14px;
  position: relative;
}

.entry .arrow { position: absolute; top: 12px; right: 12px; color: var(--ink-mute); }
.entry svg.glyph { color: var(--ink); margin-bottom: 26px; }
.entry h4 { margin-bottom: 4px; }
.entry p { font-size: 12.5px; color: var(--ink-mute); line-height: 1.4; }

/* subscription list */
.list { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }

.list-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-soft);
}

.tab {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  padding: 5px 12px;
  border-radius: 999px;
}

.tab.on { background: #eceae3; color: var(--ink); }
.list-head .ui-mini { margin-left: auto; }

.sub {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-top: 1px solid var(--rule-soft);
}

.list .sub:first-of-type { border-top: 0; }

.fav {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--rule);
  background: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.sub-name { font-weight: 500; letter-spacing: -0.02em; font-size: 15.5px; }
.sub-meta { font-size: 13px; color: var(--ink-mute); margin-top: 2px; }
.sub-price { text-align: right; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.sub-price span { font-weight: 400; color: var(--ink-mute); }
.sub-when { text-align: right; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--alert-bg);
  color: var(--alert-ink);
}

.badge-ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }

.row-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* black floating action bar */
.actionbar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 9px 10px 9px 20px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
}

.actionbar .sep { color: #55534d; }
.actionbar .muted { color: #b7b4ac; }
.actionbar .ghost { margin-left: auto; color: #e3e0d8; }

.actionbar .go {
  background: var(--canvas);
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 500;
}

/* form replica, from the import review modal */
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field label { display: block; font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; }

.field .input {
  border: 1px solid var(--rule);
  background: var(--white);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.field .input.ph { color: var(--ink-mute); }
.field .input.focus { border-color: #b9b5a8; box-shadow: 0 0 0 3px rgba(18, 17, 15, .06); }

/* ---------- trust strip ---------- */

.strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 24px 0; }

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.strip-grid div { display: flex; align-items: center; gap: 9px; }
.strip-grid svg { flex: none; color: var(--ink-mute); }

/* ---------- feature sections ---------- */

.feature { padding: clamp(60px, 8vw, 104px) 0; }
.feature + .feature { border-top: 1px solid var(--rule); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.feature.flip .feature-grid > *:first-child { order: 2; }
.feature h2 { margin-bottom: 18px; max-width: 15ch; }

/* hairline-divided checklist, as in the first pass */
.points {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.points li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.points svg { flex: none; margin-top: 3px; color: var(--ink-mute); }
.points b { color: var(--ink); font-weight: 500; }

/* ---------- steps ---------- */

.steps { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--rule); }
.steps-head { max-width: 54ch; margin-bottom: clamp(32px, 4vw, 48px); }
.steps-head h2 { margin-bottom: 16px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.step {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 28px);
}

.step .n {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-mute);
  margin-bottom: 18px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- sms ---------- */

.sms { display: grid; gap: 10px; }

.bubble {
  max-width: 84%;
  padding: 12px 15px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.45;
  background: var(--white);
  border: 1px solid var(--rule);
}

.bubble.them { border-bottom-left-radius: 5px; }

.bubble.me {
  margin-left: auto;
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  border-bottom-right-radius: 5px;
  font-weight: 500;
}

.bubble a { color: #9dc4ff; }

/* ---------- faq ---------- */

.faq { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--rule); }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--rule); }

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-mute); font-size: 19px; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); max-width: 64ch; }

/* ---------- cta ---------- */

.cta { padding: clamp(60px, 8vw, 100px) 0; border-top: 1px solid var(--rule); }

.cta-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: clamp(34px, 5vw, 64px);
  text-align: center;
}

.cta-card h2 { margin: 0 auto 16px; max-width: 17ch; }
.cta-card .lede { margin: 0 auto; }
.cta-card .hero-cta { justify-content: center; }

/* ---------- footer ---------- */

footer.site { border-top: 1px solid var(--rule); padding: 36px 0 52px; font-size: 13.5px; color: var(--ink-mute); }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; }
.foot-links { display: flex; gap: 22px; margin-left: auto; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

[data-install] { font-family: inherit; cursor: pointer; }
.foot-links [data-install] { border: 0; padding: 0; background: none; color: inherit; font: inherit; }
.foot-links [data-install]:hover { color: var(--ink); }
.install-dialog { width: min(480px, calc(100% - 40px)); max-height: calc(100% - 40px); padding: 32px; border: 1px solid var(--rule); border-radius: 20px; background: var(--canvas); color: var(--ink); box-shadow: var(--shadow-lg); }
.install-dialog::backdrop { background: rgb(23 23 21 / 45%); }
.install-dialog h2 { font-size: clamp(28px, 5vw, 36px); }
.install-dialog #install-description { margin: 20px 0 24px; color: var(--ink-soft); }
.install-dialog .btn { font-family: inherit; cursor: pointer; }

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .55s cubic-bezier(.2, .7, .2, 1), transform .55s cubic-bezier(.2, .7, .2, 1);
}

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

.diagnostic-popover[hidden] { display: none; }
.diagnostic-popover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(29, 28, 25, .46);
  backdrop-filter: blur(5px);
}
.diagnostic-popover-card {
  position: relative;
  width: min(500px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(30px, 5vw, 44px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
  animation: popover-in .28s ease-out both;
}
.diagnostic-popover-card:focus { outline: none; }
.diagnostic-popover-card h2 { max-width: 18ch; text-wrap: balance; margin: 12px 0 12px; font-size: clamp(32px, 4vw, 40px); line-height: 1.05; letter-spacing: -.035em; }
.diagnostic-popover-card #diagnostic-popover-desc { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; text-wrap: pretty; }
.diagnostic-popover-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-mute); font-size: 24px; line-height: 1; cursor: pointer; }
.diagnostic-popover-close:hover { background: var(--app); color: var(--ink); }
.diagnostic-popover-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* An example result in the dashboard's card language: rows, a hairline, one big total. */
.diagnostic-receipt { margin: 26px 0 0; padding: 18px 20px 20px; border: 1px solid var(--rule-soft); border-radius: 14px; background: var(--canvas); }
.diagnostic-receipt figcaption { margin-bottom: 10px; color: var(--ink-mute); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.diagnostic-receipt dl { margin: 0; }
.diagnostic-receipt dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; }
.diagnostic-receipt dt { color: var(--ink-soft); }
.diagnostic-receipt dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.diagnostic-receipt .receipt-more dt, .diagnostic-receipt .receipt-more dd { color: var(--ink-mute); }
.receipt-total { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.receipt-total span { color: var(--ink-soft); font-size: 14px; }
.receipt-total strong { color: var(--alert-ink); font-size: clamp(34px, 4.4vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }

.diagnostic-popover-actions { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 18px; margin-top: 26px; }
.diagnostic-popover-actions .btn { cursor: pointer; }
.diagnostic-popover-go { gap: 10px; padding: 0 20px 0 24px; border-radius: 999px; }
.diagnostic-popover-go svg { width: 16px; height: 16px; transition: transform .18s ease; }
.diagnostic-popover-go:hover svg { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .diagnostic-popover-go svg { transition: none; } }
.diagnostic-popover-later { padding: 8px 2px; border: 0; background: none; color: var(--ink-mute); font: inherit; font-size: 14.5px; cursor: pointer; }
.diagnostic-popover-later:hover { color: var(--ink); }
.diagnostic-popover-later:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.diagnostic-popover-note { margin: 16px 0 0; color: var(--ink-mute); font-size: 12px; }

@keyframes popover-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .diagnostic-popover-card { animation: none; } }

@media (max-width: 920px) {
  .hero-grid, .feature-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-grid > *:first-child { order: 0; }
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { display: none; }
  .hero h1, .feature h2 { max-width: none; }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .statbar > div:nth-child(3) { border-left: 0; }
  .statbar > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

@media (max-width: 560px) {
  .diagnostic-popover { align-items: end; padding: 10px; }
  .diagnostic-popover-card { padding: 28px 22px 22px; border-radius: 18px; }
  .diagnostic-popover-actions { flex-direction: column; align-items: stretch; }
  .statbar { grid-template-columns: minmax(0, 1fr); }
  .statbar > div { border-left: 0; }
  .statbar > div + div { border-top: 1px solid var(--rule); }
  .entries { grid-template-columns: minmax(0, 1fr); }
  .strip-grid { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .sub { grid-template-columns: 34px minmax(0, 1fr); }
  .sub .sub-price, .sub .sub-when { grid-column: 2; text-align: left; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .actionbar { flex-wrap: wrap; border-radius: 20px; padding: 12px 14px; }
  .actionbar .ghost { margin-left: 0; }
}

/* ---------- comparison ---------- */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.compare-head { max-width: 56ch; margin-bottom: clamp(32px, 4vw, 48px); }
.compare-head h2 { margin-bottom: 18px; max-width: 20ch; }

.compare { overflow-x: auto; }

.compare table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  text-align: left;
}

.compare thead th {
  padding: 18px 18px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-mute);
  vertical-align: bottom;
}

.compare thead th.is-us { color: var(--ink); font-weight: 600; font-size: 14px; letter-spacing: -.01em; }

.compare tbody th {
  padding: 18px 18px 18px 0;
  border-top: 1px solid var(--rule);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink-soft);
}

.compare tbody td {
  width: 168px;
  padding: 18px;
  border-top: 1px solid var(--rule);
}

/* the ChargeSoon column reads as the answer, without shouting */
.compare thead th.is-us, .compare tbody td.is-us { background: #fdfcf9; box-shadow: inset 1px 0 0 var(--rule), inset -1px 0 0 var(--rule); }
.compare tbody tr:last-child td.is-us { box-shadow: inset 1px 0 0 var(--rule), inset -1px 0 0 var(--rule), inset 0 -1px 0 var(--rule); }

.yes, .no { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.yes { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M2.5 8.5 6 12l7.5-8' stroke='%23171715' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 16px; }
.no { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8h8' stroke='%23c9c4b8' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px; }

.compare-key { margin-top: 18px; font-size: 13px; color: var(--ink-mute); }
.compare-key span { margin: 0 6px 0 14px; }
.compare-key span:first-child { margin-left: 0; }

@media (max-width: 720px) {
  .compare tbody th { font-size: 14.5px; padding-right: 12px; }
  .compare tbody td { width: 118px; padding: 16px 12px; }
}

/* ---------- legal pages ---------- */

.legal-page { background: #f8f6f1; }
.legal-page .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.legal-hero { padding: clamp(64px, 9vw, 118px) 0 48px; border-bottom: 1px solid var(--rule); background: #f3f0e9; }
.legal-wrap { max-width: 820px; }
.legal-hero h1 { max-width: none; }
.legal-intro { max-width: 690px; margin-top: 20px; color: var(--ink-soft); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.legal-date { margin-top: 24px; color: var(--ink-mute); font-size: 13px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); gap: clamp(44px, 8vw, 100px); justify-content: center; align-items: start; padding-top: 54px; padding-bottom: 100px; }
.legal-toc { position: sticky; top: 98px; display: grid; gap: 9px; padding: 20px; border: 1px solid var(--rule); border-radius: 14px; background: rgb(255 255 255 / 68%); font-size: 13px; }
.legal-toc strong { margin-bottom: 5px; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.legal-toc a { color: var(--ink-mute); text-decoration: none; }
.legal-toc a:hover { color: var(--ink); }
.legal-content { min-width: 0; }
.legal-content section { padding: 0 0 38px; margin: 0 0 38px; border-bottom: 1px solid var(--rule); scroll-margin-top: 100px; }
.legal-content section:last-child { margin-bottom: 0; }
.legal-content h2 { margin-bottom: 18px; font-size: clamp(26px, 3vw, 34px); }
.legal-content h3 { margin: 26px 0 8px; font-size: 17px; font-weight: 500; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 15px; line-height: 1.72; }
.legal-content p + p { margin-top: 14px; }
.legal-content ul { display: grid; gap: 9px; padding-left: 21px; margin: 15px 0 0; }
.legal-content a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-content .legal-callout { padding: 28px 30px; border: 1px solid #d5d0c6; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-callout h2 { font-size: 25px; }

@media (max-width: 820px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-toc strong { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .legal-hero { padding-top: 48px; }
  .legal-layout { padding-top: 30px; padding-bottom: 70px; }
  .legal-toc { grid-template-columns: minmax(0, 1fr); }
  .legal-content .legal-callout { padding: 23px 21px; }
  .legal-content section { padding-bottom: 30px; margin-bottom: 30px; }
}
