/* ==========================================================================
   Innovate Financial HUB — design system
   1. Fonts & tokens   2. Base   3. Layout   4. Typography   5. Buttons
   6. Header & menu    7. Hero   8. Sections & components   9. Data
   10. Forms           11. Footer   12. Motion   13. Utilities
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------ */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-var.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/instrument-serif-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Instrument Serif";
    src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
/* Metric-matched fallbacks reduce layout shift while web fonts load */
@font-face {
    font-family: "Manrope Fallback";
    src: local("Arial");
    size-adjust: 103%;
    ascent-override: 98%;
    descent-override: 27%;
}
@font-face {
    font-family: "Serif Fallback";
    src: local("Georgia"), local("Times New Roman");
    size-adjust: 92%;
    ascent-override: 96%;
}

:root {
    /* Brand: navy of the "Innovate" wordmark, blue of the presentation, red of the mark */
    --navy-950: #050b24;
    --navy-900: #0a1336;
    --navy-800: #111d4a;
    --navy-700: #1d2d66;
    --navy-600: #2b3f86;
    --blue-700: #0b5a92;
    --blue-600: #0b6fb3;
    --blue-500: #0b85c9;
    --blue-300: #4fb3ea;
    --blue-200: #9fd4f3;
    --sky-100: #e3f1fa;
    --sky-50: #f1f7fc;
    --steel-400: #8592a6;
    --red-600: #b3121b;
    --paper: #f4f6fa;
    --white: #ffffff;
    --ink: #0e1626;
    --ink-2: #3a4559;
    --ink-3: #566176;
    --line: #dde3ec;
    --line-dark: rgba(255, 255, 255, .12);
    --on-dark: #c9d3e6;
    --brand-gradient: linear-gradient(135deg, #4fb3ea 0%, #0b85c9 55%, #0b6fb3 100%);

    /* Type */
    --font-sans: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-serif: "Instrument Serif", "Serif Fallback", Georgia, serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-md: 1.0625rem;
    --fs-lg: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
    --fs-d4: clamp(1.75rem, 1.45rem + 1.1vw, 2.375rem);
    --fs-d3: clamp(2rem, 1.55rem + 1.8vw, 3rem);
    --fs-d2: clamp(2.3rem, 1.7rem + 2.6vw, 3.75rem);
    --fs-d1: clamp(2.6rem, 1.6rem + 3.9vw, 4.9rem);

    /* Space & shape: tighter radii read more "institutional" */
    --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
    --section: clamp(4.5rem, 3rem + 6vw, 8rem);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(10, 19, 54, .06), 0 2px 8px rgba(10, 19, 54, .05);
    --shadow: 0 14px 34px -16px rgba(10, 19, 54, .28);
    --shadow-lg: 0 34px 70px -28px rgba(5, 11, 36, .6);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 84px;
}

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-md);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
a:hover { color: var(--navy-800); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; color: inherit; }
ul, ol { margin: 0; padding: 0; }
[role="list"] { list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-200); color: var(--ink); }
main:focus { outline: none; }
[hidden] { display: none !important; }

.skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 1000;
    background: var(--blue-300); color: var(--ink); padding: .75rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* 3. Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
/* Consecutive sections with the same background read as one block */
.section--paper + .section--paper { padding-top: 0; }
.section:not(.section--paper):not(.section--dark) + .section:not(.section--paper):not(.section--dark) { border-top: 1px solid var(--line); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.section--dark { background: var(--navy-900); color: var(--on-dark); isolation: isolate; overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark strong { color: #fff; }
.section--dark__bg { position: absolute; inset: 0; z-index: -1; }
.split { display: grid; gap: clamp(2rem, 5vw, 5.5rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-left { grid-template-columns: 1.2fr .8fr; } }
.section-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 4vw, 3.75rem); max-width: 50rem; }
.section-head--row { max-width: none; }
@media (min-width: 900px) { .section-head--row { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 3rem; } }
.section-head .display-2, .section-head .display-3 { margin-bottom: 0; }
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); }

/* Hairline grid used as a quiet "ledger paper" background */
.gridlines {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 85%);
}

