/* Turstone site: slate, stone and copper. Colour rules are in the tests (test_build.py::test_site_css_contrast).
   Copper #b4532a is only for filled primary buttons, the announcement bar and the active tab underline.
   Stone #8a8378 (the logo's grey) is for graphics only (3:1): icons, rules, card tops, check marks.
   Stone text on light backgrounds uses stone-dark; stone text on slate uses stone-light.
   Links on light backgrounds are slate with a stone underline. */
@font-face { font-family: "Geist"; src: url("/assets/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --slate: #18252a;
  --slate-2: #20343a;
  --copper: #b4532a;
  --copper-dark: #9a4523;
  --copper-light: #e9a27f;
  --stone: #8a8378;
  --stone-dark: #6b6559;
  --stone-light: #b8b1a4;
  --page: #18252a;
  --header: #233338;
  --ink: #d7dde0;
  --muted: #aab4b8;
  --white: #ffffff;
  --card: #233338;
  --page-2: #1d2c31;
  --header-dark: #111b1f;
  --on-dark: #d7dde0;
  --light: #f2f3f3;
  --foot: #0f181b;
  --draft: #2c2a1f;
  --on-slate-muted: #b9c4c8;
  --warm-soft: #fbeee3;
  --rule: #34474d;
  --radius: 0;
  --r: 0;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Geist", ui-sans-serif, system-ui, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--white); text-decoration: underline; text-decoration-color: var(--copper-light); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--white); text-decoration-color: var(--white); }
:focus-visible { outline: 3px solid var(--slate); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-weight: 600; color: var(--white); margin: 0; letter-spacing: -0.01em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 767px) { .wrap { padding: 0 16px; } }
.skip { position: absolute; left: -9999px; top: 0; background: var(--card); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Announcement bar */
.bar { background: var(--copper); color: var(--white); font-size: 14px; font-weight: 600; text-align: center; }
.bar p { margin: 0; padding: 9px 0; line-height: 1.5; }
.bar a { color: var(--white); text-decoration-color: currentColor; text-decoration-thickness: 1px; }
.bar a:hover { color: var(--white); text-decoration: none; }
.bar :focus-visible { outline-color: var(--white); }
.chip { display: inline-block; margin-left: 10px; border: 1px solid var(--white); border-radius: 0; padding: 1px 10px; font-size: 12px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.chip:hover { background: var(--white); color: var(--copper-dark); }
.bar .chip:hover, .bar .chip:focus-visible { background: var(--white); color: var(--slate); }
@media (max-width: 599px) { .chip { margin: 4px 0 0 0; } }


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border-radius: 0; border: 1.5px solid var(--copper); font: inherit; font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn-fill { background: var(--copper); color: var(--white); }
.btn-fill:hover { background: var(--copper-dark); border-color: var(--copper-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--on-dark); color: var(--white); }
.btn-outline:hover { background: var(--light); color: var(--slate); }
.btn-lg { min-height: 48px; padding: 0 26px; font-size: 16px; }
.on-dark .btn-outline { border-color: var(--white); color: var(--white); }
.on-dark .btn-outline:hover, .on-dark .btn-outline:focus-visible { background: var(--white); color: var(--slate); }
.on-dark :focus-visible { outline-color: var(--white); }

/* Header */
.site-header { background: var(--header-dark); box-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25); position: relative; z-index: 20; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0 0; }
.logo img { height: 24px; width: auto; }
.acts { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; min-height: 40px; padding: 0 14px; font: inherit; font-size: 15px; font-weight: 500; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 0; cursor: pointer; }
.tabs { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-end; gap: 28px; }
.tab-link { -webkit-tap-highlight-color: transparent; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0; padding: 12px 0 10px; cursor: pointer; text-decoration: none; display: inline-block; border-bottom: 2px solid transparent; line-height: 1.4; }
.tab-link:hover { color: var(--white); border-bottom-color: var(--stone); }
button.tab-link::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
button.tab-link[aria-expanded="true"] { color: var(--white); border-bottom-color: var(--copper); }
button.tab-link[aria-expanded="true"]::after { transform: translateY(0) rotate(-135deg); }
.tab-fallback { display: inline-block; }
.js .tab-fallback { display: none; }
button.tab-link { display: none; }
.js button.tab-link { display: inline-block; }

/* Mega menu panels */
.panel { transform-origin: top; }
.panel { position: absolute; left: 32px; top: 100%; margin-top: 6px; width: max-content; max-width: calc(100vw - 64px); background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--stone); border-radius: 0; box-shadow: 0 12px 32px rgba(24, 37, 42, .16), 0 2px 6px rgba(24, 37, 42, .08); }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 9px; }
.panel .panel-grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 250px); gap: 8px 28px; max-width: none; margin: 0; padding: 22px 26px 24px; }
.col h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--stone-light); font-weight: 600; margin: 0 0 10px; }
.item { display: block; text-decoration: none; padding: 6px 0 8px; color: var(--ink); }
.item span { display: block; font-weight: 600; font-size: 15px; color: var(--white); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.item em { display: block; font-style: normal; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.item:hover span, .item:focus-visible span { text-decoration-color: var(--stone); }
.item:hover { color: var(--ink); }
.plain { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13.5px; color: var(--ink); }
.plain li { padding: 2px 0 2px 14px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 5px; background: var(--stone); border-radius: 0; }

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-header:not(.nav-open) #site-nav { display: none; }
  .tabs { flex-direction: column; gap: 0; padding: 8px 0 12px; }
  .tab { border-top: 1px solid var(--rule); }
  .tab-link { width: 100%; text-align: left; padding: 14px 0; border-bottom: 0; }
  button.tab-link { display: none; }
  .js button.tab-link { display: flex; align-items: center; justify-content: space-between; }
  button.tab-link[aria-expanded="true"] { border-bottom: 0; }
  .panel { position: static; width: auto; max-width: none; margin-top: 0; box-shadow: none; border: 0; border-radius: 0; background: var(--header); }
  .panel::before { display: none; }
  .panel .panel-grid { display: grid; grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; padding: 0 0 12px; gap: 4px; }
  .col h2 { margin-top: 8px; }
}
@media (max-width: 599px) {
  .top { flex-wrap: wrap; row-gap: 10px; }
  .logo { order: 1; }
  .js .logo { flex: 1 1 60%; }
  .js .nav-toggle { order: 2; margin-left: auto; }
  .acts { display: contents; }
  .acts .btn { order: 3; flex: 1 1 0; }
  .site-header .top { padding-bottom: 12px; }
}

/* Footer */
.site-footer { background: var(--foot); color: var(--on-slate-muted); font-size: 14px; padding: 44px 0 32px; margin-top: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.site-footer :focus-visible { outline-color: var(--stone-light); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 32px; }
.foot-grid h2 { color: var(--stone-light); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; }
.foot-base { margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--stone); font-size: 13px; }
@media (max-width: 899px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .foot-grid { grid-template-columns: 1fr; } }

/* Page parts shared with later pages */
main { display: block; }
.hero { background: linear-gradient(180deg, var(--page-2), var(--page)); color: var(--white); text-align: center; padding: 88px 0 0; }
.hero h1 { color: var(--white); font-size: clamp(38px, 5.2vw, 57px); line-height: 1.12; font-weight: 650; letter-spacing: -0.02em; max-width: 20ch; margin: 0 auto 14px; }
.hero p { font-size: 20px; color: var(--on-dark); max-width: 640px; margin: 0 auto 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-bottom: 48px; }
.hero-sm { padding: 64px 0 56px; }
.hero .hero-eyebrow { margin: 0 auto 18px; font-size: 13px; font-weight: 500; letter-spacing: .14em; color: var(--stone-light); }
.hero-sm h1 { font-size: clamp(28px, 3.6vw, 40px); }
.hero-sm p { margin-bottom: 0; }
.hero .zoom { width: min(78%, 960px); margin: 0 auto; }
.hero img { width: 100%; border-radius: 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .35); }
.section { padding: 56px 0; }
.section h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; padding: 48px 0; }
.pillars h3 { font-size: 19px; margin: 0 0 6px; }
.pillars p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.pillars svg { width: 40px; height: 40px; margin: 0 auto 12px; stroke: var(--stone); fill: none; stroke-width: 1.6; }
.grid-2, .grid-3 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border-radius: 0; padding: 24px; border: 1px solid var(--rule); border-top: 3px solid var(--stone); }
.prose { max-width: 70ch; }
.prose p { margin: 0 0 14px; }
.muted { color: var(--muted); }
@media (max-width: 899px) { .pillars { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .pillars, .grid-2 { grid-template-columns: 1fr; } .hero { padding-top: 60px; } }

/* Legal documents (bodies unchanged from the previous site) */
.doc { max-width: 760px; padding: 48px 0 24px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; scroll-margin-top: 24px; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc h4 { font-size: 16px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--ink); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc code { font-size: .92em; background: var(--card); padding: 1px 5px; border-radius: 0; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.draft { background: var(--draft); border-left: 4px solid var(--stone-light); border-radius: 0; padding: 14px 18px; margin: 20px 0; color: var(--ink); font-size: 15px; }
.draft p { margin: 0; }
.ph { background: #3a3320; color: #f3deaa; padding: 1px 6px; border-radius: 0; font-weight: 500; }
.toc { background: var(--card); border: 1px solid var(--rule); border-radius: 0; padding: 18px 22px; margin: 28px 0 8px; }
.toc h2 { font-size: 15px; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--stone-light); font-weight: 600; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 4px; break-inside: avoid; font-size: 15px; }
@media (max-width: 599px) { .toc ol { columns: 1; } }
.tablewrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--rule); border-radius: 0; background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); color: var(--ink); }
th { background: var(--header); font-weight: 600; }
tr:last-child td { border-bottom: 0; }

