/* ---------- Tokens ---------- */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: .375rem; --radius-md: .5rem; --radius-lg: .875rem; --radius-xl: 1.25rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-wide: 1200px;

  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;

  --navy: #02376B;
  --cyan: #0DB7EC;
}

:root, [data-theme='light'] {
  --color-bg: #F6F8FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #EEF3F7;
  --color-surface-offset: #E6EEF4;
  --color-divider: #DCE4EB;
  --color-border: #CBD6E0;
  --color-text: #0B1F33;
  --color-text-muted: #4D6175;
  --color-text-faint: #8A9AAA;
  --color-primary: #02376B;
  --color-primary-hover: #032B52;
  --color-accent: #0DB7EC;
  --color-accent-ink: #0A7FA6;
  --color-accent-soft: #D9F3FC;
  --color-deep: #02376B;       /* dark sections */
  --color-deep-2: #042C54;
  --color-on-deep: #F3F8FC;
  --color-on-deep-muted: #A9C2D8;
  --navy-fill: #02376B;
  --shadow-sm: 0 1px 2px rgb(2 30 60 / .06);
  --shadow-md: 0 6px 18px rgb(2 30 60 / .08);
  --shadow-lg: 0 20px 48px rgb(2 30 60 / .16);
}

[data-theme='dark'] {
  --color-bg: #061525;
  --color-surface: #0B1E33;
  --color-surface-2: #0E2440;
  --color-surface-offset: #102A48;
  --color-divider: #16314F;
  --color-border: #1F3E61;
  --color-text: #E4EDF5;
  --color-text-muted: #9DB2C6;
  --color-text-faint: #6A8299;
  --color-primary: #0DB7EC;
  --color-primary-hover: #4BCBF2;
  --color-accent: #0DB7EC;
  --color-accent-ink: #4BCBF2;
  --color-accent-soft: #0D3350;
  --color-deep: #0A2440;
  --color-deep-2: #081D35;
  --color-on-deep: #EEF5FB;
  --color-on-deep-muted: #9DB6CC;
  --navy-fill: #0B4A8A;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / .3);
  --shadow-md: 0 6px 18px rgb(0 0 0 / .35);
  --shadow-lg: 0 20px 48px rgb(0 0 0 / .5);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text); background: var(--color-bg); }
img, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3 { text-wrap: balance; line-height: 1.12; }
p, li { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: var(--radius-sm); }
::selection { background: rgb(13 183 236 / .3); }
a, button, input, select, textarea { transition: color var(--transition-interactive), background var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.container { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-5), 4vw, var(--space-10)); }
.skip { position: absolute; left: -999px; top: var(--space-2); background: var(--color-surface); padding: var(--space-2) var(--space-4); border-radius: var(--radius-md); z-index: 100; }
.skip:focus { left: var(--space-4); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; text-decoration: none; padding: .8rem 1.35rem; border-radius: var(--radius-full); line-height: 1.2; white-space: nowrap; }
.btn--primary { background: var(--cyan); color: #02264A; box-shadow: 0 1px 0 rgb(255 255 255 / .35) inset, 0 6px 16px rgb(13 183 236 / .28); }
.btn--primary:hover { background: #33C6F2; transform: translateY(-1px); }
.btn--ghost { color: var(--color-text); border: 1px solid var(--color-border); background: var(--color-surface); }
.btn--ghost:hover { border-color: var(--color-text-muted); }
.btn--ghost svg { transition: transform var(--transition-interactive); }
.btn--ghost:hover svg { transform: translateX(3px); }
.btn--sm { padding: .6rem 1.05rem; }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); color: var(--color-text-muted); }
.icon-btn:hover { background: var(--color-surface-2); color: var(--color-text); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in oklab, var(--color-bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header--scrolled { border-bottom-color: var(--color-divider); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--color-text); }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__word { font-family: var(--font-body); font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; }
.brand__word strong { font-weight: 700; color: var(--color-accent-ink); }
[data-theme='light'] .brand__word, :root:not([data-theme]) .brand__word { color: var(--navy); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: var(--space-1); }
.nav__list a { display: block; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); text-decoration: none; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); }
.nav__list a:hover { color: var(--color-text); background: var(--color-surface-2); }
.header__actions { display: flex; align-items: center; gap: var(--space-2); }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav { position: absolute; inset: 72px 0 auto 0; margin: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-divider); box-shadow: var(--shadow-md); display: none; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; padding: var(--space-3) var(--space-5) var(--space-5); }
  .nav__list a { padding: var(--space-3); border-radius: var(--radius-md); font-size: var(--text-base); }
  .nav-toggle { display: inline-grid; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 480px) { .header__actions .btn--sm { display: none; } }