/* 4. Typography ---------------------------------------------------------- */
h1, h2, h3, h4, p, li, dd, dt, a { overflow-wrap: break-word; }
.split > *, [class*="grid"] > * { min-width: 0; }
.prose a[href^="mailto:"], .prose a[href^="http"] { overflow-wrap: anywhere; }
.display-1, .display-2, .display-3, .display-4, .hero__title, .page-hero__title, .cta-band__title {
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: -.012em;
    line-height: 1.04;
}
@media (max-width: 374px) {
    :root { --fs-d1: 2.3rem; --fs-d2: 2rem; --fs-d3: 1.8rem; }
    .display-1, .display-2, .display-3, .hero__title, .page-hero__title { hyphens: auto; }
}
.display-2 { font-size: var(--fs-d2); margin-bottom: .45em; }
.display-3 { font-size: var(--fs-d3); margin-bottom: .5em; line-height: 1.08; }
.display-4 { font-size: var(--fs-d4); margin-bottom: .5em; line-height: 1.12; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--blue-600); }
.section--dark h2 em, .page-hero h1 em, .hero__title em, .cta-band__title em { color: var(--blue-300); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--ink-2); }
.section--dark .lead { color: var(--on-dark); }
.muted { color: var(--ink-3); font-size: var(--fs-sm); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .65rem; margin: 0;
    font-size: var(--fs-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; flex-shrink: 0; align-self: center; width: 32px; height: 2px; background: linear-gradient(to right, currentColor 0 24px, transparent 24px 26px, var(--red-600) 26px); }
.eyebrow--light { color: var(--blue-300); }
.link-arrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; font-size: var(--fs-sm); color: var(--navy-800); text-decoration: none;
    border-bottom: 1.5px solid var(--blue-300); padding-bottom: .2rem;
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--blue-600); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }

.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.icon--xs { width: .875rem; height: .875rem; display: inline-block; vertical-align: -1px; }
.icon--sm { width: 1.125rem; height: 1.125rem; }

