/* Clareva tokens. Generated from design/tokens.json by scripts/build.mjs. Do not edit. */
:root {
  --cream: #FBF7F0;
  --card: #FFFFFF;
  --ink: #111111;
  --muted: #555555;
  --border: #D9D2C5;
  --primary: #5B3DF5;
  --on-primary: #FFFFFF;
  --primary-tint: #EFEBFF;
  --secondary: #FF6B2C;
  --on-secondary: #111111;
  --tertiary: #FFDE5C;
  --on-tertiary: #111111;
  --danger: #B3261E;
  --danger-tint: #FDECEA;
  --success: #1E7A4C;
  --success-tint: #E6F4EC;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --radius-sm: 8px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --text-display: 84px;
  --leading-display: 1.02;
  --weight-display: 800;
  --text-heading-1: 56px;
  --leading-heading-1: 1.05;
  --weight-heading-1: 800;
  --text-heading-2: 44px;
  --leading-heading-2: 1.12;
  --weight-heading-2: 800;
  --text-heading-3: 22px;
  --leading-heading-3: 1.3;
  --weight-heading-3: 700;
  --text-lead: 22px;
  --leading-lead: 1.55;
  --weight-lead: 400;
  --text-body: 18px;
  --leading-body: 1.6;
  --weight-body: 400;
  --text-small: 16px;
  --leading-small: 1.5;
  --weight-small: 400;
  --text-label: 15px;
  --leading-label: 1.4;
  --weight-label: 700;
}
[data-theme="dark"] {
  --cream: #151515;
  --card: #1F1F1F;
  --ink: #F5F1E8;
  --muted: #B5B0A5;
  --border: #3A3A3A;
  --primary: #8B76FF;
  --on-primary: #111111;
  --primary-tint: #2A2350;
  --secondary: #FF6B2C;
  --on-secondary: #111111;
  --tertiary: #FFD23F;
  --on-tertiary: #111111;
  --danger: #FF8A80;
  --danger-tint: #3A1D1B;
  --success: #6FD3A0;
  --success-tint: #1B3326;
}

/* 10-fonts.css */
/* Typeface. To change the brand font: replace the files in assets/fonts,
   update the @font-face rules, and change the two variables below. Nothing else names a font. */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    /* --gh-font-heading and --gh-font-body are set by Ghost when a font is chosen in the admin
       (Design > Brand > Typography), so a font can also be tried there without a release. */
    --font-primary: var(--gh-font-heading, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif);   /* headings */
    --font-secondary: var(--gh-font-body, "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif); /* body text */
}

/* 20-base.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@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 {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-secondary);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-primary); margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.5vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 700; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.bg-primary :focus-visible, .cta-band :focus-visible { outline-color: var(--tertiary); }
::selection { background: var(--primary); color: var(--on-primary); }
[hidden] { display: none !important; }

.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: -9999px; top: 0; }
.skip-link:focus { left: 16px; top: 16px; background: var(--ink); color: var(--cream); padding: 12px 16px; z-index: 100; border-radius: var(--radius-sm); }

/* The brand's signature: a coloured full stop on headlines. */
.dot { color: var(--secondary); }
.bg-primary .dot, .cta-band .dot { color: var(--tertiary); }

/* 30-layout.css */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--space-6); padding-right: var(--space-6); }
.wrap--narrow { max-width: 1000px; }
.wrap--text { max-width: 900px; }
@media (max-width: 480px) { .wrap { padding-left: var(--space-4); padding-right: var(--space-4); } }

