/* GetMy Books — site stylesheet (getmy.group). A white site in the logo's
   blue (#2963F5) with a deep-blue header and footer (#0A1A4F), Inter for all
   text. Brand tokens are in :root; page-specific blocks follow. Every class
   styled here is used by a page (a test enforces it). */

/* Inter, self-hosted: the one font for every heading and paragraph. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-700.woff2') format('woff2'); }

:root {
  /* BRAND COLOURS (GetMy Books): a white site in the logo's blue.
     --fill is the logo tile blue: Start buttons (white text, 5.0:1).
     --gold-text is the blue used as text/accents on white (5.6:1).
     --navy is the logo's lettering ink (links, outline buttons).
     The dark tokens (--on-dark...) only matter if a section uses .on-dark. */
  --navy: #0F111D;        /* logo lettering */
  --navy-rgb: 15, 17, 29;
  --navy-2: #1B1F33;
  --ink: #0F111D;
  --body: #3F4451;
  --muted: #5B6170;
  --paper: #F6F7FA;       /* cool off-white for alternate sections */
  --paper-2: #EEF1F6;
  --white: #FFFFFF;
  --rule: #E3E6EC;
  --rule-dark: rgba(255, 255, 255, 0.14);
  --on-dark: #F4F4F5;
  --on-dark-muted: #A1A1AA;
  --fill: #2963F5;        /* logo blue: Start buttons */
  --fill-hover: #1F4FD1;
  --fill-soft: #EEF3FF;   /* blue tint backgrounds */
  --gold: #7FA2FF;        /* blue accent on dark (unused on the white site) */
  --gold-hover: #9DB8FF;
  --gold-text: #2457E0;   /* blue as text on white and paper */
  --confirm: #1F7A3A;     /* the green Approve pill in the example */
  --radius: 8px;
  --radius-panel: 12px;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: var(--sans);   /* one font everywhere */
  --wrap: 1160px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  /* Type scale — every text size on the site is one of these (DESIGN.md) */
  --fs-sm: 0.875rem;    /* 14px  meta, dates, captions, footer small print */
  --fs-ui: 0.9375rem;   /* 15px  labels, secondary text, buttons, card copy */
  --fs-body: 1.0625rem; /* 17px  reading text */
  --fs-lead: 1.1875rem; /* 19px  intros, quotes, pull lines */
  --fs-h4: 1.25rem;     /* 20px  serif: card titles, small headings */
  --fs-h3: 1.625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 104px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.lenis { scroll-behavior: auto; } /* Lenis (scroll.js) does the smoothing */
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
 .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; font-family: var(--serif); }
b, strong, th { font-weight: 600; } /* one bold weight site-wide */
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Large monitors: a slightly wider column so the page doesn't float in empty space */
@media (min-width: 1800px) { :root { --wrap: 1320px; } }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.08;
}
.h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.15;
}
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--body); max-width: 40em; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font: 600 var(--fs-ui)/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--ask { background: var(--fill); color: var(--white); }
.btn--ask:hover { background: var(--fill-hover); color: var(--white); }
 .back-link { display: inline-block; padding: 4px 0; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--rule-dark); }
.site-header__bar { display: flex; align-items: center; gap: 28px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand:hover { color: var(--white); }
.brand img { width: 46px; height: 46px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--on-dark); text-decoration: none; font: 500 var(--fs-ui)/1 var(--sans);
  padding: 10px 12px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current] { color: var(--white); border-bottom-color: var(--gold); }