/* ---------- Type helpers ---------- */
.kicker { font-size: var(--text-xs); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--color-accent-ink); margin-bottom: var(--space-4); }
.kicker--light { color: var(--cyan); }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); letter-spacing: -.015em; color: var(--color-text); }
.section-lede { margin-top: var(--space-5); color: var(--color-text-muted); max-width: 58ch; }
.muted { color: var(--color-text-muted); }
.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section-head { max-width: 760px; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)) clamp(var(--space-16), 8vw, var(--space-24)); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); font-weight: 500; color: var(--color-text-muted); background: var(--color-surface); border: 1px solid var(--color-divider); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); margin-bottom: var(--space-6); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgb(13 183 236 / .2); }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-3xl); letter-spacing: -.025em; line-height: 1.02; color: var(--color-text); }
[data-theme='light'] .hero__title { color: var(--navy); }
.hero__title em { font-style: italic; color: var(--color-accent-ink); }
[data-theme='dark'] .hero__title em { color: var(--cyan); }
.hero__lede { margin-top: var(--space-6); font-size: var(--text-base); color: var(--color-text-muted); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__points { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-top: var(--space-8); font-size: var(--text-xs); color: var(--color-text-muted); }
.hero__points li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__points li::before { content: ''; width: 14px; height: 14px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230DB7EC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }

.hero__visual { position: relative; }
.hero__photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.ui-card { position: absolute; background: color-mix(in oklab, var(--color-surface) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4); font-size: var(--text-xs); }
.ui-card--queue { left: calc(-1 * clamp(var(--space-6), 4vw, var(--space-12))); bottom: var(--space-10); width: min(330px, 80%); animation: rise .9s .2s both cubic-bezier(.16,1,.3,1); }
.ui-card--family { right: calc(-1 * var(--space-4)); top: var(--space-8); width: min(240px, 60%); animation: rise .9s .45s both cubic-bezier(.16,1,.3,1); }
.ui-card--family p { margin-top: var(--space-2); color: var(--color-text); line-height: 1.45; font-size: .8125rem; }
.ui-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); }
.ui-label { font-weight: 600; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--color-accent-ink); }
.ui-pill { font-size: .75rem; color: var(--color-text-muted); background: var(--color-surface-2); padding: 2px var(--space-2); border-radius: var(--radius-full); }
.ui-rows { list-style: none; display: grid; gap: var(--space-2); }
.ui-rows li { display: grid; grid-template-columns: 8px 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); background: var(--color-surface-2); border-radius: var(--radius-md); }
.ui-rows b { display: block; font-weight: 600; font-size: .8125rem; color: var(--color-text); line-height: 1.3; }
.ui-rows small { display: block; font-size: .75rem; color: var(--color-text-muted); }
.sev { width: 8px; height: 8px; border-radius: 50%; }
.sev--high { background: #E0584F; } .sev--med { background: #E8A33A; } .sev--low { background: var(--cyan); }
.own { font-size: .75rem; font-weight: 600; color: var(--navy); background: var(--color-accent-soft); border-radius: var(--radius-sm); padding: 2px 6px; }
[data-theme='dark'] .own { color: var(--cyan); }
.own.ok { color: #1E8A5A; background: #DDF3E8; }
[data-theme='dark'] .own.ok { color: #6FD3A1; background: #0F3A2B; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 4 / 3.2; }
  .ui-card--queue { left: var(--space-3); bottom: calc(-1 * var(--space-10)); }
  .ui-card--family { right: var(--space-3); top: var(--space-3); }
  .hero { padding-bottom: var(--space-20); }
}
@media (max-width: 600px) { .ui-card--family { display: none; } .ui-card--queue { position: relative; left: auto; bottom: auto; width: calc(100% - var(--space-8)); margin: calc(-1 * var(--space-16)) auto 0; } .hero__photo { aspect-ratio: 4 / 3.6; } .hero { padding-bottom: var(--space-16); } }

/* ---------- Problem ---------- */
.problem { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.problem__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(var(--space-10), 6vw, var(--space-24)); align-items: start; }
.problem__grid .h2 { position: sticky; top: 110px; }
.problem__list { display: grid; }
.problem__list li { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--space-4); padding-block: var(--space-6); border-top: 1px solid var(--color-divider); }
.problem__list li:last-child { border-bottom: 1px solid var(--color-divider); }
.num { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-accent-ink); }
.problem__list p { color: var(--color-text-muted); }
.problem__list b { color: var(--color-text); font-weight: 600; }
@media (max-width: 800px) { .problem__grid { grid-template-columns: 1fr; } .problem__grid .h2 { position: static; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.pillar { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); }
.pillar__icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-accent-soft); color: var(--navy); margin-bottom: var(--space-6); }
[data-theme='dark'] .pillar__icon { color: var(--cyan); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-3); letter-spacing: -.01em; }
.pillar p { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 1024px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- How ---------- */
.how { background: var(--color-deep); color: var(--color-on-deep); position: relative; overflow: hidden; }
.how::before { content: ''; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 2px dashed rgb(13 183 236 / .22); }
.how::after { content: ''; position: absolute; right: -40px; top: -40px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgb(13 183 236 / .25), transparent 70%); }
.how__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(var(--space-10), 6vw, var(--space-24)); position: relative; z-index: 1; }
.how .h2 { color: var(--color-on-deep); }
.how__intro p { color: var(--color-on-deep-muted); margin-block: var(--space-6) var(--space-8); max-width: 48ch; }
.steps { display: grid; gap: var(--space-4); }
.step { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-lg); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); }
.step__n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: #02264A; background: var(--cyan); }
.step h3 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-1); }
.step p { color: var(--color-on-deep-muted); font-size: var(--text-sm); }
@media (max-width: 860px) { .how__grid { grid-template-columns: 1fr; } }

/* ---------- Band ---------- */
.band { position: relative; margin: 0; }
.band img { width: 100%; height: clamp(320px, 48vw, 620px); object-fit: cover; object-position: center 35%; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 30 58 / .7), transparent 50%); pointer-events: none; }
.band__cap { position: absolute; left: 0; right: 0; bottom: var(--space-8); z-index: 1; }
.band__cap span { display: block; max-width: 30ch; font-family: var(--font-display); font-size: var(--text-xl); color: #fff; line-height: 1.2; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-1); background: var(--color-surface-2); border-radius: var(--radius-full); width: fit-content; margin-bottom: var(--space-8); }
.tabs__list [role='tab'] { font-size: var(--text-sm); font-weight: 500; padding: var(--space-2) var(--space-5); border-radius: var(--radius-full); color: var(--color-text-muted); }
.tabs__list [role='tab']:hover { color: var(--color-text); }
.tabs__list [role='tab'][aria-selected='true'] { background: var(--color-surface); color: var(--color-text); box-shadow: var(--shadow-sm); }
.tabs__panel { animation: fade .35s both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-xl); padding: clamp(var(--space-6), 4vw, var(--space-12)); align-items: center; }
.panel h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.panel > div:first-child > p { color: var(--color-text-muted); max-width: 56ch; }
.checks { display: grid; gap: var(--space-3); margin-block: var(--space-6); }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: var(--space-3); font-size: var(--text-sm); }
.checks li::before { content: ''; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--color-accent-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302376B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.link { font-size: var(--text-sm); font-weight: 600; color: var(--color-accent-ink); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.panel__stat { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-8); border-radius: var(--radius-lg); background: var(--color-deep); color: var(--color-on-deep); min-height: 220px; position: relative; overflow: hidden; }
.panel__stat::before { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px dashed rgb(13 183 236 / .35); }
.panel__stat-label { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: var(--space-3); }
.panel__stat p { color: var(--color-on-deep); font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.35; }
.panel--image img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } .tabs__list { border-radius: var(--radius-lg); width: 100%; } .tabs__list [role='tab'] { flex: 1 1 auto; } }