/* Announcement */
.announce { background: var(--ink); color: var(--cream); font-size: 15px; text-align: center; padding: 10px var(--space-4); }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.site-header__logo { display: inline-flex; flex: 0 0 auto; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav { display: none; margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px 28px; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 2px; display: inline-block; border-bottom: 3px solid transparent; }
.site-nav a:hover { color: var(--primary); }
.site-nav .nav-current a { font-weight: 700; border-bottom-color: var(--secondary); }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-menu { position: relative; }
.site-menu > summary {
    display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; cursor: pointer; list-style: none;
    border-radius: var(--radius-pill); border: 2px solid var(--ink); color: var(--ink); background: var(--card);
}
.site-menu > summary::-webkit-details-marker { display: none; }
.site-menu[open] > summary { background: var(--ink); color: var(--cream); }
.site-menu__panel {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 260px;
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px 20px;
}
.site-menu__panel ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.site-menu__panel a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; padding: 12px 4px; }
.site-menu__panel a:hover { color: var(--primary); }
.site-menu__panel .nav-current a { font-weight: 700; }
.site-header__actions .btn { min-height: 44px; padding: 0 22px; font-size: 16px; }
@media (max-width: 559px) {
    .site-header__actions { flex: 0 0 auto; }
    .site-header__actions .btn--outline { display: none; }
    .site-header__actions .btn { padding: 0 16px; font-size: 15px; }
    .site-header__logo img { height: 34px; }
}
@media (min-width: 1000px) {
    .site-nav { display: block; }
    .site-menu { display: none; }
    .site-header__actions { margin-left: 8px; }
}

/* Footer */
.site-footer { background: var(--card); border-top: 1px solid var(--border); margin-top: 0; }
.site-footer__inner { padding-top: 56px; padding-bottom: 40px; }
.site-footer__cols { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.site-footer__col { flex: 1 1 180px; min-width: 0; }
.site-footer__col h2 { font-size: 15px; font-weight: 700; letter-spacing: 0; line-height: 1.4; }
.site-footer__col ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.site-footer__col li { margin: 0; padding: 0; }
.site-footer__col p { margin: 0; }
.site-footer__col a { color: var(--muted); text-decoration: none; font-size: 16px; display: inline-block; padding: 6px 0; }
.site-footer__col a:hover { color: var(--primary); }
.site-footer__news { flex: 1 1 300px; min-width: 0; }
.site-footer__news label { font-size: 15px; font-weight: 700; }
.site-footer__news p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.site-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.site-footer__bottom img { height: 32px; width: auto; }
.site-footer__bottom p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 620px; }
.site-footer__legal { margin-top: 16px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal button { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 14px; min-height: 24px; }

/* 40-components.css */
/* Buttons (design system: Button) */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
    min-height: 48px; padding: 0 28px; border: 2px solid transparent; border-radius: var(--radius-pill);
    font-family: var(--font-secondary); font-size: 17px; font-weight: 700; line-height: 1.15; text-decoration: none; cursor: pointer;
    background: var(--primary); color: var(--on-primary); transition: filter .15s; text-align: center; height: auto;
}
.btn:hover { filter: brightness(.94); text-decoration: none; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--light { background: var(--card); color: var(--ink); }
.btn--full { width: 100%; }
.btn[disabled] { background: var(--border); color: var(--muted); cursor: not-allowed; }
.bg-primary .btn--outline, .cta-band .btn--outline { color: var(--on-primary); border-color: var(--on-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-8); }

/* Badge */
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; background: var(--border); color: var(--ink); }
.badge--primary { background: var(--primary); color: var(--on-primary); }
.badge--secondary { background: var(--secondary); color: var(--on-secondary); }
.badge--tertiary { background: var(--tertiary); color: var(--on-tertiary); }
.badge--success { background: var(--success-tint); color: var(--success); }

/* Kicker: the small label above a heading */
.kicker { font-size: 15px; font-weight: 700; color: var(--primary); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.bg-primary .kicker { color: var(--tertiary); }

/* Card */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); }
.card--tint { background: var(--primary-tint); border-color: transparent; }
.card--lg { border-radius: var(--radius-xl); padding: var(--space-8); }
a.card { display: block; color: var(--ink); text-decoration: none; }
a.card:hover { border-color: var(--primary); }

/* Callout */
.callout {
    display: flex; gap: var(--space-3); padding: var(--space-4) var(--space-6) var(--space-4) var(--space-4);
    border-radius: var(--radius-md); background: var(--primary-tint); color: var(--ink); font-size: 16px; line-height: 1.55;
}
.callout__title { font-weight: 700; display: block; }
.callout svg { flex: 0 0 auto; color: var(--primary); margin-top: 2px; }

