/* DriveSync — site stylesheet
   Plain CSS. No build step. Mobile-first. */

/* ---------- tokens ---------- */
:root {
  /* Warm paper, printer's ink, and a proof-mark red used sparingly. */
  --paper:      #fbf9f5;
  --surface:    #ffffff;
  --surface-2:  #f3f0e9;
  --ink:        #101318;
  --ink-2:      #3b4149;
  --ink-3:      #6b7178;
  --line:       #e6e0d5;
  --line-2:     #d3ccbe;
  --accent:     #1d4ed8;
  --accent-ink: #1e40af;
  --accent-lit: #3b82f6;
  --accent-soft:#eef4ff;
  --accent-line:#cfdcff;
  --good:       #047857;
  --mark:       #e11d48;

  /* the "shine": one gradient, one glow, used deliberately */
  --grad: linear-gradient(135deg, #3b82f6, #1d4ed8 60%, #1e40af);
  --glow: 0 12px 26px -10px rgba(29, 78, 216, .55);
  --navy: #0b1224;
  --navy-panel: radial-gradient(900px 460px at 78% -10%, rgba(37,99,235,.45), transparent 62%),
                linear-gradient(160deg, #0b1224, #0f1b3a 58%, #12224d);
  --dots: radial-gradient(rgba(255,255,255,.075) 1px, transparent 1px);
  --warn:       #8a5a00;
  --warn-soft:  #fdf3dd;
  --warn-line:  #e3c67c;

  --radius:    10px;
  --radius-lg: 14px;
  --shadow-1: 0 1px 2px rgba(16,19,24,.04), 0 1px 3px rgba(16,19,24,.06);
  --shadow-2: 0 1px 2px rgba(16,19,24,.04), 0 10px 24px -6px rgba(16,19,24,.12);
  --shadow-3: 0 2px 4px rgba(16,19,24,.04), 0 24px 48px -12px rgba(16,19,24,.18);

  --sans:  "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono:  "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gut: 20px;
  color-scheme: light;
}

@media (min-width: 720px)  { :root { --gut: 32px; } }
@media (min-width: 1024px) { :root { --gut: 40px; } }

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
main { flex: 1 0 auto; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.3rem + 3.5vw, 3.6rem); letter-spacing: -0.032em; line-height: 1.05; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.85vw, 2.35rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.1rem, 1rem + 0.42vw, 1.28rem); letter-spacing: -0.014em; font-weight: 600; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: -0.005em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 620; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.prose { max-width: 68ch; }
/* When .prose sits on the container itself, keep the container full width and
   constrain the children, so body text stays flush with the page heading. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 68ch; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--ink { position: relative; background: var(--navy-panel); color: #c3cee4; overflow: hidden; }
.section--ink::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--dots); background-size: 26px 26px; opacity: .6;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.section--ink > .wrap { position: relative; z-index: 1; }
.section--ink h2, .section--ink h3, .section--ink strong { color: #fff; }
.stack > * + * { margin-top: 1.1em; }
.mt-l { margin-top: clamp(28px, 4vw, 44px); }
.mt-m { margin-top: 24px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 1rem;
}
.kicker::before {
  content: "";
  width: 20px; height: 2px; flex: none;
  background: var(--accent);
  border-radius: 2px;
}
/* Pill variant, for places that need a badge rather than a label. */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .74rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-ink);
  background: rgba(29,78,216,.08);
  border: 1px solid rgba(29,78,216,.18);
  padding: .34rem .7rem; border-radius: 999px;
}
.section--ink .kicker { color: #9aa3b4; }
.section--ink .kicker::before { background: #7d93ff; }
.lede { font-size: clamp(1.06rem, 1rem + 0.35vw, 1.2rem); color: var(--ink-2); line-height: 1.6; }
.muted { color: var(--ink-3); }
.small { font-size: .92rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,245,.92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .brand { color: var(--ink); }
.site-header .nav__link[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  background: var(--accent); border-radius: 2px;
}
.site-header__bar { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 680; font-size: 1.06rem; letter-spacing: -.02em; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 26px; height: 26px; flex: none; }

.nav { display: none; }
.nav__link { color: var(--ink-2); font-size: .94rem; font-weight: 520; padding: 8px 10px; border-radius: 8px; }
.nav__link:hover { color: var(--ink); background: var(--surface-2); text-decoration: none; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 640; }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 9px 13px; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars { display: block; width: 15px; height: 9px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .18s ease, top .18s ease; }
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 3.7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { top: 3.7px; transform: rotate(-45deg); }

.nav-panel { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.nav-panel.is-open { display: block; }
.nav-panel__inner { padding-block: 6px 18px; }
.nav-panel a:not(.btn) { display: block; padding: 13px 2px; color: var(--ink); font-weight: 550; border-bottom: 1px solid var(--line); }
.nav-panel a:not(.btn):hover { text-decoration: none; color: var(--accent); }
.nav-panel .btn { margin-top: 18px; width: 100%; }

/* The header CTA has no room next to the menu button on a phone; it lives in
   the drop-down panel instead. Scoped to .site-header so it outranks .btn,
   which is defined further down the file. */
.site-header .header-cta { display: none; white-space: nowrap; }
@media (min-width: 560px) { .site-header .header-cta { display: inline-flex; } }

@media (min-width: 940px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav-toggle, .nav-panel { display: none !important; }
  .site-header__bar { min-height: 68px; gap: 22px; }
  .header-cta { margin-left: 8px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: .95rem; font-weight: 620; letter-spacing: -.005em;
  padding: 13px 22px; border-radius: 8px; border: 1px solid transparent;
  cursor: pointer; text-align: center; letter-spacing: -.006em;
  transition: background-color .15s ease, border-color .15s ease, transform .06s ease, color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn--primary:hover { background: linear-gradient(135deg, #4b8bf8, #2563eb 60%, #1d4ed8); color: #fff; box-shadow: 0 16px 32px -12px rgba(29,78,216,.7); }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-3); background: var(--surface-2); color: var(--ink); }
.btn--sm { padding: 9px 15px; font-size: .89rem; }
.btn--onink { background: #fff; color: #16181d; }
.btn--onink:hover { background: #e9ecf2; color: #16181d; }
.btn--outline-ink { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.btn--outline-ink:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .btn-row .btn { flex: 0 0 auto; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(52px, 8vw, 104px) clamp(52px, 7.5vw, 96px);
  overflow: hidden;
  background: var(--navy-panel);
  color: #c7d0e4;
}
/* Fine dot field, masked out towards the fold. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: var(--dots);
  background-size: 26px 26px;
  opacity: .75;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .kicker { color: #9db0d8; }
.hero .kicker::before { background: var(--accent-lit); }
.hero .btn--ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.42); color: #fff; }

.hero__grid { display: grid; gap: clamp(34px, 5vw, 56px); align-items: center; }
@media (min-width: 940px) { .hero__grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { margin-bottom: .38em; }
.hero__sub { font-size: clamp(1.08rem, 1rem + 0.45vw, 1.26rem); color: #cbd5ea; max-width: 36ch; margin-bottom: 1.7em; line-height: 1.55; }
.hero__note { margin-top: 22px; font-size: .88rem; color: #93a3c4; }
.hero__art {
  --paper: #f7f8fb; --surface: #ffffff; --surface-2: #eef1f6;
  --ink: #0b1224; --ink-2: #3b4149; --ink-3: #6b7178;
  --line: #e4e8f0; --line-2: #d3d9e6;
  --accent: #1d4ed8; --accent-soft: #eaf0ff; --accent-line: #cfdcff;
  --good: #047857; --mark: #e11d48;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 70px -25px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
}
.hero__art svg { width: 100%; height: auto; display: block; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 680px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 680px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 30px);
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
@media (hover: hover) {
  .card:hover { border-color: var(--line-2); box-shadow: var(--shadow-2); transform: translateY(-2px); }
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card__icon { width: 28px; height: 28px; margin-bottom: 16px; color: var(--accent); flex: none; }
/* Fills the last row rather than leaving an orphan card. */
@media (min-width: 680px) { .card--span { grid-column: 1 / -1; } .card--span p { max-width: 64ch; } }

/* two-column feature rows */
.feature { padding: 26px 0; border-top: 1px solid var(--line); }
.feature:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 860px) {
  .feature { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
  .feature h3 { margin-bottom: 0; }
  .feature p { margin-top: 0; }
}
.feature p { color: var(--ink-2); margin: .4em 0 0; max-width: 68ch; }

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; max-width: 66ch; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 30px 56px; margin: 0;
  color: var(--ink); font-size: clamp(1.02rem, .98rem + .3vw, 1.12rem); line-height: 1.5;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  border: 1px solid var(--accent-line);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: .84rem; font-weight: 600;
}
.steps li::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 1px; background: var(--line-2); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps small { display: block; font-size: .93rem; color: var(--ink-3); margin-top: 4px; line-height: 1.55; }

/* ---------- pricing ---------- */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent); box-shadow: var(--shadow-3); position: relative; }
.plan__tag { position: absolute; top: -11px; left: clamp(22px, 2.4vw, 30px); background: var(--grad); box-shadow: var(--glow); color: #fff; font-size: .68rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan__name { font-family: var(--sans); font-size: 1.02rem; font-weight: 680; color: var(--ink); letter-spacing: -.005em; margin: 0; }
.plan__price { font-family: var(--serif); font-size: clamp(1.85rem, 1.45rem + 1.4vw, 2.3rem); color: var(--ink); line-height: 1.1; letter-spacing: -.03em; margin: 12px 0 2px; }
.plan__per { font-size: .9rem; color: var(--ink-3); }
.plan__for { font-size: .95rem; color: var(--ink-3); margin: 16px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.plan li { position: relative; padding-left: 26px; font-size: .95rem; color: var(--ink-2); }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .34em; width: 14px; height: 8px;
  border-left: 1.9px solid var(--good); border-bottom: 1.9px solid var(--good);
  transform: rotate(-45deg); border-radius: 1px;
}
.plan .btn { margin-top: auto; width: 100%; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.04rem, 1rem + .3vw, 1.16rem); font-weight: 600; color: var(--ink); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 10px; height: 10px;
  border-right: 1.8px solid var(--ink-3); border-bottom: 1.8px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--accent); }
.faq__body { padding: 0 0 22px; color: var(--ink-2); }
.faq__body p { margin-bottom: .8em; }

/* ---------- misc blocks ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 68ch; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .4em; width: 15px; height: 8px;
  border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg);
}

/* checklist rows that carry an icon instead of a tick */
.checklist--icons li { padding-left: 46px; min-height: 30px; }
.checklist--icons li::before { display: none; }
.checklist--icons .card__icon { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: 0; }

/* two columns: what a sync changes, and what it leaves alone */
.ledger { display: grid; gap: 18px; }
@media (min-width: 760px) { .ledger { grid-template-columns: 1fr 1fr; } }
.ledger__col {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 30px);
}
.ledger__col--keep { border-color: var(--good); }
.ledger h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .2em; }
.ledger__note { font-size: .93rem; color: var(--ink-3); margin: 0 0 20px; }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ledger li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .97rem; }
.ledger__col--change li::before {
  content: ""; position: absolute; left: 1px; top: .5em; width: 13px; height: 1.9px;
  background: var(--accent); border-radius: 2px;
  box-shadow: 3px -4px 0 -0.5px var(--accent), 3px 4px 0 -0.5px var(--accent);
}
.ledger__col--keep li::before {
  content: ""; position: absolute; left: 1px; top: .38em; width: 14px; height: 8px;
  border-left: 2px solid var(--good); border-bottom: 2px solid var(--good); transform: rotate(-45deg);
}
.ledger__icon { width: 22px; height: 22px; flex: none; }
.ledger__col--change .ledger__icon { color: var(--accent); }
.ledger__col--keep .ledger__icon { color: var(--good); }

/* Anchor targets sit below the sticky header, not underneath it. */
[id] { scroll-margin-top: 88px; }

/* Trial page: explanation on the left, the form itself on the right.
   The form column is fixed-width so the embed never stretches wider than
   Google's own layout, which is what made it look adrift in its box. */
.trial-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 840px) {
  .trial-grid { grid-template-columns: minmax(0, 1fr) 430px; }
}
@media (min-width: 1100px) {
  .trial-grid { grid-template-columns: minmax(0, 1fr) 520px; }
}
.trial-grid__text { max-width: 60ch; }
.trial-grid__form { position: sticky; top: 96px; }
/* Stacked on a phone, the form goes first: visitors arriving from a
   "Start a 14-day trial" button came here to fill it in, not to read. */
@media (max-width: 839px) {
  .trial-grid__form { position: static; order: -1; }
  .trial-grid { display: flex; flex-direction: column; }
}

.formwrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.formwrap iframe { display: block; width: 100%; border: 0; }
@media (max-width: 680px) { .formwrap iframe { height: 860px; } }
.formwrap__note { margin-top: 12px; }

/* a framed illustration with a caption under it */
.figure { display: grid; gap: 14px; }
.figure__frame {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--surface); box-shadow: var(--shadow-3); overflow: hidden;
}
.figure__frame svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: .9rem; color: var(--ink-3); max-width: 62ch; }

/* comparison table marks */
.mark-yes { color: var(--good); font-weight: 650; }
.mark-no { color: var(--ink-3); }
tbody tr.row-ours { background: var(--accent-soft); }
tbody tr.row-ours td { border-color: var(--accent-line); }

.callout { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--radius); padding: 22px 24px; }
.callout--accent { border-left-color: var(--accent); background: var(--accent-soft); border-color: var(--accent-line); }
.callout h3 { margin-bottom: .4em; }

