/* ════════════════════════════════════════════════════════════════════════
   VENAAROHAA ONE — Home  ·  elevated craft + motion
   Where Student Work Becomes Real Capability
   Brand: navy + orange, indigo & green accents, warm cream
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --navy:#233A8E; --navy-deep:#16265C; --navy-lift:#9DB4F0;
  --orange:#EE8A1E; --orange-deep:#CE7016; --orange-soft:#FBEAD0;
  --indigo:#5B63E0; --indigo-deep:#3F46C4; --indigo-soft:#EAEBFB;
  --green:#1F9D6B; --green-deep:#157A52; --green-soft:#DCF1E7;
  --butter:#E0A52E; --butter-soft:#FBEFD2;
  --cream:#F4EFE4; --cream-deep:#EAE3D3; --paper:#FFFFFF;
  --ink:#1E2A52; --ink-2:#27336B; --muted:#67708A; --border:#E6DECE; --border-soft:#EFE9DB;
  --footer:#111A2E;

  --shadow-sm:0 2px 10px rgba(30,42,82,.05),0 1px 3px rgba(0,0,0,.03);
  --shadow-md:0 14px 40px rgba(30,42,82,.10),0 3px 10px rgba(15,23,42,.05);
  --shadow-lg:0 32px 70px rgba(30,42,82,.16),0 8px 22px rgba(15,23,42,.07);
  --ease:cubic-bezier(.22,.61,.36,1); --ease-soft:cubic-bezier(.4,0,.2,1);
  --maxw:1200px;
  --font-display:'Poppins',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
}

* { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body { background:var(--cream); color:var(--ink); font-family:var(--font-body); line-height:1.5;
  -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; overflow-x:hidden; position:relative; }
::selection { background:var(--orange); color:#fff; }
img { display:block; max-width:100%; }
a { color:inherit; }

/* ─── AMBIENT ───────────────────────────────────────────────────────────── */
.ambient { position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.ambient .blob { position:absolute; border-radius:50%; filter:blur(72px); opacity:.5; mix-blend-mode:multiply; will-change:transform; }
.ambient .b1 { width:46vw; height:46vw; left:-12vw; top:-12vw; background:radial-gradient(circle,rgba(30,58,138,.18),transparent 68%); animation:drift1 28s var(--ease-soft) infinite alternate; }
.ambient .b2 { width:42vw; height:42vw; right:-10vw; top:2vh; background:radial-gradient(circle,rgba(242,116,30,.16),transparent 66%); animation:drift2 34s var(--ease-soft) infinite alternate; }
.ambient .b3 { width:38vw; height:38vw; left:32vw; bottom:-16vw; background:radial-gradient(circle,rgba(91,99,224,.14),transparent 66%); animation:drift3 31s var(--ease-soft) infinite alternate; }
@keyframes drift1 { to { transform:translate(8vw,6vh) scale(1.12); } }
@keyframes drift2 { to { transform:translate(-7vw,10vh) scale(1.16); } }
@keyframes drift3 { to { transform:translate(6vw,-8vh) scale(1.1); } }
.grain { position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.04; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.scroll-prog { position:fixed; top:0; left:0; height:3px; width:0%; background:linear-gradient(90deg,var(--navy),var(--orange)); z-index:300; transition:width .08s linear; box-shadow:0 1px 8px rgba(242,116,30,.4); }

.container { max-width:var(--maxw); margin:0 auto; padding:0 32px; }
@media (max-width:760px){ .container { padding:0 20px; } }

/* ─── TYPE ──────────────────────────────────────────────────────────────── */
.eyebrow { font-family:var(--font-display); font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--orange); display:inline-block; }
.eyebrow.navy { color:var(--navy); }
h1,h2,h3,h4 { font-family:var(--font-display); color:var(--ink); }
.logo-wordmark { font-family:'Cinzel',serif; text-transform:uppercase; letter-spacing:.045em; font-size:19px; font-weight:600; line-height:1; white-space:nowrap; }
.logo-wordmark .brand-a { font-weight:700; }
.logo-wordmark .brand-v { color:var(--navy); }
.logo-wordmark .brand-a { color:var(--orange); }

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; gap:9px; padding:0 22px; height:46px; border:none; cursor:pointer; text-decoration:none;
  font-family:var(--font-display); font-weight:600; font-size:14.5px; letter-spacing:-.005em; border-radius:12px; white-space:nowrap;
  position:relative; overflow:hidden; isolation:isolate; transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .2s ease; }