/* Form fields (design system: TextField). Label always above, never a placeholder alone. */
.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field + .field { margin-top: var(--space-6); }
.field label, .label { font-size: 15px; font-weight: 700; color: var(--ink); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="number"], .field input[type="search"], .field textarea, .field select {
    width: 100%; min-height: 52px; padding: 12px var(--space-4); font-size: 18px; color: var(--ink);
    background: var(--card); border: 2px solid var(--border); border-radius: var(--radius-sm);
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary); outline: 3px solid var(--primary-tint); outline-offset: 0; }
.field input::placeholder, .field textarea::placeholder, .input::placeholder { color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.hint { font-size: 14px; line-height: 1.5; color: var(--muted); }
.error { font-size: 14px; line-height: 1.5; color: var(--danger); font-weight: 500; }
.input-affix { display: flex; align-items: stretch; background: var(--card); border: 2px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; min-height: 52px; }
.input-affix:focus-within { border-color: var(--primary); outline: 3px solid var(--primary-tint); }
.input-affix span { display: flex; align-items: center; padding: 0 var(--space-3); color: var(--muted); font-weight: 700; font-size: 17px; white-space: nowrap; }
.input-affix input, .field .input-affix input { border: 0; min-height: 0; outline: 0; flex: 1; min-width: 0; background: transparent; padding-left: 4px; }
.input-affix input:focus, .field .input-affix input:focus { outline: 0; border: 0; }
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 1.5; }
.check input { width: 24px; height: 24px; flex: 0 0 auto; margin: 0; accent-color: var(--primary); }
.form-status { margin-top: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); font-size: 16px; }
.form-status--ok { background: var(--success-tint); color: var(--success); }
.form-status--error { background: var(--danger-tint); color: var(--danger); }

/* Inline newsletter / email form */
.inline-form { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1 1 200px; min-width: 0; min-height: 48px; padding: 0 var(--space-4); font-size: 16px; background: var(--card); border: 2px solid var(--border); border-radius: var(--radius-sm); }
.inline-form .btn { font-size: 16px; padding: 0 22px; }

/* Segmented control */
.seg { display: inline-flex; gap: var(--space-1); padding: var(--space-1); background: var(--primary-tint); border-radius: var(--radius-pill); }
.seg button { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }

/* Chips (topic filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 2px solid var(--ink); color: var(--ink); background: transparent; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.chip:hover { background: var(--primary-tint); }
.chip[aria-current], .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip[disabled] { opacity: .4; cursor: default; }

/* Tables */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-x: auto; }
.table-wrap table, .rich table { font-size: 16px; line-height: 1.45; min-width: 520px; }
.table-wrap th, .table-wrap td, .rich th, .rich td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th, .rich thead th { font-weight: 700; background: var(--primary-tint); }
.table-wrap tbody th, .rich tbody th { font-weight: 500; }
.table-wrap tr:last-child > *, .rich tr:last-child > * { border-bottom: 0; }
.table-wrap caption, .rich caption { text-align: left; padding: 14px 20px; font-weight: 700; font-size: 15px; color: var(--muted); }

/* Accordion (FAQ) */
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0; }
.faq details + details { margin-top: 12px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); margin-right: 4px; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > div { padding: 0 24px 20px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 760px; }
.faq details > div > * + * { margin-top: 10px; }

/* Photo slot: shown until a real photo is uploaded as the block's feature image */
.photo-slot { position: relative; background: var(--primary-tint); border: 2px dashed var(--primary); border-radius: var(--radius-xl); min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-8); color: var(--ink); gap: 8px; }
.photo-slot strong { font-size: 17px; }
.photo-slot span { font-size: 15px; color: var(--muted); max-width: 320px; }
.photo { border-radius: var(--radius-xl); width: 100%; object-fit: cover; }

/* Brand shapes ("Wobble") used as decoration */
.wobble { position: relative; width: 100%; max-width: 380px; aspect-ratio: 1; margin: 0 auto; }
.wobble i { position: absolute; display: block; }
.wobble i:nth-child(1) { left: 6%; top: 10%; width: 66%; height: 66%; border-radius: 22%; background: var(--primary); transform: rotate(-10deg); }
.wobble i:nth-child(2) { left: 46%; top: 46%; width: 48%; height: 48%; border-radius: 50%; background: var(--secondary); mix-blend-mode: multiply; }
.wobble i:nth-child(3) { left: 68%; top: 10%; width: 24%; height: 24%; border-radius: 50%; background: var(--tertiary); mix-blend-mode: multiply; }