/* 5. Buttons ------------------------------------------------------------- */
.btn {
    --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-border: transparent;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 50px; padding: .8rem 1.5rem; border-radius: var(--radius-sm);
    border: 1.5px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-sans); font-weight: 700; font-size: var(--fs-sm); letter-spacing: .01em; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer; overflow: hidden; isolation: isolate;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
    max-width: 100%;
}
@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--blue-600); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--blue-700); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy-900); }
.btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .4); }
.btn--ghost:hover { --btn-border: #fff; background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-border: var(--navy-800); }
.btn--outline:hover { --btn-bg: var(--navy-800); --btn-fg: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg { min-height: 56px; padding: 1rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 2rem; }

/* 6. Header & mobile menu ----------------------------------------------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    color: #fff; border-bottom: 1px solid transparent;
    transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { display: block; flex-shrink: 0; line-height: 0; position: relative; }
.brand img { height: 64px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; transition: height .35s var(--ease), opacity .3s var(--ease); }
.brand__on-light { position: absolute; inset: 0; opacity: 0; }
.site-nav { margin-left: auto; display: none; }
.site-nav__list { display: flex; gap: .15rem; list-style: none; }
.site-nav a {
    position: relative; display: block; padding: .5rem .8rem;
    color: inherit; text-decoration: none; font-size: .9375rem; font-weight: 600; opacity: .86;
    transition: opacity .2s;
}
.site-nav a::after {
    content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px;
    background: var(--blue-300); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-header__cta { display: none; }
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
    color: var(--ink); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(10, 19, 54, .4);
    height: 72px;
}
.site-header.is-scrolled .brand img { height: 56px; }
@media (max-width: 600px) { .brand img { height: 52px; } .site-header.is-scrolled .brand img { height: 48px; } }
.site-header.is-scrolled .brand__on-dark { opacity: 0; }
.site-header.is-scrolled .brand__on-light { opacity: 1; }
.site-header.is-scrolled .site-nav a::after { background: var(--blue-600); }
/* Sem backdrop-filter com o menu aberto: ele tornaria o header o containing block do .mobile-menu (fixed) */
.site-header.menu-open { background: var(--navy-950); color: #fff; box-shadow: none; border-bottom-color: var(--line-dark); -webkit-backdrop-filter: none; backdrop-filter: none; height: 72px; }
.site-header.menu-open .brand__on-dark { opacity: 1; }
.site-header.menu-open .brand__on-light { opacity: 0; }

.lang-switch { display: flex; margin-left: auto; border: 1px solid currentColor; border-radius: var(--radius-sm); overflow: hidden; opacity: .9; flex-shrink: 0; }
.lang-switch a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 .55rem; color: inherit; text-decoration: none; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; transition: background-color .2s, color .2s; }
.lang-switch a + a { border-left: 1px solid currentColor; }
.lang-switch abbr { text-decoration: none; }
.lang-switch a:hover { background: rgba(127, 140, 170, .18); color: inherit; }
.lang-switch a[aria-current="true"] { background: var(--blue-300); color: var(--navy-950); }
.site-header.is-scrolled .lang-switch a[aria-current="true"] { background: var(--navy-800); color: #fff; }
.site-header__inner { gap: clamp(.75rem, 2vw, 2rem); }
.menu-toggle {
    width: 48px; height: 48px; border-radius: var(--radius-sm);
    display: grid; place-items: center; background: transparent; border: 1.5px solid currentColor; color: inherit;
}
.menu-toggle__bars { position: relative; width: 18px; height: 10px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 72px 0 0; z-index: 99; overflow-y: auto;
    background: var(--navy-950); color: #fff;
    animation: menuIn .4s var(--ease-out);
}
.mobile-menu__inner { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding-block: 2rem 2.5rem; }
.mobile-menu__list { list-style: none; counter-reset: m; }
.mobile-menu__list li { counter-increment: m; border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateY(12px); animation: itemIn .5s var(--ease-out) forwards; }
.mobile-menu__list li:nth-child(2) { animation-delay: .04s; } .mobile-menu__list li:nth-child(3) { animation-delay: .08s; }
.mobile-menu__list li:nth-child(4) { animation-delay: .12s; } .mobile-menu__list li:nth-child(5) { animation-delay: .16s; }
.mobile-menu__list li:nth-child(6) { animation-delay: .2s; } .mobile-menu__list li:nth-child(7) { animation-delay: .24s; }
.mobile-menu__list a { display: flex; align-items: baseline; gap: 1rem; padding: .85rem 0; color: #fff; text-decoration: none; font-family: var(--font-serif); font-size: clamp(1.9rem, 7vw, 2.5rem); line-height: 1.1; }
.mobile-menu__list a::before { content: counter(m, decimal-leading-zero); font: 700 var(--fs-xs)/1 var(--font-sans); letter-spacing: .1em; color: var(--blue-300); }
.mobile-menu__list a[aria-current="page"] { color: var(--blue-300); font-style: italic; }
.mobile-menu__foot { display: grid; gap: .75rem; margin-top: 2.5rem; }
.mobile-menu__foot a { display: inline-flex; align-items: center; gap: .6rem; color: var(--on-dark); text-decoration: none; font-size: var(--fs-sm); }
body.no-scroll { overflow: hidden; }
@keyframes menuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes itemIn { to { opacity: 1; transform: none; } }

@media (min-width: 1100px) {
    .site-nav, .site-header__cta { display: block; }
    .menu-toggle, .mobile-menu { display: none !important; }
    .lang-switch { margin-left: 0; }
}
@media (max-width: 380px) { .brand img, .site-header.is-scrolled .brand img { height: 46px; max-width: 160px; } .lang-switch a { min-width: 36px; padding: 0 .4rem; } }

/* 7. Hero ---------------------------------------------------------------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 3rem) 0 4.5rem;
    background: radial-gradient(110% 90% at 80% 0%, #1d2d66 0%, var(--navy-900) 48%, var(--navy-950) 100%);
    color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__chart { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; color: var(--blue-300); opacity: .5; }
.hero__chart-line { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: drawLine 3.2s var(--ease-out) .3s forwards; }
.hero__chart-area { opacity: 0; animation: fadeIn 2s var(--ease) 1.4s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero__grid { display: grid; gap: 3.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.12fr .88fr; gap: 4.5rem; } }
.hero__copy .eyebrow { margin-bottom: 1.75rem; }
.hero__title { font-size: var(--fs-d1); margin: 0 0 1.6rem; max-width: 19ch; color: #fff; text-wrap: balance; }
.hero__lead { font-size: var(--fs-lg); color: var(--on-dark); max-width: 36rem; margin-bottom: 0; }
.hero__note { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--on-dark); }
.hero__note .icon { color: var(--blue-300); }

/* Data panel: a "terminal" card with the case figures */
.panel {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: #fff;
}
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-dark); font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); }
.panel__live { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: #fff; }
.panel__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-300); box-shadow: 0 0 0 4px rgba(79, 179, 234, .18); }
.panel__body { padding: 1.25rem; display: grid; gap: 1.1rem; }
.panel__metric { display: grid; gap: .45rem; }
.panel__metric-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .1rem .75rem; font-size: var(--fs-sm); }
.panel__metric-head span { color: var(--on-dark); }
.panel__metric-head strong { font-size: 1rem; white-space: nowrap; }
.panel__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.panel__kpi { padding: 1rem 1.1rem; border-right: 1px solid var(--line-dark); }
.panel__kpi:last-child { border-right: 0; }
.panel__kpi strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.1; color: var(--blue-300); }
.panel__kpi span { display: block; font-size: .75rem; color: var(--on-dark); line-height: 1.35; margin-top: .25rem; }
@media (max-width: 420px) { .panel__kpi { padding: .85rem .7rem; } .panel__kpi span { font-size: .6875rem; } }
.legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: var(--fs-xs); color: var(--on-dark); }
.legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--steel-400); }
.legend i.is-after { background: var(--blue-300); }