.site-nav .btn { margin-left: 12px; min-height: 42px; padding: 10px 18px; border-bottom: 0; color: var(--navy); }
.site-nav .btn:hover { color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-dark); color: var(--white);
  min-height: 44px; padding: 8px 14px; font: 500 var(--fs-ui)/1 var(--sans); cursor: pointer; border-radius: var(--radius);
}
@media (max-width: 420px) {
  .site-header__bar { gap: 12px; }
  .brand { gap: 10px; }
  .site-header__bar { min-height: 76px; }
  .brand img { width: 38px; height: 38px; }
  .nav-toggle { padding: 8px 12px; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--navy); border-bottom: 1px solid var(--rule-dark);
    max-height: calc(100vh - 88px); overflow-y: auto;
  }
  .site-header.is-open .site-nav { display: flex; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--rule-dark); font-size: var(--fs-body); }
  .site-nav a[aria-current] { border-bottom-color: var(--rule-dark); color: var(--gold); }
  .site-nav .btn { margin: 18px 0 0; }
}
/* Every page has the same rhythm: dark hero, then light sections that
   alternate paper / white automatically, then the dark footer. Pages never
   pick a background themselves. */
.section { padding: var(--section) 0; background: var(--paper); }
main > section.section:nth-of-type(odd) { background: var(--white); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(72px, 11vw, 136px) 0 clamp(64px, 9vw, 112px); }
.hero .display { max-width: 15em; }
.hero .lead { max-width: 40em; margin-top: 28px; }

/* Plain list with rules (costs, outputs) */
 .faq p { max-width: 68ch; }

/* FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 22px 0; font: 600 var(--fs-body)/1.4 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--sans); color: var(--gold-text); flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-text); }
.faq details > div { padding: 0 48px 24px 0; max-width: 50em; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--rule-dark); background: var(--navy); color: var(--on-dark-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: var(--fs-ui); }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule-dark); }
.site-footer__logo { display: block; flex: none; }
.site-footer__logo img { width: clamp(112px, 12vw, 152px); height: auto; }
.site-footer__logo:hover { text-decoration: none; }
.site-footer__about { margin: 8px 0 0; font-size: var(--fs-body); color: var(--on-dark-muted); }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: clamp(32px, 4vw, 48px) 0; }
.site-footer__head { margin: 0 0 14px; font: 600 var(--fs-body)/1.3 var(--sans); color: var(--white); }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer__col a, .site-footer__bar a { display: inline-block; padding: 3px 0; }
.site-footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--rule-dark); font-size: var(--fs-sm); }
.site-footer__bar p { margin: 0; }
@media (max-width: 860px) {
  .site-footer__top { grid-template-columns: auto minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__grid > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* Legal pages (privacy) and 404 */
.legal__body { max-width: 760px; }
.legal__body h2 { font: 600 var(--fs-h3)/1.3 var(--serif); margin: 2em 0 .6em; }
.legal__body h3 { font: 600 var(--fs-h4)/1.3 var(--serif); margin: 1.6em 0 .5em; }
.legal__body ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal__body li { margin-bottom: .4em; }
.legal__body table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: var(--fs-ui); }
.legal__body th, .legal__body td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.legal__body th { color: var(--ink); }
@media (max-width: 620px) {
  .legal__body thead { display: none; }
  .legal__body tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .legal__body td { display: block; border: 0; padding: 4px 0; }
  .legal__body td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--ink); }
}

/* Consent banner (src/_includes/ga4.njk) */

@media print {
  .site-header, .site-footer, .skip-link { display: none !important; }
}

/* ── Scroll-in motion (motion.js) ─────────────────────────────────────
   Only active once the script adds html.motion — which it never does for
   prefers-reduced-motion — so nothing is hidden for no-JS or reduced-motion
   visitors. transform + opacity only. */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); /* calm ease-out, no overshoot */
  transition-delay: var(--reveal-delay, 0ms);
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }
@media print { .motion [data-reveal] { opacity: 1 !important; transform: none !important; } }

/* ── GetMy Books theme ─────────────────────────────────────────────────────
   One font (Inter) for everything. Each section: one plain centred title,
   one short line, then the detail. White page, logo blue accents, a tinted
   accounting photo behind the hero, and a dark footer so the end of the
   page is unmistakable. */
