/* ==========================================================================
   Affordable Website Design — stylesheet
   One file, no framework. Light + dark, fluid type, ~0 layout shift.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: light dark;

  --bg:        #FAFBFD;
  --surface:   #FFFFFF;
  --tint:      #F1F4FA;
  --tint-2:    #E7ECF6;
  --ink:       #0C1424;
  --ink-soft:  #22314C;
  --body:      #4A5878;
  --muted:     #5E6982;
  --line:      #E3E8F2;
  --line-firm: #CDD5E6;

  --brand:      #2A4FD7;
  --brand-ink:  #1E3AA8;
  --brand-soft: #EAEFFC;
  --brand-line: #C3D0F6;
  --accent:     #C26A08;
  --accent-ink: #985305;   /* accent dark enough for text on --accent-soft */
  --accent-soft:#FDF1E1;

  --dark-bg:  #0A1020;
  --on-dark:  #EDF1FA;
  --on-dark-soft: #A7B4D2;
  --on-dark-link: #A6BCFF;

  /* Data marks. One hue for magnitude, plus a de-emphasis grey — the
     emphasised bar is ours, everything else recedes. */
  --mark:    #8A97B5;
  --mark-us: var(--brand);

  --radius:    14px;
  --radius-lg: 22px;
  --radius-sm: 9px;

  --shadow-sm: 0 1px 2px rgb(12 20 36 / .05), 0 1px 1px rgb(12 20 36 / .04);
  --shadow:    0 4px 6px -2px rgb(12 20 36 / .05), 0 12px 24px -8px rgb(12 20 36 / .10);
  --shadow-lg: 0 8px 12px -4px rgb(12 20 36 / .06), 0 28px 56px -16px rgb(12 20 36 / .16);

  --wrap: 1160px;
  --measure: 40rem;       /* body copy, headings, FAQ — the reading column */
  --measure-wide: 54rem;  /* tables and other content that needs elbow room */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.75rem, 8vw, 7rem);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(.82rem, .79rem + .14vw, .89rem);
  --step-0:  clamp(1rem, .96rem + .18vw, 1.09rem);
  --step-1:  clamp(1.15rem, 1.08rem + .34vw, 1.35rem);
  --step-2:  clamp(1.38rem, 1.24rem + .68vw, 1.78rem);
  --step-3:  clamp(1.66rem, 1.42rem + 1.16vw, 2.36rem);
  --step-4:  clamp(2rem, 1.6rem + 1.95vw, 3.12rem);
  --step-5:  clamp(2.36rem, 1.74rem + 3.05vw, 4.1rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #080C16;
    --surface:   #101728;
    --tint:      #141C30;
    --tint-2:    #1B2540;
    --ink:       #EEF2FA;
    --ink-soft:  #D3DCF0;
    --body:      #A3B0CC;
    --muted:     #8592B0;
    --line:      #202B45;
    --line-firm: #2C3A5C;

    --brand:      #7C97FF;
    --brand-ink:  #9DB2FF;
    --brand-soft: #131F45;
    --brand-line: #26386B;
    --accent:     #F0A03C;
    --accent-ink: #F0A03C;
    --accent-soft:#2A1E0C;

    --mark:    #56658C;

    --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
    --shadow:    0 4px 8px -2px rgb(0 0 0 / .35), 0 14px 28px -10px rgb(0 0 0 / .45);
    --shadow-lg: 0 10px 20px -6px rgb(0 0 0 / .4), 0 32px 64px -20px rgb(0 0 0 / .6);
  }
}

/* ----------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -.032em; }
h2 { font-size: var(--step-4); letter-spacing: -.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { text-wrap: pretty; }

img, svg, video { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--brand); }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--brand); color: #fff; }

/* ------------------------------------------------------------- structure */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Content measures. These sit INSIDE .wrap and stay left-aligned, so every
   section on every page shares one left edge regardless of its width. */
.measure      { max-width: var(--measure); }
.measure-wide { max-width: var(--measure-wide); }
.page-head    { max-width: var(--measure); }
.page-head .lead { margin-top: 1em; }
.narrow-center { max-width: var(--measure); margin-inline: auto; text-align: center; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--tint { background: var(--tint); }
.section--dark {
  background: var(--dark-bg);
  color: var(--on-dark-soft);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--on-dark-link); }

