/* Skyward Digital — site styles. Palette and shapes follow the brand deck and logo. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-400-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-500-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 600; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-600-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-vietnamese-700-normal.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* ---------- Tokens ---------- */
:root {
    --navy: #0B1B3F;
    --navy-2: #13295C;
    --navy-deep: #081430;
    --ink: #1C2434;
    --slate: #5B6778;
    --line: #D5DEE8;
    --mist: #F6F9FC;
    --sky: #2BA8E0;
    --sky-2: #7AD3FF;
    --sky-text: #0B74A8;
    --sky-pale: #EAF6FC;
    --ice: #BFE6F7;
    --amber: #F7A823;
    --amber-2: #FFBE4D;
    --haze: #8FA3C7;
    --white: #fff;
    --danger: #B42318;

    --font: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius: 16px;
    --radius-lg: 24px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.12; letter-spacing: -.028em; font-weight: 700; color: var(--navy); }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.012em; font-weight: 600; color: var(--navy); }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; color: var(--navy); }
:lang(vi) h1 { line-height: 1.2; letter-spacing: -.025em; }
:lang(vi) h2 { line-height: 1.28; letter-spacing: -.02em; }
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ice); color: var(--navy); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--amber); color: var(--navy); border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 1rem; }

.kicker, .eyebrow {
    font-size: .8125rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
    color: var(--sky-text); margin-bottom: 1.1rem;
}
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--slate); margin-top: 1.25rem; max-width: 40em; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .9rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translate(2px, -2px); }
.btn[type=submit]:hover .ic { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9375rem; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-2); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .28); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Icon chips (as in the deck) ---------- */
.chip {
    display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem;
    border-radius: 50%; background: var(--sky); color: var(--white);
}
.chip .ic { width: 1.2rem; height: 1.2rem; }
.chip-lg { width: 3.25rem; height: 3.25rem; }
.chip-lg .ic { width: 1.5rem; height: 1.5rem; }
.chip-navy { background: var(--navy); border-radius: 12px; }
.chip-amber { background: var(--amber); color: var(--navy); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; }
.mark { width: 2.5rem; height: 2.5rem; flex: none; }
.mark-tile { fill: var(--navy); }
.brand-text { display: grid; line-height: 1; text-transform: uppercase; }
.brand-text b { font-weight: 700; font-size: 1.1875rem; letter-spacing: .16em; }
.brand-text i { font-style: normal; font-weight: 400; font-size: .625rem; letter-spacing: .58em; color: var(--sky); margin-top: .4rem; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: var(--white);
    transition: background-color .3s, box-shadow .3s, color .3s;
}
.nav .mark-tile { fill: var(--navy-2); }
.nav-row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-links { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
.nav-links a {
    position: relative; padding: .4rem 0; text-decoration: none; font-size: .9375rem; font-weight: 500; opacity: .82;
    transition: opacity .2s;
}
.nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
    background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current=true] { opacity: 1; }
.nav-links a[aria-current=true]::after { transform: scaleX(1); }
.nav-side { display: flex; align-items: center; gap: .9rem; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); }
.lang a {
    padding: .28rem .65rem; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
    text-decoration: none; opacity: .75;
}
.lang a[aria-current=true] { background: var(--white); color: var(--navy); opacity: 1; }
.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 12px; background: transparent; cursor: pointer; place-items: center; }
.nav-toggle .ic { width: 1.5rem; height: 1.5rem; }
.nav-toggle .ic-close, .nav.is-open .ic-open { display: none; }
.nav.is-open .ic-close { display: block; }

