/* Giusto Neuro Centre — design system */
:root {
  --ink: #0E3A46;          /* deep teal-navy: headings, dark bands */
  --ink-2: #2D4E58;        /* body text */
  --muted: #5B7279;
  --teal: #1A9AA8;         /* logo teal */
  --teal-strong: #0F6E7C;  /* logo wordmark teal, accessible for buttons/links on white */
  --teal-soft: #E5F4F5;
  --magenta: #C8367F;      /* logo magenta */
  --magenta-soft: #FBEAF2;
  --blue: #2E5FD0;         /* logo blue */
  --blue-soft: #E9EEFC;
  --sun: #8ED3DA;          /* soft aqua highlight, a light tint of the logo teal */
  --sun-soft: #EAF7F8;
  --cream: #F8F5EF;
  --white: #FFFFFF;
  --line: #DCE7E7;
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(14, 58, 70, .06), 0 8px 28px rgba(14, 58, 70, .08);
  --shadow-lg: 0 24px 60px rgba(14, 58, 70, .16);
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink-2); background: var(--white); overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; display: block; }
[tabindex="-1"]:focus { outline: none; }
a { color: var(--teal-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.015em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-strong); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--magenta), var(--teal)); border-radius: 2px; }
.hl { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--font-head); font-weight: 500; font-size: 1rem; line-height: 1; padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal-strong); color: #fff; box-shadow: 0 6px 18px rgba(15, 110, 124, .26); }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sun); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: .72rem 1.15rem; font-size: .93rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-family: var(--font-head); font-weight: 500; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }

/* Announcement + header */
.announce { background: var(--sun); color: var(--ink); text-align: center; font-size: .9rem; padding: .55rem var(--gutter); }
.announce p { margin: 0; }
.announce a { color: var(--ink); font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; 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 transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(14,58,70,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-text strong { font-size: 1.32rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-strong); }
.brand-text span { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.brand-light .brand-text strong, .brand-light .brand-text span { color: #fff; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a, .sub-toggle { font-family: var(--font-head); font-size: .98rem; color: var(--ink); text-decoration: none; padding: .6rem .85rem; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.main-nav > ul > li > a:hover, .sub-toggle:hover, .main-nav a[aria-current="page"], .has-sub.is-active > .sub-toggle { background: var(--teal-soft); color: var(--teal-strong); }
.has-sub { position: relative; }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 300px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-sub:hover .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; border-radius: var(--radius-sm); padding: .7rem .9rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--teal-soft); }
.sub small { font-family: var(--font-body); font-size: .82rem; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav .nav-cta-mobile { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav { position: fixed; inset: 0; top: var(--nav-top, 76px); background: #fff; padding: 16px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; margin: 0; }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .sub-toggle { width: 100%; justify-content: space-between; font-size: 1.12rem; padding: 1rem .9rem; border-radius: var(--radius-sm); }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .has-sub.open .sub { display: block; transform: none; }
  .has-sub:hover .sub { transform: none; }
  .sub-toggle svg { transition: transform .2s; }
  .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
  .main-nav .nav-cta-mobile { display: flex; margin-top: 20px; width: 100%; color: #fff !important; justify-content: center !important; }
  body.nav-open { overflow: hidden; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.bg-cream { background: var(--cream); }
.bg-teal-soft { background: var(--teal-soft); }
.bg-ink { background: var(--ink); color: #D8E8EA; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head.split > div { max-width: 680px; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero .lead { margin-bottom: 1.8rem; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.trust-chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); border: 1px solid var(--line); padding: .45rem .85rem; border-radius: 999px; font-size: .9rem; color: var(--ink); }
.trust-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.trust-chips li:nth-child(3n+2)::before { background: var(--magenta); }
.trust-chips li:nth-child(3n)::before { background: var(--blue); }
.hero-art { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(160deg, #135E6A 0%, var(--ink) 70%); aspect-ratio: 1 / 1.02; box-shadow: var(--shadow-lg); }
.hero-art svg { width: 100%; height: 100%; }
.hero-card { position: absolute; left: clamp(14px, 3vw, 24px); bottom: clamp(14px, 3vw, 24px); right: clamp(14px, 3vw, 24px); background: rgba(255,255,255,.96); border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); }
.hero-card .dot { width: 44px; height: 44px; border-radius: 50%; background: var(--sun-soft); display: grid; place-items: center; flex-shrink: 0; }
.hero-card p { margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink); }
.hero-card strong { font-family: var(--font-head); font-weight: 500; display: block; }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); background: radial-gradient(1200px 400px at 85% -10%, var(--teal-soft), transparent 70%), radial-gradient(700px 300px at -10% 110%, var(--magenta-soft), transparent 70%); }
.page-hero .lead { margin-bottom: 1.6rem; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* Cards */
.grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.card p:last-child { margin-bottom: 0; }
a.card, .card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .text-link { margin-top: auto; padding-top: 1rem; }
.icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.2rem; background: var(--teal-soft); color: var(--teal-strong); }
.icon svg { width: 28px; height: 28px; }
.icon.magenta { background: var(--magenta-soft); color: var(--magenta); }
.icon.blue { background: var(--blue-soft); color: var(--blue); }
.icon.sun { background: var(--sun-soft); color: var(--teal-strong); }
.service-card { padding-top: clamp(28px, 3.4vw, 40px); overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--teal); }
.service-card.magenta::before { background: var(--magenta); }
.service-card.blue::before { background: var(--blue); }
.service-card .tag { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .6rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 32px; margin-bottom: .65rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230F6E7C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }
.bg-ink .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%238ED3DA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Journey steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 24px); list-style: none; padding: 0; margin: 0; }
.steps li { background: #fff; border-radius: var(--radius-lg); padding: 28px; position: relative; border: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-head); font-weight: 500; font-size: .95rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--sun); margin-bottom: 1.2rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: calc(-1 * clamp(16px, 2vw, 24px)); width: clamp(16px, 2vw, 24px); height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 4px, transparent 4px 8px); }
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; font-size: .98rem; }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.features li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.features h3 { font-size: 1.05rem; margin: .9rem 0 .35rem; }
.features p { margin: 0; font-size: .94rem; color: #B9D3D6; }
.features .ficon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(142,211,218,.14); color: var(--sun); }
.features .ficon svg { width: 22px; height: 22px; }

/* Split / media blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.art-panel { border-radius: var(--radius-lg); overflow: hidden; background: var(--teal-soft); aspect-ratio: 5 / 4; }
.art-panel svg { width: 100%; height: 100%; }
.art-panel.magenta { background: var(--magenta-soft); }
.art-panel.sun { background: var(--sun-soft); }
.art-panel.ink { background: var(--ink); }

/* Tabs (support for all ages) */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; flex-wrap: wrap; }
.tabs button { font-family: var(--font-head); font-size: 1rem; border: 0; background: none; color: var(--ink); padding: .75rem 1.3rem; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); }
.tab-panel[hidden] { display: none; }
.tab-panel .signs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.4rem; }
.tab-panel .signs li { background: var(--cream); border-radius: var(--radius-sm); padding: .75rem .9rem; font-size: .94rem; color: var(--ink); }