/* ---------- Integrations ---------- */
.integrations { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.int__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; }
.int__diagram { display: grid; grid-template-columns: 1fr 60px auto; align-items: center; }
.int__col { display: grid; gap: var(--space-3); }
.int__tag { font-size: var(--text-sm); font-weight: 500; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.int__line { height: 2px; background: repeating-linear-gradient(90deg, var(--cyan) 0 8px, transparent 8px 14px); animation: flow 1.2s linear infinite; background-size: 28px 2px; }
@keyframes flow { to { background-position: 28px 0; } }
.int__hub { display: grid; justify-items: center; gap: var(--space-2); text-align: center; padding: var(--space-8) var(--space-6); border-radius: var(--radius-xl); background: var(--color-deep); color: var(--color-on-deep); }
.int__hub svg { width: 56px; height: 56px; color: #fff; }
.int__hub b { font-size: var(--text-base); }
.int__hub small { font-size: .75rem; color: var(--color-on-deep-muted); }
.int__phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.int__phases > div { padding-top: var(--space-5); border-top: 2px solid var(--color-divider); }
.int__phases > div:first-child { border-top-color: var(--cyan); }
.int__phases span { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent-ink); }
.int__phases h3 { font-size: var(--text-lg); font-weight: 600; margin-block: var(--space-2); }
.int__phases p { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 900px) { .int__grid { grid-template-columns: 1fr; } .int__phases { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .int__diagram { grid-template-columns: 1fr; gap: var(--space-4); } .int__line { width: 2px; height: 32px; justify-self: center; background: repeating-linear-gradient(180deg, var(--cyan) 0 8px, transparent 8px 14px); } }

/* ---------- Security ---------- */
.sec__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); }
.sec__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.sec__list li { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-divider); }
.sec__list b { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.sec__list span { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 900px) { .sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sec__list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about { padding-top: 0; }
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center; padding-top: clamp(var(--space-16), 8vw, var(--space-24)); border-top: 1px solid var(--color-divider); }
.about__quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3; color: var(--color-text); }
[data-theme='light'] .about__quote p { color: var(--navy); }
.about__quote footer { margin-top: var(--space-5); font-size: var(--text-sm); color: var(--color-text-muted); }
.about__grid > div p { color: var(--color-text-muted); margin-top: var(--space-5); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Demo ---------- */
.demo { background: linear-gradient(160deg, var(--color-deep), var(--color-deep-2)); color: var(--color-on-deep); }
.demo__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.demo .h2 { color: var(--color-on-deep); }
.demo__copy > p { color: var(--color-on-deep-muted); margin-top: var(--space-5); }
.demo__note { font-size: var(--text-xs); padding: var(--space-3) var(--space-4); border-left: 2px solid var(--cyan); background: rgb(255 255 255 / .05); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.form { display: grid; gap: var(--space-4); background: var(--color-surface); color: var(--color-text); padding: clamp(var(--space-6), 4vw, var(--space-10)); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form__row--3 { grid-template-columns: 1.3fr 1fr 1fr; }
.form label { display: grid; align-content: start; gap: var(--space-2); font-size: var(--text-sm); font-weight: 500; }
.opt { color: var(--color-text-faint); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); font-size: var(--text-sm); }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(13 183 236 / .25); }
.form [aria-invalid='true'] { border-color: #D2463C; }
.form__error { font-size: var(--text-sm); color: #C23A31; }
[data-theme='dark'] .form__error { color: #FF8A80; }
.form__success { display: grid; gap: var(--space-1); padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-accent-soft); font-size: var(--text-sm); }
.form__success[hidden], .form__error[hidden] { display: none; }
@media (max-width: 860px) { .demo__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { padding-block: var(--space-12); background: var(--color-bg); border-top: 1px solid var(--color-divider); }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-6); align-items: center; }
.footer__brand p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-1); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; }
.footer__links a:hover { color: var(--color-text); }
.footer__legal { grid-column: 1 / -1; font-size: var(--text-xs); color: var(--color-text-faint); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
@media (max-width: 700px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.nw { white-space: nowrap; }

/* ===== v2: Dropdown menus ===== */
.nav__list { align-items: center; }
.nav__list > li { position: relative; }
.dd__btn, .nav__link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted); padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); text-decoration: none; }
.dd__btn:hover, .dd__btn[aria-expanded='true'], .nav__link:hover { color: var(--color-text); background: var(--color-surface-2); }
.chev { transition: transform var(--transition-interactive); }
.dd__btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.dd__panel { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; min-width: 300px; padding: var(--space-2); background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.dd__panel::before { content: ''; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dd.is-open .dd__panel { opacity: 1; visibility: visible; transform: none; }
.dd__panel ul { list-style: none; display: grid; gap: 2px; }
.dd__panel a { display: grid; gap: 2px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); text-decoration: none; }
.dd__panel a:hover, .dd__panel a:focus-visible { background: var(--color-surface-2); }
.dd__panel b { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); }
.dd__panel span { font-size: var(--text-xs); color: var(--color-text-muted); }
@media (max-width: 960px) {
  .nav { max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav__list { align-items: stretch; }
  .dd__btn, .nav__link { width: 100%; justify-content: space-between; padding: var(--space-3); border-radius: var(--radius-md); font-size: var(--text-base); }
  .dd__panel { position: static; translate: none; transform: none; min-width: 0; box-shadow: none; border: none; padding: 0 0 var(--space-2) var(--space-3); display: none; opacity: 1; visibility: visible; background: transparent; }
  .dd.is-open .dd__panel { display: block; }
}

/* ===== Hero video ===== */
.hero__photo { position: relative; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; display: block; }
.video-toggle { position: absolute; right: var(--space-4); bottom: var(--space-4); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgb(2 30 58 / .55); backdrop-filter: blur(6px); z-index: 2; }
.video-toggle:hover { background: rgb(2 30 58 / .8); }
.video-toggle .i-play { display: none; }
.video-toggle.is-paused .i-play { display: block; }
.video-toggle.is-paused .i-pause { display: none; }

/* ===== Feature video ===== */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-lede { margin-inline: auto; }
.vf { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--color-deep); }
.vf__video { width: 100%; height: 100%; object-fit: cover; }
.vf::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 30 58 / .55), transparent 45%); pointer-events: none; }
.vf__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #02264A; z-index: 3; box-shadow: 0 10px 30px rgb(13 183 236 / .45); }
.vf__play:hover { transform: scale(1.06); }
.vf__play svg { margin-left: 4px; }
.vf__ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgb(13 183 236 / .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.vf.is-playing .vf__play { opacity: 0; pointer-events: none; }
.vf.is-playing:hover .vf__play, .vf.is-playing .vf__play:focus-visible { opacity: 1; pointer-events: auto; }
.vf__chips { position: absolute; left: var(--space-6); bottom: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-2); z-index: 2; }
.chip { font-size: var(--text-xs); font-weight: 500; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); background: rgb(255 255 255 / .92); color: #0B1F33; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(10px); }
.vf.is-playing .chip { animation: chipIn 8s infinite; }
.vf.is-playing .chip--2 { animation-delay: 1.2s; }
.vf.is-playing .chip--3 { animation-delay: 2.4s; }
@keyframes chipIn { 0%, 4% { opacity: 0; transform: translateY(10px); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 600px) { .vf { aspect-ratio: 4 / 3; } .vf__chips { left: var(--space-3); bottom: var(--space-3); } .chip--3 { display: none; } .vf__play { width: 64px; height: 64px; } }

/* ===== Story ===== */
.story { background: var(--color-surface); border-block: 1px solid var(--color-divider); }
.story__intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); }
.story__lede p { color: var(--color-text-muted); }
.story__lede p + p { margin-top: var(--space-4); }
.story__lede p:first-child { color: var(--color-text); font-size: var(--text-lg); line-height: 1.5; }
.story__image { margin-block: clamp(var(--space-10), 6vw, var(--space-16)); border-radius: var(--radius-xl); overflow: hidden; }
.story__image img { width: 100%; height: clamp(260px, 38vw, 480px); object-fit: cover; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-5); position: relative; }
.timeline::before { content: ''; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--color-border)); }
.tl { position: relative; padding-top: var(--space-8); }
.tl::before { content: ''; position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--color-surface); border: 3px solid var(--cyan); }
.tl--next::before { border-style: dashed; border-color: var(--color-text-faint); }
.tl__when { font-size: var(--text-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--color-accent-ink); }
.tl h3 { font-size: var(--text-base); font-weight: 600; margin-block: var(--space-2); }
.tl p { font-size: var(--text-sm); color: var(--color-text-muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.values article { padding: var(--space-8); border-radius: var(--radius-lg); background: var(--color-bg); border: 1px solid var(--color-divider); }
.values h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-3); color: var(--color-text); }
.values p { color: var(--color-text-muted); font-size: var(--text-sm); }
@media (max-width: 1000px) { .timeline { grid-template-columns: 1fr; gap: var(--space-6); padding-left: var(--space-8); } .timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--cyan), var(--color-border)); } .tl { padding-top: 0; } .tl::before { left: calc(-1 * var(--space-8)); top: 2px; } }
@media (max-width: 860px) { .story__intro, .values { grid-template-columns: 1fr; } }