.nav.is-stuck, .nav.is-open { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.nav.is-stuck .mark-tile, .nav.is-open .mark-tile { fill: var(--navy); }
.nav.is-stuck .brand-text i, .nav.is-open .brand-text i { color: var(--sky-text); }
.nav.is-stuck .lang, .nav.is-open .lang { border-color: var(--line); }
.nav.is-stuck .lang a[aria-current=true], .nav.is-open .lang a[aria-current=true] { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--navy); color: var(--white);
    min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--nav-h) + clamp(2rem, 7vh, 5rem)) 0 2rem;
}
.orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; transition: transform .6s var(--ease); }
.orb-a {
    width: 760px; height: 760px; right: -220px; top: -300px;
    background: rgba(43, 168, 224, .13); border: 1px solid rgba(122, 211, 255, .2);
    transform: translate(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -18px));
}
.orb-b {
    width: 520px; height: 520px; right: -160px; bottom: -180px;
    background: rgba(43, 168, 224, .1); border: 1px solid rgba(122, 211, 255, .16);
    transform: translate(calc(var(--px, 0) * 26px), calc(var(--py, 0) * 26px));
}
.orb-c { width: 640px; height: 640px; left: -260px; bottom: -320px; background: rgba(43, 168, 224, .09); border: 1px solid rgba(122, 211, 255, .14); }
.orb-dot {
    width: 22px; height: 22px; right: 11%; top: 17%; background: var(--amber);
    transform: translate(calc(var(--px, 0) * -44px), calc(var(--py, 0) * -44px));
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 2rem; flex: 1; }
.hero .eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; color: var(--sky-2); }
.eyebrow-sep { width: 2.5rem; height: 1px; background: currentColor; opacity: .5; }
.hero .eyebrow span:last-child { color: var(--ice); opacity: .8; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero-lead { margin-top: 1.6rem; font-size: clamp(1.0625rem, 1.5vw, 1.3125rem); color: var(--ice); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.25rem; }

.ascent-svg { width: 100%; height: auto; overflow: visible; }
.ascent-ghost, .ascent-line, .ascent-arrow { fill: none; stroke-width: 40; stroke-linecap: round; stroke-linejoin: round; }
.ascent-ghost { stroke: rgba(255, 255, 255, .06); }
.ascent-arrow { stroke: var(--amber); transform-box: fill-box; transform-origin: 100% 0; }
.ascent-node circle { fill: var(--navy); stroke: var(--white); stroke-width: 3.5; }
.ascent-node text { fill: rgba(255, 255, 255, .88); font-size: 19px; font-weight: 500; }
.ascent-num { fill: var(--sky-2); font-size: 13px; font-weight: 600; letter-spacing: .12em; }

.js .ascent-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.9s .25s var(--ease) forwards; }
.js .ascent-arrow { opacity: 0; animation: pop .55s 1.75s var(--ease) forwards; }
.js .ascent-node { opacity: 0; animation: fade .5s var(--ease) forwards; }
.js .ascent-node:nth-of-type(1) { animation-delay: .3s; }
.js .ascent-node:nth-of-type(2) { animation-delay: .65s; }
.js .ascent-node:nth-of-type(3) { animation-delay: 1.05s; }
.js .ascent-node:nth-of-type(4) { animation-delay: 1.4s; }
.js .ascent-node:nth-of-type(5) { animation-delay: 1.9s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

.hero-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-top: clamp(2rem, 5vh, 3.5rem); padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .14);
}
.hero-stats div { display: flex; flex-direction: column-reverse; gap: .2rem; }
.hero-stats dd { font-size: clamp(1.5rem, 2.6vw, 2.125rem); font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats dt { font-size: .875rem; color: var(--haze); line-height: 1.4; }
.scroll-cue {
    display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.75rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--haze);
}
.scroll-cue:hover { color: var(--white); }
.scroll-cue-line { position: relative; width: 3rem; height: 1px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 50% { transform: none; } 100% { transform: translateX(100%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .kicker { color: var(--sky-2); }
.section-navy .lead { color: var(--ice); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head-split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head-split > div:first-child { max-width: 46rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2rem; margin-top: 2.5rem; }
.checks li { display: flex; align-items: center; gap: .9rem; font-weight: 500; line-height: 1.35; }
.regions { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.regions h3 { color: var(--white); margin-bottom: .75rem; }
.regions li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.region-dot { width: .75rem; height: .75rem; border-radius: 50%; background: var(--sky); }
.is-live > .region-dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(247, 168, 35, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(247, 168, 35, 0); } 100% { box-shadow: 0 0 0 0 rgba(247, 168, 35, 0); } }
.region-name { font-weight: 600; font-size: 1.125rem; }
.region-status { grid-column: 2; font-size: .9375rem; color: var(--ice); opacity: .85; }
.regions-legend { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8125rem; color: var(--haze); }
.regions-legend span { display: inline-flex; align-items: center; gap: .5rem; }
.regions-legend .region-dot { width: .5rem; height: .5rem; animation: none; }

/* ---------- Process ---------- */
.steps-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.steps-stage { position: sticky; top: calc(var(--nav-h) + 2rem); }
.stage-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); overflow: hidden; }
.stage-label { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--sky-2); }
.stage-num { font-size: clamp(4rem, 8vw, 6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-top: .4rem; }
.stage-num small { font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--haze); margin-left: .6rem; }
.stage-tag { display: inline-block; margin-top: 1rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: .8125rem; font-weight: 500; color: var(--ice); }
.stage-rail { width: 100%; height: auto; margin-top: 1rem; overflow: visible; }
.rail-ghost, .rail-fill, .rail-arrow { fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.rail-ghost { stroke: rgba(255, 255, 255, .1); }
.rail-fill { stroke: var(--sky); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease); }
.rail-arrow { stroke: rgba(255, 255, 255, .1); transition: stroke .4s .3s; }
.rail-arrow.is-on { stroke: var(--amber); }
.rail-node { fill: var(--navy); stroke: rgba(255, 255, 255, .35); stroke-width: 3; transition: stroke .3s, fill .3s; }
.rail-node.is-on { stroke: var(--white); fill: var(--sky); }

.step { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: clamp(1.75rem, 4vw, 2.75rem) 0; border-top: 1px solid var(--line); transition: opacity .4s; }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font-size: .9375rem; font-weight: 600; letter-spacing: .1em; color: var(--sky-text); padding-top: .35rem; font-variant-numeric: tabular-nums; }
.step h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: -.02em; }
.step p { color: var(--slate); margin-top: .6rem; max-width: 34em; }
.tag { display: inline-block; margin-top: 1rem; padding: .25rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .8125rem; font-weight: 500; color: var(--slate); }
.js .steps-grid.is-live .step { opacity: .36; }
.js .steps-grid.is-live .step.is-active { opacity: 1; }
.js .steps-grid.is-live .tag { display: none; }

