/* dataline.vn stylesheet (DL-11 redesign, 2026-11-16).
   Brand: navy only, Manrope, the logo's 3 x 3 grid as the motif (brand/BRAND_GUIDE.md section 8).
   Motion rule: nothing is hidden unless an animation or site.js is there to show it again,
   and prefers-reduced-motion shows every element at rest. */
:root {
  --navy: #14325A;
  --deep: #0A1F38;
  --deeper: #071729;
  --mid: #2F5A8A;
  --light: #8FB3E0;
  --tint: #EEF3F9;
  --tint2: #F6F8FB;
  --text: #334155;
  --muted: #5B6B80;
  --line: #D8E0EA;
  --on-dark: #C9D8EC;
  --glass: rgba(143, 179, 224, .07);
  --glass-line: rgba(143, 179, 224, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: "Manrope", system-ui, sans-serif; font-weight: 500; line-height: 1.6; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.nw { white-space: nowrap; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--light); outline-offset: 3px; border-radius: 6px; }

svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 16px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(143, 179, 224, .6); }
.btn-light:hover { box-shadow: 0 16px 40px -10px rgba(143, 179, 224, .85); }
.btn-outline { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04); backdrop-filter: blur(6px); }
.btn-outline:hover { border-color: var(--light); background: rgba(143, 179, 224, .1); }
.btn-nav { padding: 10px 20px; font-size: 15px; white-space: nowrap; background: #fff; color: var(--navy); }
.nav-back { margin-left: 0; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .24); font-size: 13px; font-weight: 800; letter-spacing: .04em; transition: border-color .35s; }
.lang a { padding: 5px 9px; border-radius: 7px; color: rgba(255, 255, 255, .78); transition: background .25s, color .25s; }
.lang a:hover { color: #fff; }
.lang a[aria-current] { background: rgba(255, 255, 255, .16); color: #fff; }
.lang.push { margin-left: auto; }
.nav.solid .lang, .nav.scrolled .lang { border-color: var(--line); }
.nav.solid .lang a, .nav.scrolled .lang a { color: var(--muted); }
.nav.solid .lang a:hover, .nav.scrolled .lang a:hover { color: var(--navy); }
.nav.solid .lang a[aria-current], .nav.scrolled .lang a[aria-current] { background: var(--tint); color: var(--navy); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 26px -12px rgba(20, 50, 90, .6); }
.btn-primary:hover { background: var(--mid); }
.btn-ghost { color: var(--navy); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--mid); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.logo { position: relative; display: block; width: 186px; }
.logo img { width: 186px; height: auto; transition: opacity .35s; }
.logo .logo-navy { position: absolute; inset: 0; opacity: 0; }
.nav .links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .86); }
.nav .links a { position: relative; padding: 6px 0; transition: color .25s; }
.nav .links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav .links a:hover::after { transform: scaleX(1); }
.nav.solid, .nav.scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(10, 31, 56, .35); }
.nav.scrolled .logo-white { opacity: 0; }
.nav.scrolled .logo-navy { opacity: 1; }
.nav.scrolled .links { color: var(--navy); }
.nav.solid .btn-nav, .nav.scrolled .btn-nav { background: var(--navy); color: #fff; }

/* ---------- Dark surfaces ---------- */
.dark { position: relative; overflow: hidden; color: var(--on-dark); background:
  radial-gradient(900px 520px at 78% 18%, rgba(47, 90, 138, .55), transparent 62%),
  radial-gradient(700px 480px at 8% 92%, rgba(20, 50, 90, .9), transparent 70%),
  linear-gradient(180deg, var(--deep), var(--deeper)); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--light); }
