/* Cortex9 landing — one stylesheet, tokens first. No frameworks. */
@font-face {
  font-family: "Jura";
  src: url("fonts/jura-var.woff2?v=20261023b") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #0B1016;
  --bg-2: #0F161E;
  --surface: #141D27;
  --surface-2: #1A2531;
  --line: #243242;
  --ink: #EAF0F6;
  --ink-2: #A9B6C4;
  --ink-3: #7E8C9B;
  --brand: #3B5BDB;
  --brand-2: #1E3A8A;
  --teal: #1FB8C8;
  --teal-2: #3CC6D6;
  --grad: linear-gradient(135deg, #1E3A8A 0%, #3B5BDB 38%, #1FB8C8 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .65);
  --display: "Jura", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; margin: 0; line-height: 1.08; }
em { font-style: normal; background: linear-gradient(90deg, #6D8BFF, #22D3EE); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sym-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow { font: 600 13px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--teal-2); margin-bottom: 18px; }
.sub { color: var(--ink-2); font-size: clamp(16px, 1.35vw, 19px); max-width: 560px; margin-top: 18px; }
h2 { font-size: clamp(34px, 4.6vw, 64px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--display);
  letter-spacing: .02em; transition: transform .2s ease, box-shadow .3s ease, background .3s ease;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 18px; }
.btn-glow { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(31, 184, 200, .7); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(31, 184, 200, .9); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: #3a4c60; background: rgba(255, 255, 255, .06); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(11, 16, 22, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom-color: rgba(255, 255, 255, .06); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 30px; }
.brand-word { font: 600 23px/1 var(--display); letter-spacing: .01em; color: var(--ink); }
.brand-word b { font-weight: 600; color: #8FA8F5; }
.brand-lines { stroke-dasharray: 260; stroke-dashoffset: 0; }
.brand:hover .brand-lines { animation: drawLines 1.1s ease forwards; }
.brand:hover .brand-mark rect { animation: nodePulse .9s ease both; }
.brand:hover .brand-mark rect:nth-child(3n+2) { animation-delay: .08s; }
.brand:hover .brand-mark rect:nth-child(3n) { animation-delay: .16s; }
@keyframes drawLines { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
@keyframes nodePulse { 0%, 100% { transform: none; } 45% { transform: scale(.82); } }
.brand-mark rect { transform-box: fill-box; transform-origin: center; }
.nav-links { display: flex; gap: 30px; font-size: 15px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s ease; transform-origin: left; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang {
  display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04); cursor: pointer; font: 600 12px/1 var(--display); color: var(--ink-3);
}
.lang span { padding: 7px 10px; border-radius: 999px; transition: background .25s, color .25s; }
html[lang="el"] .lang [data-l="el"], html[lang="en"] .lang [data-l="en"] { background: var(--surface-2); color: var(--ink); }

/* ---------- scenes / sticky engine ---------- */
.scene { position: relative; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- hero ---------- */
.hero { height: 300vh; }
.hero-stage { background: radial-gradient(1200px 700px at 75% 40%, #12223d 0%, var(--bg) 60%); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.b1 { width: 46vw; height: 46vw; left: 48%; top: -10%; background: radial-gradient(circle, #2647b8 0%, transparent 70%); animation: drift 18s ease-in-out infinite; }
.b2 { width: 36vw; height: 36vw; left: 66%; top: 46%; background: radial-gradient(circle, #138ea0 0%, transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 30vw; height: 30vw; left: -6%; top: 58%; background: radial-gradient(circle, #1b2f6b 0%, transparent 70%); animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-4vw, 3vh) scale(1.08); } }
.dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 45%, #000 0%, transparent 70%); }

.hero-copy {
  position: absolute; z-index: 3; left: max(20px, calc((100vw - var(--wrap)) / 2)); top: 50%;
  transform: translateY(-50%); width: min(620px, 48vw); will-change: transform, opacity;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); padding: 8px 14px 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .03); margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(31, 184, 200, .6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 184, 200, .55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(31, 184, 200, 0); } }
.hero h1 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.04; }
.lede { margin-top: 24px; font-size: clamp(17px, 1.45vw, 20px); color: var(--ink-2); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

.grid-title { position: absolute; z-index: 3; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); text-align: center; opacity: 0; pointer-events: none; will-change: opacity, transform; padding: 0 20px; }
.grid-title h2 { font-size: clamp(28px, 3.6vw, 52px); }
.grid-title p { color: var(--ink-2); margin-top: 10px; font-size: clamp(15px, 1.2vw, 18px); }

.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.hero-lines line { stroke: url(#hl); stroke-linecap: round; }
.tiles { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.tile { position: absolute; left: 0; top: 0; transform-origin: 50% 50%; will-change: transform; }
.tile-pop { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; animation: pop .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.loading .tile-pop { animation-play-state: paused; }
.tile[data-i="1"] .tile-pop, .tile[data-i="3"] .tile-pop { animation-delay: .08s; }
.tile[data-i="2"] .tile-pop, .tile[data-i="4"] .tile-pop, .tile[data-i="6"] .tile-pop { animation-delay: .16s; }
.tile[data-i="5"] .tile-pop, .tile[data-i="7"] .tile-pop { animation-delay: .24s; }
.tile[data-i="8"] .tile-pop { animation-delay: .32s; }
@keyframes pop { from { transform: scale(0) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.fill { position: absolute; inset: 0; background: var(--c, #2647b8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.card {
  position: absolute; inset: 0; padding: 9% 10%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
  background: linear-gradient(160deg, rgba(30, 44, 62, .92), rgba(15, 22, 31, .94));
  border: 1px solid rgba(255, 255, 255, .08); border-radius: inherit; opacity: 0;
}
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--c), transparent); opacity: .9; }
.card .ico { width: 30%; max-width: 46px; height: auto; stroke: var(--c2, #6FD8E4); margin-bottom: auto; }
.card h3 { font-size: clamp(16px, 1.55vw, 24px); }
.card p { font-size: clamp(12px, .95vw, 14.5px); color: var(--ink-2); line-height: 1.4; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.scroll-hint { position: absolute; z-index: 3; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--teal-2); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- how ---------- */
.how { height: 420vh; background: var(--bg); }
.how-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(30px, 5vw, 80px); padding: calc(var(--nav-h) + 20px) max(20px, calc((100vw - var(--wrap)) / 2)) 40px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

.how-copy h2 { font-size: clamp(32px, 3.5vw, 52px); }
.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 6px; }
.steps li { display: flex; gap: 16px; padding: 14px 16px; border-radius: 14px; opacity: .38; transition: opacity .4s ease, background .4s ease, transform .4s ease; }
.steps li.on { opacity: 1; background: rgba(255, 255, 255, .035); transform: translateX(6px); }
.steps li.done { opacity: .62; }
.steps b { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font: 600 15px/1 var(--display); background: var(--surface-2); color: var(--ink-2); transition: background .4s, color .4s; }
.steps li.on b { background: var(--grad); color: #fff; }
.steps h3 { font-size: 20px; }
.steps p { color: var(--ink-2); font-size: 15px; margin-top: 3px; }

.browser { position: relative; border-radius: 16px; background: #fff; color: #13202D; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; aspect-ratio: 16 / 11.5; }
.browser-bar { height: 44px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EEF2F6; border-bottom: 1px solid #E1E7EE; }
.browser-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #D5DCE4; }
.browser-bar > i:nth-child(1) { background: #FF6159; } .browser-bar > i:nth-child(2) { background: #FFBD2E; } .browser-bar > i:nth-child(3) { background: #28C941; }
.url { margin-left: 14px; flex: 1; height: 28px; border-radius: 8px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 12px; font: 500 14px/1 var(--body); color: #4F5D6E; }
.lock { font-size: 11px; filter: grayscale(1); opacity: .6; }
.caret { width: 1.5px; height: 16px; background: #1E3A8A; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser-body { position: absolute; inset: 44px 0 0 0; }
.pane { position: absolute; inset: 0; padding: 6% 7%; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s ease, transform .5s ease; }
.pane.on { opacity: 1; transform: none; }
.site-skel { display: grid; gap: 12px; }
.sk { height: 14px; border-radius: 7px; background: linear-gradient(90deg, #EDF1F5 0%, #F6F8FA 50%, #EDF1F5 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
.sk.h { height: 34px; width: 62%; } .sk.s { width: 44%; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.sk.box { height: 110px; border-radius: 12px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.scan { position: relative; height: 72%; }
.doc { position: absolute; width: 38%; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #E1E7EE; box-shadow: 0 10px 30px -18px rgba(19, 32, 45, .5); display: grid; gap: 7px; font-size: 13px; transition: transform 1s cubic-bezier(.6, 0, .2, 1), opacity 1s; }
.doc b { font-weight: 600; color: #13202D; }
.doc span { height: 7px; border-radius: 4px; background: #EDF1F5; }
.doc.pdf b::before { content: "PDF"; font-size: 10px; margin-right: 6px; padding: 2px 5px; border-radius: 4px; background: #FDE8E8; color: #C0362C; }
.d1 { left: 0; top: 0; } .d2 { right: 0; top: 4%; } .d3 { left: 4%; top: 56%; } .d4 { right: 6%; top: 60%; } .d5 { left: 30%; top: 82%; }
.brain { position: absolute; left: 50%; top: 42%; width: 70px; height: 70px; margin: -35px 0 0 -35px; padding: 12px; border-radius: 20px; background: #0D1319; box-shadow: 0 0 0 8px rgba(31, 184, 200, .12), 0 20px 40px -12px rgba(30, 58, 138, .6); }
.brain svg { width: 100%; height: 100%; }
.pane-2.on .doc { transform: translate(var(--tx), var(--ty)) scale(.35); opacity: 0; transition-delay: var(--dl); }
.d1 { --tx: 110%; --ty: 120%; --dl: .3s; } .d2 { --tx: -110%; --ty: 110%; --dl: .55s; } .d3 { --tx: 115%; --ty: -40%; --dl: .8s; } .d4 { --tx: -105%; --ty: -60%; --dl: 1.05s; } .d5 { --tx: 25%; --ty: -150%; --dl: 1.3s; }
.pane-2.on .brain { animation: brainPulse 1.2s ease 1.4s infinite; }
@keyframes brainPulse { 50% { box-shadow: 0 0 0 16px rgba(31, 184, 200, .08), 0 20px 40px -12px rgba(30, 58, 138, .6); } }
.counters { position: absolute; left: 7%; right: 7%; bottom: 7%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.counters div { padding: 12px 14px; border-radius: 12px; background: #F3F6F9; }
.counters b { display: block; font: 600 28px/1 var(--display); color: #1E3A8A; }
.counters span { font-size: 13px; color: #4F5D6E; }
.persona { display: flex; gap: 24px; align-items: flex-start; padding: 26px; border-radius: 16px; background: linear-gradient(160deg, #F3F6FB, #EAF6F8); border: 1px solid #E1E7EE; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font: 600 34px/1 var(--display); color: #fff; background: var(--grad); }
.persona-lines { display: grid; gap: 12px; width: 100%; }
.persona-lines div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px dashed #D5DEE8; font-size: 15px; opacity: 0; transform: translateX(10px); transition: opacity .4s, transform .4s; }
.persona-lines span { color: #5E6A77; }
.pane-3.on .persona-lines div { opacity: 1; transform: none; }
.pane-3.on .persona-lines div:nth-child(2) { transition-delay: .25s; } .pane-3.on .persona-lines div:nth-child(3) { transition-delay: .5s; } .pane-3.on .persona-lines div:nth-child(4) { transition-delay: .75s; }
.doors-mini { display: grid; gap: 12px; }
.dm { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-radius: 12px; background: #F3F6F9; font-size: 15.5px; }
.sw { width: 44px; height: 26px; border-radius: 13px; background: #D5DCE4; position: relative; transition: background .35s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.pane-4.on .sw { background: #1FB8C8; } .pane-4.on .sw::after { transform: translateX(18px); }
.pane-4.on .dm:nth-child(1) .sw, .pane-4.on .dm:nth-child(1) .sw::after { transition-delay: .2s; }
.pane-4.on .dm:nth-child(2) .sw, .pane-4.on .dm:nth-child(2) .sw::after { transition-delay: .45s; }
.pane-4.on .dm:nth-child(3) .sw, .pane-4.on .dm:nth-child(3) .sw::after { transition-delay: .7s; }
.pane-4.on .dm:nth-child(4) .sw, .pane-4.on .dm:nth-child(4) .sw::after { transition-delay: .95s; }
.live-bubble { position: absolute; right: 7%; bottom: 7%; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #0D1319; color: #fff; font-size: 15px; box-shadow: 0 18px 40px -14px rgba(13, 19, 25, .7); opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .5s 1.2s, transform .6s cubic-bezier(.2, 1.4, .4, 1) 1.2s; }
.pane-4.on .live-bubble { opacity: 1; transform: none; }
.lb-dot { width: 10px; height: 10px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .25); }
.how-progress { position: absolute; left: max(20px, calc((100vw - var(--wrap)) / 2)); right: max(20px, calc((100vw - var(--wrap)) / 2)); bottom: 26px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.how-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--grad); }

/* ---------- worlds ---------- */
.worlds { height: 700vh; }
.worlds-stage {
  --w-bg: #EAF4FA; --w-bg2: #CFE7F3; --w-ink: #0B2530; --w-ink2: #3C5866; --w-acc: #0E7490; --w-acc-soft: rgba(14, 116, 144, .12); --w-bubble: #0E7490;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); align-items: center; gap: clamp(30px, 6vw, 100px);
  padding: calc(var(--nav-h) + 10px) max(20px, calc((100vw - var(--wrap)) / 2)) 80px;
  background: radial-gradient(900px 600px at 80% 50%, var(--w-bg2) 0%, var(--w-bg) 70%); color: var(--w-ink);
  transition: background 0s;
}
.worlds-stage::before { content: ""; position: absolute; inset: 0; background: inherit; }
.w-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.w-art { position: absolute; right: max(-80px, calc((100vw - var(--wrap)) / 2 - 70px)); top: 50%; width: min(82vh, 740px); height: auto; transform: translateY(-50%); }
.w-art .a { fill: var(--w-acc); }
.w-art .s { stroke: var(--w-acc); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.w-art .w { fill: #fff; opacity: .85; }
.w-art .lit { fill: #FCD34D; opacity: .9; animation: flicker 3s ease-in-out infinite; }
.w-art .o2 { opacity: .12; } .w-art .o3 { opacity: .18; } .w-art .o4 { opacity: .26; } .w-art .o5 { opacity: .34; } .w-art .o6 { opacity: .46; } .w-art .o7 { opacity: .6; }
.w-art .steam { animation: steam 3s ease-in-out infinite; }
@keyframes flicker { 50% { opacity: .55; } }
@keyframes steam { 0%, 100% { transform: translateY(0); opacity: .26; } 50% { transform: translateY(-10px); opacity: .1; } }
.w-copy { position: relative; z-index: 2; max-width: 560px; }
.worlds-stage .eyebrow { color: var(--w-acc); }
.w-label { display: inline-block; font: 600 14px/1 var(--display); letter-spacing: .06em; padding: 9px 14px; border-radius: 999px; background: var(--w-acc-soft); color: var(--w-acc); margin-bottom: 18px; }
.w-title { font-size: clamp(30px, 3.6vw, 54px); color: var(--w-ink); }
.w-text { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); color: var(--w-ink2); max-width: 520px; }
.w-tags { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.w-tags li { font-size: 14px; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, .6); border: 1px solid rgba(0, 0, 0, .06); color: var(--w-ink); }
.is-dark .w-tags li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
.w-swap { animation: swapIn .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.device {
  position: relative; z-index: 3; justify-self: end; width: 100%; height: min(640px, 76vh); border-radius: 30px; background: #fff; color: #13202D;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .05); display: flex; flex-direction: column; overflow: hidden;
}
.device-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--w-bubble); color: #fff; transition: background .6s; }
.dh-avatar { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font: 600 19px/1 var(--display); background: rgba(255, 255, 255, .2); }
.dh-meta { display: grid; line-height: 1.25; flex: 1; min-width: 0; }
.dh-meta b { font-family: var(--display); font-size: 17px; }
.dh-meta span { font-size: 12.5px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ai-chip { font: 700 11px/1 var(--display); padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .22); letter-spacing: .06em; }
.device-body { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; background: #F7F9FB; justify-content: flex-end; }
.device-input { display: flex; align-items: center; gap: 10px; margin: 0 12px 12px; padding: 12px 14px; border-radius: 14px; background: #F0F3F7; color: #8D99A7; font-size: 14px; }
.device-input span { flex: 1; }
.device-input i { width: 30px; height: 30px; border-radius: 10px; background: var(--w-bubble); transition: background .6s; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.it { animation: msgIn .45s cubic-bezier(.2, 1.2, .4, 1) both; }
.it[hidden] { display: none !important; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.msg.u { align-self: flex-end; background: var(--w-bubble); color: #fff; border-bottom-right-radius: 5px; }
.msg.a { align-self: flex-start; background: #fff; border: 1px solid #E6EBF0; border-bottom-left-radius: 5px; }
.msg.a .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg.a .src i { font-style: normal; font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #F1F4F8; color: #4F5D6E; }
.msg.sys { align-self: center; font-size: 12.5px; color: #3B7A57; background: #E7F6EE; border-radius: 999px; padding: 6px 12px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #E6EBF0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: #A9B5C2; animation: bounce 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }
.mapcard { align-self: flex-start; width: 86%; height: 130px; border-radius: 14px; overflow: hidden; position: relative; background:
  linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%),
  linear-gradient(25deg, transparent 60%, #fff 60% 62.5%, transparent 62.5%),
  radial-gradient(circle at 70% 30%, #BFE3F2 0 22%, transparent 23%),
  #E5EFE3; border: 1px solid #E1E7EE; }
.pin { position: absolute; width: 22px; height: 22px; margin: -22px 0 0 -11px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--w-acc); box-shadow: 0 6px 12px -4px rgba(0, 0, 0, .4); }
.pin.p1 { left: 38%; top: 44%; } .pin.p2 { left: 68%; top: 66%; }
.pin::after { content: ""; position: absolute; left: 7px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.chips { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; padding: 7px 11px; border-radius: 10px; border: 1.5px solid var(--w-acc); color: var(--w-acc); background: #fff; }
.chips span.sel { background: var(--w-acc); color: #fff; }
.thumbs { align-self: flex-start; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 86%; }
.thumbs i { aspect-ratio: 1; border-radius: 10px; }
.thumbs i:nth-child(1) { background: linear-gradient(160deg, #7DD3FC, #0EA5E9 60%, #FDE68A 61%); }
.thumbs i:nth-child(2) { background: linear-gradient(170deg, #38BDF8, #0284C7 55%, #FCD34D 56%); }
.thumbs i:nth-child(3) { background: linear-gradient(150deg, #A5F3FC, #22D3EE 50%, #FBBF24 51%); }
.dish { align-self: flex-start; width: 86%; display: grid; gap: 6px; }
.dish div { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: #fff; border: 1px solid #E6EBF0; font-size: 13.5px; }
.dish div i { flex: none; width: 44px; height: 44px; border-radius: 10px; }
.dish div:nth-child(1) i { background: radial-gradient(circle at 40% 40%, #F87171 0 30%, #FB923C 31% 55%, #FEF3C7 56%); }
.dish div:nth-child(2) i { background: radial-gradient(circle at 60% 50%, #86EFAC 0 28%, #FDE68A 29% 50%, #F0FDF4 51%); }
.dish div b { margin-left: auto; color: var(--w-acc); }
.formcard { align-self: flex-start; width: 86%; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid #E6EBF0; display: grid; gap: 8px; font-size: 13px; }
.formcard div { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: #F5F7FA; }
.formcard div span { color: #5E6A77; }
.lockbar { align-self: center; display: inline-flex; gap: 6px; align-items: center; font-size: 12px; color: #4F5D6E; padding: 5px 10px; border-radius: 999px; background: #EDF1F5; }

/* phone call variant */
.device.call .device-body { background: linear-gradient(180deg, #0B2A26, #0F3B34); color: #E6F6F2; justify-content: flex-start; }
.device.call .device-input { display: none; }
.callhead { text-align: center; padding: 10px 0 6px; }
.callhead .who { font: 600 22px/1.2 var(--display); }
.callhead .t { font-size: 13px; opacity: .75; margin-top: 4px; }
.callwave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 56px; margin: 6px 0 4px; }
.callwave i { width: 4px; border-radius: 2px; background: #5EEAD4; height: 20%; animation: wv 1s ease-in-out infinite; }
@keyframes wv { 0%, 100% { height: 18%; } 50% { height: var(--h, 80%); } }
.device.call .msg.u { background: rgba(255, 255, 255, .12); color: #E6F6F2; }
.device.call .msg.a { background: rgba(94, 234, 212, .14); border-color: rgba(94, 234, 212, .25); color: #E6F6F2; }
.booked { align-self: center; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: #ECFDF5; color: #065F46; font-size: 13.5px; font-weight: 600; }

.w-toast { position: absolute; z-index: 4; right: calc(max(20px, (100vw - var(--wrap)) / 2) + 290px); top: calc(var(--nav-h) + 70px); display: flex; gap: 12px; align-items: center; width: min(360px, 80vw); padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .96); color: #13202D; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.3, .4, 1); pointer-events: none; }
.w-toast.show { opacity: 1; transform: none; }
.w-toast .tg { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #2AABEE; display: grid; place-items: center; }
.w-toast .tg svg { width: 20px; height: 20px; fill: #fff; }
.w-toast b { display: block; font-size: 14px; }
.w-toast span { font-size: 13px; color: #4F5D6E; }

.w-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, .06); }
.is-dark .w-dots { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .1); }
.w-dots button { border: 0; cursor: pointer; font: 600 13px/1 var(--display); padding: 9px 13px; border-radius: 999px; background: transparent; color: var(--w-ink2); transition: background .3s, color .3s; white-space: nowrap; }
.w-dots button.on { background: var(--w-acc); color: #fff; }

/* world palettes */
.worlds-stage[data-world="0"] { --w-bg: #EAF4FA; --w-bg2: #CDE8F5; --w-ink: #0B2530; --w-ink2: #3C5866; --w-acc: #0E7490; --w-acc-soft: rgba(14, 116, 144, .12); --w-bubble: #0E7490; }
.worlds-stage[data-world="1"] { --w-bg: #E9F7F2; --w-bg2: #C8EDE0; --w-ink: #0B2A26; --w-ink2: #3B5E57; --w-acc: #0F766E; --w-acc-soft: rgba(15, 118, 110, .12); --w-bubble: #0F766E; }
.worlds-stage[data-world="2"] { --w-bg: #FFF5E3; --w-bg2: #FDE3B5; --w-ink: #2B1A05; --w-ink2: #6B4A1F; --w-acc: #B45309; --w-acc-soft: rgba(180, 83, 9, .12); --w-bubble: #C2650A; }
.worlds-stage[data-world="3"] { --w-bg: #FDEEE9; --w-bg2: #F9CFC2; --w-ink: #2A0F08; --w-ink2: #6E3B2E; --w-acc: #C2410C; --w-acc-soft: rgba(194, 65, 12, .12); --w-bubble: #C2410C; }
.worlds-stage[data-world="4"] { --w-bg: #0E1229; --w-bg2: #24296B; --w-ink: #ECEEFF; --w-ink2: #AEB4E0; --w-acc: #A5B4FC; --w-acc-soft: rgba(165, 180, 252, .14); --w-bubble: #4F46E5; }
.worlds-stage[data-world="5"] { --w-bg: #EEF2F7; --w-bg2: #D3DFF0; --w-ink: #13202D; --w-ink2: #4F5D6E; --w-acc: #1E3A8A; --w-acc-soft: rgba(30, 58, 138, .1); --w-bubble: #1E3A8A; }

/* ---------- doors ---------- */
.doors { padding: 150px 0 120px; background: radial-gradient(900px 500px at 50% 60%, #0f1d33 0%, var(--bg) 70%); text-align: center; }
.doors .sub { margin-inline: auto; }
.hub { position: relative; margin-top: 70px; height: 560px; }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub-lines path { fill: none; stroke: rgba(111, 216, 228, .35); stroke-width: 1.5; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; margin: -70px 0 0 -70px; padding: 30px; border-radius: 40px; background: #0D1319; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 14px rgba(59, 91, 219, .08), 0 0 80px 10px rgba(31, 184, 200, .22); animation: core 4s ease-in-out infinite; }
.hub-core svg { width: 100%; height: 100%; }
@keyframes core { 50% { box-shadow: 0 0 0 22px rgba(59, 91, 219, .05), 0 0 110px 16px rgba(31, 184, 200, .3); } }
.door { position: absolute; width: min(300px, 30%); padding: 20px 22px; border-radius: var(--radius); text-align: left; background: linear-gradient(160deg, rgba(26, 37, 49, .95), rgba(17, 24, 33, .95)); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s, border-color .3s; }
.door:hover { transform: translateY(-4px); border-color: #35506a; }
.door h3 { font-size: 19px; }
.door p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; line-height: 1.45; }
.dl1 { left: 0; top: 4%; } .dl2 { left: 0; top: 50%; transform: translateY(-50%); } .dl3 { left: 0; bottom: 4%; }
.dr1 { right: 0; top: 4%; } .dr2 { right: 0; top: 50%; transform: translateY(-50%); } .dr3 { right: 0; bottom: 4%; }
.dl2:hover, .dr2:hover { transform: translateY(calc(-50% - 4px)); }

/* ---------- voice ---------- */
.voice { padding: 130px 0; background: var(--bg-2); }
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 7px; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.wave-card { padding: 28px; border-radius: 24px; background: linear-gradient(160deg, #10302b, #0B1A20); border: 1px solid rgba(94, 234, 212, .15); box-shadow: var(--shadow); }
.call-top { display: flex; align-items: center; gap: 10px; color: #A7F3D0; font-size: 14px; }
.rec { width: 10px; height: 10px; border-radius: 50%; background: #F87171; animation: ping 1.8s infinite; }
.wave { display: flex; align-items: center; gap: 5px; height: 140px; margin: 26px 0; }
.wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #5EEAD4, #3B82F6); height: 12%; transition: height .12s ease; }
.transcript { display: grid; gap: 12px; }
.transcript p { padding: 12px 15px; border-radius: 14px; font-size: 15.5px; line-height: 1.5; }
.t-u { background: rgba(255, 255, 255, .07); color: #D7E3EA; justify-self: start; }
.t-a { background: rgba(94, 234, 212, .12); color: #E6FFFA; justify-self: end; max-width: 92%; }

/* ---------- insights ---------- */
.insights { padding: 130px 0; background: var(--bg); }
.ins-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.ins-card { padding: 28px; border-radius: 24px; background: #fff; color: #13202D; box-shadow: var(--shadow); }
.ins-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ins-nums div { padding: 14px; border-radius: 14px; background: #F3F6F9; }
.ins-nums b { display: block; font: 600 clamp(24px, 2.6vw, 34px)/1 var(--display); color: #1E3A8A; }
.ins-nums span { display: block; font-size: 12.5px; color: #4F5D6E; margin-top: 6px; line-height: 1.35; }
.ins-h { font: 600 15px/1 var(--display); color: #4F5D6E; margin: 24px 0 10px; letter-spacing: .02em; }
.unans { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.unans li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid #E6EBF0; font-size: 14.5px; }
.unans li span { flex: 1; }
.unans em { font-style: normal; background: none; color: #B45309; -webkit-text-fill-color: #B45309; font-weight: 700; font-size: 13px; }
.unans button { border: 0; font: 600 12.5px/1 var(--body); padding: 8px 10px; border-radius: 8px; background: #E3F5F7; color: #0A6F7A; cursor: default; }

/* ---------- trust ---------- */
.trust { padding: 130px 0; background: var(--bg-2); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.tcard { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.tcard:hover { transform: translateY(-4px); border-color: #35506a; }
.tcard .ico { width: 36px; height: 36px; stroke: var(--teal-2); margin-bottom: 18px; }
.tcard h3 { font-size: 20px; }
.tcard p { color: var(--ink-2); font-size: 15px; margin-top: 10px; line-height: 1.5; }

/* ---------- contact / footer ---------- */
.contact { position: relative; padding: 160px 0; text-align: center; overflow: hidden; background: var(--bg); }
.contact-glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 91, 219, .28) 0%, rgba(31, 184, 200, .1) 40%, transparent 70%); }
.contact-inner { position: relative; }
.contact-mark { width: 92px; height: 92px; margin: 0 auto 34px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(3deg); } }
.contact .sub { margin-inline: auto; }
.contact-cta { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 40px; }
.mail { color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.mail:hover { color: var(--ink); }
.footer { padding: 40px 0 50px; border-top: 1px solid rgba(255, 255, 255, .06); background: var(--bg); }
.foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; color: var(--ink-3); font-size: 14px; }
.foot .copy { margin-left: auto; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hub { height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .hub-lines, .hub-core { display: none; }
  .door, .dl2, .dr2 { position: static; width: auto; transform: none; }
  .dl2:hover, .dr2:hover { transform: translateY(-4px); }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .nav .btn-sm { display: none; }
  .hero-copy { left: 20px; right: 20px; width: auto; top: auto; bottom: 7svh; transform: none; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); }
  .lede { margin-top: 16px; }
  .hero-cta { margin-top: 22px; }
  .kicker { margin-bottom: 16px; font-size: 13px; }
  .scroll-hint { display: none; }
  .card { padding: 10% 9%; gap: 3px; }
  .card p { display: none; }
  .card h3 { font-size: clamp(13px, 3.6vw, 17px); }
  .how { height: 400vh; }
  .how-stage { grid-template-columns: 1fr; align-content: start; gap: 18px; padding-top: calc(var(--nav-h) + 14px); }
  .how-copy h2 { font-size: 30px; }
  .how-copy .sub { display: none; }
  .steps { margin-top: 14px; gap: 2px; }
  .steps li { padding: 8px 10px; }
  .steps li:not(.on) p { display: none; }
  .steps h3 { font-size: 16px; }
  .browser { aspect-ratio: 16 / 12; }
  .persona { padding: 16px; gap: 14px; } .avatar { width: 54px; height: 54px; font-size: 24px; }
  .persona-lines div, .dm { font-size: 13px; } .dm { padding: 10px 12px; }
  .counters b { font-size: 20px; }
  .worlds { height: 650vh; }
  .worlds-stage { grid-template-columns: 1fr; align-content: start; gap: 16px; padding-top: calc(var(--nav-h) + 12px); padding-bottom: 76px; }
  .w-title { font-size: 26px; }
  .w-text { font-size: 15px; margin-top: 10px; }
  .w-tags, .worlds-stage .eyebrow { display: none; }
  .w-label { margin-bottom: 10px; font-size: 12px; }
  .device { justify-self: center; height: auto; flex: 1; min-height: 0; max-height: 54svh; width: min(100%, 380px); }
  .w-art { opacity: .35; width: 120vw; right: -30vw; }
  .w-dots { bottom: 14px; max-width: calc(100vw - 24px); overflow-x: auto; }
  .w-dots button { padding: 8px 10px; font-size: 12px; }
  .w-toast { right: 12px; top: calc(var(--nav-h) + 8px); }
  .voice-grid, .ins-grid { grid-template-columns: 1fr; }
  .ins-grid > div:last-child { order: -1; }
  .hub { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .doors, .voice, .insights, .trust { padding: 90px 0; }
  .contact { padding: 110px 0; }
  .foot .copy { margin-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