.servicing { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 6vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); padding: clamp(1.5rem, 3vw, 2.25rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.servicing-head p { color: var(--slate); margin-top: .4rem; }
.servicing-list { display: grid; gap: 1.1rem; }
.servicing-list li, .points li { display: flex; gap: 1rem; align-items: flex-start; }
.servicing-list strong, .points strong { display: block; font-weight: 600; color: var(--navy); }
.servicing-list span:not(.chip), .points span:not(.chip) { color: var(--slate); font-size: .9688rem; }

/* ---------- Speed ---------- */
.speed-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.points { display: grid; gap: 1.35rem; margin-top: 2.5rem; }
.journey { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); text-align: center; --ring: var(--amber); }
.journey[data-mode="1"] { --ring: var(--sky); }
.journey h3 { color: var(--white); font-size: 1.375rem; }
.journey-head p { color: var(--ice); font-size: .9375rem; opacity: .85; margin-top: .25rem; }
.seg { display: inline-flex; padding: 4px; margin-top: 1.5rem; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.seg button {
    white-space: nowrap;
    border: 0; background: transparent; cursor: pointer; padding: .55rem 1.15rem; border-radius: 999px;
    font-size: .9375rem; font-weight: 600; color: var(--ice); transition: background-color .25s, color .25s;
}
.seg button[aria-pressed=true], .seg button[aria-selected=true] { background: var(--white); color: var(--navy); }
.seg-light { background: var(--white); border: 1px solid var(--line); margin-top: 0; }
.seg-light button { color: var(--slate); }
.seg-light button[aria-selected=true] { background: var(--navy); color: var(--white); }
.dial { position: relative; width: min(100%, 250px); margin: 1.75rem auto 0; aspect-ratio: 1; }
.dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track, .dial-fill { fill: none; stroke-width: 10; }
.dial-track { stroke: rgba(255, 255, 255, .1); }
.dial-fill { stroke: var(--ring); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke .3s; }
.dial-text { position: absolute; inset: 0; display: grid; place-content: center; gap: .15rem; }
.dial-clock { font-size: .9375rem; font-weight: 500; color: var(--haze); font-variant-numeric: tabular-nums; }
.dial-time { font-size: clamp(2.5rem, 5vw, 3.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--ring); transition: color .3s; }
.journey-note { margin-top: 1.5rem; font-weight: 500; min-height: 3.2em; }
.journey-foot { display: inline-flex; align-items: center; gap: .5rem; margin-top: .75rem; padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, .12); width: 100%; justify-content: center; font-size: .875rem; color: var(--ice); }
.journey-foot .ic { color: var(--amber); }