.btn::after { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%); transform:translateX(-120%); transition:transform .6s var(--ease); }
.btn:hover::after { transform:translateX(120%); }
.btn > * { position:relative; z-index:2; }
.btn-primary { background:var(--navy); color:#fff; box-shadow:0 8px 22px rgba(30,58,138,.26); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 14px 32px rgba(30,58,138,.34); }
.btn-accent { background:linear-gradient(135deg,#F4892F,var(--orange-deep)); color:#fff; box-shadow:0 8px 22px rgba(242,116,30,.34); }
.btn-accent:hover { transform:translateY(-2px); box-shadow:0 16px 38px rgba(242,116,30,.46); }
.btn-outline { background:rgba(255,255,255,.7); color:var(--ink); border:1px solid var(--border); }
.btn-outline:hover { background:#fff; border-color:var(--navy); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--ink); }
.btn-ghost:hover { background:var(--cream-deep); }
.btn-lg { height:56px; padding:0 28px; font-size:16px; border-radius:14px; }
.btn-arrow { transition:transform .25s var(--ease); display:inline-flex; }
.btn:hover .btn-arrow { transform:translateX(3px); }

/* ─── NAV ───────────────────────────────────────────────────────────────── */
nav.topbar { position:fixed; top:14px; left:0; right:0; z-index:100; transition:top .3s var(--ease); }
nav.topbar .inner { max-width:var(--maxw); margin:0 auto; height:70px; padding:0 26px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:rgba(255,253,248,.7); border:1px solid var(--border-soft); border-radius:20px;
  backdrop-filter:saturate(160%) blur(14px); -webkit-backdrop-filter:saturate(160%) blur(14px);
  box-shadow:0 6px 24px rgba(30,42,82,.06); transition:box-shadow .3s,background .3s; }
nav.topbar.scrolled .inner { background:rgba(255,253,248,.92); box-shadow:0 10px 32px rgba(30,42,82,.1); }
.logo { display:inline-flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0; }
.logo-mark { width:40px; height:38px; object-fit:contain; flex-shrink:0; }
.nav-links { display:flex; align-items:center; gap:34px; }
.nav-links a { color:var(--ink-2); text-decoration:none; font-size:15px; font-weight:500; font-family:var(--font-display); position:relative; transition:color .18s; }
.nav-links a::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--orange); border-radius:2px; transform:scaleX(0); transform-origin:left; transition:transform .28s var(--ease); }
.nav-links a:hover { color:var(--navy); }
.nav-links a:hover::after { transform:scaleX(1); }
.nav-cta { display:inline-flex; align-items:center; gap:12px; flex-shrink:0; }
@media (max-width:920px){ .nav-links { display:none; } }

/* ─── MOTION SYSTEM ─────────────────────────────────────────────────────── */
[data-reveal] { opacity:0; will-change:transform,opacity,filter; transition:opacity .8s var(--ease),transform .8s var(--ease),filter .8s var(--ease); }
[data-reveal="up"]{ transform:translateY(34px); }
[data-reveal="left"]{ transform:translateX(-42px); }
[data-reveal="right"]{ transform:translateX(42px); }
[data-reveal="scale"]{ transform:scale(.92); }
[data-reveal="blur"]{ filter:blur(14px); transform:translateY(20px); }
[data-reveal].in { opacity:1; transform:none; filter:none; }
html.snap [data-reveal], html.snap .word>span, html.snap .vh-chip, html.snap .meter-fill, html.snap .stat-num, html.snap .loop-line i,
html.snap .cgd-fill, html.snap .cot-bar, html.snap .lo-bar { transition:none !important; animation:none !important; }
.word { display:inline-block; }
.word > span { display:inline-block; transform:translateY(60%); opacity:0; transition:transform .9s var(--ease),opacity .8s var(--ease); }
.in-words .word > span { transform:translateY(0); opacity:1; }

/* ════════════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════════════ */
.hero { padding:122px 0 44px; position:relative; }
.hero-grid { display:grid; grid-template-columns:1.04fr .96fr; gap:54px; align-items:center; }
.hero-pill { display:inline-flex; align-items:center; gap:10px; padding:9px 18px 9px 14px; background:var(--paper); border:1px solid var(--border); border-radius:999px;
  font-family:var(--font-display); font-size:14px; font-weight:600; color:var(--navy); margin-bottom:16px; box-shadow:var(--shadow-sm); }
.hero-pill .dot { width:10px; height:10px; border-radius:50%; background:var(--navy); box-shadow:0 0 0 0 rgba(30,58,138,.4); animation:livePulse 2.2s ease-in-out infinite; }
@keyframes livePulse { 0%{box-shadow:0 0 0 0 rgba(30,58,138,.45);} 70%{box-shadow:0 0 0 9px rgba(30,58,138,0);} 100%{box-shadow:0 0 0 0 rgba(30,58,138,0);} }
.hero h1 { font-weight:800; font-size:clamp(36px,4.8vw,60px); line-height:1.06; letter-spacing:-.02em; color:var(--navy); margin-bottom:18px; }
.hero h1 .accent { color:var(--indigo); position:relative; }
.hero h1 .accent .underline { position:absolute; left:0; right:0; bottom:.02em; height:.1em; background:var(--orange); opacity:.3; border-radius:3px; z-index:-1; transform:scaleX(0); transform-origin:left; transition:transform 1s var(--ease) .7s; }
.in-words .hero h1 .accent .underline { transform:scaleX(1); }
.hero p.lede { font-size:18px; line-height:1.6; color:var(--muted); max-width:540px; margin-bottom:24px; }
.hero .cta-row { display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-bottom:30px; }
.hero-mini { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; max-width:600px; }
.mini-card { background:rgba(255,255,255,.5); border:1px solid var(--border-soft); border-radius:14px; padding:13px 14px 14px; transition:transform .3s var(--ease),box-shadow .3s var(--ease),background .3s; }
.mini-card:hover { transform:translateY(-3px); background:#fff; box-shadow:var(--shadow-sm); }
.mini-card h4 { font-size:15px; font-weight:700; color:var(--navy); margin-bottom:6px; line-height:1.22; }
.mini-card p { font-size:12.5px; line-height:1.45; color:var(--muted); }
@media (max-width:980px){ .hero-grid { grid-template-columns:1fr; gap:54px; } .hero-mini { max-width:none; } }
@media (max-width:540px){ .hero-mini { grid-template-columns:1fr; } }

/* HERO VISUAL — rotating card carousel */
.hero-visual { position:relative; width:100%; max-width:500px; margin-left:auto; }
.vh-stage { position:relative; width:100%; height:492px; }
.vh-panel { position:absolute; inset:0; overflow:hidden; background:var(--paper); border:1px solid var(--border); border-radius:24px; padding:26px; box-shadow:var(--shadow-lg);
  display:flex; flex-direction:column; opacity:0; transform:translateY(22px) scale(.965); filter:blur(6px); pointer-events:none;
  transition:opacity .55s var(--ease),transform .7s var(--ease),filter .55s var(--ease); }
.vh-panel.active { opacity:1; transform:none; filter:none; pointer-events:auto; }
html.snap .vh-panel { transition:none !important; filter:none !important; }
/* sheen sweeping across the active card */
.vh-panel::after { content:''; position:absolute; top:-20%; left:0; width:55%; height:140%; pointer-events:none; z-index:6;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.5),transparent); transform:translateX(-220%) skewX(-14deg); }
.vh-panel.active::after { animation:cardSheen 5s ease-in-out 1.1s infinite; }
@keyframes cardSheen { 0%{transform:translateX(-220%) skewX(-14deg);} 26%{transform:translateX(280%) skewX(-14deg);} 100%{transform:translateX(280%) skewX(-14deg);} }
.vh-dots { display:flex; justify-content:center; gap:7px; margin-top:20px; }
.vh-dot { width:7px; height:7px; border-radius:50%; background:var(--border); cursor:pointer; transition:background .25s,width .25s; padding:0; border:none; }
.vh-dot.active { background:var(--orange); width:22px; border-radius:4px; }
.vh-head { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.vh-mic { width:40px; height:40px; border-radius:12px; background:var(--orange-soft); color:var(--orange-deep); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.vh-mic svg { width:20px; height:20px; }
.vh-mic.rec { animation:micPulse 1.6s ease-in-out infinite; }
/* active-card living motion */
.vh-panel.active .vh-mic:not(.rec) { animation:micBreathe 3s ease-in-out infinite; }
@keyframes micBreathe { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }
.cgd-fill { position:relative; overflow:hidden; }
.vh-panel.active .cgd-fill::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent); transform:translateX(-100%); animation:barShine 2.8s ease-in-out infinite; }
.vh-panel.active .cgd-row:nth-child(2) .cgd-fill::after { animation-delay:.3s; }
.vh-panel.active .cgd-row:nth-child(3) .cgd-fill::after { animation-delay:.6s; }
.vh-panel.active .cgd-row:nth-child(4) .cgd-fill::after { animation-delay:.9s; }
.vh-panel.active .cgd-row:nth-child(5) .cgd-fill::after { animation-delay:1.2s; }
@keyframes barShine { 0%{transform:translateX(-100%);} 55%,100%{transform:translateX(240%);} }
.vh-panel.active .cgd-alert { animation:alertPulse 2.8s ease-in-out infinite; }
@keyframes alertPulse { 0%,100%{box-shadow:0 0 0 0 rgba(224,88,79,0);} 50%{box-shadow:0 0 0 4px rgba(224,88,79,.09);} }
.vh-panel.active .cot-bar.orange, .vh-panel.active .lo-bar { will-change:height; }
@keyframes micPulse { 0%,100%{box-shadow:0 0 0 0 rgba(242,116,30,.35);} 50%{box-shadow:0 0 0 8px rgba(242,116,30,0);} }
.vh-title { font-family:var(--font-display); font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--navy); }
.vh-quote { background:var(--cream); border:1px solid var(--border-soft); border-radius:14px; padding:16px 18px; margin-bottom:18px; }
.vh-quote .q-l { font-size:12px; color:var(--muted); margin-bottom:8px; }
.vh-quote .q-t { font-size:15px; line-height:1.5; color:var(--ink); font-style:italic; min-height:3em; }
.vh-quote .q-t .caret { display:inline-block; width:2px; height:1.05em; background:var(--orange); margin-left:1px; vertical-align:-2px; animation:blink 1s steps(1) infinite; }
@keyframes blink { 50%{opacity:0;} }
.vh-chips { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:26px; min-height:34px; }
.vh-chip { font-family:var(--font-display); font-size:12.5px; font-weight:600; padding:7px 13px; border-radius:10px; opacity:0; transform:scale(.7); transition:opacity .35s var(--ease),transform .35s var(--ease); }
.vh-chip.in { opacity:1; transform:scale(1); }
.vh-chip.c1 { color:var(--indigo-deep); background:var(--indigo-soft); }
.vh-chip.c2 { color:var(--indigo-deep); background:var(--indigo-soft); }
.vh-chip.c3 { color:var(--butter); background:var(--butter-soft); }
.vh-chip.c4 { color:var(--green-deep); background:var(--green-soft); }
.vh-chip.c5 { color:var(--muted); background:var(--cream-deep); }
.vh-actions { display:flex; gap:10px; margin-top:auto; }
.vh-create { flex:1; height:48px; border:none; border-radius:12px; background:var(--navy); color:#fff; font-family:var(--font-display); font-weight:600; font-size:14.5px; cursor:pointer; box-shadow:0 8px 20px rgba(30,58,138,.24); transition:transform .2s var(--ease),box-shadow .2s; }
.vh-create:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(30,58,138,.32); }
.vh-edit { height:48px; padding:0 20px; border:none; border-radius:12px; background:var(--cream-deep); color:var(--ink); font-family:var(--font-display); font-weight:600; font-size:14.5px; cursor:pointer; transition:background .2s; }
.vh-edit:hover { background:var(--border); }