.gridlines { position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(143, 179, 224, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 179, 224, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.traces { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trace-base path { stroke: rgba(143, 179, 224, .14); stroke-width: 1.2; }
.trace-pulse path { stroke: var(--light); stroke-width: 2; stroke-dasharray: 70 930; stroke-dashoffset: 1000; filter: drop-shadow(0 0 6px rgba(143, 179, 224, .9)); animation: trace var(--t) linear var(--d) infinite; }
.trace-node circle { fill: var(--deep); stroke: rgba(143, 179, 224, .55); stroke-width: 1.5; }
@keyframes trace { to { stroke-dashoffset: 0; } }

.glass { background: linear-gradient(160deg, rgba(143, 179, 224, .12), rgba(143, 179, 224, .03)); border: 1px solid var(--glass-line); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; padding-bottom: 96px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--light); background: rgba(143, 179, 224, .08); border: 1px solid var(--glass-line); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--light); box-shadow: 0 0 0 0 rgba(143, 179, 224, .7); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 10px rgba(143, 179, 224, 0); } }
.hero h1 { margin-bottom: 24px; }
.hl { background: linear-gradient(90deg, #fff, var(--light) 60%, #fff); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 6s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.hero .lead { font-size: 19px; color: var(--on-dark); max-width: 560px; margin-bottom: 36px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; min-height: 470px; display: grid; align-items: end; }
.mark { position: absolute; top: -10px; right: -10px; display: grid; grid-template-columns: repeat(3, 92px); gap: 22px; }
.mark i { aspect-ratio: 1; border-radius: 25%; border: 1px dashed rgba(143, 179, 224, .18); }
.mark i.on { border: 1px solid rgba(143, 179, 224, .35); background: linear-gradient(150deg, rgba(143, 179, 224, .32), rgba(47, 90, 138, .12)); animation: tile 4.8s var(--ease) calc(var(--i) * .28s) infinite; }
@keyframes tile { 0%, 60%, 100% { box-shadow: 0 0 0 rgba(143, 179, 224, 0); opacity: .75; } 20% { box-shadow: 0 0 34px rgba(143, 179, 224, .55); opacity: 1; } }

.panel { position: relative; border-radius: 22px; padding: 26px 26px 22px; width: min(440px, 100%); }
.panel-top { display: flex; gap: 6px; margin-bottom: 18px; }
.panel-top span { width: 9px; height: 9px; border-radius: 50%; background: rgba(143, 179, 224, .3); }
.panel h2 { font-size: 21px; margin-bottom: 8px; }
.panel > p { font-size: 15px; color: var(--on-dark); margin-bottom: 18px; }
.tasks li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; font-weight: 600; color: #E3ECF7; overflow: hidden; transition: background .4s; }
.tasks li + li { margin-top: 4px; }
.tasks .icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(143, 179, 224, .12); color: var(--light); transition: background .4s, color .4s; }
.tasks .icon svg { width: 20px; height: 20px; }
.tasks .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--light)); transform: scaleX(0); transform-origin: left; }
.tasks li.active { background: rgba(143, 179, 224, .12); }
.tasks li.active .icon { background: var(--light); color: var(--deep); }
.tasks li.active .bar { animation: fill 2.2s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }

.marquee { position: relative; border-top: 1px solid var(--glass-line); padding: 22px 0 26px; }
.marquee-label { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--light); margin-bottom: 14px; }
.marquee-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 14px; width: max-content; animation: slide 34s linear infinite; }
.marquee-row span { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--glass-line); color: #E3ECF7; font-weight: 600; font-size: 15px; white-space: nowrap; background: rgba(143, 179, 224, .05); }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* entrance on load: the hidden state lives only inside the animation, so text shows if animations do not run */
.load { animation: rise .9s var(--ease) calc(var(--d) * .12s + .1s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Sections ---------- */
section { padding: 112px 0; }
.alt { background: var(--tint2); }
.dots { background-image: radial-gradient(rgba(20, 50, 90, .09) 1px, transparent 1px); background-size: 22px 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mid); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.head > p { font-size: 18px; color: var(--muted); }
.dark .head > p { color: var(--on-dark); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* spotlight that follows the pointer */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 90, 138, .14), transparent 45%); }
.spot:hover::before { opacity: 1; }
.dark .spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 179, 224, .18), transparent 45%); }

.icon { display: inline-grid; place-items: center; }
.card .icon, .person .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--navy); margin-bottom: 22px; transition: transform .35s var(--ease), background .35s, color .35s; }
.card .icon svg, .person .icon svg { width: 26px; height: 26px; }
.card:hover .icon, .person:hover .icon { background: var(--navy); color: #fff; transform: translateY(-3px) rotate(-4deg); }

.cards.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); border-color: rgba(47, 90, 138, .4); box-shadow: 0 30px 60px -30px rgba(10, 31, 56, .35); }
.card .num { position: absolute; top: 24px; right: 30px; font-size: 64px; font-weight: 800; line-height: 1; color: var(--tint); transition: color .35s; }
.card:hover .num { color: #DCE6F2; }
.card h3 { font-size: 23px; margin-bottom: 12px; }
.card > p { margin-bottom: 22px; }
.card ul li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--tint); font-weight: 600; color: var(--navy); }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 12px; border-radius: 3px; background: var(--navy); box-shadow: 4px -4px 0 -1px var(--light); }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(10, 31, 56, .35); }
.person h3 { margin-bottom: 8px; }

/* timeline */
.timeline { position: relative; }
.track { position: absolute; left: 32px; right: 32px; top: 31px; height: 2px; background: var(--line); }
.track span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy), var(--light)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.timeline.in .track span { transform: scaleX(1); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; }
.step .n { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--navy); background: #fff; border: 2px solid var(--line); margin-bottom: 26px; transition: background .5s, color .5s, border-color .5s, box-shadow .5s; transition-delay: calc(.4s + var(--d) * .45s); }
.timeline.in .step .n { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 12px 30px -10px rgba(20, 50, 90, .55); }
.step h3 { font-size: 21px; margin-bottom: 8px; }