/* Paired bars (before / after). Bars are relative to the larger value of each row. */
.bars { display: grid; gap: 4px; }
.bar { height: 8px; border-radius: 0 4px 4px 0; background: var(--steel-400); width: calc(var(--w, 0) * 1%); transform-origin: left; transition: transform 1.2s var(--ease-out) .25s; }
.bar--after { background: var(--blue-300); transition-delay: .4s; }
.js [data-reveal]:not(.is-visible) .bar { transform: scaleX(0); }
.hero .bar { animation: barIn 1.2s var(--ease-out) .6s both; }
.hero .bar--after { animation-delay: .75s; }
@keyframes barIn { from { transform: scaleX(0); } }

.ticker { background: var(--navy-950); color: var(--on-dark); border-block: 1px solid var(--line-dark); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker__list { display: flex; list-style: none; }
.ticker__list li { display: inline-flex; align-items: center; gap: 1.5rem; padding: 1.05rem 0 1.05rem 1.5rem; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.ticker__list li::after { content: ""; width: 6px; height: 6px; background: var(--blue-300); transform: rotate(45deg); }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Inner page hero */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(var(--header-h) + clamp(3rem, 6vw, 5.5rem)) 0 clamp(3.5rem, 6vw, 5.5rem);
    background: radial-gradient(110% 120% at 85% 0%, #1d2d66 0%, var(--navy-900) 50%, var(--navy-950) 100%);
    color: #fff;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg .hero__chart { height: 80%; opacity: .32; }
.page-hero__title { font-size: var(--fs-d1); max-width: 18ch; margin-bottom: 1.25rem; text-wrap: balance; }
.page-hero__lead { font-size: var(--fs-lg); color: var(--on-dark); max-width: 44rem; margin: 0; }
.page-hero .eyebrow { margin-bottom: 1.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: var(--fs-xs); margin-bottom: 2rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; color: var(--on-dark); }
.breadcrumbs li + li::before { content: "/"; opacity: .5; }
.breadcrumbs a { color: #fff; text-decoration: none; opacity: .85; }
.breadcrumbs a:hover { opacity: 1; color: #fff; }
.page-hero--error { min-height: 80vh; display: flex; align-items: center; }
.error-code { position: absolute; right: var(--gutter); bottom: -2rem; font-family: var(--font-serif); font-size: clamp(8rem, 25vw, 20rem); line-height: 1; color: rgba(255, 255, 255, .06); pointer-events: none; }
.error-code::before { content: attr(data-num); }

/* 8. Sections & components ---------------------------------------------- */
.mission {
    position: relative; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg);
    background: var(--sky-100); border-left: 4px solid var(--blue-600);
}
.mission__title { display: flex; align-items: center; gap: .75rem; font-size: 1.25rem; margin-bottom: 1rem; color: var(--navy-900); }
.mission__title .icon { color: var(--blue-600); }
.mission p { font-size: var(--fs-lg); line-height: 1.55; color: var(--navy-800); }
.mission__mark { position: absolute; right: 1.25rem; top: 1.25rem; width: 44px; height: auto; opacity: .9; }

.cards { list-style: none; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.card {
    position: relative; display: flex; flex-direction: column; gap: 1rem;
    padding: clamp(1.6rem, 2.5vw, 2.25rem); border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #c5d2e3; }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius); background: var(--navy-800); color: var(--blue-300); }
.card__title { font-size: 1.2rem; margin: 0; color: var(--navy-900); }
.card p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.section--paper .card { border-color: transparent; box-shadow: var(--shadow-sm); }

/* Numbered columns with a top rule, as in the presentation */
.ruled { list-style: none; display: grid; gap: 2rem 2.5rem; counter-reset: r; }
@media (min-width: 760px) { .ruled--3 { grid-template-columns: repeat(3, 1fr); } .ruled--2 { grid-template-columns: repeat(2, 1fr); } }
.ruled__item { counter-increment: r; padding-top: 1.1rem; border-top: 2px solid var(--blue-600); }
.ruled__item::before { content: counter(r, decimal-leading-zero); display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; color: var(--blue-600); margin-bottom: 1rem; }
.ruled__title { font-size: 1.3rem; margin-bottom: .6rem; color: var(--navy-900); }
.ruled__item p { color: var(--ink-2); }
.section--dark .ruled__item { border-top-color: var(--blue-300); }
.section--dark .ruled__item::before { color: var(--blue-300); }
.section--dark .ruled__item p { color: var(--on-dark); }

/* Commercial conditions */
.offer { list-style: none; display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .offer { grid-template-columns: repeat(3, 1fr); } }
.offer__item { display: flex; flex-direction: column; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.offer__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.offer__num { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.6rem; background: var(--sky-100); color: var(--navy-900); font-family: var(--font-serif); font-size: 2.25rem; line-height: 1; }
.offer__num .icon { color: var(--blue-600); }
.offer__body { padding: 1.6rem; }
.offer__title { font-size: 1.2rem; color: var(--navy-900); margin-bottom: .6rem; }
.offer__body p { color: var(--ink-2); font-size: var(--fs-sm); }
.offer__item--featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--on-dark); }
.offer__item--featured .offer__num { background: var(--navy-800); color: #fff; }
.offer__item--featured .offer__num .icon { color: var(--blue-300); }
.offer__item--featured .offer__title { color: #fff; }
.offer__item--featured p { color: var(--on-dark); }
.offer__item--featured strong { color: var(--blue-300); }

/* Compliance pillars */
.pillars { list-style: none; display: grid; gap: 1rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.pillar__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--sky-100); color: var(--blue-600); }
.pillar h3 { font-size: 1.05rem; margin-bottom: .25rem; color: var(--navy-900); }
.pillar p { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }
.quote-rule { padding-left: 1.5rem; border-left: 3px solid var(--blue-600); }
.quote-rule p { color: var(--ink-2); }
.quote-rule p:first-child { font-size: var(--fs-lg); color: var(--navy-900); }

/* Eligibility criteria */
.criteria { list-style: none; display: grid; gap: 1.25rem; counter-reset: c; }
@media (min-width: 760px) { .criteria { grid-template-columns: repeat(2, 1fr); } }
.criteria__item { counter-increment: c; position: relative; padding: 2.4rem 1.75rem 1.75rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.criteria__item::before { content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--blue-600); }
.criteria__item::after { content: counter(c); position: absolute; top: -18px; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-600); color: #fff; font-weight: 700; font-size: var(--fs-sm); box-shadow: 0 0 0 5px var(--paper); }
.criteria__item h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: .4rem; }
.criteria__item p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.criteria { row-gap: 2.5rem; padding-top: 1rem; }

/* Next steps */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; }
.steps__item { counter-increment: s; position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2rem; }
.steps__item:last-child { padding-bottom: 0; }
.steps__item:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--line); }
.steps__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-900); color: var(--blue-300); }
.steps__item h3 { font-size: 1.15rem; margin: .35rem 0 .3rem; color: var(--navy-900); }
.steps__item h3 small { display: block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .2rem; }
.steps__item p { color: var(--ink-2); margin: 0; }