/* ===== Gallery ===== */
.gallery__grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 280px 280px; gap: var(--space-4); }
.g { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.g:hover img { transform: scale(1.04); }
.g::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 24 48 / .75), transparent 55%); }
.g figcaption { position: absolute; left: var(--space-5); right: var(--space-5); bottom: var(--space-4); z-index: 1; color: #fff; font-size: var(--text-sm); }
.g figcaption b { display: block; font-size: var(--text-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2px; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }
@media (max-width: 860px) { .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-auto-rows: 240px; } .g--tall { grid-row: span 1; } .g--wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery__grid { grid-template-columns: 1fr; } .g--wide { grid-column: span 1; } }

/* ===== Tab image panels ===== */
.panel__stat--img { background: linear-gradient(to top, rgb(2 30 58 / .92) 10%, rgb(2 30 58 / .25) 75%), var(--bg) center/cover; min-height: 300px; }
.panel__stat--img::before { display: none; }

/* ===== FAQ ===== */
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: start; }
.faq__all { margin-top: var(--space-6); }
.faq__list { border-top: 1px solid var(--color-divider); }
.faq__list details { border-bottom: 1px solid var(--color-divider); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5) 0; font-weight: 600; font-size: var(--text-base); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--color-accent-soft) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302376B' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform var(--transition-interactive); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list summary:hover { color: var(--color-accent-ink); }
.faq__list details > div { padding-bottom: var(--space-5); color: var(--color-text-muted); animation: fade .3s both; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ===== Section navigation ===== */
.secnav { position: fixed; right: var(--space-5); top: 50%; transform: translateY(-50%); z-index: 40; }
.secnav__dots { display: grid; gap: var(--space-3); }
.secnav__dots a { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); text-decoration: none; height: 14px; }
.secnav__dots a span { font-size: .75rem; font-weight: 500; color: var(--color-text); background: var(--color-surface); padding: 2px var(--space-2); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; white-space: nowrap; pointer-events: none; }
.secnav__dots a i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-text-faint); transition: all .25s; flex: none; }
.secnav__dots a:hover span, .secnav__dots a:focus-visible span { opacity: 1; transform: none; }
.secnav__dots a[aria-current='true'] i { background: var(--cyan); height: 20px; border-radius: 4px; }
.secnav.on-dark .secnav__dots a i { background: rgb(255 255 255 / .45); }
.secnav.on-dark .secnav__dots a[aria-current='true'] i { background: var(--cyan); }
@media (max-width: 1280px) { .secnav { display: none; } }