/* 50-blocks.css */
/* Page sections. Each section in a page's content file becomes a <section class="block s-TYPE">.
   Options in the content file add classes: s-bg-tint, s-bg-primary, s-flip, s-tight, s-two. */
:root { --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.block { padding: 72px 0; }
.block.s-bg-tint { background: var(--primary-tint); }
.block.s-bg-card { background: var(--card); }
.block.s-bg-primary { background: var(--primary); color: var(--on-primary); }
.block.s-bg-primary a:not(.btn) { color: var(--on-primary); }
.block.s-tight { padding: 40px 0; }
.block.s-hero + .block { padding-top: 24px; }
@media (max-width: 700px) { .block { padding: 56px 0; } }

.block__title { max-width: 900px; }
.block__body { margin-top: 16px; max-width: 640px; }
.block__body > * + * { margin-top: 12px; }
.block__note { margin-top: 20px; font-size: 15px; color: var(--muted); }
.s-bg-primary .block__note { color: var(--on-primary); }
.block__below { margin-top: 32px; }

/* Tick lists: any bullet list written in a section's text, and lists inside cards */
.block__body ul, .ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.block__body ul { margin-top: 20px; }
.block__body ul > li, .ticks > li { position: relative; padding-left: 36px; font-size: 17px; line-height: 1.5; }
.block__body ul > li::before, .ticks > li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; background: var(--primary); -webkit-mask: var(--tick); mask: var(--tick); }
.s-bg-primary .block__body ul > li::before { background: var(--tertiary); }

/* Hero */
.s-hero { padding: 56px 0 64px; }
.s-hero .block__body { margin-top: 20px; max-width: 680px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }

/* Split: text beside a picture */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > .block__text { flex: 1 1 420px; min-width: 0; }
.split > .block__visual { flex: 1 1 380px; min-width: 0; }
.s-flip .split > .block__visual { order: -1; }
@media (max-width: 880px) { .s-flip .split > .block__visual { order: 0; } }
.block__visual > .card { border-radius: var(--radius-xl); }
.block__visual figure, .block__below figure { margin: 0; }
.block__visual figcaption, .block__below figcaption, .figure-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Cards */
.cards { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-top: 32px; }
.cards > li { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 72px 24px 24px; }
.cards > li > h3 { font-size: 20px; }
.cards > li > p { margin-top: 6px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.cards > li::before { content: ""; position: absolute; left: 24px; top: 24px; width: 32px; height: 32px; background: var(--primary); border-radius: 30%; transform: rotate(-10deg); }
.cards > li:nth-child(3n+2)::before { background: var(--secondary); border-radius: 50%; }
.cards > li:nth-child(3n+3)::before { background: var(--tertiary); border-radius: 32px 32px 0 0; height: 16px; top: 40px; transform: none; }
.s-bg-tint .cards > li { border-color: transparent; }
.cards .ticks { margin-top: 12px; gap: 10px; }
.cards .ticks > li { padding-left: 30px; font-size: 16px; color: var(--ink); }
.cards .ticks > li::before { width: 20px; height: 20px; top: 3px; }
.s-two .cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.s-two .cards > li:nth-child(2) { background: var(--primary-tint); border-color: transparent; }

/* Steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; margin-top: 32px; }
.steps > li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.steps > li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.steps > li > h3 { font-size: 19px; }
.steps > li > p { margin-top: 6px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* FAQ and tables inside sections */
.block .faq { margin-top: 28px; max-width: 900px; }
.block .table-wrap { margin-top: 28px; }

/* Charts shown full width under the text */
.chart-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(16px, 3vw, 32px); }
.s-chart .chart-card { margin-top: 32px; }