/* Call to action */
.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--on-dark); padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.cta-band__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.cta-band__title { font-size: var(--fs-d2); color: #fff; margin-bottom: .6em; }
.cta-band__copy p:not(.eyebrow) { font-size: var(--fs-lg); max-width: 38rem; }
.cta-band__copy .eyebrow { margin-bottom: 1.25rem; }
.cta-band__box { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); }
.cta-band__note { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.05rem; color: #fff; margin-bottom: 1.5rem; }
.cta-band__note .icon { color: var(--blue-300); margin-top: .15rem; }
.cta-band__note em { font-style: normal; color: var(--blue-300); font-weight: 700; }
.cta-band__actions { display: grid; gap: .75rem; }
.cta-band__phone { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); color: #fff; text-decoration: none; }
.cta-band__phone:hover { color: var(--blue-300); }
.cta-band__phone small { display: block; color: var(--on-dark); font-size: var(--fs-xs); }
.cta-band__phone strong { font-size: 1.1rem; }

/* Legal text */
.prose { font-size: var(--fs-lg); color: var(--ink-2); max-width: 46rem; }
.prose h2 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); font-size: var(--fs-d4); margin: 2.25em 0 .6em; }
.prose h3 { color: var(--ink); font-size: 1.25rem; margin: 2em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 1.15em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 0; margin: 0 0 1.25em; list-style: none; display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-left: 1.75rem; }
.prose ul li::before { content: ""; position: absolute; left: .2rem; top: .62em; width: 7px; height: 7px; background: var(--blue-600); transform: rotate(45deg); }
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; position: relative; padding-left: 2rem; }
.prose ol li::before { content: counter(li) "."; position: absolute; left: 0; font-weight: 700; color: var(--blue-600); }