/* ── Card: Concept Gap Detection ── */
.ic-gap { background:#FBE3E3; color:#D14343; }
.cgd-list { display:flex; flex-direction:column; gap:16px; margin-top:2px; }
.cgd-row { display:grid; grid-template-columns:1fr 110px 42px; align-items:center; gap:12px; }
.cgd-row .nm { display:flex; align-items:center; gap:11px; font-size:14.5px; font-weight:600; color:var(--ink); }
.cgd-row .nm .d { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.cgd-track { height:7px; border-radius:999px; background:#ECE6D8; overflow:hidden; }
.cgd-fill { display:block; height:100%; width:0; border-radius:999px; transition:width 1s var(--ease); }
.vh-panel.go .cgd-fill { width:var(--w); }
.cgd-row .pct { font-family:var(--font-display); font-weight:700; font-size:14px; text-align:right; }
.cgd-row.good .d, .cgd-row.good .cgd-fill { background:#3FA776; } .cgd-row.good .pct { color:#2E8C5E; }
.cgd-row.bad .d, .cgd-row.bad .cgd-fill { background:#E0584F; } .cgd-row.bad .pct { color:#D14343; }
.cgd-alert { margin-top:auto; background:#FDEEEE; border:1px solid #F6D9D9; border-radius:14px; padding:14px 16px; }
.cgd-alert .a-t { font-size:13.5px; font-weight:700; color:#C0392B; }
.cgd-alert .a-s { font-size:12px; color:#CC918C; margin-top:3px; }

/* ── Card: Realtime Learning Guidance ── */
.ic-chat { background:var(--indigo-soft); color:var(--indigo-deep); }
.chat { display:flex; flex-direction:column; gap:14px; margin-top:2px; }
.chat-row { display:flex; align-items:flex-end; gap:10px; }
.chat-row.me { flex-direction:row-reverse; }
.chat-av { width:36px; height:36px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; position:relative; font-family:var(--font-display); font-weight:700; font-size:12px; }
.chat-av.ai { width:44px; height:44px; background:linear-gradient(135deg,var(--indigo),var(--indigo-deep)); color:#fff; box-shadow:0 4px 12px rgba(91,99,224,.3); }
.chat-av.ai svg { width:19px; height:19px; }
.chat-av.stu { background:#E4E9F6; color:var(--navy); }
.chat-av .live { position:absolute; bottom:-1px; right:-1px; width:11px; height:11px; border-radius:50%; background:var(--green); border:2.5px solid var(--paper); }
.chat-av.ai .ring { position:absolute; inset:-3px; border-radius:50%; border:2px solid var(--indigo); opacity:0; }
.chat-av.ai .wave { display:none; }
.chat-av.ai .face { position:relative; width:30px; height:30px; }
.chat-av.ai .eyes { position:absolute; top:9px; left:0; right:0; display:flex; justify-content:center; gap:8px; }
.chat-av.ai .eye { width:5px; height:6px; border-radius:50%; background:#fff; transform-origin:center; }
.chat-av.ai .brow { position:absolute; top:6px; left:0; right:0; display:flex; justify-content:center; gap:8px; }
.chat-av.ai .brow i { width:5px; height:1.6px; border-radius:2px; background:rgba(255,255,255,.7); }
.chat-av.ai .mouth { position:absolute; bottom:6px; left:50%; transform:translateX(-50%); width:11px; height:3px; background:#fff; border-radius:0 0 7px 7px; }
.vh-panel.active .chat-av.ai { animation:headBob 2.2s ease-in-out infinite; }
.vh-panel.active .chat-av.ai .eye { animation:blink 3.2s steps(1,end) infinite; }
.vh-panel.active .chat-av.ai .mouth { animation:talk .38s ease-in-out infinite; }
@keyframes headBob { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-1.5px); } }
@keyframes blink { 0%,93%,100%{ transform:scaleY(1); } 96%{ transform:scaleY(.12); } }
@keyframes talk { 0%{ height:3px; border-radius:0 0 7px 7px; } 35%{ height:9px; border-radius:7px; } 65%{ height:5px; border-radius:0 0 7px 7px; } 100%{ height:3px; border-radius:0 0 7px 7px; } }
.vh-panel.active .chat-av.ai .ring { animation:avRing 2.6s ease-out infinite; }
@keyframes avRing { 0%{transform:scale(.82);opacity:.55;} 100%{transform:scale(1.45);opacity:0;} }
.bubble { max-width:80%; padding:13px 16px; border-radius:16px; font-size:14px; line-height:1.5; }
.bubble.u { align-self:flex-end; background:#E9E3D6; color:var(--ink); border-bottom-right-radius:5px; }
.bubble.ai { align-self:flex-start; background:#EDEFF8; color:var(--ink); border-bottom-left-radius:5px; }
.bubble .tagline { display:block; margin-top:8px; font-weight:700; color:var(--navy); font-size:13px; }
.bubble.correct { align-self:flex-end; background:var(--green-soft); color:var(--ink); border-bottom-right-radius:5px; }
.bubble .score { display:block; margin-top:5px; font-weight:700; color:var(--green-deep); font-size:13px; }

/* ── Video call (Realtime Guidance) ── */
.vcall { display:flex; flex-direction:column; gap:14px; flex:1; }
.vc-tiles { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.vc-tile { position:relative; aspect-ratio:4/3; border-radius:16px; overflow:hidden; border:2.5px solid transparent; transition:border-color .3s,box-shadow .3s; }
.vc-tile.tutor { background:linear-gradient(135deg,var(--indigo),var(--indigo-deep)); }
.vc-tile.student { background:linear-gradient(135deg,#3A4A72,#27336B); }
.ai-avatar { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.aa-face { position:relative; width:62px; height:62px; border-radius:50%; background:rgba(255,255,255,.18); border:2px solid rgba(255,255,255,.32); }
.aa-face::after { content:''; position:absolute; inset:-6px; border-radius:50%; border:2px solid rgba(255,255,255,.45); opacity:0; }
.vc-tile.tutor.speaking .aa-face::after { animation:avRing 2.4s ease-out infinite; }
.aa-eyes { position:absolute; top:21px; left:0; right:0; display:flex; justify-content:center; gap:14px; }
.aa-eyes i { width:8px; height:9px; border-radius:50%; background:#fff; transform-origin:center; }
.aa-mouth { position:absolute; bottom:15px; left:50%; transform:translateX(-50%); width:20px; height:4px; background:#fff; border-radius:0 0 12px 12px; }
.vc-tile.tutor.speaking .aa-eyes i { animation:blink 3s steps(1,end) infinite; }
.vc-tile.tutor.speaking .aa-mouth { animation:talk .36s ease-in-out infinite; }
.vc-badge { position:absolute; top:8px; right:8px; z-index:2; font-family:var(--font-display); font-size:9px; font-weight:700; letter-spacing:.08em; color:#fff; background:rgba(91,99,224,.92); padding:3px 7px; border-radius:6px; }
.vc-tile image-slot { width:100%; height:100%; display:block; }
.vc-photo { width:100%; height:100%; object-fit:cover; display:block; }
.vc-tile.speaking { border-color:var(--green); box-shadow:0 0 0 3px rgba(31,157,107,.22); }
.vc-name { position:absolute; left:8px; bottom:8px; display:inline-flex; align-items:center; gap:6px; padding:4px 9px; border-radius:8px; background:rgba(10,16,30,.62); color:#fff; font-family:var(--font-display); font-size:11px; font-weight:600; z-index:2; }
.vc-sound { display:none; align-items:flex-end; gap:2px; height:11px; }
.vc-tile.speaking .vc-sound { display:flex; }
.vc-sound i { width:2px; height:4px; background:#5BE0A0; border-radius:2px; }
.vc-tile.speaking .vc-sound i { animation:vcSound .8s ease-in-out infinite; }
.vc-tile.speaking .vc-sound i:nth-child(2){ animation-delay:.15s; }
.vc-tile.speaking .vc-sound i:nth-child(3){ animation-delay:.3s; }
@keyframes vcSound { 0%,100%{ height:3px; } 50%{ height:10px; } }
.vc-caption { background:rgba(17,26,46,.94); color:#fff; border-radius:12px; padding:11px 16px; font-size:13.5px; line-height:1.45; text-align:center; min-height:44px; display:flex; align-items:center; justify-content:center; transition:opacity .25s; }
.vc-caption b { color:var(--navy-lift); font-weight:700; }
.vc-bar { display:flex; justify-content:center; gap:12px; margin-top:auto; }
.vc-btn { width:42px; height:42px; border-radius:50%; background:var(--cream-deep); color:var(--ink); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background .2s,transform .15s; }
.vc-btn:hover { background:var(--border); transform:translateY(-1px); }
.vc-btn svg { width:18px; height:18px; }
.vc-btn.end { background:#E0584F; color:#fff; }
.vc-btn.end:hover { background:#CF473E; }

/* ── Card: Capability Over Time ── */
.ic-trend { background:var(--indigo-soft); color:var(--indigo-deep); }
.cot-chip { margin-left:auto; font-family:var(--font-display); font-size:12px; font-weight:600; color:var(--green-deep); background:var(--green-soft); padding:6px 12px; border-radius:999px; }
.cot-chart { margin-top:auto; display:flex; align-items:flex-end; gap:6px; height:250px; }
.cot-bar { flex:1; height:0; border-radius:6px 6px 0 0; background:#D8E0EE; align-self:flex-end; transition:height .9s var(--ease); }
.vh-panel.go .cot-bar { height:var(--h); }
.cot-bar.navy { background:var(--navy); } .cot-bar.orange { background:var(--orange); }
.cot-x { display:flex; justify-content:space-between; margin-top:11px; font-size:11.5px; color:var(--muted); }

/* ── Card: Learning Overview ── */
.ic-overview { background:var(--green-soft); color:var(--green-deep); }
.lo-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.lo-stat { border-radius:14px; padding:16px 8px; text-align:center; }
.lo-stat .v { font-family:var(--font-display); font-weight:800; font-size:27px; line-height:1; }
.lo-stat .l { font-size:11.5px; color:var(--muted); margin-top:5px; }
.lo-stat.s1 { background:#EAEDF6; } .lo-stat.s1 .v { color:var(--navy); }
.lo-stat.s2 { background:var(--green-soft); } .lo-stat.s2 .v { color:var(--green-deep); }
.lo-stat.s3 { background:var(--butter-soft); } .lo-stat.s3 .v { color:var(--orange-deep); }
.lo-chart { margin-top:auto; display:flex; align-items:flex-end; gap:14px; height:150px; }
.lo-col { flex:1; height:100%; display:flex; flex-direction:column; align-items:center; gap:9px; justify-content:flex-end; }
.lo-bar { width:100%; height:0; border-radius:12px; transition:height .9s var(--ease); }
.vh-panel.go .lo-bar { height:var(--h); }
.lo-col .l { font-size:12px; color:var(--muted); }
.lo-bar.green { background:#4FB07E; } .lo-bar.navy { background:var(--navy); } .lo-bar.purple { background:#8B5CF6; } .lo-bar.orange { background:var(--orange); }

.hero-float { position:absolute; background:var(--paper); border:1px solid var(--border); border-radius:14px; padding:11px 15px; box-shadow:var(--shadow-md); display:flex; align-items:center; gap:11px; z-index:4; animation:bob 5s ease-in-out infinite; }
@keyframes bob { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }
.hero-float .fi { width:32px; height:32px; border-radius:9px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.hero-float .fi svg { width:17px; height:17px; }
.hero-float .l { font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); font-family:var(--font-display); }
.hero-float .v { font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--navy); margin-top:1px; line-height:1; }
.hero-float.hf1 { top:-24px; right:-16px; animation-delay:0s; }
.hero-float.hf1 .fi { background:var(--green-soft); color:var(--green-deep); }
.hero-float.hf2 { bottom:-22px; left:-20px; animation-delay:1.5s; }
.hero-float.hf2 .fi { background:var(--indigo-soft); color:var(--indigo-deep); }
.scroll-cue { position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:50; display:flex; flex-direction:column; align-items:center; gap:6px; text-decoration:none; font-family:var(--font-display); font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); transition:opacity .3s var(--ease),transform .3s var(--ease),color .2s; }
.scroll-cue.hidden { opacity:0; pointer-events:none; transform:translateX(-50%) translateY(12px); }
.scroll-cue:hover { color:var(--navy); }
.sc-chev { width:36px; height:36px; border:1px solid var(--border); border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--paper); box-shadow:var(--shadow-sm); animation:scrollBounce 1.8s ease-in-out infinite; }
.sc-chev svg { width:17px; height:17px; color:var(--navy); }
@keyframes scrollBounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(6px); } }
body.reduced-motion .sc-chev { animation:none !important; }
@media (prefers-reduced-motion:reduce){ .sc-chev{ animation:none !important; } }

/* ─── SECTION HEAD ──────────────────────────────────────────────────────── */
.section-head { text-align:center; max-width:760px; margin:0 auto 60px; }
.section-head .eyebrow { margin-bottom:16px; }
.section-head h2 { font-weight:800; font-size:clamp(32px,4.6vw,52px); letter-spacing:-.02em; line-height:1.06; color:var(--navy); margin-bottom:18px; }
.section-head p { font-size:18px; line-height:1.6; color:var(--muted); }

/* ════════════════════════════════════════════════════════════════════════
   WHAT YOU GET — feature grid
   ════════════════════════════════════════════════════════════════════════ */
.features { padding:96px 0; }
.features-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.feature { background:var(--paper); border:1px solid var(--border); border-radius:22px; padding:38px 36px; position:relative; overflow:hidden;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .35s; }
.feature::before { content:''; position:absolute; inset:0; opacity:0; transition:opacity .4s; pointer-events:none; background:radial-gradient(440px circle at var(--mx,50%) var(--my,0),rgba(242,116,30,.08),transparent 60%); }
.feature:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:rgba(30,58,138,.18); }
.feature:hover::before { opacity:1; }
.feature .f-tag { display:inline-block; font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.02em; padding:6px 13px; border-radius:999px; margin-bottom:22px; }
.feature .f-tag.t-orange { color:var(--orange-deep); background:var(--orange-soft); }
.feature .f-tag.t-navy { color:var(--navy); background:#E4E9F6; }
.feature .f-tag.t-green { color:var(--green-deep); background:var(--green-soft); }
.feature h3 { font-weight:700; font-size:25px; letter-spacing:-.01em; color:var(--navy); margin-bottom:12px; }
.feature p { font-size:15.5px; line-height:1.6; color:var(--muted); max-width:440px; }
@media (max-width:820px){ .features-grid { grid-template-columns:1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   CAPABILITY LOOP
   ════════════════════════════════════════════════════════════════════════ */
.loop { padding:96px 0; background:var(--cream-deep); position:relative; }
.loop-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; position:relative; }
.loop-card { background:var(--paper); border:1px solid var(--border-soft); border-radius:22px; padding:34px 30px; position:relative; z-index:2;
  transition:transform .35s var(--ease),box-shadow .35s var(--ease); }
.loop-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.loop-ico { width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:24px; }
.loop-ico svg { width:26px; height:26px; }
.loop-card.l1 .loop-ico { background:#E4E9F6; color:var(--navy); }
.loop-card.l2 .loop-ico { background:var(--indigo-soft); color:var(--indigo-deep); }
.loop-card.l3 .loop-ico { background:var(--green-soft); color:var(--green-deep); }
.loop-card .l-step { position:absolute; top:30px; right:30px; font-family:var(--font-display); font-weight:800; font-size:30px; color:var(--cream-deep); line-height:1; }
.loop-card h3 { font-weight:700; font-size:22px; letter-spacing:-.01em; color:var(--navy); margin-bottom:12px; }
.loop-card p { font-size:15px; line-height:1.6; color:var(--muted); }
/* connector arrows between cards */
.loop-line { position:absolute; top:54px; height:2px; background:repeating-linear-gradient(90deg,var(--border) 0 7px,transparent 7px 14px); z-index:1; }
.loop-line i { position:absolute; right:-3px; top:-4px; width:10px; height:10px; border-top:2px solid var(--orange); border-right:2px solid var(--orange); transform:rotate(45deg); opacity:0; transition:opacity .5s ease 1s; }
.in .loop-line i, .loop-grid.in .loop-line i { opacity:1; }
@media (max-width:860px){ .loop-grid { grid-template-columns:1fr; max-width:460px; margin:0 auto; } .loop-line { display:none; } }

/* ════════════════════════════════════════════════════════════════════════
   CORE TECHNOLOGY
   ════════════════════════════════════════════════════════════════════════ */
.coretech { padding:96px 0; }
.ct-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:40px; }
.ct-card { background:var(--paper); border:1px solid var(--border); border-radius:20px; padding:30px 26px; transition:transform .3s var(--ease),box-shadow .3s var(--ease); }
.ct-card:hover { transform:translateY(-5px); box-shadow:var(--shadow-md); }
.ct-ico { width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; margin-bottom:20px; background:var(--cream); }
.ct-ico svg { width:23px; height:23px; }
.ct-card.i1 .ct-ico { color:var(--navy); }
.ct-card.i2 .ct-ico { background:var(--ink); color:#fff; }
.ct-card.i3 .ct-ico { color:var(--green); }
.ct-card.i4 .ct-ico { color:var(--orange); }
.ct-card h4 { font-weight:700; font-size:18px; line-height:1.25; letter-spacing:-.01em; color:var(--navy); margin-bottom:12px; }
.ct-card p { font-size:14px; line-height:1.6; color:var(--muted); }
@media (max-width:980px){ .ct-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:520px){ .ct-grid { grid-template-columns:1fr; } }

.stats-band { background:linear-gradient(110deg,var(--navy-deep),var(--navy) 50%,var(--indigo)); background-size:220% 100%; border-radius:26px; padding:48px; display:grid; grid-template-columns:repeat(3,1fr); gap:30px;
  position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.stats-band.in { animation:bandShift 10s ease-in-out infinite; }
@keyframes bandShift { 0%,100%{ background-position:0% 0; } 50%{ background-position:100% 0; } }
.stats-band::before { content:''; position:absolute; right:-8%; top:-50%; width:36%; aspect-ratio:1; border-radius:50%; background:radial-gradient(circle,rgba(238,138,30,.32),transparent 68%); }
.stats-band::after { content:''; position:absolute; top:0; left:0; width:42%; height:100%; pointer-events:none; background:linear-gradient(100deg,transparent,rgba(255,255,255,.16),transparent); transform:translateX(-230%) skewX(-16deg); }
.stats-band.in::after { animation:bandSheen 6s ease-in-out 1.1s infinite; }
@keyframes bandSheen { 0%{ transform:translateX(-230%) skewX(-16deg); } 22%{ transform:translateX(330%) skewX(-16deg); } 100%{ transform:translateX(330%) skewX(-16deg); } }
.stat { text-align:center; position:relative; }
.stat:not(:first-child)::before { content:''; position:absolute; left:-15px; top:6px; bottom:6px; width:1px; background:rgba(255,255,255,.14); }
.stat .stat-num { display:inline-block; font-family:var(--font-display); font-weight:800; font-size:clamp(40px,4.6vw,58px); line-height:1; color:#fff; letter-spacing:-.02em; }
.stats-band.in .stat-num { animation:statPop .7s var(--ease) both; }
.stats-band.in .stat:nth-child(2) .stat-num { animation-delay:.12s; }
.stats-band.in .stat:nth-child(3) .stat-num { animation-delay:.24s; }
@keyframes statPop { 0%{ transform:scale(.84); } 60%{ transform:scale(1.06); } 100%{ transform:scale(1); } }
body.reduced-motion .stats-band, body.reduced-motion .stats-band::after, body.reduced-motion .stat-num { animation:none !important; }
.stat .stat-l { font-size:14px; color:rgba(255,255,255,.74); margin-top:10px; }
@media (max-width:680px){ .stats-band { grid-template-columns:1fr; gap:28px; padding:38px 28px; } }

/* ════════════════════════════════════════════════════════════════════════
   MISSION
   ════════════════════════════════════════════════════════════════════════ */
.mission { padding:96px 0 110px; background:var(--paper); }
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.mission-copy .eyebrow { margin-bottom:18px; }
.mission-copy h2 { font-weight:800; font-size:clamp(30px,3.8vw,46px); letter-spacing:-.02em; line-height:1.1; color:var(--navy); margin-bottom:24px; }
.mission-copy p { font-size:16.5px; line-height:1.7; color:var(--muted); margin-bottom:18px; max-width:520px; }
.mission-cards { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.m-card { border:1px solid var(--border); border-radius:18px; padding:24px; position:relative; min-height:170px; display:flex; flex-direction:column; background:var(--cream); transition:transform .3s var(--ease),box-shadow .3s var(--ease); }
.m-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.m-ico { width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:auto; }
.m-ico svg { width:21px; height:21px; }
.m-card.m1 .m-ico { background:#E4E9F6; color:var(--navy); }
.m-card.m2 .m-ico { background:var(--indigo-soft); color:var(--indigo-deep); }
.m-card.m3 .m-ico { background:var(--green-soft); color:var(--green-deep); }
.m-card.m4 .m-ico { background:var(--orange-soft); color:var(--orange-deep); }
.m-card h4 { font-weight:700; font-size:17px; color:var(--navy); margin:18px 0 5px; }
.m-card p { font-size:13.5px; line-height:1.45; color:var(--muted); }
.m-card .m-arrow { position:absolute; bottom:22px; right:22px; color:var(--muted); transition:transform .25s var(--ease),color .25s; }
.m-card:hover .m-arrow { transform:translateX(3px); color:var(--orange); }
@media (max-width:900px){ .mission-grid { grid-template-columns:1fr; gap:44px; } }
@media (max-width:460px){ .mission-cards { grid-template-columns:1fr; } }

/* ════════════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════════════ */
.site-footer { background:var(--footer); color:rgba(255,255,255,.66); padding:72px 0 36px; }
.footer-grid { display:grid; grid-template-columns:2.2fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; border-bottom:1px solid rgba(255,255,255,.09); }
.footer-brand-name { font-family:var(--font-display); font-weight:700; font-size:20px; color:#fff; margin-bottom:6px; }
.footer-tagline { font-family:var(--font-display); font-size:12.5px; font-weight:600; letter-spacing:.04em; color:var(--orange); margin-bottom:18px; }
.footer-blurb { font-size:14px; line-height:1.65; color:rgba(255,255,255,.55); max-width:300px; margin-bottom:18px; }
.footer-contact { display:inline-flex; align-items:center; gap:9px; font-size:14px; color:rgba(255,255,255,.7); text-decoration:none; margin-bottom:22px; }
.footer-contact:hover { color:#fff; }
.footer-contact svg { width:16px; height:16px; }
.store-badges { display:flex; gap:12px; }
.store-badge { display:inline-flex; align-items:center; gap:9px; height:46px; padding:0 16px; border:1px solid rgba(255,255,255,.18); border-radius:11px; text-decoration:none; transition:background .18s,border-color .18s; }
.store-badge:hover { background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.35); }
.store-badge svg { width:17px; height:17px; color:#fff; flex-shrink:0; }
.store-badge .sb-t { display:flex; flex-direction:column; line-height:1.2; }
.store-badge .sb-1 { font-size:8.5px; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.04em; }
.store-badge .sb-2 { font-family:var(--font-display); font-size:14px; font-weight:700; color:#fff; }
.footer-col h5 { font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); margin-bottom:18px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:13px; }
.footer-col ul a { font-size:14.5px; color:rgba(255,255,255,.7); text-decoration:none; transition:color .18s; }
.footer-col ul a:hover { color:#fff; }
.footer-bottom { padding-top:28px; font-size:13px; color:rgba(255,255,255,.45); }
@media (max-width:860px){ .footer-grid { grid-template-columns:1fr 1fr; gap:32px; } }
@media (max-width:480px){ .footer-grid { grid-template-columns:1fr; } }

@media (max-width:560px){ .hero { padding:120px 0 50px; } .stats-band{padding:34px 22px;} }

body.reduced-motion .ambient .blob, body.reduced-motion .hero-float,
body.reduced-motion .vh-panel::after, body.reduced-motion .vh-mic, body.reduced-motion .cgd-fill::after, body.reduced-motion .cgd-alert, body.reduced-motion .chat-av .ring, body.reduced-motion .chat-av.ai, body.reduced-motion .chat-av .eye, body.reduced-motion .chat-av .mouth, body.reduced-motion .vc-sound i, body.reduced-motion .aa-eyes i, body.reduced-motion .aa-mouth, body.reduced-motion .aa-face::after { animation:none !important; }
@media (prefers-reduced-motion:reduce){ .ambient .blob,.hero-float,.vh-panel::after,.vh-mic,.cgd-fill::after,.cgd-alert,.chat-av .ring,.chat-av.ai,.chat-av .eye,.chat-av .mouth,.vc-sound i,.aa-eyes i,.aa-mouth,.aa-face::after{ animation:none !important; } html{ scroll-behavior:auto; } }

/* ════════════════════════════════════════════════════════════════════════
   EXTRA MOTION PASS
   ════════════════════════════════════════════════════════════════════════ */
/* 1 · headline accent shimmer */
.in-words .hero h1 .accent .word>span {
  background:linear-gradient(100deg,var(--indigo) 32%,#B4B8FB 50%,var(--indigo) 68%);
  background-size:200% 100%; -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; color:transparent;
  animation:accentShine 3.6s linear 1.5s infinite;
}
@keyframes accentShine { 0%{ background-position:0 0; } 100%{ background-position:-200% 0; } }

/* 2 · icon line-draw on reveal */
.loop-ico svg > *, .ct-ico svg > *, .m-ico svg > * { stroke-dasharray:240; stroke-dashoffset:240; }
.loop-card.in .loop-ico svg > *, .ct-card.in .ct-ico svg > *, .mission-cards.in .m-ico svg > * { animation:drawIn 1.1s var(--ease) .2s forwards; }
@keyframes drawIn { to { stroke-dashoffset:0; } }

/* 3 · flowing loop connectors */
.loop-line { background:repeating-linear-gradient(90deg, rgba(238,138,30,.5) 0 7px, transparent 7px 15px); }
.loop-grid.in .loop-line { animation:loopFlow .7s linear infinite; }
@keyframes loopFlow { to { background-position:15px 0; } }

/* 4 · nav condense on scroll */
nav.topbar .inner { transition:box-shadow .3s,background .3s,height .3s var(--ease),padding .3s var(--ease); }
nav.topbar.scrolled { top:8px; }
nav.topbar.scrolled .inner { height:60px; }

/* 5 · logo hover */
.logo-mark { transition:transform .4s var(--ease); }
.logo:hover .logo-mark { transform:rotate(-6deg) scale(1.06); }

/* 6 · section-head word reveal */
[data-reveal].section-head, [data-reveal].mission-copy { transform:none; }
.section-head h2 .word>span, .mission-copy h2 .word>span { display:inline-block; transform:translateY(85%); opacity:0; transition:transform .75s var(--ease),opacity .6s var(--ease); }
.section-head.in h2 .word>span, .mission-copy.in h2 .word>span { transform:none; opacity:1; }

/* snap + reduced-motion safety (continuous anims are visible-safe, so snap only fixes icon-draw which would hide strokes) */
html.snap .loop-ico svg > *, html.snap .ct-ico svg > *, html.snap .m-ico svg > * { stroke-dashoffset:0 !important; animation:none !important; }
html.snap .section-head h2 .word>span, html.snap .mission-copy h2 .word>span { transition:none !important; }
body.reduced-motion .hero h1 .accent .word>span, body.reduced-motion .loop-line { animation:none !important; }
body.reduced-motion .loop-ico svg > *, body.reduced-motion .ct-ico svg > *, body.reduced-motion .m-ico svg > * { stroke-dashoffset:0 !important; animation:none !important; }
@media (prefers-reduced-motion:reduce){
  .hero h1 .accent .word>span,.loop-line{ animation:none !important; }
  .loop-ico svg > *,.ct-ico svg > *,.m-ico svg > *{ stroke-dashoffset:0 !important; animation:none !important; }
}

/* ─── TWEAKS PANEL ──────────────────────────────────────────────────────── */
#tweaks-panel { position:fixed; right:24px; bottom:24px; width:300px; z-index:500; background:var(--paper); border:1px solid var(--border); border-radius:18px; box-shadow:var(--shadow-lg); font-family:var(--font-body); opacity:0; transform:translateY(12px) scale(.98); pointer-events:none; transition:opacity .25s var(--ease),transform .25s var(--ease); }
#tweaks-panel.shown { opacity:1; transform:none; pointer-events:auto; }
.tp-head { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; border-bottom:1px solid var(--border-soft); cursor:grab; }
.tp-head:active { cursor:grabbing; }
.tp-title { display:inline-flex; align-items:center; gap:8px; font-size:13px; font-weight:700; color:var(--ink); }
.tp-dot { width:8px; height:8px; border-radius:50%; background:var(--orange); }
.tp-close { width:26px; height:26px; border:none; background:var(--cream-deep); border-radius:8px; cursor:pointer; font-size:16px; color:var(--muted); line-height:1; }
.tp-close:hover { background:var(--border); color:var(--ink); }
.tp-body { padding:14px 16px 18px; max-height:70vh; overflow-y:auto; }
.tp-section { font-family:var(--font-display); font-size:10px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin:14px 0 10px; }
.tp-section:first-child { margin-top:0; }
.tp-row { margin-bottom:14px; }
.tp-lbl { font-size:12.5px; color:var(--muted); margin-bottom:8px; }
.tp-swatches { display:flex; gap:8px; }
.tp-swatch { width:30px; height:30px; border-radius:8px; border:2px solid transparent; cursor:pointer; box-shadow:inset 0 0 0 1px rgba(0,0,0,.08); }
.tp-swatch.selected { border-color:var(--ink); box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink); }
.tp-options { display:grid; gap:6px; }
.tp-options.cols-3 { grid-template-columns:repeat(3,1fr); }
.tp-options button { font-family:inherit; font-size:12px; font-weight:600; padding:9px 6px; border:1px solid var(--border); border-radius:9px; background:var(--cream); color:var(--ink); cursor:pointer; transition:all .15s; }
.tp-options button:hover { border-color:var(--navy); }
.tp-options button.selected { background:var(--navy); color:#fff; border-color:var(--navy); }
.tp-toggle-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.tp-toggle { width:40px; height:23px; border-radius:999px; border:none; background:var(--border); cursor:pointer; position:relative; transition:background .2s; }
.tp-toggle::after { content:''; position:absolute; top:3px; left:3px; width:17px; height:17px; border-radius:50%; background:#fff; transition:transform .2s var(--ease); box-shadow:0 1px 3px rgba(0,0,0,.2); }
.tp-toggle.on { background:var(--navy); }
.tp-toggle.on::after { transform:translateX(17px); }