/* Quote */
.quote-band { text-align: center; }
.quote-band blockquote { margin: 0 auto; max-width: 900px; font-family: var(--font-head); font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.3; color: var(--ink); font-weight: 400; }
.quote-band blockquote::before { content: ""; display: block; width: 64px; height: 6px; margin: 0 auto 28px; border-radius: 6px; background: linear-gradient(90deg, var(--magenta), var(--blue), var(--teal)); }
.quote-band p { margin-top: 1.4rem; color: var(--muted); }

/* FAQ accordion */
.faq-list { display: grid; gap: 12px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 1.5rem; margin-bottom: 18px; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
details.faq[open] { border-color: transparent; box-shadow: var(--shadow); }
details.faq summary { list-style: none; cursor: pointer; padding: 20px 64px 20px 24px; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--ink); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230F6E7C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); background-color: var(--sun); }
.faq-a { padding: 0 24px 22px; }
.faq-a p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { padding: clamp(40px, 6vw, 72px) 0; }
.cta-inner { background: var(--ink); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; color: #D8E8EA; }
.cta-inner::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(142,211,218,.32), transparent 65%); }
.cta-inner::after { content: ""; position: absolute; left: -100px; bottom: -180px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(194,54,127,.28), transparent 65%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; margin-bottom: .35em; }
.cta-inner p { margin: 0; max-width: 56ch; }

/* Values */
.values .card h3 { display: flex; align-items: center; gap: 10px; }
.values .card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.values .card:nth-child(3n+2) h3::before { background: var(--magenta); }
.values .card:nth-child(3n) h3::before { background: var(--blue); }

/* Info panel */
.note { background: var(--magenta-soft); border-radius: var(--radius); padding: 20px 22px; border-left: 5px solid var(--magenta); color: var(--ink); }
.note p:last-child { margin: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.info-list .icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); }