.stepper { position: fixed; left: 50%; bottom: var(--space-5); transform: translate(-50%, 150%); z-index: 45; display: flex; align-items: center; gap: var(--space-1); padding: var(--space-1); background: color-mix(in oklab, var(--color-surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--color-divider); border-radius: var(--radius-full); box-shadow: var(--shadow-lg); transition: transform .4s cubic-bezier(.16,1,.3,1); }
.stepper.is-visible { transform: translate(-50%, 0); }
.stepper__btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--color-text); }
.stepper__btn:hover:not(:disabled) { background: var(--color-surface-2); }
.stepper__btn:disabled { opacity: .3; cursor: default; }
.stepper__label { font-size: var(--text-xs); font-weight: 600; min-width: 9.5rem; text-align: center; color: var(--color-text); }
.stepper__top { border-left: 1px solid var(--color-divider); border-radius: 0 50% 50% 0; margin-left: var(--space-1); }
@media (max-width: 480px) { .stepper__label { min-width: 7.5rem; } }

/* ===== v3: Circle of Care logo ===== */
.brand__mark { width: 38px; height: 38px; color: var(--navy); }
[data-theme='dark'] .brand__mark { color: #FFFFFF; }
.brand__word { font-family: 'Manrope', var(--font-body); font-weight: 500; font-size: 1.25rem; letter-spacing: -.02em; color: var(--navy); }
.brand__word strong { font-weight: 800; color: var(--cyan); }
[data-theme='dark'] .brand__word { color: #FFFFFF; }
.footer__logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.footer__logo .brand__mark { width: 32px; height: 32px; }
.int__hub svg { width: 64px; height: 64px; color: #FFFFFF; }

/* ===== Trust strip ===== */
.trust { background: var(--color-deep); color: var(--color-on-deep); padding-block: var(--space-5); }
.trust__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-8); }
.trust__title { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: var(--text-sm); color: #fff; }
.trust__title svg { color: var(--cyan); }
.trust__list { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); flex: 1; }
.trust__list li { font-size: var(--text-xs); color: var(--color-on-deep-muted); display: inline-flex; align-items: center; gap: var(--space-2); }
.trust__list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.trust .link { color: var(--cyan); }

/* ===== Story breakdown ===== */
.story__lede p:first-child { font-size: var(--text-lg); }
.story__parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); }
.part { padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: var(--color-bg); border: 1px solid var(--color-divider); }
.part--accent { background: var(--color-deep); border-color: transparent; color: var(--color-on-deep); }
.part__n { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-accent-ink); line-height: 1; }
.part--accent .part__n { color: var(--cyan); }
.part h3 { font-size: var(--text-lg); font-weight: 600; margin-block: var(--space-4) var(--space-4); }
.part > p { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.tags li { font-size: var(--text-xs); font-weight: 500; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); background: var(--color-accent-soft); color: var(--navy); }
[data-theme='dark'] .tags li { color: var(--cyan); }
.roles { display: grid; gap: var(--space-3); }
.roles li { display: grid; gap: 2px; padding-left: var(--space-4); border-left: 3px solid var(--cyan); }
.roles b { font-size: var(--text-sm); font-weight: 600; }
.roles span { font-size: var(--text-sm); color: var(--color-text-muted); }
.moves { display: grid; gap: var(--space-4); counter-reset: mv; }
.moves li { display: grid; grid-template-columns: 32px 1fr; column-gap: var(--space-3); counter-increment: mv; }
.moves li::before { content: counter(mv); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: var(--text-xs); font-weight: 700; background: var(--cyan); color: #02264A; }
.moves b { font-size: var(--text-sm); font-weight: 600; color: #fff; }
.moves span { font-size: var(--text-sm); color: var(--color-on-deep-muted); }
@media (max-width: 960px) { .story__parts { grid-template-columns: 1fr; } }

/* ===== Security v3 ===== */
.sec__head { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: end; margin-bottom: clamp(var(--space-10), 5vw, var(--space-16)); }
.sec__head .section-lede { margin-top: 0; }
.sec__badges { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.sec__badges li { font-size: var(--text-xs); font-weight: 600; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-surface); display: inline-flex; align-items: center; gap: var(--space-2); }
.sec__badges li::before { content: ''; width: 14px; height: 14px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230DB7EC' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 4.5 3.4 8.3 8 9 4.6-.7 8-4.5 8-9V6l-8-3Z'/%3E%3C/svg%3E"); }
.sec__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.sec__card { padding: clamp(var(--space-6), 3vw, var(--space-10)); border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-divider); }
.sec__card h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); margin-bottom: var(--space-6); }
.sec__card--dark { background: var(--color-deep); border-color: transparent; color: var(--color-on-deep); }
.sec__dl { display: grid; gap: var(--space-5); }
.sec__dl div { padding-top: var(--space-4); border-top: 1px solid var(--color-divider); }
.sec__dl dt { font-weight: 600; font-size: var(--text-sm); color: var(--color-accent-ink); margin-bottom: var(--space-1); text-transform: uppercase; letter-spacing: .08em; }
.sec__dl dd { font-size: var(--text-sm); color: var(--color-text-muted); }
.sec__checks { display: grid; gap: var(--space-4); }
.sec__checks li { display: grid; grid-template-columns: 22px 1fr; gap: var(--space-3); font-size: var(--text-sm); color: var(--color-on-deep-muted); }
.sec__checks li::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302264A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.sec__checks b { color: #fff; font-weight: 600; }
.security .sec__list { grid-template-columns: repeat(4, 1fr); margin-top: var(--space-5); }
@media (max-width: 960px) { .sec__head, .sec__cols { grid-template-columns: 1fr; } .security .sec__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .security .sec__list { grid-template-columns: 1fr; } }

/* ===== About advisors ===== */
.advisors { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.advisors li { font-size: var(--text-xs); font-weight: 500; padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-divider); }
.sec__checks li { display: block; position: relative; padding-left: calc(22px + var(--space-3)); }
.sec__checks li::before { position: absolute; left: 0; top: 1px; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer__legal-links a { color: var(--color-text-muted); text-decoration: none; }
.footer__legal-links a:hover { color: var(--color-text); text-decoration: underline; }
.demo__note a { color: var(--cyan); }

/* ===== Legal pages ===== */
.legal { padding-block: var(--space-10) var(--space-24); }
.legal__wrap { max-width: 1080px; }
.legal__draft { font-size: var(--text-sm); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: #FFF6DB; color: #5C4300; border: 1px solid #F0D58A; margin-bottom: var(--space-8); }
[data-theme='dark'] .legal__draft { background: #3A2F10; color: #F5DE9A; border-color: #6B5620; }
.legal__back { display: inline-block; font-size: var(--text-sm); font-weight: 500; color: var(--color-accent-ink); text-decoration: none; margin-bottom: var(--space-4); }
.legal__back:hover { text-decoration: underline; }
.legal__title { font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl); color: var(--color-text); letter-spacing: -.015em; }
[data-theme='light'] .legal__title { color: var(--navy); }
.legal__meta { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-3); }
.legal__grid { display: grid; grid-template-columns: 220px 1fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); margin-top: var(--space-12); align-items: start; }
.legal__toc { position: sticky; top: 100px; }
.legal__toc p { font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.legal__toc ol { display: grid; gap: 2px; border-left: 2px solid var(--color-divider); }
.legal__toc a { display: block; font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none; padding: var(--space-1) var(--space-4); margin-left: -2px; border-left: 2px solid transparent; }
.legal__toc a:hover { color: var(--color-text); }
.legal__toc a[aria-current] { color: var(--color-accent-ink); border-left-color: var(--cyan); font-weight: 600; }
.legal__body { max-width: 72ch; }
.legal__body section { padding-bottom: var(--space-8); margin-bottom: var(--space-8); border-bottom: 1px solid var(--color-divider); scroll-margin-top: 100px; }
.legal__body section:last-child { border-bottom: none; }
.legal__body h2 { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-4); color: var(--color-text); }
.legal__body h3 { font-size: var(--text-base); font-weight: 600; margin: var(--space-5) 0 var(--space-2); }
.legal__body p, .legal__body li { color: var(--color-text-muted); font-size: var(--text-base); }
.legal__body p + p { margin-top: var(--space-3); }
.legal__body ul { padding-left: var(--space-5); display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.legal__body b { color: var(--color-text); font-weight: 600; }
.ph { background: #FFF1B8; color: #5C4300; padding: 0 4px; border-radius: 3px; font-weight: 500; }
[data-theme='dark'] .ph { background: #4A3C12; color: #F5DE9A; }
.legal__other { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.legal__other a { font-size: var(--text-sm); font-weight: 500; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); border: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); }
.legal__other a[aria-current='page'] { background: var(--navy); color: #fff; border-color: var(--navy); }
.legal-page .header__actions { margin-left: auto; }
@media (max-width: 800px) { .legal__grid { grid-template-columns: 1fr; } .legal__toc { position: static; } }

/* ===================== v5: Ownership edits ===================== */
/* Hero: static photo + two overlay cards in opposite corners */
.hero__grid { grid-template-columns: 1fr 1.08fr; }
.hero__lede { font-size: var(--text-base); max-width: 58ch; }
.hero__photo { aspect-ratio: 3 / 2.15; }
.hero__photo img { object-position: 40% center; }
.ui-card { box-shadow: var(--shadow-lg); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); border: 1px solid var(--color-divider); }
.ui-card p { margin-top: var(--space-2); font-size: .8125rem; line-height: 1.45; color: var(--color-text); }
.ui-card p b { font-size: var(--text-base); font-weight: 600; }
.ui-sub { color: var(--color-text-muted); }
.ui-card--qm { left: calc(-1 * clamp(var(--space-4), 3vw, var(--space-10))); top: var(--space-6); width: min(250px, 58%); animation: rise .9s .2s both; }
.ui-spark { width: 100%; height: 30px; margin-top: var(--space-2); color: var(--color-text); }
.ui-card--family { right: calc(-1 * var(--space-4)); top: auto; bottom: var(--space-6); width: min(250px, 58%); animation: rise .9s .45s both; }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } .ui-card--qm { left: var(--space-3); } .ui-card--family { right: var(--space-3); } }
@media (max-width: 600px) {
  .ui-card { position: relative; inset: auto; width: 100%; margin-top: var(--space-3); animation: none; }
  .ui-card--family { display: block; }
}

/* Trust band */
.trust { padding-block: clamp(48px, 5vw, 64px); }
.trust__inner { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center; flex-wrap: nowrap; }
.trust__shield { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: rgb(13 183 236 / .14); color: var(--cyan); margin-bottom: var(--space-4); }
.trust__shield svg { width: 26px; height: 26px; }
.trust__title { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); line-height: 1.15; color: #fff; }
.trust__lead p { color: var(--color-on-deep-muted); font-size: var(--text-sm); margin-block: var(--space-3) var(--space-4); max-width: 38ch; }
.trust__lead .link { color: var(--cyan); }
.trust__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgb(255 255 255 / .14); border-left: 1px solid rgb(255 255 255 / .14); }
.tt { display: grid; grid-template-columns: 36px 1fr; gap: var(--space-4); padding: var(--space-6); border-right: 1px solid rgb(255 255 255 / .14); border-bottom: 1px solid rgb(255 255 255 / .14); }
.tt__ic { color: var(--cyan); } .tt__ic svg { width: 28px; height: 28px; }
.tt b { display: block; color: #fff; font-weight: 600; font-size: var(--text-sm); margin-bottom: 4px; }
.tt span { display: block; font-size: var(--text-sm); color: var(--color-on-deep-muted); line-height: 1.5; }
@media (max-width: 900px) { .trust__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trust__grid { grid-template-columns: 1fr; } }

/* Problem */
.problem__grid .h2 { position: static; }
.problem__head { position: sticky; top: 110px; align-self: start; }
.problem__support { margin-top: var(--space-5); color: var(--color-text-muted); max-width: 44ch; }
.problem__list { grid-auto-rows: 1fr; }
.problem__list li { grid-template-columns: 3rem 40px 1fr; align-items: start; }
.problem__list .pic { color: var(--color-accent-ink); padding-top: 2px; } .problem__list .pic svg { width: 26px; height: 26px; }
[data-theme='dark'] .problem__list .pic { color: var(--cyan); }
.problem__list b { display: block; margin-bottom: 4px; }
@media (max-width: 800px) { .problem__head { position: static; } .problem__list { grid-auto-rows: auto; } }

/* Platform */
.pillar__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: var(--space-5); }
.pillar__top .pillar__icon { margin-bottom: 0; }
.pillar__n { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text-faint); line-height: 1; }
.platform__note { display: flex; align-items: center; justify-content: center; gap: var(--space-3); text-align: center; margin-top: clamp(var(--space-8), 4vw, var(--space-12)); font-weight: 500; color: var(--color-text); }
.platform__note svg { width: 22px; height: 22px; flex: none; color: #02264A; background: var(--cyan); border-radius: 50%; padding: 4px; }

/* How: remove arc decoration, accent approval step */
.how::before { display: none; }
.how::after { right: -120px; top: auto; bottom: -120px; opacity: .6; }
.step--approve { border: 1.5px solid var(--cyan); background: rgb(13 183 236 / .1); }
.step__n--check svg { width: 22px; height: 22px; stroke-width: 2.6; }

/* Story */
.story__lede p:first-child { font-size: var(--text-lg); }
.story__wvw { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: clamp(var(--space-10), 5vw, var(--space-16)); }
.story__wvw article { padding: var(--space-8) var(--space-6); border-top: 3px solid var(--color-border); background: var(--color-bg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.story__wvw .wvw--accent { border-top-color: var(--cyan); }
.wvw__label { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text); margin-bottom: var(--space-3); }
[data-theme='light'] .wvw__label { color: var(--navy); }
.story__wvw p { font-size: var(--text-sm); color: var(--color-text-muted); }
.story__photo { position: relative; margin-block: clamp(var(--space-10), 6vw, var(--space-16)); border-radius: var(--radius-xl); overflow: hidden; }
.story__photo img { width: 100%; height: clamp(320px, 42vw, 540px); object-fit: cover; object-position: center 40%; }
.story__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(2 24 48 / .82) 0%, rgb(2 24 48 / .45) 40%, transparent 65%); }
.story__quote { position: absolute; left: clamp(var(--space-6), 4vw, var(--space-12)); bottom: clamp(var(--space-6), 4vw, var(--space-12)); max-width: 30ch; z-index: 1; color: #fff; }
.story__quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.25; }
.story__quote footer { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--cyan); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 960px) { .story__wvw { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .story__photo::after { background: linear-gradient(to top, rgb(2 24 48 / .9), transparent 75%); } .story__quote p { font-size: var(--text-lg); } }

/* Band: crop from the right */
.band img { object-position: 22% 35%; }

/* Gallery */
.g::after { background: linear-gradient(to top, rgb(2 20 40 / .88) 0%, rgb(2 20 40 / .45) 35%, transparent 65%); }
.g figcaption { font-size: var(--text-sm); line-height: 1.4; }
.g figcaption b { font-size: .75rem; }
.g--tall img { object-position: 30% center; }

/* Solutions */
.tabs__panel .panel { min-height: 460px; align-items: stretch; }
.panel__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgb(2 20 40 / .9) 0%, rgb(2 20 40 / .35) 40%, transparent 65%); }
.panel__ov { position: absolute; left: var(--space-6); right: var(--space-6); bottom: var(--space-5); z-index: 1; color: #fff; font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.3; }
.panel__ov b { display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 4px; }
.panel { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) {
  .tabs__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; border-radius: var(--radius-full); }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__list [role='tab'] { flex: none; white-space: nowrap; }
  .tabs__panel .panel { min-height: 0; }
}