/* 9. Data: case comparison --------------------------------------------- */
.case-table-wrap { border-radius: var(--radius-lg); border: 1px solid var(--line-dark); overflow: hidden; background: rgba(255, 255, 255, .03); }
.case-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.case-table caption { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line-dark); }
.case-table th, .case-table td { padding: 1rem 1.25rem; text-align: right; vertical-align: middle; }
.case-table thead th { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark); border-bottom: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); }
.case-table th:first-child, .case-table td:first-child { text-align: left; }
.case-table tbody th { font-weight: 600; color: #fff; }
.case-table tbody tr + tr > * { border-top: 1px solid var(--line-dark); }
.case-table tbody tr:hover > * { background: rgba(255, 255, 255, .03); }
.case-table .is-after { color: var(--blue-300); font-weight: 700; }
.case-table__bars { width: 32%; }
.case-table__bars .bars { gap: 5px; }
@media (max-width: 760px) {
    .case-table__bars, .case-table caption .legend { display: none; }
    .case-table th, .case-table td { padding: .85rem .9rem; }
    .case-table { font-size: .8125rem; }
}
.kpis { list-style: none; display: grid; gap: 1px; margin-top: 1.5rem; border-radius: var(--radius-lg); overflow: hidden; background: var(--line-dark); }
@media (min-width: 700px) { .kpis { grid-template-columns: repeat(3, 1fr); } }
.kpis li { padding: 1.75rem 1.5rem; background: var(--navy-900); text-align: center; }
.kpis strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.75rem); line-height: 1; color: #fff; }
.kpis span { display: block; margin-top: .6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--on-dark); }
.callout { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: rgba(79, 179, 234, .1); border: 1px solid rgba(79, 179, 234, .28); color: var(--on-dark); }
.callout .icon { color: var(--blue-300); margin-top: .1rem; }
.callout strong { color: #fff; }
.case-legend { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; }

/* 10. Forms -------------------------------------------------------------- */
.contact__grid { display: grid; gap: 3rem 4rem; align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: 1.4fr 1fr; } .contact__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact__form-wrap { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid #cdd5e1; background: var(--paper);
    font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #737f94; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9b5c8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(11, 111, 179, .15); }
.field [aria-invalid="true"] { border-color: #c0392b; background: #fdf3f2; }
.field__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.field__hint { margin: 0; color: var(--ink-3); font-size: var(--fs-xs); }
.dictate {
    display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .4rem .9rem; border-radius: 999px;
    border: 1.5px solid #c3dcf0; background: var(--sky-100); color: var(--navy-800);
    font: 700 var(--fs-xs)/1.2 var(--font-sans); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.dictate:hover { border-color: var(--blue-600); }
.dictate:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.dictate[aria-pressed="true"] { background: #b42318; border-color: #b42318; color: #fff; }
.dictate[aria-pressed="true"] .icon { animation: micPulse 1.2s ease-in-out infinite; }
@keyframes micPulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .dictate[aria-pressed="true"] .icon { animation: none; } }
.field__error { margin: 0; color: #b42318; font-size: var(--fs-xs); font-weight: 600; }
.select { position: relative; }
.select .icon { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
.select select { padding-right: 2.75rem; cursor: pointer; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: .75rem; }
.field--check input { width: 22px; height: 22px; min-height: 0; padding: 0; margin-top: .15rem; border-radius: 5px; cursor: pointer; display: grid; place-items: center; background: #fff; }
.field--check input:checked { background: var(--navy-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FB3EA' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--navy-800); }
.field--check label { font-weight: 500; font-size: var(--fs-sm); color: var(--ink-2); }
.field--check .field__error { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form button[type="submit"] { justify-self: start; }
.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; margin-top: 1.25rem; animation: fadeUp .4s var(--ease-out); }
.alert--success { background: #e6f4ea; color: #14532d; }
.alert--error { background: #fdecea; color: #8a1c13; }

.channel-card { padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.channel-card__mark { position: absolute; right: -2.5rem; bottom: -2.5rem; width: 190px; height: auto; opacity: .08; filter: grayscale(1) brightness(3); pointer-events: none; }
.channel-card__title { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; margin-bottom: 1.5rem; }
.channels { list-style: none; display: grid; gap: .75rem; position: relative; z-index: 1; }
.channel { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark); color: #fff; text-decoration: none; transition: background-color .3s, border-color .3s; }
a.channel:hover { background: rgba(255, 255, 255, .1); border-color: rgba(79, 179, 234, .5); color: #fff; }
.channel small { display: block; color: var(--on-dark); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.channel strong { font-size: var(--fs-sm); word-break: break-word; }
.channel em { display: block; font-style: normal; font-size: var(--fs-xs); color: var(--on-dark); }
.channel__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .08); color: var(--blue-300); flex-shrink: 0; }
.channel__icon--wa { background: #25d366; color: #0b3d20; }
.channel__arrow { margin-left: auto; opacity: .6; }
.channel-card__note { position: relative; z-index: 1; display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-sm); color: var(--on-dark); }
.channel-card__note .icon { color: var(--blue-300); }
.channel-card__note strong { color: #fff; }
.contact__privacy { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.25rem; font-size: var(--fs-xs); color: var(--ink-3); }

/* 11. Footer ------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--on-dark); font-size: var(--fs-sm); padding-top: clamp(4rem, 7vw, 6rem); border-top: 1px solid var(--line-dark); }
.site-footer__top { display: grid; gap: 3rem 2.5rem; padding-bottom: 3.5rem; }
@media (min-width: 700px) { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.brand--footer img { height: 80px; width: auto; max-width: 280px; margin-bottom: 1.5rem; }
.site-footer__brand p { max-width: 26rem; }
.site-footer__title { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #e6ecf6; text-decoration: none; }
.site-footer a:hover { color: var(--blue-300); }
.contact-list a, .contact-list span { display: inline-flex; gap: .6rem; align-items: center; }
.contact-list small { color: var(--on-dark); }
.site-footer .btn { margin-top: 1.5rem; color: #fff; }
.site-footer .btn:hover { color: #fff; }
.social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); color: #fff; transition: background-color .3s, border-color .3s, color .3s; }
.social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.social .icon { width: 1.2rem; height: 1.2rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.75rem; border-top: 1px solid var(--line-dark); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }

.wa-fab {
    position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
    display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(18, 140, 70, .6);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.6s var(--ease) infinite; }
.wa-fab:hover { transform: scale(1.08); color: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* 12. Motion ------------------------------------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.hero__copy > *, .page-hero__copy > * { animation: heroIn 1s var(--ease-out) both; }
.hero__copy > :nth-child(2), .page-hero__copy > :nth-child(2) { animation-delay: .08s; }
.hero__copy > :nth-child(3), .page-hero__copy > :nth-child(3) { animation-delay: .16s; }
.hero__copy > :nth-child(4), .page-hero__copy > :nth-child(4) { animation-delay: .24s; }
.hero__copy > :nth-child(5), .page-hero__copy > :nth-child(5) { animation-delay: .32s; }
.hero__visual { animation: visualIn 1.3s var(--ease-out) .15s both; }
@keyframes heroIn { from { opacity: .001; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes visualIn { from { opacity: .001; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
    .hero__chart-line { stroke-dashoffset: 0; }
    .hero__chart-area { opacity: 1; }
    .ticker__track, .wa-fab::before { animation: none !important; }
}

/* 13. Utilities ---------------------------------------------------------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media print {
    .site-header, .site-footer, .wa-fab, .cta-band, .ticker, .hero__bg, .page-hero__bg { display: none !important; }
    .hero, .page-hero, .section--dark { background: none; color: #000; padding: 1rem 0; min-height: 0; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