/* Call-to-action band */
.cta-band { background: var(--primary); color: var(--on-primary); padding: 64px 0; text-align: center; }
.cta-band .block__title { font-size: clamp(28px, 4.5vw, 44px); margin: 0 auto; }
.cta-band .block__body { max-width: none; font-size: 20px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* Plans */
.plans-wrap { margin-top: 28px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: stretch; margin-top: 32px; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-8); display: flex; flex-direction: column; }
.plan--featured { background: var(--primary-tint); border-color: var(--primary); border-width: 2px; }
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan__price { margin-top: 16px; font-family: var(--font-primary); font-size: 48px; line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.plan__price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan__terms { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); min-height: 3em; }
.plan__body { margin-top: 20px; flex: 1; }
.plan__body ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan__body li { position: relative; padding-left: 32px; font-size: 16px; line-height: 1.5; }
.plan__body li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--primary); -webkit-mask: var(--tick); mask: var(--tick); }
.plan .btn { margin-top: 24px; }
[data-billing="annual"] .only-monthly, [data-billing="monthly"] .only-annual { display: none; }
.plans-note { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* 60-visuals.css */
/* Legends and swatches shared by charts */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 14px; color: var(--ink); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { display: inline-block; width: 16px; height: 16px; border-radius: 4px; flex: 0 0 auto; }
.sw--employment, .cf-employment { background: var(--primary); }
.sw--other, .cf-other { background: var(--tertiary); }
.sw--state, .cf-state { background: var(--secondary); }
.sw--pension, .cf-pension { background: color-mix(in srgb, var(--primary) 62%, var(--card)); }
.sw--savings, .cf-savings { background: color-mix(in srgb, var(--primary) 28%, var(--card)); }
.sw--short, .cf-short { background: repeating-linear-gradient(135deg, var(--danger) 0 3px, var(--danger-tint) 3px 6px); }
.sw--need { background: var(--ink); height: 4px; border-radius: 2px; }

/* Lifetime cashflow chart */
.cashflow { margin: 0; }
clareva-cashflow { display: block; overflow-x: auto; }
.cf { position: relative; min-width: 640px; }
.cf__bars { display: flex; align-items: flex-end; gap: 2px; height: 320px; border-bottom: 2px solid var(--ink); position: relative; }
.cashflow--small .cf__bars { height: 200px; }
.cashflow--small .cf { min-width: 420px; }
.cf__col { flex: 1 1 0; min-width: 6px; height: 100%; position: relative; display: flex; flex-direction: column-reverse; }
.cf__seg { width: 100%; transform-origin: bottom; animation: cf-grow .7s ease-out both; }
.cf__col:first-child .cf__seg:last-child, .cf__seg:last-child { border-radius: 3px 3px 0 0; }
.cf-short { border-top: 2px solid var(--danger); }
.cf__need { position: absolute; left: 0; right: 0; height: 3px; background: var(--ink); pointer-events: none; }
.cf__axis { display: flex; gap: 2px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.cf__axis span { flex: 1 1 0; min-width: 6px; text-align: center; white-space: nowrap; overflow: visible; }
.cf__stages { display: flex; gap: 2px; margin-top: 8px; font-size: 12px; font-weight: 700; }
.cf__stages span { padding: 4px 6px; border-radius: 6px; background: var(--primary-tint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.cf__stages span:nth-child(even) { background: color-mix(in srgb, var(--tertiary) 45%, var(--card)); }
.cf__readout { margin-top: 14px; min-height: 26px; font-size: 15px; color: var(--muted); }
.cf__readout strong { color: var(--ink); }
.cf__col:hover, .cf__col.is-on { outline: 2px solid var(--ink); outline-offset: 0; }
@keyframes cf-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* Line charts (what-if, simulation, bars) */
clareva-whatif, clareva-montecarlo, clareva-bar-chart { display: block; }
.chart-svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-svg text { font-family: var(--font-secondary); font-size: 12px; fill: var(--muted); }
.chart-svg .grid { stroke: var(--border); stroke-width: 1; }
.chart-svg .line-base { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-dasharray: 6 5; stroke-linecap: round; }
.chart-svg .line-alt { fill: none; stroke: var(--primary); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-svg .band { fill: var(--primary-tint); }
.chart-svg .dot-end { fill: var(--secondary); }
.chart-svg .mc-path { fill: none; stroke: var(--primary); stroke-opacity: .16; stroke-width: 1; }
.chart-svg .mc-path--fail { stroke: var(--danger); stroke-opacity: .3; }
.chart-svg .mc-mean { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.chart-svg .end-label { font-size: 13px; font-weight: 700; fill: var(--ink); }
.chart-svg .bar { fill: color-mix(in srgb, var(--primary) 30%, var(--card)); }
.chart-svg .bar--on { fill: var(--primary); }
.chart-summary { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Rings */
.ring { position: relative; width: 150px; max-width: 100%; aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.ring__track { fill: none; stroke: var(--border); stroke-width: 12; }
.ring__value { fill: none; stroke: var(--primary); stroke-width: 12; stroke-linecap: round; }
.ring--secondary .ring__value { stroke: var(--secondary); }
.ring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); text-align: center; }
.ring__center strong { font-family: var(--font-primary); font-size: 26px; font-weight: 800; line-height: 1; }
.ring__center span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.v-rings { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-around; }

/* Small static illustrations */
.v-pair { color: var(--ink); }
.v-pair__people { display: flex; margin-bottom: 16px; }
.v-pair__people span { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-primary); font-weight: 800; font-size: 28px; }
.v-pair__a { background: var(--primary); color: var(--on-primary); }
.v-pair__b { background: var(--secondary); color: var(--on-secondary); margin-left: -16px; }
.v-pair strong { font-size: 20px; display: block; }
.v-pair p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.v-junior { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.v-junior h3 { margin-top: 14px; }
.v-junior p { margin-top: 8px; font-size: 16px; color: var(--muted); }
.v-junior__age { font-size: 15px; color: var(--muted); margin-left: 6px; }
.v-junior__demo { margin-top: 20px; display: flex; flex-direction: column; align-items: center; }
.pie { width: 100%; }
.pie__bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; border-bottom: 2px solid var(--ink); }
.pie__bars span { flex: 1; display: block; height: calc((var(--in) + var(--earned)) * 1px); border-radius: 4px 4px 0 0; background: linear-gradient(to top, color-mix(in srgb, var(--primary) 62%, var(--card)) 0 calc(var(--in) / (var(--in) + var(--earned)) * 100%), var(--tertiary) 0); }
.v-timeline { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v-timeline li, .v-rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius-md); background: var(--primary-tint); font-size: 16px; }
.v-timeline span { color: var(--muted); font-size: 15px; white-space: nowrap; }
.v-rows { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.v-rows li { background: var(--cream); }
.v-spark { width: 100%; height: 80px; margin-top: 8px; }
.v-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.v-steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 500; }
.v-steps li::before { content: counter(s); flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.v-chat { display: flex; flex-direction: column; gap: 12px; }
.v-chat p { padding: 14px 18px; border-radius: var(--radius-md); font-size: 16px; line-height: 1.5; max-width: 88%; }
.v-chat__q { background: var(--primary); color: var(--on-primary); align-self: flex-end; border-bottom-right-radius: 6px !important; }
.v-chat__a { background: var(--primary-tint); color: var(--ink); border-bottom-left-radius: 6px !important; }
.v-equation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; max-width: none !important; }
.v-equation span { background: var(--card); padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: 16px; }
.v-equation b { font-size: 22px; font-weight: 800; }
.v-equation .v-equation__end { background: var(--tertiary); color: var(--on-tertiary); }
.v-signin .chips { margin-bottom: 16px; }
.v-signin .chip { cursor: default; }
.v-signin .chip:hover { background: transparent; }
.v-households { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.v-households li { display: flex; flex-direction: column; gap: 6px; }
.v-households span { color: var(--primary); font-weight: 700; font-size: 15px; }

/* 70-content.css */
/* Long-form text written in the Ghost editor (articles, plain pages, legal) */
.lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; margin-top: 20px; max-width: 680px; }
.prose { margin-top: 32px; font-size: 18px; line-height: 1.7; }
.prose > * + * { margin-top: 20px; }
.prose > h2 { font-size: 30px; line-height: 1.2; margin-top: 44px; letter-spacing: -.01em; }
.prose > h3 { margin-top: 32px; }
.prose > h2 + *, .prose > h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose a { font-weight: 700; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--secondary); font-size: 20px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.prose img { border-radius: var(--radius-lg); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: left; }
.prose table { background: var(--card); border: 1px solid var(--border); }
.prose .chart-card, .prose clareva-bar-chart, .prose clareva-whatif { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }

/* Article page */
.article-head { padding: 40px 0 24px; }
.breadcrumb { font-size: 15px; }
.breadcrumb a { font-weight: 700; }
.breadcrumb span { color: var(--muted); }
.article-head .badge { margin-top: 20px; }
.article-head h1 { margin-top: 12px; }
.article-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--muted); }
.article-body { padding: 24px 0 72px; }
.article-layout { display: flex; flex-wrap: wrap; gap: 48px; }
.article-layout > .prose { flex: 3 1 520px; min-width: 0; max-width: 720px; margin-top: 0; }
.article-layout > aside { flex: 1 1 220px; min-width: 0; font-size: 16px; }
.article-layout > aside ul { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.article-layout > aside a { font-weight: 700; }
@media (min-width: 1000px) { .article-layout > aside nav { position: sticky; top: 24px; } }
.article-note { margin-top: 32px; }

/* Article cards and lists */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-top: 28px; }
.post-card h3 { font-size: 19px; }
.post-card p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-card__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.post-card--feature { padding: var(--space-8); border-radius: var(--radius-xl); }
.post-card--feature h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 10px; }
.empty-note { margin-top: 28px; padding: var(--space-8); border: 2px dashed var(--border); border-radius: var(--radius-lg); color: var(--muted); }
.pagination { margin-top: 40px; display: flex; gap: 16px; align-items: center; justify-content: center; font-size: 16px; }

/* 80-pages.css */
/* Cookie consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.consent__inner { pointer-events: auto; max-width: 720px; background: var(--card); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-lg); padding: 24px; }
.consent h2 { font-size: 20px; letter-spacing: 0; }
.consent p { margin-top: 8px; font-size: 16px; line-height: 1.5; }
.consent__actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Page intro used by custom templates */
.page-head { padding: 56px 0 24px; }
.page-head .lead { margin-top: 20px; }

/* Glossary */
.glossary-tools { margin-top: 32px; }
.glossary-tools input { max-width: 520px; }
.glossary-letters { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.glossary-letters .chip { min-width: 44px; padding: 0 10px; justify-content: center; border-radius: 12px; }
.glossary { margin-top: 32px; }
.glossary h2, .glossary h3 { font-size: 22px; font-weight: 800; letter-spacing: 0; padding-top: 20px; border-top: 1px solid var(--border); margin-top: 20px; }
.glossary p { margin-top: 6px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 680px; }
.glossary-count { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Calculators */
.calc { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin-top: 28px; }
.calc__inputs { flex: 1 1 340px; min-width: 0; }
.calc__result { flex: 1 1 340px; min-width: 0; background: var(--primary-tint); border-radius: var(--radius-xl); padding: var(--space-8); }
.calc__result .label { color: var(--muted); font-weight: 500; }
.calc__figure { font-family: var(--font-primary); font-size: clamp(36px, 6vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); }
.calc__split { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.calc__split div { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; border-top: 1px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.calc__note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.calc-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 32px; }

/* Sample household */
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 28px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.stat__label { font-size: 14px; color: var(--muted); }
.stat__value { font-family: var(--font-primary); font-size: 30px; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.scenario-table td.is-base, .scenario-table th.is-base { background: var(--primary-tint); }
.scenario-table .em th, .scenario-table .em td { font-weight: 800; }

/* Help */
.help-search { margin-top: 28px; max-width: 560px; }
[data-help-item].is-hidden { display: none; }

/* Waiting list and other single forms */
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); max-width: 560px; }
.form-card .btn { margin-top: var(--space-6); }
.two-col { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.two-col > * { flex: 1 1 380px; min-width: 0; }

/* Legal */
.legal-layout { display: flex; flex-wrap: wrap; gap: 48px; margin-top: 8px; }
.legal-layout > .prose { flex: 3 1 520px; min-width: 0; max-width: 720px; }
.legal-layout > aside { flex: 1 1 220px; min-width: 0; }
.legal-layout aside ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.legal-layout aside a { font-weight: 700; }
.legal-layout aside a[aria-current] { color: var(--ink); text-decoration: none; }
.legal-updated { margin-top: 16px; font-size: 15px; color: var(--muted); }

/* Parents' area */
.band + .band { margin-top: 48px; }
.band h2 { font-size: 30px; }

.page-head__title { margin-top: 20px; }
.topic-nav { margin-top: 24px; }
.site-footer__news .error { margin-top: 8px; }
.check { font-weight: 400; }