.section__head { max-width: var(--measure); margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section__title { margin-bottom: .7em; }
.section__lede { font-size: var(--step-1); color: var(--body); }
.section--dark .section__lede { color: var(--on-dark-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: var(--step--1);
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: 1.1em;
}
.eyebrow::before {
  content: "";
  width: 1.6em; height: 2px;
  background: var(--brand);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--on-dark-link); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .8rem 1.2rem;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  font-size: var(--step-0);
  font-weight: 620;
  line-height: 1.2;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              box-shadow .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--brand-ink);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
@media (prefers-color-scheme: dark) {
  .btn--primary { color: #0A1330; }
  .btn--primary:hover { color: #0A1330; }
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-firm);
}
.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-ink);
  background: var(--brand-soft);
}

.btn--light {
  background: #fff;
  color: #0C1424;
  border-color: #fff;
}
.btn--light:hover { background: #E6ECFD; color: #1E3AA8; transform: translateY(-1px); }

.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgb(255 255 255 / .3);
}
.btn--outline-light:hover {
  border-color: rgb(255 255 255 / .7);
  background: rgb(255 255 255 / .07);
  color: #fff;
}

.btn--lg { padding: 1.02em 1.9em; font-size: var(--step-1); }
.btn--sm { padding: .6em 1.05em; font-size: var(--step--1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* ---------------------------------------------------------------- header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); }

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2vw, 2rem);
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.05;
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 2.1rem; height: 2.1rem; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-size: 1.02rem; }
.brand__sub {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(.3rem, 1.1vw, .9rem);
  list-style: none;
  padding: 0;
}
.nav__list a {
  display: block;
  padding: .5rem .5rem;
  font-size: .93rem;
  font-weight: 550;
  color: var(--body);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .16s var(--ease);
  white-space: nowrap;
}
.nav__list a:hover { color: var(--ink); }
.nav__list a[aria-current="page"] { color: var(--brand-ink); font-weight: 650; }