/* Integrations flow diagram */
.flow { display: grid; grid-template-columns: 1fr 90px auto 90px 1fr; align-items: center; padding: clamp(var(--space-6), 4vw, var(--space-12)); border-radius: var(--radius-xl); background: var(--color-surface); border: 1px solid var(--color-divider); }
.flow__head { display: block; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: var(--space-3); }
.flow__col ul { display: grid; gap: var(--space-2); }
.flow__col li { font-size: var(--text-sm); font-weight: 500; padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-bg); }
.flow__col--out li { border-color: var(--cyan); background: var(--color-accent-soft); }
.flow__col--out { align-self: center; }
.flow__lines { width: 100%; height: 260px; }
.flow__lines path { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .75; }
.flow__hub { display: grid; justify-items: center; gap: var(--space-2); text-align: center; padding: var(--space-8) var(--space-6); border-radius: var(--radius-xl); background: var(--color-deep); color: #fff; min-width: 190px; }
.flow__hub svg { width: 60px; height: 60px; color: #fff; }
.flow__hub small { font-size: .75rem; color: var(--color-on-deep-muted); }
.flow__std { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--color-text-muted); text-align: center; }
.flow__std b { color: var(--color-text); font-weight: 600; }
.int__cta { margin-top: var(--space-8); }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: var(--space-4); }
  .flow__lines { display: none; }
  .flow__hub { justify-self: center; }
  .flow__hub::before, .flow__hub::after { content: ''; }
  .flow__col { position: relative; }
}