/* Fees */
.fee { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; margin: .2rem 0 1rem; }
.fee b { font-size: 1.8rem; font-weight: 500; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .legend { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .98rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin: -2px 0 2px; }
.req { color: var(--magenta); }
input[type=text], input[type=email], input[type=tel], input[type=date], select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: .85rem 1rem; border: 1.5px solid #C6D6D7; border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-strong); box-shadow: 0 0 0 4px rgba(26,154,168,.16); }
textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B3261E; }
.err { color: #B3261E; font-size: .86rem; display: none; }
.field.invalid .err, fieldset.invalid .err { display: block; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choices { display: grid; gap: 12px; }
.choices.cols-2 { grid-template-columns: 1fr 1fr; }
.choices.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice .box { display: block; height: 100%; border: 1.5px solid #C6D6D7; border-radius: var(--radius); padding: 18px 18px 18px 52px; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; position: relative; }
.choice .box::before { content: ""; position: absolute; left: 18px; top: 20px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #9DB5B8; background: #fff; transition: all .15s; }
.choice input[type=checkbox] + .box::before { border-radius: 6px; }
.choice input:checked + .box { border-color: var(--teal-strong); background: var(--teal-soft); }
.choice input:checked + .box::before { border-color: var(--teal-strong); background: var(--teal-strong); box-shadow: inset 0 0 0 4px #fff; }
.choice input[type=checkbox]:checked + .box::before { box-shadow: none; background: var(--teal-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.choice input:focus-visible + .box { outline: 3px solid var(--blue); outline-offset: 2px; }
.choice strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.choice small { display: block; color: var(--muted); font-size: .9rem; margin-top: 4px; line-height: 1.45; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; margin-bottom: 14px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal-strong); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.progress-bar { flex: 1; height: 8px; background: var(--teal-soft); border-radius: 8px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: 8px; transition: width .3s ease; }
.progress-label { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.step { display: none; }
.step.active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.review { background: var(--cream); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 20px; }
.review dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: .95rem; }
.review dt { color: var(--muted); }
.review dd { margin: 0; color: var(--ink); word-break: break-word; }
.form-status { display: none; border-radius: var(--radius); padding: 18px 22px; margin-top: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--teal-soft); color: var(--ink); }
.form-status.bad { background: #FDECEA; color: #7A1A14; }
.success-panel { text-align: center; padding: clamp(20px, 4vw, 40px) 0; }
.success-panel .icon { margin: 0 auto 1.2rem; width: 72px; height: 72px; border-radius: 50%; background: var(--teal-soft); }
.book-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.book-aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.book-aside .card { border-radius: var(--radius); padding: 24px; }

/* Prose (legal pages) */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 500; color: var(--ink); background: var(--cream); }
.table-scroll { overflow-x: auto; }

/* Footer */
.site-footer { background: #0A2E38; color: #B9D3D6; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .96rem; }
.site-footer a { color: #E3F0F1; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-h { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500; }
.footer-tag { font-family: var(--font-head); font-size: 1.25rem; color: #fff; margin: 20px 0 6px; }
.footer-strap { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #7FA9AE; }
.footer-social { display: flex; gap: 16px; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-note { grid-column: 1 / -1; color: #7FA9AE; font-size: .84rem; margin-top: 8px !important; }

/* Reveal on scroll */
/* content stays visible at rest; only a gentle lift animates in */
.js .reveal:not(.in) { transform: translateY(16px); }
.reveal { transition: transform .6s ease; }

/* Grid/flex children may shrink below their content width */
.hero-grid > *, .split > *, .tab-panel > *, .grid > *, .steps > *, .features > *, .footer-grid > *, .book-layout > *, .cta-inner > *, .field-row > *, .choices > *, .header-inner > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; text-wrap: balance; }

/* Responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .book-layout { grid-template-columns: 1fr; }
  .book-aside { position: static; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .tab-panel { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-art { aspect-ratio: 4 / 3.4; max-width: 560px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .announce p { text-wrap: balance; }
  .grid-2, .grid-3, .grid-4, .steps, .features, .choices.cols-2, .choices.cols-3, .field-row, .tab-panel .signs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .tabs { display: flex; border-radius: var(--radius); }
  .tabs button { flex: 1; padding: .7rem .6rem; font-size: .92rem; }
  .brand-text strong { font-size: 1.15rem; }
  .brand img { width: 38px; height: 38px; }
  .header-inner { min-height: 66px; }
  .announce { font-size: .82rem; }
  .step-nav .btn { flex: 1; }
  .review dl { grid-template-columns: 1fr; gap: 2px; }
  .review dd { margin-bottom: 8px; }
}