.header__actions {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
}
.header__tel {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 650;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel svg { width: 1.05em; height: 1.05em; color: var(--brand); }
.header__tel:hover { color: var(--brand-ink); }

.nav-toggle {
  display: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-firm);
  border-radius: var(--radius-sm);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header__inner { justify-content: space-between; }
  .header__actions { order: 2; margin-left: auto; }
  .header__tel { display: none; }
  .nav {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
    display: none;
    padding-block: .5rem 1.25rem;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    padding: .85rem .25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__list li:last-child a { border-bottom: 0; }
}
@media (max-width: 420px) {
  .header__actions .btn { padding: .7em .95em; font-size: .85rem; }
  /* Tighten the brand rather than dropping half of it — "Affordable" on its
     own is not the name of the business. */
  .brand { gap: .45rem; }
  .brand__mark { width: 1.9rem; height: 1.9rem; }
  .brand__name { font-size: .95rem; }
  .brand__sub { font-size: .58rem; letter-spacing: .06em; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 18% 12%, color-mix(in srgb, var(--brand) 13%, transparent) 0%, transparent 62%),
    radial-gradient(48% 46% at 88% 4%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.hero__title { margin-bottom: .55em; }
.hero__title em {
  font-style: normal;
  color: var(--brand-ink);
  background: linear-gradient(180deg, transparent 62%, var(--brand-soft) 62%);
  padding-inline: .06em;
}
.hero__lede {
  font-size: var(--step-1);
  max-width: 36ch;
  margin-bottom: 1.9em;
}
.hero__note {
  margin-top: 1.5rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* trust strip */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .5rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .38em .85em .38em .62em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.trust svg { width: 1em; height: 1em; color: var(--brand); flex-shrink: 0; }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 2.9rem; height: 2.9rem;
  margin-bottom: 1.15rem;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  border: 1px solid var(--brand-line);
}
.card__icon svg { width: 1.45rem; height: 1.45rem; }
.card h3 { font-size: var(--step-1); margin-bottom: .5em; }
.card p { font-size: .97rem; }
.card p + p { margin-top: .8em; }
.section--dark .card {
  background: rgb(255 255 255 / .04);
  border-color: rgb(255 255 255 / .1);
  box-shadow: none;
}
.section--dark .card__icon {
  background: rgb(124 151 255 / .14);
  border-color: rgb(124 151 255 / .28);
  color: var(--on-dark-link);
}
.section--dark .card p { color: var(--on-dark-soft); }

/* ----------------------------------------------------------------- steps */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: clamp(1.1rem, 2.4vw, 1.75rem);
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; position: relative; padding-top: 3.4rem; }
.step::before {
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  font-variant-numeric: tabular-nums;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.25rem; left: 3rem; right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--line-firm), transparent);
}
@media (max-width: 759px) { .step::after { display: none; } }
.steps > .step:last-child::after { display: none; }
.step h3 { font-size: var(--step-1); margin-bottom: .4em; }
.step p { font-size: .96rem; }
@media (prefers-color-scheme: dark) { .step::before { color: #0A1330; } }
.section--dark .step p { color: var(--on-dark-soft); }
.section--dark .step::after { background: linear-gradient(90deg, rgb(255 255 255 / .18), transparent); }

/* ----------------------------------------------------------------- plans */
.plans {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: start;
}
@media (min-width: 880px) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.plan--popular {
  border-color: var(--brand);
  border-width: 2px;
  box-shadow: var(--shadow);
}
@media (min-width: 880px) { .plan--popular { transform: scale(1.025); } }
.plan__badge {
  position: absolute;
  top: -.85rem; left: 50%;
  transform: translateX(-50%);
  padding: .3em 1em;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) { .plan__badge { color: #0A1330; } }
.plan__head { padding-bottom: 1.35rem; border-bottom: 1px solid var(--line); margin-bottom: 1.35rem; }
.plan__name { font-size: var(--step-1); margin-bottom: .35em; }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: .1em;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
}
.plan__cur { font-size: var(--step-2); align-self: flex-start; padding-top: .15em; }
.plan__num { font-size: var(--step-5); font-variant-numeric: tabular-nums; }
.plan__per { font-size: var(--step-0); font-weight: 550; color: var(--muted); letter-spacing: 0; }
.plan__setup {
  margin-top: .5rem;
  display: inline-block;
  font-size: .8rem;
  font-weight: 650;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  padding: .18em .7em;
}
.plan__blurb { margin-top: .9rem; font-size: .95rem; }
.plan__features { list-style: none; padding: 0; display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.plan__feature { display: flex; gap: .6em; font-size: .94rem; line-height: 1.45; }
.plan__feature svg { width: 1.15em; height: 1.15em; flex-shrink: 0; margin-top: .16em; color: var(--brand); }
.plan__feature--lead { font-weight: 650; color: var(--ink); margin-top: .3rem; }
.plan__cta { margin-top: auto; width: 100%; }
.plan__best { margin-top: .9rem; font-size: .82rem; color: var(--muted); text-align: center; }
.plan--wide { max-width: 34rem; margin-inline: auto; }

.plans-note {
  max-width: var(--measure-wide);
  margin-top: 1.6rem;
  font-size: var(--step--1);
  color: var(--muted);
}

/* ---------------------------------------------------------------- tables */
.table-scroll { max-width: var(--measure-wide); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll--wide { max-width: 100%; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .96rem;
  min-width: 34rem;
}
caption { text-align: left; color: var(--muted); font-size: var(--step--1); padding-bottom: .8rem; }
th, td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
  border-bottom-color: var(--line-firm);
}
tbody th { color: var(--ink); font-weight: 600; }
td.is-good { color: var(--brand-ink); font-weight: 620; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr.is-us th, tbody tr.is-us td { background: var(--brand-soft); }
tbody tr.is-us th { color: var(--brand-ink); }
.cell-note { display: block; font-size: .8rem; color: var(--muted); font-weight: 450; margin-top: .15em; }

/* ----------------------------------------------------------------- chart */
/* One measure across four routes, so: a single hue, our own bar emphasised,
   every bar directly labelled. The table below each chart carries the same
   numbers for anyone who cannot use the picture. */
.chart {
  --labelw: 8.5rem;
  --valuew: 8.5rem;
  --cgap: 1rem;
  container-type: inline-size;
  max-width: var(--measure-wide);
  padding: clamp(1.35rem, 2.6vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.chart__caption { display: block; margin-bottom: 1.6rem; }
.chart__title {
  display: block;
  font-size: var(--step-1);
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.chart__sub { display: block; margin-top: .4em; font-size: .9rem; color: var(--muted); }

.chart__plot { position: relative; display: grid; gap: .85rem; }
.chart__grid {
  position: absolute;
  inset-block: -.2rem;
  inset-inline: calc(var(--labelw) + var(--cgap)) calc(var(--valuew) + var(--cgap));
  pointer-events: none;
}
.chart__gridline {
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-.5px);
}
/* The bars are floating ranges, not columns growing from zero, so the outer
   gridlines are not a baseline — drawn, they just box the rows in. */
.chart__gridline:first-child,
.chart__gridline:last-child { display: none; }
.chart__row {
  position: relative;
  display: grid;
  grid-template-columns: var(--labelw) minmax(0, 1fr) var(--valuew);
  gap: var(--cgap);
  align-items: center;
}
.chart__name { font-size: .92rem; color: var(--body); line-height: 1.3; }
.chart__track { position: relative; height: 1.15rem; }
.chart__bar {
  position: absolute;
  inset-block: 0;
  min-inline-size: 3px;
  background: var(--mark);
  border-radius: 4px;
}
.chart__value {
  font-size: .92rem;
  font-weight: 650;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.chart__row--us .chart__name { color: var(--ink); font-weight: 680; }
.chart__row--us .chart__bar { background: var(--mark-us); }
.chart__row--us .chart__value { color: var(--brand-ink); font-weight: 720; }

.chart__axis {
  position: relative;
  height: 1.5rem;
  margin-block-start: .5rem;
  margin-inline: calc(var(--labelw) + var(--cgap)) calc(var(--valuew) + var(--cgap));
  border-top: 1px solid var(--line-firm);
}
.chart__tick {
  position: absolute;
  top: .35rem;
  transform: translateX(-50%);
  font-size: .74rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* The end ticks sit flush with the plot rather than centred on it, so they
   cannot spill out of the card on a narrow column. */
.chart__tick--first { transform: none; }
.chart__tick--last  { transform: translateX(-100%); }
.chart__foot { margin-top: 1.1rem; font-size: .8rem; color: var(--muted); }

@container (max-width: 34rem) {
  .chart { --labelw: 0rem; --valuew: 0rem; --cgap: 0rem; }
  .chart__row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name value" "track track";
    row-gap: .3rem;
    column-gap: 1rem;
  }
  .chart__name { grid-area: name; }
  .chart__value { grid-area: value; text-align: right; }
  .chart__track { grid-area: track; }
  .chart__plot { gap: 1.15rem; }
  .chart__grid { inset-inline: 0; }
  .chart__axis { margin-inline: 0; }
}

/* Fallback for browsers without container queries. */
@supports not (container-type: inline-size) {
  @media (max-width: 760px) {
    .chart { --labelw: 0rem; --valuew: 0rem; --cgap: 0rem; }
    .chart__row {
      grid-template-columns: 1fr auto;
      grid-template-areas: "name value" "track track";
      row-gap: .3rem;
      column-gap: 1rem;
    }
    .chart__name { grid-area: name; }
    .chart__value { grid-area: value; text-align: right; }
    .chart__track { grid-area: track; }
    .chart__plot { gap: 1.15rem; }
    .chart__grid { inset-inline: 0; }
    .chart__axis { margin-inline: 0; }
  }
}

/* -------------------------------------------------------------- verdicts */
.verdicts { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .verdicts { grid-template-columns: repeat(2, 1fr); } }
.verdict {
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.verdict--us { border-color: var(--brand); border-width: 2px; }
.verdict h3 { font-size: var(--step-1); margin-bottom: .5em; }
.verdict__lede { font-size: .97rem; margin-bottom: 1.2rem; }
.verdict__list { display: grid; gap: .55rem; font-size: .92rem; }
.verdict__list dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--muted);
}
.verdict__list dd { margin: 0 0 .5rem; color: var(--ink-soft); }
.verdict__list dd:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------ calculator */
.calc {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
@media (min-width: 900px) { .calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

.calc__q { border: 0; padding: 0; margin: 0 0 1.6rem; }
.calc__q:last-child { margin-bottom: 0; }
.calc__q legend {
  padding: 0;
  margin-bottom: .85rem;
  font-weight: 680;
  font-size: var(--step-0);
  color: var(--ink);
}
.calc__opts { display: grid; gap: .6rem; }
@media (min-width: 560px) { .calc__opts--row { grid-template-columns: 1fr 1fr; } }

.opt { display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt span {
  display: block;
  padding: .95rem 1.1rem;
  font-size: .9rem;
  color: var(--muted);
  background: var(--surface);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.opt strong { display: block; color: var(--ink); font-weight: 650; font-size: .97rem; margin-bottom: .15em; }
.opt:hover span { border-color: var(--brand-line); }
.opt input:checked + span {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.opt input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 3px; }

.calc__out {
  position: sticky;
  top: 6rem;
  padding: clamp(1.4rem, 2.8vw, 2rem);
  background: var(--tint);
  border: 1px solid var(--line-firm);
  border-radius: var(--radius-lg);
}
.calc__label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  color: var(--muted);
}
.calc__figure {
  margin-top: .3rem;
  font-size: var(--step-4);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.calc__figure small { font-size: var(--step-0); font-weight: 550; color: var(--muted); letter-spacing: 0; }
.calc__plan { margin-top: .7rem; font-size: .93rem; }
.calc__out hr { border: 0; border-top: 1px solid var(--line-firm); margin-block: 1.3rem; }
.calc__rows { display: grid; gap: .8rem; font-size: .9rem; }
.calc__rows > div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.calc__rows dt { color: var(--muted); }
.calc__rows dd { margin: 0; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__rows > div:first-child dd { color: var(--brand-ink); }
.calc__cta { width: 100%; margin-top: 1.5rem; }
.calc__note { margin-top: 1rem; font-size: .78rem; color: var(--muted); }
@media (max-width: 899px) { .calc__out { position: static; } }

/* ---------------------------------------------------------------- guides */
.guides {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}
.guide-card {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  box-shadow: var(--shadow);
}
.guide-card__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.guide-card__mins {
  display: inline-flex; align-items: center; gap: .35em;
  font-size: .78rem; color: var(--muted); white-space: nowrap;
}
.guide-card__mins svg { width: .95em; height: .95em; }
.guide-card__title {
  font-size: var(--step-1);
  font-weight: 680;
  color: var(--ink);
  letter-spacing: -.022em;
  line-height: 1.25;
  text-wrap: balance;
}
.guide-card__blurb { font-size: .93rem; color: var(--body); flex: 1; }
.guide-card__go {
  display: inline-flex; align-items: center; gap: .4em;
  font-size: .88rem; font-weight: 650; color: var(--brand-ink);
}
.guide-card__go svg { width: 1em; height: 1em; transition: transform .18s var(--ease); }
.guide-card:hover .guide-card__go svg { transform: translateX(3px); }

.tag {
  display: inline-block;
  padding: .22em .7em;
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  white-space: nowrap;
}
.tag--us { color: #fff; background: var(--brand); border-color: var(--brand); margin-left: .5em; }
@media (prefers-color-scheme: dark) { .tag--us { color: #0A1330; } }

/* --------------------------------------------------------------- article */
.article { max-width: var(--measure); }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1rem;
  margin-bottom: 1.6rem;
  font-size: .85rem;
  color: var(--muted);
}

.toc {
  max-width: var(--measure);
  margin-block: 2.25rem;
  padding: 1.3rem 1.5rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc h2 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .9rem;
}
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: .45rem; font-size: .94rem; }
.toc a { color: var(--ink-soft); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); text-decoration: underline; }

/* --------------------------------------------------------------- content */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: var(--step-3); margin-top: 2em; scroll-margin-top: 6rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose blockquote {
  border-left: 3px solid var(--brand);
  padding-left: 1.2em;
  color: var(--ink-soft);
  font-size: var(--step-1);
}
.prose .table-scroll, .prose .chart, .prose .callout, .prose .notice { margin-block: 2em; }
.prose .callout + h2 { margin-top: 2em; }

.lead { font-size: var(--step-1); color: var(--ink-soft); }

/* Tip / warning boxes inside guides */
.tip {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  font-size: .96rem;
}
.tip > * + * { margin-top: .7em; }
.tip__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin-bottom: .4em;
}
.tip--warn { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); }
.tip--warn .tip__label { color: var(--accent-ink); }

/* ---------------------------------------------------------------- quotes */
.quotes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.quote {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.quote blockquote p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; }
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: 1.1rem; font-weight: 650; color: var(--ink); font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 450; color: var(--muted); font-size: .87rem; }

/* ----------------------------------------------------------------- stats */
.stats {
  list-style: none; padding: 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  text-align: center;
}
.stat__value { display: block; font-size: var(--step-4); font-weight: 700; color: var(--ink); letter-spacing: -.03em; }
.stat__label { font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------- checklist */
.checklist { list-style: none; padding: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  margin-top: .12em;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%232A4FD7' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E");
  background-size: .95rem;
  background-position: center;
  background-repeat: no-repeat;
}
@media (prefers-color-scheme: dark) {
  /* The tick is baked into a data URI, so the dark palette needs its own copy. */
  .checklist li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%237C97FF' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.8 3.8 6.8-6.8a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E");
  }
}

/* ------------------------------------------------------------------- faq */
.faq { display: grid; gap: .7rem; max-width: var(--measure); }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s var(--ease);
}
.faq details[open] { border-color: var(--brand-line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 620;
  font-size: var(--step-0);
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 1.35rem; height: 1.35rem;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--tint-2);
  background-image: linear-gradient(currentColor, currentColor), linear-gradient(currentColor, currentColor);
  background-size: .62rem 1.6px, 1.6px .62rem;
  background-position: center, center;
  background-repeat: no-repeat;
  color: var(--ink);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:hover { color: var(--brand-ink); }
.faq .faq__answer { padding: 0 1.3rem 1.25rem; }
.faq .faq__answer > * + * { margin-top: .8em; }
.faq .faq__answer p { font-size: .97rem; }

/* ------------------------------------------------------------------ cta */
.cta { position: relative; overflow: hidden; background: var(--dark-bg); color: var(--on-dark-soft); }
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 15% 0%, rgb(80 116 255 / .3) 0%, transparent 65%),
    radial-gradient(45% 55% at 90% 100%, rgb(224 150 50 / .16) 0%, transparent 60%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta h2 { color: var(--on-dark); }
.cta__inner { text-align: center; max-width: 44rem; margin-inline: auto; }
.cta__lede { font-size: var(--step-1); margin-block: .9em 2em; }
.cta__note { margin-top: 1.5rem; font-size: var(--step--1); color: rgb(255 255 255 / .5); }

/* ----------------------------------------------------------------- form */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > label { font-weight: 620; font-size: .93rem; color: var(--ink); }
.field__opt { font-weight: 450; color: var(--muted); }
.field__hint { font-size: .83rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-firm);
  border-radius: var(--radius-sm);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235E6982' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 1.4rem;
  padding-right: 2.5rem;
}
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form__consent input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; flex-shrink: 0; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

.contact-list { list-style: none; padding: 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list__icon {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  border-radius: 10px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-ink);
}
.contact-list__icon svg { width: 1.2rem; height: 1.2rem; }
.contact-list__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 650; }
.contact-list__value { display: block; font-size: var(--step-1); font-weight: 620; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
a.contact-list__value:hover { color: var(--brand-ink); }

/* -------------------------------------------------------------- callout */
.callout {
  max-width: var(--measure);
  padding: clamp(1.3rem, 2.4vw, 1.85rem);
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  border-radius: var(--radius);
}
.callout h3 { font-size: var(--step-1); margin-bottom: .45em; }
.callout p { font-size: .97rem; }
.callout > * + * { margin-top: .8em; }
.callout--cta { margin-block: 2.5em; }

/* ------------------------------------------------------------ breadcrumb */
.crumbs { padding-block: 1.1rem 0; }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line-firm); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-soft); font-weight: 550; }

/* ---------------------------------------------------------------- footer */
.footer {
  background: var(--dark-bg);
  color: var(--on-dark-soft);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .93rem;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgb(255 255 255 / .1);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer h2, .footer h3 { color: var(--on-dark); }
.footer__title {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .55);
  font-weight: 650;
  margin-bottom: 1rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer a { color: var(--on-dark-soft); text-decoration: none; }
.footer a:hover { color: var(--on-dark-link); text-decoration: underline; }
.footer__brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); font-weight: 700; margin-bottom: 1rem; }
.footer__brand .brand__mark { width: 2.1rem; height: 2.1rem; }
.footer__blurb { max-width: 32ch; color: var(--on-dark-soft); }
.footer__contact { margin-top: 1.25rem; display: grid; gap: .45rem; }
.footer__contact a { font-weight: 620; color: var(--on-dark); }
.footer__bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: space-between;
  align-items: start;
  font-size: .85rem;
  color: rgb(255 255 255 / .45);
}
.footer__legal { margin-top: .5rem; max-width: 60ch; font-size: .8rem; line-height: 1.55; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1.1rem; }

/* --------------------------------------------------------------- utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.15em; }
.stack-lg > * + * { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.notice {
  max-width: var(--measure-wide);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--tint);
  border: 1px dashed var(--line-firm);
  font-size: .88rem;
  color: var(--muted);
}
.notice strong { color: var(--ink-soft); }