/* data band */
.band { padding: 120px 0; }
.flow { display: flex; align-items: center; margin: 8px 0 56px; }
.node { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 700; color: #E3ECF7; font-size: 15px; width: 150px; flex: none; }
.node .icon { width: 68px; height: 68px; border-radius: 20px; background: rgba(143, 179, 224, .1); border: 1px solid var(--glass-line); color: var(--light); }
.node .icon svg { width: 30px; height: 30px; }
.node.ai .icon, .node.person-check .icon { background: rgba(143, 179, 224, .2); box-shadow: 0 0 40px -6px rgba(143, 179, 224, .5); }
.wire { flex: 1; height: 2px; margin: 0 4px 34px; background: rgba(143, 179, 224, .2); position: relative; overflow: hidden; border-radius: 2px; }
.wire::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -40%; background: linear-gradient(90deg, transparent, var(--light), transparent); animation: run 2.7s linear calc(var(--d) * .9s) infinite; }
@keyframes run { 0% { left: -40%; } 33%, 100% { left: 100%; } }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.principles li { border-radius: 18px; padding: 26px; transition: transform .35s var(--ease), border-color .35s; }
.principles li:hover { transform: translateY(-5px); border-color: rgba(143, 179, 224, .45); }
.principles h3 { font-size: 17px; margin-bottom: 10px; }
.principles p { font-size: 15px; }

/* scope */
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.scope-col { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.scope-col h3 { margin-bottom: 14px; }
.scope li { position: relative; padding: 12px 0 12px 36px; border-top: 1px solid var(--tint); font-weight: 600; }
.scope li::before { position: absolute; left: 0; top: 12px; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.yes li::before { content: "\2713"; background: var(--navy); color: #fff; }
.no li::before { content: "\2715"; background: var(--tint); color: var(--muted); }

/* founder */
.founder-top { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.founder-photo { position: relative; isolation: isolate; }
.frame { position: relative; border-radius: 26px; padding: 6px; background: linear-gradient(150deg, var(--navy), var(--light)); box-shadow: 0 40px 70px -35px rgba(10, 31, 56, .6); }
.frame img { border-radius: 21px; width: 100%; height: auto; }
.mark.mini { position: absolute; top: auto; right: -26px; bottom: -26px; grid-template-columns: repeat(3, 26px); gap: 7px; z-index: -1; }
.mark.mini i { border-color: rgba(20, 50, 90, .2); }
.mark.mini i.on { background: var(--navy); border-color: var(--navy); }
.founder-role { font-weight: 700; color: var(--mid); margin: 8px 0 16px; }
.founder-lead { font-size: 19px; color: var(--navy); font-weight: 600; margin-bottom: 10px; }
.founder-pos { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 22px; }
.stats li { background: var(--tint2); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.stats b { font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.stats .suf { font-size: 28px; font-weight: 800; color: var(--mid); margin-left: 2px; }
.stats .lbl { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.career { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin: 64px 0 40px; padding-top: 30px; }
.career::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--line), var(--navy)); }
.career li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.career li::before { content: ""; position: absolute; top: -30px; left: 0; width: 16px; height: 16px; border-radius: 5px; background: #fff; border: 2px solid var(--navy); }
.career li.now::before { background: var(--navy); box-shadow: 0 0 0 6px rgba(143, 179, 224, .4); }
.career .yr { font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--mid); }
.career .org { font-size: 16px; font-weight: 800; color: var(--navy); }
.career .pos { font-size: 14px; line-height: 1.45; color: var(--muted); }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.highlights > li { background: var(--tint2); border-radius: 16px; padding: 22px; border-top: 3px solid var(--navy); }
.hl-list li { position: relative; padding: 8px 0 8px 18px; font-size: 14.5px; line-height: 1.5; border-top: 1px solid var(--line); }
.hl-list li:first-child { border-top: 0; }
.hl-list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 7px; height: 7px; border-radius: 2px; background: var(--navy); }
.highlights h3 { font-size: 16px; margin-bottom: 8px; }
.cred-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cred-groups h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--mid); margin-bottom: 10px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; }
.creds li { font-size: 14px; font-weight: 700; color: var(--navy); background: var(--tint); border-radius: 10px; padding: 6px 12px; }
.founder-link { margin-top: 4px; }
.founder-link a { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--light); }

/* faq */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: rgba(47, 90, 138, .45); box-shadow: 0 18px 40px -28px rgba(10, 31, 56, .4); }
summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 700; color: var(--navy); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--mid); border-bottom: 2px solid var(--mid); transform: rotate(45deg); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
details p { padding: 0 24px 22px; }