/* ---------- Platform ---------- */
.panel:focus-visible { outline-offset: 8px; border-radius: var(--radius); }
.panel-intro { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1rem, 6vw, 5rem); padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.panel-intro h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.panel-intro p { color: var(--slate); }
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.module, .tool {
    position: relative; overflow: hidden; isolation: isolate; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem;
    transition: border-color .25s, transform .3s var(--ease), box-shadow .3s;
}
.module::before, .tool::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--sky-pale), transparent 70%);
}
.module:hover, .tool:hover { border-color: var(--sky); transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(11, 27, 63, .35); }
.module:hover::before, .tool:hover::before { opacity: 1; }
.module-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.module-num { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--haze); }
.module ul { margin-top: .8rem; display: grid; gap: .5rem; }
.module ul li { position: relative; padding-left: 1rem; font-size: .9063rem; line-height: 1.45; color: var(--slate); }
.module ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--sky); }
.panel.is-entering .module { animation: rise .5s var(--ease) both; }
.panel.is-entering .module:nth-child(2) { animation-delay: .04s; }
.panel.is-entering .module:nth-child(3) { animation-delay: .08s; }
.panel.is-entering .module:nth-child(4) { animation-delay: .12s; }
.panel.is-entering .module:nth-child(5) { animation-delay: .16s; }
.panel.is-entering .module:nth-child(6) { animation-delay: .2s; }
.panel.is-entering .module:nth-child(7) { animation-delay: .24s; }
.panel.is-entering .module:nth-child(8) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Toolkit ---------- */
.toolkit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.tool { padding: clamp(1.5rem, 2.5vw, 2rem); }
.tool h3 { margin-top: 1.4rem; }
.tool p { margin-top: .5rem; color: var(--slate); font-size: .9688rem; }
.tool:nth-child(3n) .chip { background: var(--amber); color: var(--navy); }