body { font-family: var(--sans); color: var(--body); }
h1, h2, h3, .display, .h2 { font-family: var(--sans); }
.display { font-weight: 700; font-size: clamp(2.4rem, 5.4vw, 4.1rem); line-height: 1.06; letter-spacing: -0.03em; }
.h2 { font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }
h3 { font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.lead { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; }
p { line-height: 1.65; }
.wrap--narrow { max-width: 820px; }

/* Section heads: centred title + one line. */
.section-head--center { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head--center .lead { margin: 14px auto 0; }

/* Header: bigger, white, the logo in its own colours. */
.site-header { background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(15, 17, 29, .35); }
.site-header__bar { min-height: 96px; }
.brand, .brand:hover { color: var(--ink); }
.brand .brand__logo { height: 62px; width: auto; }
.site-nav { gap: 8px; }
.site-nav a { color: var(--body); font-size: 1.0625rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current] { color: var(--ink); border-bottom-color: var(--fill); }
.site-nav .btn { min-height: 48px; padding: 12px 26px; font-size: 1.0625rem; }
.site-nav .btn, .site-nav .btn:hover { color: var(--white); }
.nav-toggle { border-color: var(--rule); color: var(--ink); min-height: 48px; padding: 10px 18px; font-size: 1rem; }
.site-header :focus-visible { outline-color: var(--fill); }
@media (max-width: 1040px) {
  .site-nav { background: var(--white); border-bottom-color: var(--rule); max-height: calc(100vh - 96px); }
  .site-nav a { border-bottom-color: var(--rule); }
}
@media (max-width: 620px) {
  .site-header__bar { min-height: 80px; }
  .brand .brand__logo { height: 50px; }
}
@media (max-width: 360px) { .brand .brand__logo { height: 42px; } }

/* Buttons. */
.btn { border-radius: var(--radius); font-size: 1rem; min-height: 50px; padding: 13px 26px; }
.btn--ask { box-shadow: 0 1px 2px rgba(15, 17, 29, .08), 0 8px 18px -8px rgba(41, 99, 245, .6); }
.btn--block { display: flex; width: 100%; }

/* Hero: an accounting photo under a deep blue tint, white copy on the left,
   the white example card on the right. */
main > section.section.hero--brand, main > section.hero--brand:nth-of-type(n) {
  color: var(--white);
  background-color: #0B2A7A;
  background-image:
    linear-gradient(100deg, rgba(10, 30, 92, .94) 0%, rgba(22, 62, 180, .86) 50%, rgba(41, 99, 245, .74) 100%),
    url('/assets/images/hero/accounts-2400.webp');
  background-size: cover; background-position: center 40%;
}
@media (max-width: 1200px) {
  main > section.hero--brand:nth-of-type(n) { background-image: linear-gradient(100deg, rgba(10, 30, 92, .94) 0%, rgba(22, 62, 180, .86) 50%, rgba(41, 99, 245, .74) 100%), url('/assets/images/hero/accounts-1200.webp'); }
}
@media (max-width: 760px) {
  main > section.hero--brand:nth-of-type(n) { background-image: linear-gradient(rgba(12, 36, 110, .9), rgba(16, 48, 150, .9)), url('/assets/images/hero/accounts-1200.webp'); }
}
.hero { padding: clamp(64px, 9vw, 120px) 0 clamp(64px, 9vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr); } }
.hero__eyebrow { margin: 0 0 18px; color: #BFD3FF; font-size: 1rem; font-weight: 600; }
.hero .display { color: var(--white); max-width: 13em; }
.hero .display em { font-style: normal; color: #BFD3FF; }
.hero .lead { color: #E3EBFF; max-width: 34em; margin-top: 22px; }
.hero .btn--ask { background: var(--white); color: #1A47C2; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }
.hero .btn--ask:hover { background: var(--fill-soft); color: #1A47C2; }
.hero :focus-visible { outline-color: var(--white); }
.hero__note { margin: 26px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .2); max-width: 34em; font-size: 1rem; color: #D6E2FF; }
@media (max-width: 420px) { .hero { padding-top: 44px; } }

/* The example: a Claude question and the answer GetMy Books gives. */
.demo { margin: 0; padding: clamp(18px, 2.4vw, 26px); background: var(--white); border-radius: 16px; color: var(--body); font-size: .9375rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(0, 0, 0, .55); }
.demo figcaption { color: var(--muted); font-size: .8125rem; margin-bottom: 14px; }
.demo__ask { margin: 0 0 18px auto; max-width: 85%; width: fit-content; padding: 10px 14px; background: var(--paper-2); border-radius: 14px 14px 4px 14px; color: var(--ink); }
.demo__answer > p { margin: 0 0 12px; }
.demo strong { color: var(--ink); }
.demo table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.demo th, .demo td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--rule); }
.demo th { color: var(--muted); font-weight: 500; font-size: .8125rem; }
.demo td { color: var(--ink); }
.demo .amt { text-align: right; font-variant-numeric: tabular-nums; }
.demo__card { padding: 14px 16px; background: var(--fill-soft); border: 1px solid #D9E3FF; border-radius: 10px; }
.demo__card p { margin: 0 0 12px; }
.pill { display: inline-block; margin-right: 8px; padding: 6px 14px; border: 1px solid var(--rule); border-radius: 7px; font-weight: 600; font-size: .8125rem; color: var(--ink); background: var(--white); }
.pill--yes { background: var(--confirm); border-color: var(--confirm); color: var(--white); }
@media (max-width: 480px) { .demo th:nth-child(3), .demo td:nth-child(3) { display: none; } }

/* The example appears in order, like a Claude reply, once it's on screen (base.njk adds
   html.js and .is-playing). Reduced motion or no JS: shown at once. */
@media (prefers-reduced-motion: no-preference) {
  html.js .demo .demo__ask, html.js .demo .demo__answer > p, html.js .demo tbody tr, html.js .demo .demo__card { opacity: 0; transform: translateY(8px); }
  html.js .demo.is-playing .demo__ask, html.js .demo.is-playing .demo__answer > p, html.js .demo.is-playing tbody tr, html.js .demo.is-playing .demo__card { animation: demo-in .5s cubic-bezier(.2, .7, .2, 1) forwards; }
  html.js .demo.is-playing .demo__ask { animation-delay: .15s; }
  html.js .demo.is-playing .demo__answer > p { animation-delay: .75s; }
  html.js .demo.is-playing tbody tr:nth-child(1) { animation-delay: 1.05s; }
  html.js .demo.is-playing tbody tr:nth-child(2) { animation-delay: 1.25s; }
  html.js .demo.is-playing tbody tr:nth-child(3) { animation-delay: 1.45s; }
  html.js .demo.is-playing .demo__card { animation-delay: 1.85s; }
}
@keyframes demo-in { to { opacity: 1; transform: none; } }
@media print { html.js .demo * { opacity: 1 !important; transform: none !important; } }

/* Tick icon (the logo's tick in a blue tile). */
.tick { width: 28px; height: 28px; flex: none; fill: var(--fill); }

/* What it checks: a two-column checklist. */
.checklist { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.checklist li { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; }
.checklist h3 { margin: 2px 0 6px; }
.checklist p { margin: 0; }
.checklist li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 10px); justify-self: center; width: 100%; }
@media (max-width: 760px) {
  .checklist { grid-template-columns: minmax(0, 1fr); }
  .checklist li:last-child:nth-child(odd) { max-width: none; }
}

/* How it works: three numbered steps joined by a line. */
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps3::before { content: ""; position: absolute; top: 26px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, var(--fill-soft), #BFD0FF, var(--fill-soft)); }
.steps3 li { position: relative; text-align: center; }
.steps3__n { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 50%; background: var(--fill); color: var(--white); font-weight: 700; font-size: 1.25rem; box-shadow: 0 0 0 8px var(--white), 0 10px 22px -8px rgba(41, 99, 245, .6); }
.steps3 h3 { margin: 0 0 8px; }
.steps3 p { margin: 0 auto; max-width: 22em; }
@media (max-width: 760px) {
  .steps3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps3::before { top: 27px; bottom: 27px; left: 26px; right: auto; width: 2px; height: auto; background: #D5E0FF; }
  .steps3 li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 18px; text-align: left; padding-bottom: 28px; }
  .steps3 li:last-child { padding-bottom: 0; }
  .steps3__n { grid-row: span 2; margin: 0; }
  .steps3 h3 { margin-top: 14px; }
  .steps3 p { margin: 0; }
}

/* You stay in charge: four cards. */
.cards { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cards li { padding: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.cards li:hover, .checklist li:hover { border-color: #C9D6FB; }
.cards .tick { margin-bottom: 16px; }
.cards h3 { margin: 0 0 8px; }
.cards p { margin: 0; }
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } }
main > section.section:nth-of-type(odd) .checklist li, main > section.section:nth-of-type(odd) .cards li { background: var(--paper); }

code { font: .9em/1.4 ui-monospace, 'Cascadia Mono', Consolas, monospace; background: var(--fill-soft); color: var(--ink); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* Price: one centred card. */
.price { max-width: 460px; margin: 0 auto; padding: clamp(28px, 4vw, 40px); text-align: center; background: var(--white); border: 2px solid var(--fill); border-radius: 18px; box-shadow: 0 30px 60px -36px rgba(41, 99, 245, .55); }
.price__amount { margin: 0; font: 700 clamp(3rem, 7vw, 4rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--ink); }
.price__per { margin: 8px 0 24px; color: var(--muted); }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; text-align: left; }
.ticks li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--rule); }
.ticks li:first-child { border-top: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 6px; border: solid var(--fill); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }

/* Questions. */
.faq summary { font-size: 1.0625rem; }
.faq summary::after { color: var(--fill); }

/* Footer: dark, so the end of the page is obvious; white-lettering logo. */
.site-footer { background: #0B1020; border-top: 0; color: #A9B0C2; padding: clamp(56px, 7vw, 80px) 0 32px; font-size: .9375rem; }
.site-footer a { color: #E6E9F2; }
.site-footer a:hover { color: var(--white); }
.site-footer :focus-visible { outline-color: #9DB8FF; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(36px, 5vw, 52px); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.site-footer__logo { width: fit-content; }
.site-footer__logo img { height: 64px; width: auto; }
.site-footer__about { margin: 18px 0 0; max-width: 24em; color: #A9B0C2; font-size: 1rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 0; }
.site-footer__head { margin: 0 0 14px; font: 600 .9375rem/1.3 var(--sans); color: var(--white); }
.site-footer__col a { display: block; width: fit-content; padding: 5px 0; }
.site-footer__bar { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; padding-top: 24px; border-top: 0; font-size: .8125rem; color: #8790A6; }
.site-footer__legal p { margin: 0; }
.site-footer__legal p + p { margin-top: 4px; }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > :last-child { grid-column: 1 / -1; } }

/* ── Deep-blue header and footer (chosen Oct 2026) ──────────────────────
   Header and footer share one deep brand blue; the blue-tinted hero sits
   between them. Uses the
   white-lettering logo (brand.headerLogo). These rules override the white
   header styles in the theme block above. */
:root { --deep: #0A1A4F; }
.site-header { background: var(--deep); border-bottom: 1px solid rgba(255, 255, 255, .1); backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled { box-shadow: 0 8px 28px -12px rgba(5, 12, 40, .7); }
.brand, .brand:hover { color: var(--white); }
.site-nav a { color: #D3DCF5; }
.site-nav a:hover { color: var(--white); }
.site-nav a[aria-current] { color: var(--white); border-bottom-color: #7FA2FF; }
.nav-toggle { border-color: rgba(255, 255, 255, .3); color: var(--white); }
.site-header :focus-visible { outline-color: #9DB8FF; }
@media (max-width: 1040px) {
  .site-nav { background: var(--deep); border-bottom-color: rgba(255, 255, 255, .1); }
  .site-nav a { border-bottom-color: rgba(255, 255, 255, .1); }
  .site-nav a[aria-current] { color: #BFD3FF; }
}
.site-footer { background: var(--deep); color: #B4BEDA; }
.site-footer__top { border-bottom-color: rgba(255, 255, 255, .12); }
.site-footer__about { color: #B4BEDA; }
.site-footer__bar { color: #98A4C6; }

/* ── Sign-in page ────────────────────────────────────────────────────────
   The tinted accounting photo behind one white card with the three ways in. */
.signin { min-height: calc(100vh - 96px); display: flex; align-items: center; }
.signin .wrap { width: 100%; }
.signin__card { max-width: 460px; margin: 0 auto; padding: clamp(28px, 5vw, 44px); text-align: center; background: var(--white); border-radius: 18px; box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(0, 0, 0, .55); }
.signin__logo { display: block; margin: 0 auto 20px; }
.signin h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.signin__sub { margin: 12px 0 28px; color: var(--body); }
.providers { display: grid; gap: 12px; }
.provider { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 12px 18px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--white); color: var(--ink); font-weight: 600; text-decoration: none; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.provider:hover { border-color: var(--fill); background: var(--fill-soft); color: var(--ink); box-shadow: 0 8px 18px -12px rgba(41, 99, 245, .6); }
.provider:focus-visible { outline: 2px solid var(--fill); outline-offset: 2px; }
.provider svg, .provider img { width: 20px; height: 20px; flex: none; }
.signin .signin__note { margin: 24px 0 0; font-size: .875rem; line-height: 1.6; color: var(--muted); }
.signin .signin__note a { color: var(--gold-text); }
@media (max-width: 620px) { .signin { min-height: calc(100vh - 80px); } }

/* ── Legal pages ─────────────────────────────────────────────────────────
   A short deep-blue band, then the live wording in a readable column.
   Tables stack into labelled cards on phones (data-label from the import). */
.legal-hero { background: var(--deep); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
/* Back link: top of legal pages and sign-in, on the deep blue / tinted photo. */
.back-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; color: var(--white); font-weight: 600; text-decoration: none; }
.back-link span { transition: transform .15s; }
.back-link:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.back-link:hover span { transform: translateX(-3px); }
.back-link:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
.signin .back-link { display: flex; width: fit-content; margin: 0 auto 18px; max-width: 460px; }
main > .section.legal { background: var(--white); padding-top: clamp(40px, 6vw, 72px); }
.legal__body { max-width: 760px; margin: 0 auto; font-size: 1.0625rem; color: var(--body); }
.legal__body h1 { margin: 0 0 24px; font-size: clamp(2rem, 4.4vw, 2.75rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; color: var(--ink); }
.legal__body h2 { margin: 2.2em 0 .6em; padding-top: 1.2em; border-top: 1px solid var(--rule); font-size: 1.375rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.legal__body p, .legal__body li { line-height: 1.7; }
.legal__body ul, .legal__body ol { padding-left: 1.3em; }
.legal__body li { margin-bottom: .5em; }
.legal__body li::marker { color: var(--fill); }
.legal__body a { color: var(--gold-text); }
.legal__body strong { color: var(--ink); }
.legal__body blockquote { margin: 0 0 28px; padding: 18px 22px; background: var(--fill-soft); border-left: 4px solid var(--fill); border-radius: 0 12px 12px 0; }
.legal__body blockquote p { margin: 0; }
.legal__body blockquote p + p { margin-top: .6em; }
.legal__body table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: .9375rem; }
.legal__body th, .legal__body td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.legal__body th { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--ink); }
@media (max-width: 760px) {
  .legal__body thead { display: none; }
  .legal__body table, .legal__body tbody, .legal__body tr, .legal__body td { display: block; width: 100%; }
  .legal__body tr { margin-bottom: 14px; padding: 6px 16px; border: 1px solid var(--rule); border-radius: 12px; background: var(--paper); }
  .legal__body td { padding: 10px 0; border-bottom: 1px solid var(--rule); overflow-wrap: anywhere; }
  .legal__body td:last-child { border-bottom: 0; }
  .legal__body td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
}
.legal__more { max-width: 760px; margin: clamp(48px, 6vw, 72px) auto 0; padding-top: 28px; border-top: 1px solid var(--rule); }
.legal__more-head { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.legal__more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.legal__more a { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .9375rem; }
.legal__more a:hover { border-color: var(--fill); background: var(--fill-soft); }

/* Footer with four columns. */
.site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1040px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .site-footer__grid > :last-child { grid-column: 1 / -1; } }
/* Key/value legal tables (blank column headings): label left, value right;
   on phones the label sits above its value. */
.legal__body table.kv thead { display: none; }
.legal__body table.kv td:first-child { width: 32%; font-weight: 600; color: var(--ink); }
@media (max-width: 760px) {
  .legal__body table.kv td:first-child { width: 100%; padding-bottom: 0; border-bottom: 0; }
  .legal__body table.kv td::before { content: none; }
}

/* Header Start: outside the menu, so it's visible at every size
   (desktop: after the links; phones: between the logo and Menu). */
.site-header__cta { margin-left: 12px; min-height: 48px; padding: 12px 26px; font-size: 1.0625rem; }
.site-header__cta, .site-header__cta:hover { color: var(--white); }
@media (max-width: 1040px) {
  .site-header__bar { gap: 10px; }
  .site-header__cta { order: 2; margin-left: auto; min-height: 44px; padding: 10px 18px; font-size: 1rem; }
  .nav-toggle { order: 3; }
}
@media (max-width: 360px) {
  .site-header__cta { padding: 10px 14px; }
  .nav-toggle { padding: 10px 12px; }
}

/* ── The page ends at the footer ─────────────────────────────────────────
   No scroll bounce past the top or bottom; if a browser bounces anyway
   (iOS Safari), it shows the same deep blue as the header and footer, not
   a light strip. On short pages main grows so the footer sits at the very
   bottom of the screen. */
html { background: var(--deep); overscroll-behavior: none; }
body { overscroll-behavior: none; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; }

/* ── 404: the sign-in page's tinted photo and white card ──────────────── */
.notfound { min-height: calc(100vh - 96px); display: flex; align-items: center; }
.notfound .wrap { width: 100%; }
.notfound__card { max-width: 480px; margin: 0 auto; padding: clamp(28px, 5vw, 44px); text-align: center; background: var(--white); border-radius: 18px; box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 40px 80px -30px rgba(0, 0, 0, .55); }
.notfound__logo { display: block; margin: 0 auto 20px; }
.notfound h1 { margin: 0; font-size: clamp(1.6rem, 4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.notfound__card p { margin: 12px 0 24px; color: var(--body); }
.notfound__links { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.notfound__links a { display: inline-block; padding: 6px 0; color: var(--gold-text); font-weight: 600; text-decoration: none; }
.notfound__links a:hover { text-decoration: underline; }
@media (max-width: 620px) { .notfound { min-height: calc(100vh - 80px); } }
/* On the white 404 card the main button is the solid logo blue
   (the hero's white-button style is for the blue photo only). */
.hero .notfound__card .btn--ask { background: var(--fill); color: var(--white); box-shadow: 0 1px 2px rgba(15, 17, 29, .08), 0 8px 18px -8px rgba(41, 99, 245, .6); }
.hero .notfound__card .btn--ask:hover { background: var(--fill-hover); color: var(--white); }