/* final */
.final { text-align: center; padding: 130px 0; }
.final h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.final p { max-width: 620px; margin: 0 auto 34px; font-size: 18px; }
.final .cta { justify-content: center; }
.final .eyebrow::before { display: none; }

/* footer */
.footer { background: var(--deeper); color: #A9BCD6; padding: 72px 0 36px; font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(143, 179, 224, .14); }
.footer .about img { width: 186px; height: auto; margin-bottom: 16px; }
.footer h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: #fff; }
.legal { padding-top: 26px; font-size: 13.5px; display: grid; gap: 4px; }

/* ---------- Policy page ---------- */
.doc-hero { padding: 150px 0 64px; }
.doc-hero .wrap, .doc-body .wrap { max-width: 760px; }
.doc-hero h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 10px; }
.doc-meta { color: var(--light); font-size: 15px; font-weight: 600; }
.doc-body { padding: 64px 0 96px; }
.doc-body h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: 0; }
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: 17px; margin: 18px 0 6px; }
.doc-body p + p { margin-top: 10px; }
.doc-body ul { margin: 10px 0 10px 22px; list-style: disc; display: grid; gap: 6px; }
.doc-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.doc-note { background: var(--tint); border-left: 3px solid var(--navy); border-radius: 10px; padding: 14px 18px; margin-bottom: 36px; font-size: 15px; }
.footer .legal:first-child { padding-top: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; align-items: center; padding: 120px 0 80px; text-align: center; }
.notfound-code { font-size: clamp(110px, 20vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(180deg, #fff, rgba(143, 179, 224, .35)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(143, 179, 224, .35)); }
.notfound h1 { font-size: clamp(28px, 4vw, 40px); margin: 12px 0 14px; }
.notfound .lead { margin: 0 auto 32px; font-size: 18px; }
.notfound .cta { justify-content: center; }
.notfound .alt-lang { margin-top: 28px; font-size: 15px; }
.notfound .alt-lang a { color: #fff; border-bottom: 2px solid var(--light); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .head, .founder-top, .faq { grid-template-columns: 1fr; }
  .founder-top { gap: 36px; align-items: start; }
  .career { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .career::before { display: none; }
  .career li::before { top: -26px; }
  .hero-grid { gap: 40px; }
  .hero-visual { min-height: 0; }
  .mark { grid-template-columns: repeat(3, 64px); gap: 16px; top: -40px; right: 0; }
  .head { gap: 16px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .highlights, .cred-groups { grid-template-columns: 1fr; }
  .founder-photo { max-width: 300px; }
  .nav .links { display: none; }
  .nav .lang { margin-left: auto; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .hero { padding-top: 116px; }
  .doc-hero { padding: 116px 0 48px; }
  .hero .lead { font-size: 17px; }
  .cards.two, .people, .steps, .scope, .principles { grid-template-columns: 1fr; }
  .card, .person, .scope-col { padding: 26px; }
  .card .num { font-size: 48px; }
  .track { left: 31px; right: auto; top: 32px; bottom: 32px; width: 2px; height: auto; }
  .track span { transform: scaleY(0); transform-origin: top; }
  .timeline.in .track span { transform: scaleY(1); }
  .step { padding-left: 88px; position: relative; min-height: 64px; }
  .step .n { position: absolute; left: 0; top: 0; }
  .flow { flex-direction: column; align-items: stretch; }
  .node { flex-direction: row; width: auto; text-align: left; }
  .wire { width: 2px; height: 34px; flex: none; margin: 4px 0 4px 33px; }
  .wire::after { width: auto; height: 40%; left: 0; right: 0; top: -40%; background: linear-gradient(180deg, transparent, var(--light), transparent); animation-name: run-v; }
  .footer .cols { grid-template-columns: 1fr; }
  .wrap { width: min(1180px, 100% - 32px); }
  .stats { gap: 8px; }
  .stats li { padding: 14px 12px; }
  .stats b { font-size: 30px; }
  .stats .suf { font-size: 22px; }
  .stats .lbl { font-size: 13px; }
  .career { grid-template-columns: 1fr; padding: 0 0 0 32px; row-gap: 22px; }
  .career::before { display: block; left: 7px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: linear-gradient(180deg, var(--line), var(--navy)); }
  .career li::before { top: 3px; left: -32px; }
  .mark { display: none; }
  .nav .wrap { gap: 12px; }
  .logo, .logo img { width: 140px; }
  .btn-nav { padding: 9px 14px; }
}
@keyframes run-v { 0% { top: -40%; } 33%, 100% { top: 100%; } }

/* Motion off for people who ask for it: everything is shown at rest. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .trace-pulse { display: none; }
  .track span { transform: none !important; }
  .hl { color: var(--light); }
}
