/* =========================================================
   RESLOZIO — Ice blue · Liquid glass · Dark & light
   ========================================================= */

/* ---------- TOKENS: dark (default) ---------- */
:root{
  color-scheme: dark;
  --bg: #050d1c;
  --bg-2: #0b1d3a;
  --text: #eaf6ff;
  --muted: #93a9c4;
  --glass: rgba(255,255,255,0.05);
  --glass-2: rgba(255,255,255,0.10);
  --glass-solid: rgba(8,20,40,0.72);
  --glass-border: rgba(255,255,255,0.10);
  --glass-border-2: rgba(255,255,255,0.22);
  --rim-a: rgba(255,255,255,0.55);
  --rim-b: rgba(186,230,253,0.10);
  --rim-c: rgba(186,230,253,0.38);
  --sheen: rgba(255,255,255,0.10);
  --inset-hi: rgba(255,255,255,0.22);
  --glass-shadow: 0 30px 60px -30px rgba(0,6,20,0.85);
  --blur: 18px;
  --line: rgba(255,255,255,0.10);
  --ice: #7dd3fc; --ice-rgb: 125,211,252;
  --ice-2: #bae6fd;
  --peri: #a5b4fc; --peri-rgb: 165,180,252;
  --grad: linear-gradient(115deg, #e0f7ff 0%, #7dd3fc 45%, #a5b4fc 100%);
  --grad-anim: linear-gradient(110deg, #e0f7ff, #7dd3fc, #a5b4fc, #7dd3fc, #e0f7ff);
  --btn-text: #03223d;
  --fd: #ff9ccf; --fd-rgb: 255,156,207;
  --eq: #67e8f9; --eq-rgb: 103,232,249;
  --tr: #86efac; --tr-rgb: 134,239,172;
  --aur-1: #1d4ed8; --aur-2: #0ea5e9; --aur-3: #6366f1;
  --o1: 0.42; --o2: 0.26; --o3: 0.26; --o4: 0.14;
  --dot: rgba(186,230,253,0.09);
  --input-bg: rgba(3,10,24,0.45);
  --stage-bg: linear-gradient(160deg, rgba(30,64,120,0.35), rgba(4,12,28,0.6));
  --node-fill: #0b1a33;
  --display: "Space Grotesk", sans-serif;
  --body: "Inter", sans-serif;
  --mono: "JetBrains Mono", monospace;
  --radius: 20px;
  --mk1: #e0f7ff; --mk2: #7dd3fc; --mk3: #a5b4fc;
  --accent: var(--ice); --accent-rgb: var(--ice-rgb);
}

/* ---------- TOKENS: light ---------- */
@media (prefers-color-scheme: light){
  :root:not([data-theme="dark"]){
    color-scheme: light;
    --bg: #c3d4e6; --bg-2: #d6e3f0;
    --text: #0a1830; --muted: #34496a;
    --glass: rgba(255,255,255,0.14); --glass-2: rgba(255,255,255,0.32); --glass-solid: rgba(214,228,242,0.72);
    --glass-border: rgba(255,255,255,0.45); --glass-border-2: rgba(20,60,110,0.22);
    --rim-a: rgba(255,255,255,0.7); --rim-b: rgba(255,255,255,0.15); --rim-c: rgba(80,140,200,0.45);
    --sheen: rgba(255,255,255,0.22); --inset-hi: rgba(255,255,255,0.55);
    --glass-shadow: 0 24px 50px -26px rgba(15,40,80,0.45);
    --line: rgba(11,27,51,0.10);
    --ice: #0369a1; --ice-rgb: 3,105,161; --ice-2: #0ea5e9;
    --peri: #4f46e5; --peri-rgb: 79,70,229;
    --grad: linear-gradient(115deg, #0ea5e9 0%, #2563eb 55%, #4f46e5 100%);
    --grad-anim: linear-gradient(110deg, #0369a1, #1d4ed8, #4338ca, #1d4ed8, #0369a1);
    --btn-text: #ffffff;
    --fd: #be185d; --fd-rgb: 190,24,93;
    --eq: #0e7490; --eq-rgb: 14,116,144;
    --tr: #15803d; --tr-rgb: 21,128,61;
    --aur-1: #5b8fd6; --aur-2: #4fb3d9; --aur-3: #8b8fe0;
    --o1: 0.45; --o2: 0.38; --o3: 0.35; --o4: 0.16;
    --dot: rgba(15,40,80,0.10);
    --input-bg: rgba(225,236,247,0.55);
    --stage-bg: linear-gradient(160deg, rgba(214,228,242,0.55), rgba(176,198,222,0.45));
    --node-fill: #dbe6f2;
    --mk1: #0ea5e9; --mk2: #1d4ed8; --mk3: #4f46e5;
  }
}
:root[data-theme="light"]{
  color-scheme: light;
  --bg: #c3d4e6; --bg-2: #d6e3f0;
  --text: #0a1830; --muted: #34496a;
  --glass: rgba(255,255,255,0.14); --glass-2: rgba(255,255,255,0.32); --glass-solid: rgba(214,228,242,0.72);
  --glass-border: rgba(255,255,255,0.45); --glass-border-2: rgba(20,60,110,0.22);
  --rim-a: rgba(255,255,255,0.7); --rim-b: rgba(255,255,255,0.15); --rim-c: rgba(80,140,200,0.45);
  --sheen: rgba(255,255,255,0.22); --inset-hi: rgba(255,255,255,0.55);
  --glass-shadow: 0 24px 50px -26px rgba(15,40,80,0.45);
  --line: rgba(11,27,51,0.10);
  --ice: #0369a1; --ice-rgb: 3,105,161; --ice-2: #0ea5e9;
  --peri: #4f46e5; --peri-rgb: 79,70,229;
  --grad: linear-gradient(115deg, #0ea5e9 0%, #2563eb 55%, #4f46e5 100%);
  --grad-anim: linear-gradient(110deg, #0369a1, #1d4ed8, #4338ca, #1d4ed8, #0369a1);
  --btn-text: #ffffff;
  --fd: #be185d; --fd-rgb: 190,24,93;
  --eq: #0e7490; --eq-rgb: 14,116,144;
  --tr: #15803d; --tr-rgb: 21,128,61;
  --aur-1: #5b8fd6; --aur-2: #4fb3d9; --aur-3: #8b8fe0;
  --o1: 0.45; --o2: 0.38; --o3: 0.35; --o4: 0.16;
  --dot: rgba(15,40,80,0.10);
  --input-bg: rgba(225,236,247,0.55);
  --stage-bg: linear-gradient(160deg, rgba(214,228,242,0.55), rgba(176,198,222,0.45));
  --node-fill: #dbe6f2;
  --mk1: #0ea5e9; --mk2: #1d4ed8; --mk3: #4f46e5;
}

.mk1{ stop-color: var(--mk1); } .mk2{ stop-color: var(--mk2); } .mk3{ stop-color: var(--mk3); } .mk-hole{ fill: var(--bg); }

/* platform colour helpers */
body[data-active="flightdeck"]{ --accent: var(--fd); --accent-rgb: var(--fd-rgb); }
body[data-active="eduqora"]{ --accent: var(--eq); --accent-rgb: var(--eq-rgb); }
body[data-active="tracer"]{ --accent: var(--tr); --accent-rgb: var(--tr-rgb); }
body[data-active="contact"], body[data-active="home"]{ --accent: var(--ice); --accent-rgb: var(--ice-rgb); }
.c-flightdeck{ --c: var(--fd); --c-rgb: var(--fd-rgb); }
.c-eduqora{ --c: var(--eq); --c-rgb: var(--eq-rgb); }
.c-tracer{ --c: var(--tr); --c-rgb: var(--tr-rgb); }
.c-ice{ --c: var(--ice); --c-rgb: var(--ice-rgb); }

/* ---------- BASE ---------- */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body{ overflow-x: hidden; overflow-x: clip; }
body{ background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection{ background: var(--ice); color: var(--btn-text); }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible{ outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 10px; }
.wrap{ max-width: 1240px; margin: 0 auto; padding: 0 32px; }
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after{ transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, fill 0.5s ease, stroke 0.5s ease, box-shadow 0.5s ease !important; }

/* ---------- LIQUID GLASS ---------- */
.lg{
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, var(--sheen), transparent 42%), linear-gradient(145deg, var(--glass-2), var(--glass));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(170%);
  backdrop-filter: blur(var(--blur)) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--inset-hi);
}
.lg::before{
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(135deg, var(--rim-a), var(--rim-b) 30%, transparent 55%, var(--rim-c));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (max-width: 760px){ :root{ --blur: 12px; } }

/* ---------- BACKGROUND ---------- */
.aurora{ position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 0%, var(--bg-2), var(--bg) 70%); }
.aurora span{ position: absolute; border-radius: 50%; filter: blur(100px); will-change: transform; animation: drift 24s ease-in-out infinite alternate; transition: background 1.2s ease, opacity 0.8s ease; }
.aurora .a1{ width: 60vw; height: 60vw; background: var(--aur-1); top: -25vw; left: -15vw; opacity: var(--o1); }
.aurora .a2{ width: 46vw; height: 46vw; background: var(--aur-2); top: 8vh; right: -18vw; opacity: var(--o2); animation-duration: 28s; }
.aurora .a3{ width: 42vw; height: 42vw; background: var(--aur-3); bottom: -20vw; left: 25vw; opacity: var(--o3); animation-duration: 32s; }
.aurora .a4{ width: 36vw; height: 36vw; background: var(--accent); bottom: 10vh; right: 5vw; opacity: var(--o4); animation-duration: 20s; }
@keyframes drift{ 0%{ transform: translate(0,0) scale(1); } 50%{ transform: translate(6vw, 4vh) scale(1.12); } 100%{ transform: translate(-4vw, 8vh) scale(0.94); } }
.dotgrid{ position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%); }
.cursor-glow{ position: fixed; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(var(--accent-rgb),0.12), transparent 65%); display: none; }
@media (pointer: fine){ .cursor-glow{ display: block; } }
.progress{ position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 80; }

/* ---------- LOADER ---------- */
.loader{ position: fixed; inset: 0; z-index: 100; background: var(--bg); display: grid; place-items: center; animation: loaderOut 0.6s ease 1.4s forwards; }
.loader-inner{ display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader svg{ width: 86px; height: 86px; animation: irisIn 1.3s cubic-bezier(.2,.8,.2,1) both; filter: drop-shadow(0 0 24px rgba(var(--ice-rgb),0.6)); }
.loader-word{ font-family: var(--display); font-weight: 700; letter-spacing: 0.3em; font-size: 0.9rem; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: fadeUp 0.8s ease 0.4s both; }
@keyframes irisIn{ from{ transform: rotate(-200deg) scale(0.3); opacity: 0; } to{ transform: rotate(0) scale(1); opacity: 1; } }
@keyframes loaderOut{ to{ opacity: 0; visibility: hidden; } }
@keyframes fadeUp{ from{ opacity: 0; transform: translateY(10px); } to{ opacity: 1; transform: none; } }

/* ---------- NAV ---------- */
.navbar{ position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; pointer-events: none; }
.navbar > *{ pointer-events: auto; }
.navbar.scrolled{ background: linear-gradient(180deg, var(--glass-2), var(--glass)); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); border-bottom-color: var(--line); pointer-events: auto; }
.nav-inner{ max-width: 1240px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo{ font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.logo svg{ width: 30px; height: 30px; transition: transform 0.8s cubic-bezier(.2,.8,.2,1); }
.logo:hover svg{ transform: rotate(180deg); }
.nav-right{ display: flex; align-items: center; gap: 10px; }
.nav-cta{ font-size: 0.86rem; font-weight: 600; padding: 10px 18px; border-radius: 999px; background: var(--grad); color: var(--btn-text); white-space: nowrap; box-shadow: 0 8px 24px -10px rgba(var(--ice-rgb),0.8), inset 0 1px 0 rgba(255,255,255,0.6); transition: transform 0.2s; }
.nav-cta:hover{ transform: translateY(-1px); }
.theme-toggle{ display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; color: var(--text); }
.js .theme-toggle{ display: grid; }
.theme-toggle svg{ width: 19px; height: 19px; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); position: relative; z-index: 2; }
.theme-toggle:hover svg{ transform: rotate(45deg) scale(1.08); }
.theme-toggle .moon{ display: none; }
.theme-toggle[data-mode="light"] .sun{ display: none; }
.theme-toggle[data-mode="light"] .moon{ display: block; }

.navtabs{ position: fixed; z-index: 55; top: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 5px; border-radius: 999px; }
.navtabs a{ position: relative; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; font-size: 0.86rem; font-weight: 500; color: var(--muted); transition: color 0.25s; white-space: nowrap; }
.navtabs a:hover, .navtabs a.on{ color: var(--text); }
.navtabs svg{ width: 18px; height: 18px; display: none; }
.navtabs a .dot{ width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--ice)); box-shadow: 0 0 8px var(--c, var(--ice)); }
.navtabs .ind{ position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, var(--sheen), transparent 60%), var(--glass-2); border: 1px solid var(--glass-border-2); box-shadow: inset 0 1px 0 var(--rim-a), 0 6px 18px -8px rgba(var(--ice-rgb),0.6); transition: transform 0.45s cubic-bezier(.2,.8,.2,1), width 0.45s cubic-bezier(.2,.8,.2,1), opacity 0.3s; }
@media (max-width: 1080px){ .navtabs a{ padding: 8px 11px; } }
@media (max-width: 980px){
  .navtabs{ top: auto; bottom: 12px; left: 12px; right: 12px; transform: none; justify-content: space-between; padding: 6px; border-radius: 24px; }
  .navtabs a{ flex: 1; flex-direction: column; gap: 3px; padding: 8px 2px; font-size: 0.68rem; border-radius: 18px; }
  .navtabs svg{ display: block; }
  .navtabs a .dot{ display: none; }
  .navtabs .ind{ border-radius: 18px; top: 6px; bottom: 6px; }
  body{ padding-bottom: 88px; }
  .nav-cta{ padding: 8px 14px; font-size: 0.8rem; }
  .theme-toggle{ width: 38px; height: 38px; }
}
@media (max-width: 380px){ .nav-cta{ display: none; } }

/* ---------- BUTTONS ---------- */
.btn{ position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s, background 0.25s; will-change: transform; }
.btn-grad{ background: var(--grad); color: var(--btn-text); box-shadow: 0 14px 34px -14px rgba(var(--ice-rgb),0.9), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn-accent{ background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0) 60%), var(--accent); color: var(--btn-text); box-shadow: 0 14px 34px -14px rgba(var(--accent-rgb),0.9), inset 0 1px 0 rgba(255,255,255,0.6); }
.btn-ghost{ background: linear-gradient(180deg, var(--sheen), transparent 60%), var(--glass); border: 1px solid var(--glass-border-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 1px 0 var(--inset-hi); }
.btn-ghost:hover{ border-color: var(--ice); background: var(--glass-2); }
.btn .arr{ transition: transform 0.25s; }
.btn:hover .arr{ transform: translateX(4px); }
.btn[disabled]{ opacity: 0.6; pointer-events: none; }

/* ---------- HERO ---------- */
.hero{ position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-3d{ position: absolute; inset: 0; }
#hero3d{ width: 100%; height: 100%; display: block; }
.hero-labels .hl{ position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 8px; padding: 6px 13px 6px 9px; border-radius: 999px; background: var(--glass-solid); border: 1px solid var(--glass-border-2); font-size: 0.8rem; font-weight: 600; white-space: nowrap; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 var(--inset-hi); transition: border-color 0.2s, opacity 0.3s; will-change: transform; }
.hero-labels .hl i{ width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
.hero-labels .hl:hover{ border-color: var(--c); }
.hero-copy{ position: relative; z-index: 2; max-width: 620px; padding-top: 80px; pointer-events: none; }
.hero-copy a, .hero-copy button{ pointer-events: auto; }
.badge{ display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 0.82rem; color: var(--muted); margin-bottom: 26px; }
.badge b{ position: relative; z-index: 2; font-weight: 600; font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: var(--btn-text); }
.hero-title{ font-family: var(--display); font-weight: 700; font-size: clamp(3rem, 7.4vw, 6.2rem); line-height: 0.95; letter-spacing: -0.045em; }
.grad-text{ background: var(--grad-anim); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 9s linear infinite; }
@keyframes gradShift{ to{ background-position: 300% 0; } }
.hero-for{ font-family: var(--display); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 500; margin-top: 22px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.rotator{ display: inline-block; color: var(--text); font-weight: 700; position: relative; }
.rotator::after{ content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--rc, var(--ice)); transition: background 0.4s; }
.rotator.swap{ animation: wordIn 0.5s cubic-bezier(.2,.8,.2,1); }
@keyframes wordIn{ from{ opacity: 0; transform: translateY(14px) rotateX(60deg); } to{ opacity: 1; transform: none; } }
.hero-sub{ margin-top: 20px; color: var(--muted); font-size: 1.06rem; max-width: 48ch; }
.hero-cta{ display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.scroll-cue{ position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--glass-border-2); }
.scroll-cue::after{ content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue{ 0%{ opacity: 0; transform: translateY(0); } 40%{ opacity: 1; } 100%{ opacity: 0; transform: translateY(14px); } }
@media (max-width: 980px){
  .hero{ flex-direction: column; align-items: stretch; padding-top: 96px; }
  .hero-copy{ padding-top: 0; }
  .hero-3d{ position: relative; height: 360px; order: -1; margin: -10px 0 4px; }
  .scroll-cue{ display: none; }
}

/* ---------- MARQUEE ---------- */
.marquee{ position: relative; overflow: hidden; padding: 20px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background: linear-gradient(180deg, var(--sheen), transparent 70%), linear-gradient(90deg, rgba(var(--ice-rgb),0.08), rgba(var(--peri-rgb),0.10), rgba(var(--ice-rgb),0.08)); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transform: rotate(-1.5deg); margin: 30px 0 0; }
.marquee-track{ display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span{ font-family: var(--display); font-weight: 600; font-size: 1.5rem; letter-spacing: -0.01em; padding: 0 22px; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.marquee span::after{ content: "✦"; font-size: 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee{ to{ transform: translateX(-50%); } }

/* ---------- SECTIONS ---------- */
.section{ padding: 120px 0; position: relative; }
.section-head{ max-width: 720px; margin-bottom: 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.eyebrow::before{ content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-title{ font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4.4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; }
.section-sub{ color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ---------- PLATFORM TABS ---------- */
.tabs{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.tab{ text-align: left; padding: 20px 22px 22px; border-radius: var(--radius); overflow: hidden; transition: border-color 0.3s, transform 0.25s; }
.tab:hover{ transform: translateY(-3px); }
.tab[aria-selected="true"]{ border-color: rgba(var(--c-rgb),0.55); background: radial-gradient(circle at 10% 0%, rgba(var(--c-rgb),0.26), transparent 60%), linear-gradient(180deg, var(--sheen), transparent 42%), linear-gradient(145deg, var(--glass-2), var(--glass)); }
.tab > *{ position: relative; z-index: 2; }
.tab-row{ display: flex; justify-content: space-between; align-items: center; }
.tab-ico{ width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--c-rgb),0.15); color: var(--c); }
.tab-ico svg{ width: 21px; height: 21px; }
.tab-status{ font-size: 0.7rem; font-weight: 600; color: var(--muted); border: 1px solid var(--glass-border-2); border-radius: 999px; padding: 3px 10px; }
.tab-name{ display: block; font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; margin-top: 16px; }
.tab-for{ display: block; font-size: 0.88rem; color: var(--muted); margin-top: 6px; }
.tab .tab-bar{ position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c); box-shadow: 0 0 16px var(--c); z-index: 3; }
.tab[aria-selected="true"] .tab-bar{ width: 100%; transition: width 0.5s cubic-bezier(.2,.8,.2,1); }
.tabs.autoplay .tab[aria-selected="true"] .tab-bar{ animation: tabFill 8s linear forwards; transition: none; }
@keyframes tabFill{ from{ width: 0; } to{ width: 100%; } }
@media (max-width: 760px){
  .tabs{ gap: 8px; }
  .tab{ padding: 12px 12px 14px; }
  .tab-ico{ width: 32px; height: 32px; border-radius: 10px; }
  .tab-name{ font-size: 1.1rem; margin-top: 10px; }
  .tab-for, .tab-status{ display: none; }
}

.stage-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.stage{ position: sticky; top: 100px; aspect-ratio: 1/1; max-height: calc(100vh - 130px); width: 100%; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),0.22), transparent 60%), var(--stage-bg); }
#stage3d{ width: 100%; height: 100%; display: block; position: relative; z-index: 0; }
.stage-top, .stage-hud{ position: absolute; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); pointer-events: none; z-index: 3; }
.stage-top{ top: 20px; }
.stage-hud{ bottom: 20px; }
.stage-top b{ color: var(--accent); font-weight: 500; }
.stage-chip{ padding: 5px 11px; border-radius: 999px; background: var(--glass-solid); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; gap: 8px; }
.stage-chip i{ width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse{ 0%,100%{ opacity: 1; } 50%{ opacity: 0.25; } }

.panel{ animation: panelIn 0.6s cubic-bezier(.2,.8,.2,1); }
.panel[hidden]{ display: none; }
@keyframes panelIn{ from{ opacity: 0; transform: translateY(18px); filter: blur(6px); } to{ opacity: 1; transform: none; filter: none; } }
.panel-meta{ display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; }
.pill{ font-weight: 600; font-size: 0.74rem; color: var(--accent); background: rgba(var(--accent-rgb),0.12); border: 1px solid rgba(var(--accent-rgb),0.35); border-radius: 999px; padding: 4px 12px; }
.panel-url{ color: var(--muted); font-family: var(--mono); font-size: 0.78rem; }
.panel-title{ font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5.6vw, 4.6rem); letter-spacing: -0.045em; line-height: 0.95; margin: 16px 0 10px; }
.panel-tagline{ font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--accent); letter-spacing: -0.01em; }
.panel-copy{ color: var(--muted); font-size: 1.05rem; margin-top: 14px; max-width: 54ch; }
.panel-copy strong{ color: var(--text); font-weight: 600; }
.label{ font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.chips{ display: flex; flex-wrap: wrap; gap: 8px; }
.chip{ font-size: 0.86rem; border: 1px solid var(--glass-border-2); background: linear-gradient(180deg, var(--sheen), transparent 70%), var(--glass); border-radius: 999px; padding: 6px 14px; transition: border-color 0.2s, transform 0.2s; }
.chip:hover{ border-color: rgba(var(--accent-rgb),0.6); transform: translateY(-2px); }
.features{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature{ overflow: hidden; border-radius: 18px; padding: 18px 18px 20px; transition: border-color 0.25s; }
.feature:hover{ border-color: rgba(var(--accent-rgb),0.5); }
.feature > *{ position: relative; z-index: 2; }
.feature-ico{ width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(var(--accent-rgb),0.14); color: var(--accent); margin-bottom: 12px; }
.feature-ico svg{ width: 18px; height: 18px; }
.feature h4{ font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.2; }
.feature p{ color: var(--muted); font-size: 0.88rem; margin-top: 5px; line-height: 1.5; }
@media (max-width: 520px){ .features{ grid-template-columns: 1fr; } }
.flow{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.flow > div{ padding: 14px 14px 16px; border-radius: 16px; }
.flow > div > *{ position: relative; z-index: 2; }
.flow span{ font-family: var(--mono); font-size: 0.72rem; color: var(--accent); }
.flow b{ display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-top: 2px; }
.flow small{ display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; margin-top: 3px; }
@media (max-width: 520px){ .flow{ grid-template-columns: 1fr 1fr; } }
.ctas{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
@media (max-width: 980px){
  .stage-grid{ grid-template-columns: 1fr; gap: 28px; }
  .stage{ position: relative; top: 0; aspect-ratio: 4/3.4; max-height: none; }
}

/* ---------- ECOSYSTEM ---------- */
.eco{ display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eco-map{ border-radius: 28px; padding: 10px; }
.eco-map svg{ width: 100%; height: auto; display: block; position: relative; z-index: 2; }
.eco-map .flowline{ fill: none; stroke-width: 2.5; stroke-dasharray: 5 11; animation: dash 1.6s linear infinite; }
@keyframes dash{ to{ stroke-dashoffset: -32; } }
.eco-map .core-spin{ transform-box: fill-box; transform-origin: center; animation: spin 18s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
.eco-base{ stroke: var(--line); }
.eco-text{ fill: var(--text); font-family: var(--display); font-weight: 700; }
.eco-node{ fill: var(--node-fill); }
.eco-dot{ fill: var(--text); }
.s-fd{ stroke: var(--fd); } .s-eq{ stroke: var(--eq); } .s-tr{ stroke: var(--tr); }
.f-fd{ fill: var(--fd); } .f-eq{ fill: var(--eq); } .f-tr{ fill: var(--tr); }
.st-fd{ stop-color: var(--fd); } .st-eq{ stop-color: var(--eq); } .st-tr{ stop-color: var(--tr); } .st-peri{ stop-color: var(--peri); }
.eco-list{ display: flex; flex-direction: column; gap: 14px; }
.eco-card{ overflow: hidden; padding: 20px 22px; border-radius: 20px; }
.eco-card > *{ position: relative; z-index: 2; }
.eco-card .route{ display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.eco-card .route i{ width: 8px; height: 8px; border-radius: 50%; display: block; }
.d-fd{ background: var(--fd); } .d-eq{ background: var(--eq); } .d-tr{ background: var(--tr); } .d-grad{ background: var(--grad); }
.eco-card h4{ font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.eco-card p{ color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
@media (max-width: 980px){ .eco{ grid-template-columns: 1fr; } }

/* ---------- CHOOSER ---------- */
.chooser{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choose{ text-align: left; border-radius: 24px; padding: 30px 26px 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; min-height: 300px; }
.choose > *{ position: relative; z-index: 2; }
.choose:hover{ border-color: rgba(var(--c-rgb),0.6); box-shadow: 0 30px 60px -30px rgba(var(--c-rgb),0.7), inset 0 1px 0 var(--inset-hi); }
.choose-orb{ width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, rgb(var(--c-rgb)) 38%, rgba(var(--c-rgb),0.25) 76%); box-shadow: 0 0 40px rgba(var(--c-rgb),0.6), inset -6px -8px 16px rgba(0,0,0,0.15); margin-bottom: 10px; animation: float 5s ease-in-out infinite; }
.chooser > :nth-child(2) .choose-orb{ animation-delay: -1.6s; }
.chooser > :nth-child(3) .choose-orb{ animation-delay: -3.2s; }
@keyframes float{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
.choose-who{ font-weight: 600; font-size: 0.86rem; color: var(--c); }
.choose-line{ font-family: var(--display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.05; }
.choose p{ color: var(--muted); font-size: 0.94rem; }
.choose-go{ margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; font-size: 0.88rem; display: flex; justify-content: space-between; }
.choose:hover .choose-go{ color: var(--c); }
@media (max-width: 900px){ .chooser{ grid-template-columns: 1fr; } .choose{ min-height: 0; } }

/* glare on hover */
.glare::after{ content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0; transition: opacity 0.3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,0.18), transparent 45%); }
.glare:hover::after{ opacity: 1; }

/* ---------- FAQ ---------- */
.faq{ max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details{ border-radius: 20px; transition: border-color 0.3s; }
.faq details > *{ position: relative; z-index: 2; }
.faq details[open]{ border-color: var(--glass-border-2); }
.faq summary{ list-style: none; cursor: pointer; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker{ display: none; }
.faq summary .plus{ flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-border); transition: transform 0.35s, background 0.3s, color 0.3s; }
.faq details[open] .plus{ transform: rotate(45deg); background: var(--ice); color: var(--btn-text); }
.faq .ans{ padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA BAND ---------- */
.cta-band{ overflow: hidden; border-radius: 34px; padding: 64px 48px; text-align: center; }
.cta-band > *{ position: relative; z-index: 2; }
.cta-band .band-glow{ position: absolute; z-index: 0; width: 640px; height: 640px; left: 50%; top: 50%; margin: -320px 0 0 -320px; border-radius: 50%; background: conic-gradient(from 0deg, var(--ice), var(--peri), var(--eq), var(--ice-2), var(--ice)); filter: blur(110px); opacity: 0.32; animation: spin 16s linear infinite; pointer-events: none; }
.cta-band .section-title{ font-size: clamp(2.2rem, 5vw, 4rem); }
.cta-band .hero-cta{ justify-content: center; }
@media (max-width: 560px){ .cta-band{ padding: 48px 20px; } }

/* ---------- FORMS ---------- */
.wl-form{ display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 720px; margin: 28px auto 0; }
.wl-form input, .wl-form select{ flex: 1 1 190px; min-width: 0; }
.wl-form .btn{ flex: 0 0 auto; }
.inp, .wl-form input, .wl-form select, .field input, .field select, .field textarea{
  font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--glass-border-2); border-radius: 14px; padding: 13px 16px; width: 100%;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 var(--inset-hi); transition: border-color 0.2s, box-shadow 0.2s;
}
.wl-form input, .wl-form select{ border-radius: 999px; padding: 14px 20px; }
.wl-form input::placeholder, .field textarea::placeholder, .field input::placeholder{ color: var(--muted); opacity: 0.8; }
.wl-form select, .field select{ appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.wl-form select option, .field select option{ background: var(--bg-2); color: var(--text); }
.wl-form input:focus, .wl-form select:focus, .field input:focus, .field select:focus, .field textarea:focus{ outline: none; border-color: var(--ice); box-shadow: 0 0 0 4px rgba(var(--ice-rgb),0.22); }
.hp{ position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg{ margin-top: 14px; font-size: 0.92rem; min-height: 1.4em; }
.form-msg.ok{ color: var(--tr); font-weight: 600; }
.form-msg.err{ color: var(--fd); }
.form-msg a{ text-decoration: underline; }
.privacy-note{ font-size: 0.8rem; color: var(--muted); margin-top: 12px; }
.privacy-note a{ text-decoration: underline; }
.form-done{ display: none; text-align: center; padding: 10px 0; }
.form-done b{ display: block; font-family: var(--display); font-size: 1.4rem; margin-top: 10px; }
.form-done .tick{ width: 56px; height: 56px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: rgba(var(--tr-rgb),0.15); color: var(--tr); border: 1px solid rgba(var(--tr-rgb),0.5); }
.form-done .tick svg{ width: 26px; height: 26px; }
.sent .form-done{ display: block; animation: fadeUp 0.5s ease; }
.sent .form-body{ display: none; }

/* ---------- PAGE HERO ---------- */
.page-hero{ position: relative; padding: 130px 0 70px; }
.page-hero-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.crumbs{ display: flex; gap: 8px; align-items: center; font-size: 0.84rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover{ color: var(--text); }
.crumbs span{ opacity: 0.5; }
.page-title{ font-family: var(--display); font-weight: 700; font-size: clamp(3.4rem, 8.6vw, 7rem); line-height: 0.92; letter-spacing: -0.05em; margin: 18px 0 14px; }
.page-title .accent-text{ color: var(--accent); }
.page-stage{ aspect-ratio: 1/1; width: 100%; border-radius: 32px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(var(--accent-rgb),0.24), transparent 60%), var(--stage-bg); }
.page-stage canvas{ width: 100%; height: 100%; display: block; position: relative; z-index: 0; }
@media (max-width: 980px){
  .page-hero{ padding-top: 96px; }
  .page-hero-grid{ grid-template-columns: 1fr; gap: 26px; }
  .page-stage{ order: -1; aspect-ratio: 1/0.9; max-height: 440px; }
}

/* ---------- PLATFORM PAGE BLOCKS ---------- */
.grid-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-3 .feature{ padding: 26px 24px; border-radius: 22px; }
.grid-3 .feature h4{ font-size: 1.25rem; }
.grid-3 .feature p{ font-size: 0.94rem; }
.grid-3 .feature-ico{ width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px; }
.grid-3 .feature-ico svg{ width: 22px; height: 22px; }
@media (max-width: 980px){ .grid-3{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .grid-3{ grid-template-columns: 1fr; } }

.audience{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.aud{ overflow: hidden; padding: 26px 22px; border-radius: 22px; transition: border-color 0.3s, transform 0.3s; }
.aud > *{ position: relative; z-index: 2; }
.aud:hover{ border-color: rgba(var(--accent-rgb),0.55); transform: translateY(-4px); }
.aud-num{ font-family: var(--display); font-weight: 700; font-size: 3rem; line-height: 1; letter-spacing: -0.04em; background: linear-gradient(180deg, rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aud h4{ font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-top: 14px; }
.aud p{ color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
@media (max-width: 980px){ .audience{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .audience{ grid-template-columns: 1fr; } }

.timeline{ position: relative; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 18px; }
.timeline::before, .timeline .fill{ content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; border-radius: 2px; background: var(--glass-border-2); }
.timeline .fill{ background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),0.3)); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.8,.2,1) 0.2s; box-shadow: 0 0 12px var(--accent); }
.timeline.in .fill{ transform: scaleX(1); }
.step{ position: relative; }
.step-dot{ width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 0.9rem; color: var(--accent); background: linear-gradient(180deg, var(--sheen), transparent 60%), var(--glass-solid); border: 2px solid rgba(var(--accent-rgb),0.6); box-shadow: 0 0 0 6px rgba(var(--accent-rgb),0.1), inset 0 1px 0 var(--inset-hi); position: relative; z-index: 1; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.step h4{ font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin-top: 18px; }
.step p{ color: var(--muted); font-size: 0.92rem; margin-top: 6px; max-width: 26ch; }
@media (max-width: 860px){
  .timeline{ grid-template-columns: 1fr; gap: 26px; }
  .timeline::before, .timeline .fill{ top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
  .timeline .fill{ transform-origin: 50% 0; transform: scaleY(0); }
  .timeline.in .fill{ transform: scaleY(1); }
  .step{ display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-dot{ grid-row: span 2; }
  .step h4{ margin-top: 4px; }
  .step p{ grid-column: 2; }
}

.others{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.other{ overflow: hidden; display: flex; align-items: center; gap: 22px; padding: 28px; border-radius: 24px; transition: border-color 0.3s, box-shadow 0.3s; }
.other > *{ position: relative; z-index: 2; }
.other:hover{ border-color: rgba(var(--c-rgb),0.6); box-shadow: 0 30px 60px -30px rgba(var(--c-rgb),0.7), inset 0 1px 0 var(--inset-hi); }
.other .choose-orb{ flex: none; margin: 0; }
.other small{ display: block; color: var(--c); font-weight: 600; font-size: 0.84rem; }
.other b{ display: block; font-family: var(--display); font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.other span.go{ margin-left: auto; font-size: 1.5rem; transition: transform 0.3s; }
.other:hover span.go{ transform: translateX(6px); color: var(--c); }
@media (max-width: 760px){ .others{ grid-template-columns: 1fr; } }

/* ---------- CONTACT PAGE ---------- */
.contact-grid{ display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: start; }
.form-card{ border-radius: 28px; padding: 32px; }
.form-card > *{ position: relative; z-index: 2; }
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field{ display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label{ font-size: 0.84rem; font-weight: 600; color: var(--muted); }
.field textarea{ min-height: 140px; resize: vertical; }
.type-pick{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 18px; }
.type-pick label{ position: relative; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--glass-border-2); background: var(--input-bg); font-size: 0.9rem; font-weight: 500; transition: border-color 0.2s, background 0.2s; }
.type-pick input{ position: absolute; opacity: 0; pointer-events: none; }
.type-pick label i{ width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.type-pick label:has(input:checked){ border-color: var(--c); background: rgba(var(--c-rgb),0.14); }
.type-pick label:has(input:focus-visible){ outline: 2px solid var(--ice); outline-offset: 2px; }
.form-card .btn{ width: 100%; justify-content: center; }
.info-stack{ display: flex; flex-direction: column; gap: 14px; }
.info{ overflow: hidden; display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; transition: border-color 0.3s; }
.info > *{ position: relative; z-index: 2; }
a.info:hover{ border-color: var(--ice); }
.info .feature-ico{ margin: 0; width: 46px; height: 46px; border-radius: 14px; background: rgba(var(--ice-rgb),0.14); color: var(--ice); flex: none; }
.info small{ display: block; color: var(--muted); font-size: 0.8rem; }
.info b{ font-weight: 600; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
@media (max-width: 520px){ .form-row, .type-pick{ grid-template-columns: 1fr; } .form-card{ padding: 22px; } }

/* ---------- PROSE (privacy) ---------- */
.prose{ max-width: 780px; border-radius: 28px; padding: 40px; }
.prose > *{ position: relative; z-index: 2; }
.prose h2{ font-family: var(--display); font-size: 1.4rem; margin: 28px 0 8px; letter-spacing: -0.02em; }
.prose h2:first-child{ margin-top: 0; }
.prose p, .prose li{ color: var(--muted); }
.prose ul{ list-style: disc; padding-left: 20px; }
.prose a{ color: var(--ice); text-decoration: underline; }
@media (max-width: 560px){ .prose{ padding: 24px; } }

/* ---------- FOOTER ---------- */
footer{ border-top: 1px solid var(--line); padding: 40px 0; background: linear-gradient(180deg, var(--glass), transparent); }
.footer-inner{ display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-slogan{ font-size: 0.86rem; color: var(--muted); margin-top: 6px; }
.footer-links{ display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.88rem; color: var(--muted); }
.footer-links a:hover{ color: var(--text); }
.footer-copy{ font-size: 0.78rem; color: var(--muted); margin-top: 18px; opacity: 0.8; }

/* ---------- REVEAL ---------- */
.js .reveal{ opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(.2,.8,.2,1), transform 0.9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in{ opacity: 1; transform: none; }

@media (max-width: 560px){
  .wrap, .nav-inner{ padding-left: 16px; padding-right: 16px; }
  .section{ padding: 84px 0; }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .loader{ display: none; }
  .js .reveal{ opacity: 1; transform: none; }
}