/* ---------- Compliance ---------- */
.comp-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.comp-stats { display: grid; gap: 2.25rem; }
.comp-stats div { display: flex; flex-direction: column-reverse; gap: .5rem; }
.comp-stats dd { font-size: clamp(3.25rem, 7vw, 5.25rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.comp-stats .is-amber dd { color: var(--amber); }
.comp-stats .is-sky dd { color: var(--sky-2); }
.comp-stats dt { color: var(--ice); max-width: 22em; }
.comp-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: column; grid-template-rows: repeat(5, auto); column-gap: 2.5rem; }
.comp-points li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .5rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .13); font-size: .9688rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.comp-num { font-weight: 700; color: var(--sky-2); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq { interpolate-size: allow-keywords; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0;
    cursor: pointer; list-style: none; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 1.4rem; height: 1.4rem; color: var(--sky-text); transition: transform .35s var(--ease); }
.faq summary:hover { color: var(--sky-text); }
.faq details[open] summary .ic { transform: rotate(45deg); color: var(--amber); }
.faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq-body { padding: 0 3rem 1.6rem 0; color: var(--slate); }

/* ---------- Contact ---------- */
.contact .orb-dot { top: 9%; right: 7%; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 2.5rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; color: var(--white); font-weight: 500; }
.contact-list .ic { color: var(--sky-2); margin-top: .2rem; }
.contact-list a { text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.contact-list a:hover { text-decoration-color: var(--amber); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field-wide { grid-column: 1 / -1; }
.field-hp { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.field label:not(.check) { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: .4rem; }
.field input:not([type=checkbox]), .field select, .field textarea {
    width: 100%; padding: .78rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--haze); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(43, 168, 224, .2); }
.field [aria-invalid=true] { border-color: var(--danger); }
.field-hint { font-size: .8125rem; color: var(--slate); margin-top: .35rem; }
.field-error, .form-status { font-size: .8125rem; font-weight: 500; color: var(--danger); margin-top: .35rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9063rem; color: var(--slate); cursor: pointer; }
.check input { width: 1.15rem; height: 1.15rem; margin: .2rem 0 0; accent-color: var(--navy); flex: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-done { text-align: center; padding: 2rem 0; }
.form-card h3 { color: var(--navy); }
.form-done:focus { outline: none; }
.form-done h3 { margin-top: 1.25rem; font-size: 1.5rem; }
.form-done p { color: var(--slate); margin: .5rem 0 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--haze); padding: 3.5rem 0 1.5rem; font-size: .9375rem; }
.footer .brand { color: var(--white); }
.footer .mark-tile { fill: var(--navy-2); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 2.5rem; }
.footer-tag { margin-top: 1.1rem; max-width: 24em; }
.footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: .6rem 2rem; align-content: start; justify-content: start; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--white); }
.footer address { display: grid; gap: .4rem; align-content: start; }
.footer address strong { color: var(--white); font-weight: 600; letter-spacing: .02em; }
.footer address a { color: var(--sky-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; }
.footer-base a { display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Policy page ---------- */
.check a { color: var(--sky-text); font-weight: 500; text-underline-offset: 3px; }
.check a:hover { color: var(--navy); }
.policy-nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.policy-nav .brand-text i { color: var(--sky-text); }
.policy-nav .lang { border-color: var(--line); }
.policy-nav .lang a[aria-current=true] { background: var(--navy); color: var(--white); }
.policy-head { background: var(--navy); color: var(--white); padding: clamp(3rem, 7vw, 5rem) 0; position: relative; overflow: hidden; isolation: isolate; }
.policy-head h1 { font-size: clamp(1.875rem, 4vw, 3rem); max-width: 20em; }
.policy-head p { margin-top: 1rem; color: var(--ice); font-weight: 500; letter-spacing: .04em; }
.policy-back { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.75rem; font-size: .9375rem; font-weight: 500; color: var(--sky-2); text-decoration: none; }
.policy-back:hover { color: var(--white); }
.policy-back .ic { transform: rotate(180deg); }
.policy { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem); }
.policy section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.policy h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); letter-spacing: -.015em; margin-bottom: 1rem; }
.policy p { color: var(--ink); }
.policy p + p, .policy ul + p, .policy p + ul { margin-top: .85rem; }
.policy ul { display: grid; gap: .5rem; }
.policy ul li { position: relative; padding-left: 1.25rem; }
.policy ul li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.policy .policy-sub { font-weight: 600; color: var(--navy); margin-top: 1.4rem; }
.policy .policy-item { padding-left: 1.25rem; }
.policy a { color: var(--sky-text); }
.footer-base { align-items: center; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--navy); color: var(--white); padding: 2rem; }
.notfound .kicker { color: var(--amber); }
.notfound h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 2rem; }
.notfound .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); margin-left: .5rem; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nav-cta { display: none; }
}
@media (max-width: 920px) {
    :root { --nav-h: 64px; }
    .nav-toggle { display: grid; }
    .nav-links {
        position: absolute; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
        padding: .5rem var(--gutter) 1.5rem; background: var(--white); color: var(--navy);
        box-shadow: 0 24px 40px -24px rgba(11, 27, 63, .35); display: none;
    }
    .nav.is-open .nav-links { display: flex; }
    .nav-links a { padding: .95rem 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line); opacity: 1; }
    .nav-links a::after { display: none; }

    .hero { min-height: 0; }
    .hero-grid, .about-grid, .speed-grid, .comp-grid, .faq-grid, .contact-grid, .servicing, .panel-intro { grid-template-columns: minmax(0, 1fr); }
    .ascent { max-width: 520px; margin-top: 1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: minmax(0, 1fr); }
    .steps-stage { display: none; }
    .js .steps-grid.is-live .step { opacity: 1; }
    .js .steps-grid.is-live .tag { display: inline-block; }
    .faq-grid .section-head { position: static; }
    .toolkit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .brand-text b { font-size: 1.0625rem; }
    .mark { width: 2.25rem; height: 2.25rem; }
    .checks, .modules, .toolkit, .form { grid-template-columns: minmax(0, 1fr); }
    .comp-points { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; grid-template-rows: none; }
    .step { grid-template-columns: 2.5rem 1fr; }
    .hero-actions .btn { flex: 1 1 auto; }
    .ascent-node text { font-size: 24px; }
    .ascent-num { font-size: 16px; }
    .faq-body { padding-right: 0; }
    .orb-dot { display: none; }
    .seg button { padding: .55rem .9rem; font-size: .875rem; }
    .section-head-split .seg { width: 100%; }
    .section-head-split .seg button { flex: 1; }
}

@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; }
    .orb { transform: none; }
}