/* Security */
.security .sec__list--5 { grid-template-columns: repeat(5, 1fr); margin-top: 0; margin-bottom: var(--space-5); }
.sec__cols { align-items: stretch; }
.sec__card { display: flex; flex-direction: column; }
.sec__cta { margin-top: var(--space-8); text-align: center; color: var(--color-text-muted); font-size: var(--text-sm); }
@media (max-width: 1100px) { .security .sec__list--5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .security .sec__list--5 { grid-template-columns: 1fr; } }

/* FAQ */
.faq__side { position: sticky; top: 110px; }
.faq__card { margin-top: var(--space-10); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: 1px solid var(--color-divider); display: grid; gap: var(--space-3); justify-items: start; max-width: 340px; }
.faq__card b { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); }
.faq__card p { font-size: var(--text-sm); color: var(--color-text-muted); }
.faq__list summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; color: var(--color-accent-ink); }
.faq__list .link { white-space: nowrap; }
@media (max-width: 860px) { .faq__side { position: static; } }

/* Demo */
.demo__intro { color: #fff !important; font-weight: 600; }
.demo__checks { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.demo__checks li { position: relative; padding-left: 32px; color: var(--color-on-deep); font-size: var(--text-sm); }
.demo__checks li::before { content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan) no-repeat center/12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302264A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E"); }
.demo__family { font-size: var(--text-sm); }
.demo__family a { color: var(--cyan); font-weight: 600; }
.opt { font-weight: 400; color: var(--color-text-muted); }
.form label > span { display: inline; }
.form__interest { border: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.form__interest legend { font-size: var(--text-sm); font-weight: 500; margin-bottom: var(--space-2); width: 100%; }
.form label.cb { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 400; }
.form .cb input { width: 18px; height: 18px; accent-color: var(--navy); padding: 0; }

/* Section dots: no overlap with full-bleed dark bands */
.secnav { right: 10px; padding: 8px 6px; border-radius: 999px; background: color-mix(in oklab, var(--color-surface) 80%, transparent); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); }
.secnav__dots { gap: 10px; }
.secnav__dots a { height: 12px; }
.secnav.on-dark { background: rgb(2 30 58 / .55); }
@media (max-width: 1360px) { .secnav { display: none; } }

/* Floating stepper: smaller, bottom-right, only while scrolling, hidden over demo */
.stepper { left: auto; right: var(--space-5); bottom: var(--space-5); transform: translateY(150%); opacity: 0; transition: transform .35s ease, opacity .35s ease; padding: 2px; }
.stepper.is-visible { transform: none; opacity: 1; }
.stepper__btn { width: 32px; height: 32px; }
.stepper__label { min-width: 0; padding-inline: var(--space-2); font-size: .7rem; white-space: nowrap; }
@media (max-width: 480px) { .stepper__label { display: none; } }
.secnav { padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
.secnav__dots { padding: 10px 7px; border-radius: 999px; background: color-mix(in oklab, var(--color-surface) 85%, transparent); box-shadow: var(--shadow-sm); }
.secnav.on-dark .secnav__dots { background: rgb(2 30 58 / .6); }
.secnav.on-dark { background: none; }
.secnav__dots a { position: relative; justify-content: center; }
.secnav__dots a span { position: absolute; right: calc(100% + 12px); white-space: nowrap; }
.hero__grid { grid-template-columns: .95fr 1.15fr; }
.hero__photo { aspect-ratio: 4 / 3.4; }
.hero__photo img { object-position: 52% center; }
.platform__note svg { width: 26px; height: 26px; padding: 5px; stroke: #02264A; stroke-width: 3; }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } }
.story__quote { max-width: 40ch; }
.story__quote p { font-size: var(--text-lg); line-height: 1.35; }
.band { overflow: hidden; }
.band img { transform: scale(1.22); transform-origin: 0% 40%; }
@media (max-width: 860px) { .panel { grid-template-columns: 1fr; } .panel__media { min-height: 260px; } }
@media (max-width: 600px) { .story__photo img { height: 440px; } }
.step__badge { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 6px; vertical-align: 2px; border-radius: 50%; background: var(--cyan); color: #02264A; }
.step__badge svg { width: 13px; height: 13px; stroke-width: 3; }
.g--tall img { object-position: 45% center; }
.vf--still { margin: 0; } .vf--still .chip { opacity: 1; transform: none; animation: none; }
.hero__title { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); line-height: 1.04; }
.hero__sub { margin-top: var(--space-5); font-size: var(--text-lg); line-height: 1.4; font-weight: 500; color: var(--color-text); max-width: 34ch; }
.hero__lede { margin-top: var(--space-4); }
.hero__tag { margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--text-lg); color: var(--navy); }
[data-theme='dark'] .hero__tag { color: var(--cyan); }
.hero__sub + .hero__lede { margin-top: var(--space-4); }
.hero__grid { grid-template-columns: 1.05fr 1fr; }
.hero__title { font-size: clamp(2.4rem, 1.5rem + 2.2vw, 3.6rem); }
.hero__title > span, .hero__title > em { display: block; }
.hero__sub { max-width: 44ch; font-size: var(--text-base); }
.hero__tag { font-size: var(--text-base); }
.hero__ctas { margin-top: var(--space-6); }
.hero__points { margin-top: var(--space-6); }
@media (max-width: 1100px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__sub--top { margin: 0 0 var(--space-5); font-size: var(--text-sm); font-weight: 600; letter-spacing: .02em; color: var(--color-accent-ink); max-width: 46ch; }
[data-theme='dark'] .hero__sub--top { color: var(--cyan); }
.hero__sub--top + .hero__title + .hero__lede { margin-top: var(--space-6); }

/* ===== Multi-page drafts ===== */
.home-only .hero { min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: grid; align-items: center; padding-block: var(--space-10); }
body:not(.page-index) main > .section:first-child { padding-top: clamp(var(--space-12), 6vw, var(--space-20)); }
.nav a[aria-current='page'], .nav .dd__btn.is-current { color: var(--color-accent-ink); }

/* ===== Draft 2: hero info tabs along the bottom of the photo ===== */
.hero__photo::after { content: ''; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, rgb(2 24 48 / .85), transparent); pointer-events: none; }
.hero__tabs { position: absolute; left: var(--space-4); right: var(--space-4); bottom: var(--space-4); z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.htab { display: grid; gap: 3px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: rgb(2 30 58 / .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .14); border-left: 3px solid var(--cyan); }
.htab__label { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.htab__text { font-size: .8125rem; line-height: 1.35; color: #fff; }
@media (max-width: 520px) { .hero__tabs { grid-template-columns: 1fr; left: var(--space-3); right: var(--space-3); bottom: var(--space-3); gap: var(--space-2); } .hero__photo { aspect-ratio: 4 / 4.2; } }