.todo { display: inline; background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn-line); border-radius: 6px; padding: 1px 7px; font-family: var(--mono); font-size: .84em; font-weight: 600; }
.todo-block { display: block; padding: 16px 18px; margin: 20px 0; line-height: 1.6; font-family: var(--sans); font-size: .93rem; border-style: dashed; }
.todo-block strong { color: var(--warn); }
.todo-block ul { margin: 8px 0 0; padding-left: 20px; }
.todo-block li { margin-bottom: 4px; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tablewrap + .tablewrap__hint { font-size: .84rem; color: var(--ink-3); margin: 10px 0 0; }
@media (min-width: 720px) { .tablewrap__hint { display: none; } }
table { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
td { vertical-align: top; }
th { font-weight: 650; color: var(--ink); background: var(--surface-2); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

.cta {
  position: relative; overflow: hidden;
  background: var(--navy-panel);
  color: #c7d0e4;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 24px 60px -28px rgba(11,18,36,.6);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--dots); background-size: 26px 26px; opacity: .6;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: .4em; }
.cta p { max-width: 54ch; margin-inline: auto; margin-bottom: 1.6em; }
.cta .btn-row { justify-content: center; }

.pagehead { padding-block: clamp(38px, 5.5vw, 68px) clamp(24px, 3.4vw, 40px); border-bottom: 1px solid var(--line); background: var(--surface); }
.pagehead p { max-width: 62ch; }

.legal h2 { margin-top: 2.2em; font-size: clamp(1.26rem, 1.1rem + .85vw, 1.55rem); }
.legal > h2:first-of-type { margin-top: 0; }
.legal ul { padding-left: 22px; max-width: 68ch; }
.legal li { margin-bottom: .55em; }

.crumbs { font-size: .84rem; color: var(--ink-3); margin: 0 0 14px; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--accent); }

/* ---------- footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(38px, 5vw, 58px) 30px; }
.site-footer__cols { display: grid; gap: 32px; }
@media (min-width: 700px) { .site-footer__cols { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; } }
.site-footer h4 { font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); font-weight: 650; margin-bottom: 14px; font-family: var(--sans); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--ink-2); font-size: .94rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer__blurb { font-size: .94rem; color: var(--ink-3); max-width: 40ch; margin-top: 14px; }
.site-footer__legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-3); display: grid; gap: 10px; }
.site-footer__legal p { margin: 0; max-width: 76ch; }

/* ---------- utility ---------- */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; font-size: .9rem; }
.skip:focus { left: 0; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- dark ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #101216; --surface: #171a20; --surface-2: #1e222a;
    --ink: #f2f3f6; --ink-2: #b8bdc8; --ink-3: #878e9c;
    --line: #262b34; --line-2: #343a45;
    --accent: #8da4ff; --accent-ink: #aabaff; --accent-soft: #1a2136; --accent-line: #2c3557;
    --good: #57c79a;
    --warn: #e5b962; --warn-soft: #2a2213; --warn-line: #5c4a1f;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 2px 4px rgba(0,0,0,.3), 0 14px 32px rgba(0,0,0,.45);
    color-scheme: dark;
  }
  .site-header { background: rgba(16,18,22,.88); }
  .section--ink { background: #08090c; }
  .cta { background: #08090c; }
  .btn--primary { color: #0d1120; }
  .btn--primary:hover { color: #0d1120; }
  .btn--onink { background: var(--surface-2); color: var(--ink); }
  .btn--onink:hover { background: #262b34; color: var(--ink); }
  .plan__tag { color: #0d1120; }
}