@media print {
  @page { margin: 18mm; }
  body { background: #fff; font-size: 11pt; line-height: 1.45; }
  .bar, .site-header, .site-footer .foot-grid nav, .toc, .noprint { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .doc { max-width: none; padding: 0; }
  .doc h1 { font-size: 22pt; } .doc h2 { font-size: 14pt; margin-top: 18pt; break-after: avoid; } .doc h3, .doc h4 { break-after: avoid; }
  .doc p, .doc li { color: #000; orphans: 3; widows: 3; }
  a { color: #000; text-decoration: none; }
  .doc a[href^="http"]::after, .doc a[href^="mailto"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .tablewrap { overflow: visible; border: 0; }
  table { min-width: 0; font-size: 9pt; } tr { break-inside: avoid; } th { background: #eee; } body, h1, h2, h3, h4, p, li, td, th, a, .doc p, .doc li { color: #000 !important; }
  .draft, .ph { background: none; border: 1px solid #999; }
  .site-footer { background: none; color: #000; padding: 12pt 0 0; margin: 0; }
  .site-footer a { color: #000; }
}

/* Home */
.center { text-align: center; }
.center.lead, .lead.center { margin-left: auto; margin-right: auto; }
.narrow { max-width: 820px; }
.facts { background: var(--page); }
.facts .pillars { padding: 44px 0; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card-link { text-decoration: none; }
.card-link:hover { color: var(--ink); border-color: var(--stone-dark); }
.card-link h3 { font-size: 19px; margin: 0 0 8px; }
.card-link p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.55; flex: 1; }
.more { color: var(--white); font-weight: 600; font-size: 15px; }
.more::after { content: " \2192"; color: var(--stone-light); }
.card-link:hover .more { text-decoration: underline; }
.band { background: var(--page-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; justify-content: center; margin-top: 28px; }
.plan { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--stone); border-radius: 0; padding: 24px 28px; text-align: center; }
.plan h3 { font-size: 18px; }
.amt { font-size: 40px; font-weight: 650; letter-spacing: -0.02em; margin: 6px 0 12px; color: var(--ink); }
.amt span { font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; color: var(--ink); font-size: 15px; }
.plan li { padding: 5px 0; border-top: 1px solid var(--rule); }
.plan li:first-child { border-top: 0; }
.terms { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; margin: 24px auto; padding: 0; max-width: 900px; color: var(--ink); font-size: 15px; }
.faq { margin-top: 24px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; font-size: 17px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--stone-dark); border-bottom: 2px solid var(--stone-dark); transform: translateY(-70%) rotate(45deg); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 0 16px; color: var(--ink); }
.faq .ans p { margin: 0; max-width: 64ch; }
@media (max-width: 1099px) { .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .cards4, .plans { grid-template-columns: 1fr; } .facts .pillars { padding: 32px 0; } }
.hero p { max-width: 760px; }
.terms li { text-align: center; }
@media (max-width: 699px) { .terms { grid-template-columns: 1fr; } }

/* Info pages */
.narrow > h2:not(.center) { margin-top: 40px; }
.narrow > h2:not(.center):first-child { margin-top: 0; }

/* Feature and trade pages */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: center; }
.feature.flip .feature-text { order: 2; }
.feature.flip { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
.feature.flip .feature-shot { order: 1; }
.feature.solo { grid-template-columns: minmax(0, 1fr); }
.feature.solo .feature-text { max-width: 760px; margin-left: auto; margin-right: auto; }
.feature-text h2 { margin-top: 0; }
.feature-text p { margin: 0 0 14px; max-width: 58ch; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 26px; font-size: 16px; max-width: 58ch; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 11px; border-right: 2px solid var(--stone-dark); border-bottom: 2px solid var(--stone-dark); transform: rotate(40deg); }
.feature-shot img { display: block; width: 100%; height: auto; border-radius: 0; border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(24, 37, 42, .16); }
.feature-shot.phone img { max-width: 280px; margin: 0 auto; }
@media (max-width: 899px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .feature.flip { grid-template-columns: minmax(0, 1fr); }
  .feature.flip .feature-shot { order: 0; }
}

.eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--stone-light); }
.on-dark .eyebrow { color: var(--stone-light); }
.believe-h { margin: 28px 0 0; font-size: 20px; }
.believe-h::before { content: ""; display: block; width: 36px; border-top: 3px solid var(--stone); margin-bottom: 12px; }

/* Click to enlarge */
.zoom { position: relative; display: block; cursor: zoom-in; text-decoration: none; }
.zoom-cue { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 0; background: var(--card); border: 1px solid var(--rule); color: var(--stone-light); font-size: 12.5px; font-weight: 600; line-height: 1; opacity: 0; transition: opacity .15s; pointer-events: none; }
.zoom-cue svg { width: 16px; height: 16px; stroke: var(--stone); fill: none; stroke-width: 2; stroke-linecap: round; }
.zoom:hover .zoom-cue, .zoom:focus-visible .zoom-cue { opacity: 1; }
@media (hover: none) { .zoom-cue { opacity: 1; } }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--white); overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(4, 8, 10, .94); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 0; background: var(--white); box-shadow: 0 10px 50px rgba(0, 0, 0, .5); cursor: default; }
.lightbox-close { position: absolute; top: 14px; right: 14px; min-height: 40px; padding: 0 16px; font: inherit; font-size: 15px; font-weight: 600; background: var(--card); color: var(--white); border: 0; border-radius: 0; cursor: pointer; }
.lightbox-close:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
html.lb-open { overflow: hidden; }

/* Home bands, steps, referral, final call to action, products */
.feature-text .eyebrow { margin-bottom: 6px; }
.more-row { margin: 18px 0 0 !important; }
.more-link { color: var(--white); font-weight: 600; }
.more-link::after { content: " \2192"; color: var(--stone-light); }
.cardsmore { margin: 28px 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; padding: 0; counter-reset: none; }
.steps li { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--stone); border-radius: 0; padding: 24px; }
.steps h3 { font-size: 19px; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 0; border: 2px solid var(--stone); color: var(--stone-light); font-weight: 650; }
.trade-cards { margin: 28px 0 20px; }
.refer { background: var(--card); border: 1px solid var(--rule); border-left: 6px solid var(--stone); border-radius: 0; padding: 36px 40px; }
.refer h2 { max-width: 24ch; }
.refer .lead { margin: 0 0 20px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.jump { background: var(--card); border-bottom: 1px solid var(--rule); }
.jump .wrap { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-top: 12px; padding-bottom: 12px; }
.jump a { font-weight: 500; font-size: 15px; }
.products-anchor, #win, #plan, #do, #paid, #keep, #run { scroll-margin-top: 12px; }
.cta-band { color: var(--white); text-align: center; padding: 80px 0; margin-top: 0; }
.cta-band h2 { color: var(--white); font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; max-width: 20ch; margin: 0 auto 14px; letter-spacing: -0.02em; }
.cta-band p { color: var(--on-dark); font-size: 18px; margin: 0 auto 28px; max-width: 560px; }
.cta-band .cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.site-footer { margin-top: 0; }
@media (max-width: 1099px) { .cards3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 899px) { .steps { grid-template-columns: 1fr; } .refer { padding: 28px 22px; } }
@media (max-width: 599px) { .cards3 { grid-template-columns: 1fr; } .cta-band { padding: 56px 0; } }


/* Shared top-down unroll (clip-path + fade). site.js adds .u-in (200 ms ease-out) on open and .u-out (120 ms) on close;
   under prefers-reduced-motion neither class does anything and the JS skips the delay. */
@keyframes unroll { from { clip-path: inset(0 -40px 100% -40px); opacity: .2; } to { clip-path: inset(0 -40px -40px -40px); opacity: 1; } }
@keyframes rollup { from { clip-path: inset(0 -40px -40px -40px); opacity: 1; } to { clip-path: inset(0 -40px 100% -40px); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .u-in { animation: unroll .2s ease-out both; }
  .u-out { animation: rollup .12s ease-in both; pointer-events: none; }
  .lightbox[open]::backdrop { animation: fadein .2s ease-out both; }
}
.head-cols { margin-top: 28px; }
.head-cols .card { border-top-color: var(--stone); }
.head-cols .ticks { margin: 0; }

/* Dark site: every section is slate. Two close slates alternate (page, page-2); the header is darker, the footer darkest. */
.dark, .cta-dark { background: var(--page); }
.band, .cta-dark.band { background: var(--page-2); }
.facts + .section, .section + .section { border-top: 1px solid rgba(255, 255, 255, .05); }
.pillars svg { stroke: var(--stone-light); }
.ticks li::before { border-color: var(--stone-light); }
.plan ul li { border-color: var(--rule); }
.card, .plan, .steps li, .refer, .toc, .tablewrap, .panel { border-color: var(--rule); }
.feature-shot img, .hero img, .zoom img { border: 1px solid var(--rule); box-shadow: 0 10px 32px rgba(0, 0, 0, .45); }
.hero img { border-bottom: 0; box-shadow: 0 -6px 30px rgba(0, 0, 0, .45); }
.card-link:hover { border-color: var(--stone); }
:focus-visible { outline-color: var(--white); }
.doc p, .doc li { max-width: 70ch; line-height: 1.6; }

/* Dark header */
.site-header .tab-link { color: var(--light); }
.site-header .tab-link:hover { color: var(--white); border-bottom-color: var(--stone-light); }
.site-header button.tab-link[aria-expanded="true"] { color: var(--white); border-bottom-color: var(--copper); }
.site-header .btn-outline { border-color: var(--light); color: var(--light); }
.site-header .btn-outline:hover { background: var(--light); color: var(--slate); }
.site-header .nav-toggle { color: var(--light); border-color: var(--light); }
.site-header .panel { background: var(--card); color: var(--ink); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
@media (max-width: 899px) {
  .site-header .tab { border-top-color: rgba(255, 255, 255, .16); }
  .site-header .panel { background: var(--header-dark); box-shadow: none; }
}

/* Header sizing: larger wordmark, centred against the whole header. One row from 1200px (IBKR-like), logo spanning both rows from 900px. */
.logo { display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.top { padding: 16px 0; }
.nav-toggle { min-height: 44px; }
.site-header .top .btn { min-height: 44px; }
@media (max-width: 599px) {
  .site-header .top { padding-bottom: 14px; }
}
@media (min-width: 900px) {
  .site-header > .wrap { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: center; }
  .site-header .top { display: contents; }
  .site-header .logo { grid-column: 1; grid-row: 1 / span 2; align-self: center; padding: 14px 0; }
  .site-header .logo img { height: 40px; }
  .site-header .acts { grid-column: 2; grid-row: 1; justify-self: end; padding-top: 14px; }
  .site-header #site-nav { grid-column: 2; grid-row: 2; justify-self: end; }
  .tab-link { padding: 14px 0 12px; }
}
@media (min-width: 1200px) {
  .site-header > .wrap { grid-template-columns: auto 1fr auto; column-gap: 28px; }
  .site-header .logo { grid-row: 1; padding: 0; }
  .site-header .acts { grid-column: 3; grid-row: 1; padding: 0; }
  .site-header #site-nav { grid-column: 2; grid-row: 1; justify-self: end; }
  .tab-link { padding: 36px 0 34px; }
  .tabs { gap: 24px; }
}

/* Home headline: one line on desktop, balanced wrap when narrow */
.hero h1 { max-width: none; text-wrap: balance; }
@media (min-width: 900px) { .hero:not(.hero-sm) h1 { white-space: nowrap; font-size: clamp(38px, 4.4vw, 57px); } }
