/* =========================================================
   LUMI · Okul Yönetim Platformu
   Design tokens → base → components → sections
   ========================================================= */

:root {
  --navy-950: #070e21;
  --navy-900: #0c1530;
  --navy-850: #101b3b;
  --navy-800: #16234a;
  --navy-700: #22325f;
  --gold: #f6c453;
  --gold-2: #ffd978;
  --gold-3: #e3a432;
  --amber: #d4861a;
  --cream: #f8f3ea;
  --cream-2: #f1e8d7;
  --cream-3: #e6d8bf;
  --paper: #fffdf8;
  --ink: #141d38;
  --ink-2: #3c4566;
  --ink-3: #6b7190;
  --brown: #9a5a1c;
  --teal: #285a6a;
  --rose: #d0573f;
  --green: #3fa57a;

  --f-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.2, .75, .1, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
}

/* contextual palettes ------------------------------------------------ */
.dark, .hero, .manifesto, .finale, .dawn {
  --fg: #f4ede0;
  --fg2: rgba(244, 237, 224, .74);
  --fg3: rgba(244, 237, 224, .5);
  --card: rgba(255, 255, 255, .04);
  --card-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --accent: var(--gold);
  --soft: rgba(246, 196, 83, .13);
  --chip-bg: rgba(255, 255, 255, .05);
  --chip-line: rgba(255, 255, 255, .14);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
  color: var(--fg);
}
.light {
  --fg: var(--ink);
  --fg2: var(--ink-2);
  --fg3: var(--ink-3);
  --card: var(--paper);
  --card-2: #fbf6ec;
  --line: #ebdfca;
  --line-2: #dccdb2;
  --accent: var(--brown);
  --soft: #f6ead0;
  --chip-bg: #fff;
  --chip-line: #e3d5bb;
  --shadow: 0 24px 50px -28px rgba(80, 55, 20, .28);
  color: var(--fg);
}

/* base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--navy-900);
  color: #f4ede0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
strong { font-weight: 700; color: var(--fg); }
::selection { background: var(--gold); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

svg:not([class]) {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

/* logo ---------------------------------------------------------------- */
.logo-svg { height: 100%; width: auto; overflow: visible; display: block; }
.logo-halo { animation: halo 3.2s ease-in-out infinite; transform-origin: 160px 13px; }
@keyframes halo { 0%, 100% { opacity: .65; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.15); } }

/* buttons & chips ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--f-body);
  padding: 14px 22px; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.btn-gold {
  background: linear-gradient(180deg, #ffdc84, var(--gold) 60%, #f0b53c);
  color: var(--navy-900);
  box-shadow: 0 12px 34px -12px rgba(246, 196, 83, .75), inset 0 1px 0 rgba(255, 255, 255, .65);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(246, 196, 83, .9), inset 0 1px 0 rgba(255, 255, 255, .65); }
.btn-ghost { border: 1px solid var(--chip-line, rgba(255,255,255,.18)); color: var(--fg, #f4ede0); background: var(--chip-bg, transparent); }
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-sm { padding: 11px 17px; font-size: 14px; }
.btn-xs { padding: 7px 12px; font-size: 12.5px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--chip-line); background: var(--chip-bg);
  font: 600 13px/1.2 var(--f-body); color: var(--fg);
  transition: background .25s, border-color .25s, color .25s, transform .25s;
}
button.chip:hover { border-color: var(--gold); transform: translateY(-1px); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.chip-gold { background: rgba(246, 196, 83, .2); border-color: rgba(227, 164, 50, .35); color: #8a5800; }
.dark .chip-gold, .dawn .chip-gold { color: var(--gold-2); background: rgba(246, 196, 83, .14); }
.chip-soft { color: var(--fg3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.seg {
  display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
}
.seg button {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 999px;
  font: 600 13px/1.1 var(--f-body); color: rgba(244, 237, 224, .7);
  transition: background .3s, color .3s;
}
.seg button svg { width: 16px; height: 16px; }
.seg button:hover { color: #fff; }
.seg button.is-on { background: var(--gold); color: var(--navy-900); }

/* type ------------------------------------------------------------------ */
.eyebrow {
  font: 700 12.5px/1.2 var(--f-body);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow b { font-weight: 800; }
.eyebrow b::after { content: '·'; margin-left: 10px; }
.eyebrow.small { font-size: 11.5px; margin-bottom: 18px; }
.eyebrow.center { justify-content: center; }
.eyebrow svg { width: 16px; height: 16px; }

.title { margin-top: 18px; font-weight: 400; }
.title > span {
  display: block;
  font: 800 clamp(42px, 6.4vw, 96px)/.95 var(--f-display);
  letter-spacing: -.052em;
  color: var(--fg);
}
.title > em {
  display: block;
  font: italic 400 clamp(46px, 7vw, 106px)/.98 var(--f-serif);
  letter-spacing: -.022em;
  color: var(--accent);
  margin-top: .02em;
  padding-bottom: .06em;
}
.title > span, .title > em { text-wrap: balance; }
.title > em.teal { color: var(--teal); }
.title > em.gold { color: var(--gold); text-shadow: 0 0 60px rgba(246, 196, 83, .25); }
.lead { font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: var(--fg2); max-width: 46ch; }
.muted { color: var(--fg3); font-size: 14.5px; }
.fine { color: var(--fg3); font-size: 13.5px; line-height: 1.55; }
.gold-t { color: var(--gold); }

/* sections ---------------------------------------------------------------- */
.sec { position: relative; padding: clamp(96px, 12vw, 168px) 0; overflow: clip; }
.sec.light { background: var(--cream); }
.sec.dark { background: var(--navy-900); }
.sec-head {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px);
}
.sec-head .lead { padding-bottom: 14px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .lead { padding: 0; }
.sun-corner {
  position: absolute; top: -340px; right: -300px; width: 760px; height: 760px; pointer-events: none;
  background: radial-gradient(circle, rgba(246, 196, 83, .32), rgba(246, 196, 83, .08) 40%, transparent 66%);
}

/* feature header -------------------------------------------------------- */
.feat-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.feat-h h3 { font: 700 clamp(21px, 1.9vw, 26px)/1.15 var(--f-display); letter-spacing: -.03em; color: var(--fg); }
.feat-h p { font: 600 14px/1.3 var(--f-body); color: var(--accent); margin-top: 3px; }
.dark .feat-h p, .dawn .feat-h p { color: var(--gold); }
.ico-badge {
  width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #ffe08f, var(--gold) 60%, #eaa933);
  color: var(--navy-900);
  box-shadow: 0 8px 24px -8px rgba(246, 196, 83, .7);
}
.ico-badge svg { width: 22px; height: 22px; stroke-width: 2; }
.ico-soft {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--soft); color: var(--accent);
}
.dark .ico-soft, .dawn .ico-soft { color: var(--gold); }
.ico-soft svg { width: 20px; height: 20px; }

/* mini cards ------------------------------------------------------------- */
.mini-grid { display: grid; gap: 16px; margin-top: 28px; }
.mini-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mini {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.mini:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.mini .ico-soft { margin-bottom: 14px; }
.mini h4 { font: 700 17.5px/1.25 var(--f-display); letter-spacing: -.02em; margin-bottom: 6px; color: var(--fg); }
.mini p { font-size: 14.5px; line-height: 1.55; color: var(--fg2); }

.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 2.4vw, 32px); }
.tcard > p { color: var(--fg2); font-size: 15.5px; }
.cards-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }

.bx {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(22px, 2.4vw, 32px);
}
.bx > p { color: var(--fg2); font-size: 15px; }

/* reveal ------------------------------------------------------------------ */
.js [data-reveal] { transform: translateY(26px); transition: transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js [data-reveal].in { transform: none; }

/* ========================================================================
   CURSOR FIREFLY
   ======================================================================== */
.cursor-fly { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .4s; will-change: transform; }
.cursor-fly.on { opacity: 1; }
.cursor-fly span {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle, #fff6d0 0%, #ffd36e 45%, #f4a62a 100%);
  box-shadow: 0 0 14px 5px rgba(255, 200, 80, .55), 0 0 60px 22px rgba(255, 200, 80, .16);
  transition: transform .3s var(--ease-spring);
}
.cursor-fly.big span { transform: scale(1.9); }
body[data-ui="light"] .cursor-fly span { box-shadow: 0 0 10px 3px rgba(240, 170, 40, .5), 0 0 40px 14px rgba(240, 170, 40, .14); }

/* ========================================================================
   NAV
   ======================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gutter) 14px; transition: transform .5s var(--ease); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, color .4s;
  color: #f4ede0;
}
.nav.scrolled .nav-inner {
  background: rgba(10, 18, 40, .62); border-color: rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .55);
}
body[data-ui="light"] .nav.scrolled .nav-inner { background: rgba(255, 251, 243, .72); border-color: rgba(120, 90, 40, .12); color: var(--ink); box-shadow: 0 20px 40px -26px rgba(80, 55, 20, .35); }
.nav.hide { transform: translateY(-120%); }
.nav-logo { height: 30px; display: block; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font: 600 14px/1 var(--f-body); padding: 10px 13px; border-radius: 999px; opacity: .8; transition: opacity .2s, background .2s; }
.nav-links a:hover, .nav-links a.on { opacity: 1; background: rgba(255, 255, 255, .08); }
body[data-ui="light"] .nav.scrolled .nav-links a:hover, body[data-ui="light"] .nav.scrolled .nav-links a.on { background: rgba(20, 29, 56, .06); }
.nav-links a.on { color: var(--gold); }
body[data-ui="light"] .nav.scrolled .nav-links a.on { color: var(--brown); }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; margin-left: auto; }
.nav-burger svg { width: 24px; height: 24px; }

.mnav {
  position: fixed; inset: 0; z-index: 99; background: rgba(7, 14, 33, .97);
  padding: 96px var(--gutter) 32px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
}
.mnav[hidden] { display: none; }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { font: 700 22px/1.2 var(--f-display); letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; gap: 14px; align-items: baseline; color: #f4ede0; }
.mnav nav a b { font: 700 12px var(--f-body); color: var(--gold); letter-spacing: .1em; }

/* ========================================================================
   RAIL
   ======================================================================== */
.rail { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); height: min(60vh, 500px); width: 26px; z-index: 60; color: rgba(244, 237, 224, .35); transition: color .4s, opacity .4s; }
body[data-rail="light"] .rail { color: rgba(154, 90, 28, .35); }
.rail-track { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; }
.rail-track::before, .rail-fill {
  content: ''; position: absolute; left: 0; top: 0; width: 3px;
  background: radial-gradient(circle, currentColor 1.2px, transparent 1.6px) 0 0 / 3px 9px repeat-y;
}
.rail-track::before { height: 100%; }
.rail-fill { height: var(--rp, 0%); color: var(--gold); }
body[data-rail="light"] .rail-fill { color: var(--gold-3); }
.rail-dot {
  position: absolute; left: 50%; top: var(--rp, 0%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%;
  background: radial-gradient(circle, #fff3c4, var(--gold) 55%, #ef9f22);
  box-shadow: 0 0 12px 4px rgba(255, 200, 80, .5), 0 0 40px 10px rgba(255, 200, 80, .18);
}
.rail-list { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; }
.rail-list li { position: relative; height: 0; display: flex; justify-content: center; }
.rail-list a { position: absolute; top: -9px; width: 18px; height: 18px; display: grid; place-items: center; }
.rail-list a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; transition: transform .3s, background .3s; }
.rail-list a.on::before { background: var(--gold); transform: scale(1.4); }
.rail-list a span {
  position: absolute; right: 26px; top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; font: 700 12px/1 var(--f-body); letter-spacing: .04em;
  padding: 7px 11px; border-radius: 999px; background: var(--navy-800); color: #f4ede0; border: 1px solid rgba(255, 255, 255, .1);
  transition: opacity .25s, transform .25s;
}
.rail-list a span b { color: var(--gold); margin-right: 6px; }
.rail-list a:hover span, .rail-list a:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* ========================================================================
   HERO
   ======================================================================== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  padding: clamp(100px, 12.5vh, 136px) 0 0;
  background:
    radial-gradient(900px 700px at 78% 22%, rgba(52, 72, 150, .45), transparent 60%),
    radial-gradient(700px 600px at 10% 90%, rgba(30, 46, 110, .5), transparent 60%),
    linear-gradient(180deg, #0b1430 0%, #0c1530 60%, #0a1229 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.lantern { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.lantern-light { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--lx, 70%) var(--ly, 40%), rgba(255, 196, 90, .17), rgba(255, 196, 90, .05) 45%, transparent 72%); }
.lantern-layer {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(310px circle at var(--lx, 70%) var(--ly, 40%), #000 0%, rgba(0, 0, 0, .75) 40%, transparent 100%);
  mask-image: radial-gradient(310px circle at var(--lx, 70%) var(--ly, 40%), #000 0%, rgba(0, 0, 0, .75) 40%, transparent 100%);
}
.lantern-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lantern-lines line { stroke: rgba(255, 214, 120, .6); stroke-width: 1.2; stroke-dasharray: 2 5; }
.lantern-tags { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.ls-behind { backdrop-filter: none; -webkit-backdrop-filter: none; }
.ls {
  position: absolute; transform: translate(-50%, -50%); opacity: 0; visibility: hidden;
  backdrop-filter: blur(9px) saturate(1.3); -webkit-backdrop-filter: blur(9px) saturate(1.3);
  font: 600 12px/1 var(--f-body); white-space: nowrap; letter-spacing: .01em;
  color: #ffe2a0; padding: 6px 10px 6px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 214, 120, .45); background: rgba(14, 22, 48, .62); box-shadow: 0 6px 20px -8px rgba(0, 0, 0, .6);
  display: inline-flex; align-items: center; gap: 6px;
}
.ls::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); align-items: center; gap: 20px; }
.hero-eyebrow { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 700 12.5px/1.3 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 237, 224, .82); }
.hero-eyebrow .gold { color: var(--gold); }
.hero-title {
  font: 800 clamp(60px, 8.9vw, 140px)/.86 var(--f-display);
  letter-spacing: -.058em; color: var(--cream);
  margin: 22px 0 30px;
}
.ht-line { display: block; overflow: hidden; padding: .1em .05em .12em 0; margin: -.1em 0 -.12em; }
.ht-line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.ht-line:nth-child(1) > span { animation-delay: .15s; }
.ht-line:nth-child(2) > span { animation-delay: .27s; }
.ht-line:nth-child(3) > span { animation-delay: .39s; }
@keyframes rise { to { transform: none; } }
.ht-serif { overflow: visible; }
.ht-serif em {
  display: inline-block;
  font: italic 400 1.14em/.86 var(--f-serif);
  letter-spacing: -.02em; padding: 0 .08em 0 0; margin-left: -.03em;
  color: rgba(246, 196, 83, .45);
  opacity: 0; filter: blur(10px);
  animation: fadeBlur 1.4s .6s var(--ease) forwards;
  transition: color 1.4s var(--ease), text-shadow 1.6s var(--ease);
}
.ht-serif em.lit { color: var(--gold); text-shadow: 0 0 34px rgba(246, 196, 83, .55), 0 0 110px rgba(246, 196, 83, .35); }
@keyframes fadeBlur { to { opacity: 1; filter: none; } }
.hero-lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: rgba(244, 237, 224, .78); max-width: 40ch; opacity: 0; animation: fadeUp 1s .9s var(--ease) forwards; }
.hero-lead strong { color: #fff; font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; opacity: 0; animation: fadeUp 1s 1.05s var(--ease) forwards; }
.hero .btn-ghost { --chip-line: rgba(255, 255, 255, .2); --chip-bg: rgba(255, 255, 255, .04); --fg: #f4ede0; backdrop-filter: blur(6px); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; justify-self: center; width: min(100%, 500px); opacity: 0; animation: fadeUp 1.2s .35s var(--ease) forwards; }
.hero-mascot {
  position: relative; width: 100%; height: auto;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  animation: bob 6s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .45));
}
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -18px; rotate: -1.5deg; } }
.hero-halo {
  position: absolute; left: 22%; top: 52%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 110, .55), rgba(255, 190, 70, .18) 40%, transparent 70%);
  filter: blur(8px); animation: glowPulse 3.6s ease-in-out infinite;
}
@keyframes glowPulse { 0%, 100% { opacity: .7; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }

.hero-trail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 3; }
.trail-dots { stroke: var(--gold); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 0 12; opacity: .85; }
.trail-fly { position: absolute; left: 0; top: 0; z-index: 4; width: 0; height: 0; pointer-events: none; transform: translate3d(var(--fx, -100px), var(--fy, -100px), 0); opacity: 0; }
.trail-fly.on { opacity: 1; transition: opacity .4s; }
.trail-fly b { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff5cf, #ffc54a 55%, #f29a14); box-shadow: 0 0 18px 6px rgba(255, 200, 80, .6), 0 0 70px 26px rgba(255, 200, 80, .22); }
.trail-fly i { position: absolute; top: -14px; width: 15px; height: 9px; border-radius: 50%; background: rgba(240, 225, 190, .7); animation: flap .12s ease-in-out infinite alternate; }
.trail-fly i:nth-child(1) { left: -16px; transform-origin: right center; rotate: -25deg; }
.trail-fly i:nth-child(2) { left: 1px; transform-origin: left center; rotate: 25deg; }
@keyframes flap { from { transform: scaleY(1); } to { transform: scaleY(.35); } }
.trail-fly.landed i { animation-duration: .5s; }

.hero-foot { position: relative; z-index: 2; padding-top: clamp(40px, 6vh, 72px); padding-bottom: 56px; opacity: 0; animation: fadeUp 1s 1.3s var(--ease) forwards; }
.hero-stats { display: flex; align-items: flex-end; gap: 48px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid rgba(255, 255, 255, .09); margin-bottom: 26px; }
.stat b { display: block; font: 800 clamp(44px, 4.6vw, 64px)/1 var(--f-display); letter-spacing: -.05em; color: var(--gold); }
.stat span { color: rgba(244, 237, 224, .72); font-size: 14.5px; }
.lantern-hint { margin-left: auto; display: flex; align-items: center; gap: 10px; color: rgba(244, 237, 224, .6); font-size: 13.5px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(246, 196, 83, .6); animation: ping 2s infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(246, 196, 83, .6); } 80%, 100% { box-shadow: 0 0 0 12px rgba(246, 196, 83, 0); } }
.hero-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hcard {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px;
  padding: 18px 18px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .45s var(--ease), border-color .3s, background .3s;
}
.hcard::after { content: ''; position: absolute; inset: 0; background: radial-gradient(220px circle at var(--hx, 50%) var(--hy, 50%), rgba(246, 196, 83, .16), transparent 70%); opacity: 0; transition: opacity .3s; }
.hcard:hover { transform: translateY(-5px); border-color: rgba(246, 196, 83, .45); }
.hcard:hover::after { opacity: 1; }
.hcard svg { width: 24px; height: 24px; color: var(--gold); margin-bottom: 12px; }
.hcard b { font: 700 18px/1.2 var(--f-display); letter-spacing: -.02em; color: #fff; }
.hcard span { font-size: 13.5px; color: rgba(244, 237, 224, .62); line-height: 1.4; }
.hcard em { position: absolute; top: 16px; right: 18px; font: 700 12px var(--f-body); font-style: normal; color: var(--gold); letter-spacing: .08em; }

/* ========================================================================
   MANIFESTO
   ======================================================================== */
.manifesto { position: relative; height: 270vh; background: linear-gradient(180deg, #0a1229 0%, var(--navy-950) 40%, var(--navy-950) 70%, #0d1531 100%); }
.mf-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.mf-inner { position: relative; z-index: 2; text-align: center; }
.mf-kicker { font: 700 12.5px var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.mf-text { font: 700 clamp(26px, 3.9vw, 58px)/1.1 var(--f-display); letter-spacing: -.035em; max-width: 1080px; margin: 0 auto; }
.mf-text .w { color: rgba(244, 237, 224, .3); transition: color .35s, text-shadow .5s; }
.mf-text .w.on { color: #f4ede0; }
.mf-text .w.hl.on { color: var(--gold); text-shadow: 0 0 30px rgba(246, 196, 83, .35); }
.mf-final { margin-top: 40px; font: 600 clamp(19px, 2vw, 28px)/1.35 var(--f-display); letter-spacing: -.02em; color: rgba(244, 237, 224, .85); opacity: .4; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.mf-final em { font: italic 400 1.25em var(--f-serif); color: var(--gold); letter-spacing: -.01em; }
.mf-final.on { opacity: 1; transform: none; }
.mf-orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mf-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.mf-lines path { fill: none; stroke: rgba(246, 196, 83, .35); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.mf-nodes span {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(.9); opacity: .35;
  font: 600 14px/1 var(--f-body); color: var(--gold-2); white-space: nowrap;
  padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid rgba(246, 196, 83, .35); background: rgba(246, 196, 83, .08);
  display: inline-flex; align-items: center; gap: 8px; z-index: 1;
  transition: opacity .7s var(--ease), transform .7s var(--ease-spring);
}
.mf-nodes span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px 2px var(--gold); }
.mf-nodes span.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ========================================================================
   02 · SOCIOGRAM
   ======================================================================== */
.socio { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.socio-copy > p { color: var(--fg2); font-size: 16px; }
.socio-steps { display: flex; flex-direction: column; gap: 10px; margin: 26px 0 22px; }
.socio-step {
  position: relative; overflow: hidden; display: flex; gap: 14px; text-align: left; align-items: flex-start;
  padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: transparent;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.socio-step:hover { border-color: var(--line-2); }
.socio-step.is-active { background: var(--paper); border-color: rgba(227, 164, 50, .5); box-shadow: var(--shadow); }
.ss-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 800 13px var(--f-body); background: var(--cream-2); color: var(--ink-2); flex-shrink: 0; transition: background .3s, color .3s; }
.socio-step.is-active .ss-n { background: var(--gold); color: var(--navy-900); }
.ss-t b { display: block; font: 700 16px/1.3 var(--f-display); letter-spacing: -.01em; color: var(--fg); }
.ss-t small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--fg3); margin-top: 3px; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.socio-step.is-active .ss-t small { max-height: 80px; }
.socio-step::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); }
.socio-step.is-active.auto::after { animation: stepProg var(--auto, 7s) linear forwards; }
@keyframes stepProg { to { width: 100%; } }

.socio-stage {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 30px;
  padding: 18px 18px 14px; box-shadow: 0 40px 80px -40px rgba(80, 55, 20, .35);
}
.socio-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 4px 4px 0; }
.q-card { background: var(--ink); color: var(--cream); border-radius: 16px; padding: 12px 16px; max-width: 360px; }
.q-label { display: flex; align-items: center; gap: 6px; font: 700 10.5px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.q-label svg { width: 13px; height: 13px; }
.q-text { font: italic 400 21px/1.25 var(--f-serif); margin-top: 4px; transition: opacity .4s; }
.socio-svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; -webkit-user-select: none; }
.s-edge { stroke: #c4b59b; stroke-width: 1.4; stroke-dasharray: 4 5; fill: none; transition: opacity .5s; }
.s-edge.mutual { stroke: var(--gold-3); stroke-width: 2.4; stroke-dasharray: none; }
.s-edge.dim { opacity: .05; }
.s-node { cursor: grab; }
.s-node:active { cursor: grabbing; }
.s-node .core { fill: var(--ink); stroke: #fff; stroke-width: 3; transition: fill .4s; }
.s-node .ring { fill: none; stroke: var(--gold); stroke-width: 2.5; opacity: 0; transition: opacity .4s; }
.s-node .halo { fill: url(#sg-halo); opacity: 0; transition: opacity .5s; }
.s-node text { fill: #fff; font: 700 11px var(--f-body); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.s-node.center .ring, .s-node.bridge .ring { opacity: 1; }
.s-node.center .halo { opacity: 1; }
.s-node.iso .core { fill: #f3ece0; stroke: #a99b84; stroke-dasharray: 3 3; stroke-width: 1.6; }
.s-node.iso text { fill: #8a7d68; }
.s-node .pingc { fill: none; stroke: var(--rose); stroke-width: 2; opacity: 0; }
.s-node.iso.alert .pingc { animation: sgPing 1.8s ease-out infinite; }
@keyframes sgPing { 0% { opacity: .8; r: 18; } 100% { opacity: 0; r: 38; } }
.s-label { font: italic 400 19px var(--f-serif); fill: var(--brown); transition: opacity .5s; paint-order: stroke; stroke: var(--paper); stroke-width: 6px; stroke-linejoin: round; pointer-events: none; }
.s-arrow { fill: none; stroke: var(--brown); stroke-width: 1.3; transition: opacity .5s; }
.s-group circle { fill: rgba(246, 196, 83, .09); stroke: rgba(201, 150, 60, .45); stroke-width: 1.3; stroke-dasharray: 2 6; }
.s-group text { font: 700 11px var(--f-body); letter-spacing: .14em; text-transform: uppercase; fill: var(--brown); text-anchor: middle; }
.s-groups { transition: opacity .6s; }

.socio-alert {
  position: absolute; left: 22px; bottom: 58px; max-width: 340px;
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ink); color: rgba(248, 243, 234, .85); font-size: 13.5px; line-height: 1.45;
  padding: 12px 16px 12px 12px; border-radius: 16px; box-shadow: 0 20px 40px -18px rgba(20, 29, 56, .6);
  opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none;
}
.socio-alert b { color: var(--gold); display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.sa-ico { width: 32px; height: 32px; border-radius: 10px; background: rgba(208, 87, 63, .2); color: #ff9a80; display: grid; place-items: center; flex-shrink: 0; }
.sa-ico svg { width: 17px; height: 17px; }
.socio-stage.show-alert .socio-alert { opacity: 1; transform: none; }
.socio-stats {
  position: absolute; left: 50%; bottom: 58px; transform: translate(-50%, 12px);
  display: grid; grid-template-columns: repeat(3, auto); gap: 6px;
  background: var(--ink); color: var(--cream); border-radius: 18px; padding: 8px;
  opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none;
}
.socio-stats div { padding: 8px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); white-space: nowrap; }
.socio-stats small { display: block; font-size: 11px; color: rgba(248, 243, 234, .6); letter-spacing: .04em; }
.socio-stats b { font: 800 18px var(--f-display); color: var(--gold); letter-spacing: -.02em; }
.socio-stage[data-mode="after"] .socio-stats { opacity: 1; transform: translate(-50%, 0); }
.socio-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; padding: 8px 8px 2px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg3); }
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg i { width: 26px; height: 0; border-top: 2.4px solid var(--gold-3); }
.lg i.lg-one { border-top: 1.6px dashed #b9a98c; }
.lg-hint { margin-left: auto; font-style: italic; }

.career { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); align-items: center; }
.career-copy > p { color: var(--fg2); font-size: 16px; }
.career-card { background: var(--cream-2); border-radius: 28px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); }
.cc-title { font: 700 18px var(--f-display); letter-spacing: -.02em; margin-bottom: 14px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: center; font-size: 15.5px; color: var(--ink-2); }
.checklist i { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); flex-shrink: 0; transform: scale(0); transition: transform .5s var(--ease-spring); transition-delay: calc(var(--k, 0) * 110ms + 200ms); }
.checklist i svg { width: 14px; height: 14px; stroke-width: 3; }
.career-card.in .checklist i { transform: scale(1); }

/* ========================================================================
   03 · FLOW / BENTO
   ======================================================================== */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.flow-copy .muted { margin: 4px 0 18px; }
.flow-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line-2); border-radius: 28px; padding: 24px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.fc-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fc-head b { display: block; font: 700 18px var(--f-display); letter-spacing: -.02em; }
.fc-head small { color: var(--fg3); font-size: 13.5px; }
.fc-head .chip { margin-left: auto; }
.chip-status { background: rgba(246, 196, 83, .14); border-color: rgba(246, 196, 83, .3); color: var(--gold-2); }
.chip-status.done { background: rgba(63, 165, 122, .18); border-color: rgba(63, 165, 122, .4); color: #8fe0bb; }
.fc-steps { list-style: none; margin: 0; padding: 20px 0 6px; display: flex; flex-direction: column; }
.fc-step { position: relative; display: flex; gap: 16px; padding-bottom: 20px; opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.fc-step.show { opacity: 1; transform: none; }
.fc-step:last-child { padding-bottom: 0; }
.fc-step::before { content: ''; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line-2); }
.fc-step:last-child::before { display: none; }
.fc-step.done::before { background: var(--gold); }
.fc-dot { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; border: 2px solid var(--line-2); position: relative; z-index: 1; background: var(--navy-900); transition: background .4s, border-color .4s; }
.fc-dot svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transition: opacity .3s; }
.fc-step.done .fc-dot { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.fc-step.done .fc-dot svg { opacity: 1; }
.fc-step.active .fc-dot { border-color: var(--gold); }
.fc-step.active .fc-dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: ping 1.8s infinite; }
.fc-step b { display: block; font-size: 15.5px; font-weight: 700; }
.fc-step small { color: var(--fg3); font-size: 13px; }
.fc-step.active small { color: var(--gold); font-weight: 600; }
.fc-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.fc-actions .btn-ghost { padding: 11px; }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.docs-vis { margin-top: 22px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: center; }
.doc { background: var(--card-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 14px 14px; position: relative; }
.doc small { display: block; font-size: 11px; color: var(--gold); font-weight: 700; letter-spacing: .04em; }
.doc b { display: block; font-size: 14px; margin: 2px 0 8px; }
.doc i { display: block; height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .12); margin-top: 6px; }
.doc i:nth-of-type(2) { width: 80%; }
.doc i:nth-of-type(3) { width: 55%; }
.doc.d2 { transform: rotate(1.5deg); }
.doc.d1 { transform: rotate(-1.5deg); }
.doc-link { position: relative; width: 70px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 10px); }
.doc-link span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: italic 400 16px var(--f-serif); color: var(--gold); background: var(--navy-900); padding: 0 6px; }
.audit { grid-column: 1 / -1; list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line-2); display: grid; gap: 6px; font-size: 13.5px; color: var(--fg2); }
.audit time { display: inline-block; width: 48px; font-weight: 700; color: var(--gold); font-variant-numeric: tabular-nums; }

.inv-tag { display: flex; gap: 16px; align-items: center; margin-top: 20px; padding: 14px; border-radius: 18px; background: var(--card-2); border: 1px solid var(--line-2); }
.inv-tag small { font-size: 11.5px; color: var(--gold); font-weight: 700; letter-spacing: .05em; }
.inv-tag b { display: block; font: 700 17px var(--f-display); margin: 2px 0 4px; }
.inv-tag span { display: block; font-size: 13px; color: var(--fg2); }
.qr { width: 86px; height: 86px; flex-shrink: 0; background: #fff; border-radius: 12px; padding: 7px; position: relative; overflow: hidden; }
.qr svg { width: 100%; height: 100%; display: block; }
.inv-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.flag { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--fg2); }
.flag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.flag-warn::before { background: #ff8a6b; box-shadow: 0 0 8px #ff8a6b; }

.heat { margin-top: 20px; }
.heat-head, .heat-row { display: grid; grid-template-columns: 92px repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; }
.heat-head span { font-size: 12px; color: var(--fg3); text-align: center; font-weight: 600; }
.heat-rows { display: grid; gap: 6px; margin-top: 6px; }
.heat-row > span { font-size: 13px; font-weight: 600; color: var(--fg2); }
.heat-cell {
  height: 38px; border-radius: 10px; background: rgba(246, 196, 83, calc(.08 + var(--v) * .85));
  transition: outline-color .2s; outline: 2px solid transparent; outline-offset: 2px; cursor: default;
}
.heat-cell:hover, .heat-cell:focus-visible { outline-color: var(--gold); }
.heat-tip { margin-top: 12px; font-size: 13.5px; color: var(--fg3); min-height: 1.6em; }
.heat-tip b { color: var(--gold); }

.bx-board { display: flex; flex-direction: column; background: linear-gradient(150deg, rgba(246, 196, 83, .13), rgba(255, 255, 255, .03) 60%); }
.board-mascot { position: absolute; right: -10px; bottom: -14px; width: clamp(130px, 13vw, 180px); pointer-events: none; animation: bob 5s ease-in-out infinite; }
.pano { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 20px; max-width: calc(100% - 120px); }
.pano > div { padding: 14px; border-radius: 16px; background: rgba(7, 14, 33, .5); border: 1px solid var(--line); }
.pano small { display: block; font-size: 12px; color: var(--fg3); line-height: 1.3; min-height: 2.6em; }
.pano b { font: 800 28px/1 var(--f-display); letter-spacing: -.04em; color: var(--gold); display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.pano b em { font: 600 12.5px var(--f-body); font-style: normal; color: var(--fg3); letter-spacing: 0; }
.link-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--gold-2); padding: 10px 0; border-bottom: 1px solid rgba(246, 196, 83, .35); transition: gap .3s, color .3s; }
.link-btn:hover { gap: 12px; color: #fff; }
.link-btn svg { width: 17px; height: 17px; }
.bx-board > p { max-width: calc(100% - 140px); }

/* ========================================================================
   04 · FINANCE
   ======================================================================== */
#finans { padding-bottom: 0; }
.chain-wrap { margin-bottom: 36px; }
.chain { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.chain-line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 29px; height: 2px; background: repeating-linear-gradient(90deg, var(--gold-3) 0 4px, transparent 4px 10px); }
.chain-pulse { position: absolute; top: 50%; left: 0; width: 120px; height: 14px; margin: -7px 0 0 -60px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 200, 70, .95), rgba(255, 200, 70, .35) 40%, transparent 70%); animation: travel 6s linear infinite; }
@keyframes travel { 0% { left: 0; opacity: 0; } 5% { opacity: 1; } 83% { left: 100%; opacity: 1; } 88%, 100% { left: 100%; opacity: 0; } }
.cn { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.cn-ico {
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 8px;
  background: var(--paper); border: 1px solid var(--line-2); color: var(--brown);
  animation: nodeGlow 6s infinite; animation-delay: calc(var(--i) * 1s);
}
.cn-ico svg { width: 24px; height: 24px; }
@keyframes nodeGlow {
  0% { background: var(--gold); color: var(--navy-900); box-shadow: 0 0 0 8px rgba(246, 196, 83, .22), 0 10px 30px -6px rgba(246, 196, 83, .8); border-color: var(--gold); }
  16%, 100% { background: var(--paper); color: var(--brown); box-shadow: none; border-color: var(--line-2); }
}
.cn b { font: 700 15.5px var(--f-display); letter-spacing: -.01em; }
.cn small { font-size: 12.5px; color: var(--fg3); line-height: 1.35; }
.cn-badge { margin-top: 8px; font: 700 11px/1.25 var(--f-body); padding: 6px 10px; border-radius: 999px; background: var(--gold); color: var(--navy-900); }

.kpi { background: var(--navy-900); color: var(--cream); border-radius: 30px; padding: clamp(20px, 2.6vw, 30px); box-shadow: 0 50px 90px -40px rgba(20, 29, 56, .6); position: relative; overflow: hidden; }
.kpi::before { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 196, 83, .16), transparent 65%); pointer-events: none; }
.kpi-head { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.kpi-head b { font: 700 22px var(--f-display); letter-spacing: -.02em; margin-right: 12px; }
.kpi-head small { color: rgba(248, 243, 234, .55); font-size: 13.5px; }
.kpi-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-c { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-height: 210px; }
.kpi-c > small { font-size: 13px; color: rgba(248, 243, 234, .72); font-weight: 600; }
.kpi-big { font: 800 clamp(34px, 3.2vw, 44px)/1 var(--f-display); letter-spacing: -.05em; color: var(--gold); }
.kpi-sub { font-size: 12.5px; color: rgba(248, 243, 234, .5); margin-top: auto; }
.ring-wrap { position: relative; width: 116px; height: 116px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 11; }
.ring-fg { fill: none; stroke: var(--gold); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.4s var(--ease); filter: drop-shadow(0 0 6px rgba(246, 196, 83, .5)); }
.ring-wrap .kpi-big { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.spark { width: 100%; height: 50px; margin-top: 6px; overflow: visible; }
.spark path { fill: none; stroke: #ff9a7a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: d .8s var(--ease); }
.bars2 { display: grid; gap: 8px; margin-top: 4px; }
.bars2 > div { display: grid; gap: 4px; }
.bars2 span { font-size: 11.5px; color: rgba(248, 243, 234, .55); }
.bars2 i, .meter { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bars2 em, .meter em { display: block; height: 100%; border-radius: 6px; background: var(--gold); transition: width 1.2s var(--ease); }
.bars2 em.dim { background: rgba(246, 196, 83, .4); }
.meter { margin-top: 8px; }

.ticker { position: relative; margin-top: clamp(64px, 8vw, 110px); background: var(--ink); color: var(--gold-2); padding: 18px 0; transform: rotate(-1.4deg) scale(1.03); overflow: hidden; }
.ticker-label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 0 72px 0 max(var(--gutter), 24px); background: linear-gradient(90deg, var(--ink) calc(100% - 64px), rgba(20, 29, 56, 0)); font: italic 400 clamp(19px, 1.7vw, 24px) var(--f-serif); color: var(--gold); white-space: nowrap; }
.ticker-label svg { width: 18px; height: 18px; }
.ticker-label:hover { color: #fff; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker-track span { font: 600 clamp(15px, 1.35vw, 18px) var(--f-display); color: rgba(255, 228, 160, .92); letter-spacing: -.01em; white-space: nowrap; display: inline-flex; align-items: center; }
.ticker-track span::after { content: '✦'; margin: 0 28px; color: var(--gold); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========================================================================
   05 · AI ASSISTANT
   ======================================================================== */
.sec.ai { background: radial-gradient(1000px 700px at 15% 30%, rgba(70, 90, 210, .2), transparent 60%), radial-gradient(800px 600px at 90% 85%, rgba(246, 196, 83, .1), transparent 60%), var(--navy-950); }
.ai-aura { position: absolute; left: 50%; top: 52%; width: 900px; height: 900px; transform: translate(-50%, -50%); background: conic-gradient(from 0deg, transparent, rgba(246, 196, 83, .08), transparent 30%, rgba(90, 110, 230, .1), transparent 60%); border-radius: 50%; filter: blur(40px); animation: spin 30s linear infinite; pointer-events: none; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ai-grid { position: relative; display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.ai-side { position: relative; padding-top: 70px; }
.ai-mascot { position: absolute; right: 0; top: -104px; width: 122px; pointer-events: none; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.ai-roles { margin-bottom: 22px; }
.ai-label { font: 700 11.5px var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.ai-qs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.ai-q {
  text-align: left; padding: 12px 16px; border-radius: 14px; font: 600 14.5px/1.35 var(--f-body);
  background: rgba(22, 35, 74, .75); border: 1px solid rgba(110, 140, 230, .25); color: #eef0ff;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  animation: qIn .5s var(--ease) both; animation-delay: calc(var(--k) * 45ms);
}
.ai-q:hover { transform: translateX(5px); border-color: var(--gold); }
.ai-q.asked { opacity: .55; }
.ai-qs.is-family .ai-q { background: var(--cream); color: var(--ink); border-color: transparent; }
.ai-qs.is-family .ai-q:hover { border-color: var(--gold-3); }
.ai-trust-qs .ai-q { background: transparent; border-style: dashed; border-color: rgba(246, 196, 83, .4); color: var(--gold-2); }
@keyframes qIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.chat {
  position: relative; display: flex; flex-direction: column; height: 640px;
  background: linear-gradient(180deg, rgba(20, 31, 66, .85), rgba(10, 18, 40, .9));
  border: 1px solid rgba(246, 196, 83, .2); border-radius: 30px;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 80px -30px rgba(246, 196, 83, .25);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font: 700 16px var(--f-display); }
.chat-head small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg3); }
.live { width: 7px; height: 7px; border-radius: 50%; background: #5fdc9c; box-shadow: 0 0 8px #5fdc9c; }
.chip-persona { margin-left: auto; font-size: 12px; color: var(--fg2); }
.chat-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, #233462, #121c3d); border: 1px solid rgba(246, 196, 83, .3); flex-shrink: 0; }
.chat-av span { width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff4c4, #ffc54a 55%, #f29a14); box-shadow: 0 0 12px 3px rgba(255, 200, 80, .55); animation: glowPulse 2.6s ease-in-out infinite; }
.chat-av.sm { width: 28px; height: 28px; }
.chat-av.sm span { width: 9px; height: 9px; }
.chat-body { flex: 1; overflow-y: auto; padding: 22px 18px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; overscroll-behavior: contain; }
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 6px; }
.msg { max-width: 88%; animation: msgIn .45s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-end; background: var(--cream); color: var(--ink); padding: 11px 16px; border-radius: 18px 18px 4px 18px; font-weight: 600; font-size: 14.5px; }
.msg.bot { align-self: flex-start; display: flex; gap: 10px; }
.msg.bot .chat-av { width: 30px; height: 30px; margin-top: 2px; }
.msg.bot .chat-av span { width: 9px; height: 9px; }
.bot-b { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .08); padding: 13px 16px; border-radius: 4px 18px 18px 18px; font-size: 14.5px; line-height: 1.55; color: #ece6da; min-width: 0; }
.bot-b .cursor { display: inline-block; width: 7px; height: 15px; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.bot-b.warn { border-color: rgba(246, 196, 83, .35); background: rgba(246, 196, 83, .07); }
.r-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.r-list li { display: flex; gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 12px; background: rgba(7, 14, 33, .55); font-size: 13.5px; animation: msgIn .4s var(--ease) both; animation-delay: calc(var(--k) * 70ms); }
.r-list li b { color: var(--gold); font-weight: 700; white-space: nowrap; }
.r-list li span { color: rgba(236, 230, 218, .7); }
.r-list li em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--fg3); white-space: nowrap; }
.r-src { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 11.5px; color: var(--fg3); }
.r-src svg { width: 13px; height: 13px; }
.r-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.r-acts span { font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(246, 196, 83, .35); color: var(--gold-2); }
.typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: dots 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.chat-input { display: flex; gap: 8px; margin: 0 14px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .3s; }
.chat-input:focus-within { border-color: rgba(246, 196, 83, .55); }
.chat-input input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--fg); font: 500 15px var(--f-body); padding: 0 14px; }
.chat-input input::placeholder { color: var(--fg3); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; flex-shrink: 0; transition: transform .3s var(--ease-spring); }
.chat-input button:hover { transform: scale(1.08); }
.chat-input button svg { width: 19px; height: 19px; stroke-width: 2.4; }
.chat-note { text-align: center; font-size: 11.5px; color: var(--fg3); padding: 10px 0 12px; }
.trust-title { margin-top: clamp(56px, 7vw, 90px); }
.dark-minis .mini { background: rgba(255, 255, 255, .035); }

/* ========================================================================
   06 · MOBILE (dawn)
   ======================================================================== */
.sec.dawn {
  background: linear-gradient(180deg, var(--navy-950) 0%, #111c40 18%, #242c66 38%, #5a539e 56%, #b3a6d6 72%, #ede2e3 86%, var(--cream) 100%);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.dawn-sun {
  position: absolute; left: 50%; top: 46%; width: 1100px; height: 1100px; margin-left: -550px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 210, 120, .55), rgba(255, 190, 110, .2) 35%, transparent 62%);
  transform: translateY(calc((1 - var(--mp, 0)) * 220px)); opacity: calc(.35 + var(--mp, 0) * .65);
}
.phones { position: relative; height: clamp(520px, 52vw, 660px); display: flex; justify-content: center; align-items: center; perspective: 1800px; margin: 10px 0 70px; }
.phone {
  width: clamp(230px, 22vw, 290px); border-radius: 48px; padding: 10px; margin: 0;
  background: linear-gradient(145deg, #3a4266, #10152b 40%, #1b2140);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 5px #0a0e1d, 0 60px 100px -40px rgba(5, 10, 30, .75), 0 20px 40px -20px rgba(5, 10, 30, .5);
  transform-style: preserve-3d;
}
.phone-screen { border-radius: 39px; overflow: hidden; background: #eef0fb; position: relative; }
.phone-screen img { width: 100%; height: auto; display: block; }
.sbar { height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px 0 28px; font: 700 13px var(--f-body); color: #111; background: #eef0fb; }
.sbar i { width: 34%; height: 24px; border-radius: 20px; background: #000; }
.sig { width: 38px; height: 11px; background: linear-gradient(90deg, #111 0 3px, transparent 3px 5px, #111 5px 8px, transparent 8px 10px, #111 10px 13px, transparent 13px 16px, #111 16px 19px, transparent 19px 24px) left bottom / 24px 100% no-repeat, linear-gradient(#111, #111) right center / 12px 8px no-repeat; border-radius: 2px; }
.ph-c { position: relative; z-index: 3; transform: translateY(calc((1 - var(--mp, 0)) * 40px)); }
.ph-l, .ph-r { position: absolute; z-index: 2; }
.ph-l { transform: translateX(calc(var(--mp, 0) * -1 * var(--spread, 300px))) translateY(36px) rotateY(calc(var(--mp, 0) * 20deg)) rotateZ(calc(var(--mp, 0) * -5deg)) scale(.86); }
.ph-r { transform: translateX(calc(var(--mp, 0) * var(--spread, 300px))) translateY(36px) rotateY(calc(var(--mp, 0) * -20deg)) rotateZ(calc(var(--mp, 0) * 5deg)) scale(.86); }
.mobile-info { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 48px); align-items: start; color: var(--ink); --fg: var(--ink); --fg2: var(--ink-2); --fg3: var(--ink-3); --line: rgba(20, 29, 56, .1); --accent: var(--brown); }
.mi-copy > p { font-size: 17px; color: var(--ink-2); }
.mi-copy strong { color: var(--ink); }
.role-swap { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px; border-radius: 22px; background: rgba(255, 253, 248, .75); border: 1px solid rgba(20, 29, 56, .08); backdrop-filter: blur(10px); }
.rs-label { font-size: 14px; color: var(--ink-2); flex-basis: 100%; }
.rs-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; border-radius: 999px; background: var(--ink); padding: 4px; font: 700 13.5px var(--f-body); }
.rs-toggle span { position: relative; z-index: 1; padding: 9px 18px; color: rgba(248, 243, 234, .6); transition: color .3s; text-align: center; }
.rs-toggle i { position: absolute; left: 4px; top: 4px; bottom: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--gold); transition: transform .45s var(--ease-spring); }
.rs-toggle[aria-pressed="true"] i { transform: translateX(100%); }
.rs-toggle[aria-pressed="false"] .rs-a, .rs-toggle[aria-pressed="true"] .rs-b { color: var(--navy-900); }
.rs-out { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.a2hs { background: var(--paper); border: 1px solid rgba(20, 29, 56, .08); border-radius: 26px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(40, 30, 90, .35); }
.a2hs .feat-h p { color: var(--brown); }
.a2hs ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.a2hs li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.a2hs li span { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); display: grid; place-items: center; font: 800 13px var(--f-body); flex-shrink: 0; }

/* ========================================================================
   07 · PARENT
   ======================================================================== */
.enroll { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.enroll-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.enroll-steps::before, .enroll-steps::after { content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; }
.enroll-steps::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 5px, transparent 5px 10px); }
.enroll-steps::after { background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform 2.4s var(--ease) .3s; right: 12.5%; }
.enroll.in .enroll-steps::after { transform: scaleX(1); }
.enroll-steps li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.es-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); color: var(--brown); border: 4px solid var(--paper); margin-bottom: 10px; transition: background .5s, color .5s, box-shadow .5s; transition-delay: calc(var(--i) * .6s + .3s); }
.enroll.in .es-ico { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 26px -8px rgba(246, 196, 83, .8); }
.es-ico svg { width: 23px; height: 23px; }
.enroll-steps small { font-size: 12px; color: var(--fg3); font-weight: 600; }
.enroll-steps b { font: 700 17px var(--f-display); letter-spacing: -.01em; }
.enroll-steps em { font-style: normal; font-size: 13px; color: var(--fg3); line-height: 1.4; max-width: 22ch; }

.phone-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.4vw, 32px); margin: clamp(48px, 6vw, 80px) 0; }
.pr-item { margin: 0; text-align: center; }
.phone.sm { width: 100%; max-width: 250px; margin: 0 auto 18px; border-radius: 40px; padding: 8px; transition: transform .6s var(--ease); }
.phone.sm .phone-screen { border-radius: 33px; }
.phone.sm .sbar { height: 32px; font-size: 11px; padding: 0 18px 0 22px; }
.phone.sm .sbar i { height: 19px; }
.pr-item:hover .phone.sm { transform: translateY(-12px) rotate(-1.5deg); }
.pr-item:nth-child(even):hover .phone.sm { transform: translateY(-12px) rotate(1.5deg); }
.pr-item figcaption { font-size: 13.5px; color: var(--fg3); }
.pr-item figcaption b { display: block; font: 700 17px var(--f-display); color: var(--fg); letter-spacing: -.01em; }

.family { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.family-img { width: 100%; max-width: 440px; justify-self: center; filter: drop-shadow(0 30px 40px rgba(80, 55, 20, .25)); }
.family-cards { display: grid; gap: 20px; }

/* ========================================================================
   08 · TEACHER / STUDENT
   ======================================================================== */
.sec-head.with-mascot { grid-template-columns: minmax(0, 1fr) auto; }
.fly-mascot { width: clamp(150px, 18vw, 250px); animation: flyBob 4.5s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4)); }
@keyframes flyBob { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-14px, -16px) rotate(-3deg); } }
.b8 { margin-top: 0; }
.etut, .week, .lottery, .duty { margin-top: 20px; padding: 16px; border-radius: 20px; background: rgba(7, 14, 33, .45); border: 1px solid var(--line); }
.etut-h { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.etut-h b { display: block; font-size: 15px; }
.etut-h small { color: var(--fg3); font-size: 12.5px; }
.etut-h .chip { margin-left: auto; font-size: 11.5px; }
.etut-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; align-items: center; padding-top: 12px; font-size: 13px; color: var(--fg2); }
.etut-row > b { color: var(--fg); }
.seats { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.seats i { height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .1); transition: background .4s; transition-delay: calc(var(--k) * 60ms); }
.bx.in .seats i.f { background: var(--gold); }
.approvals { display: flex; gap: 6px; grid-column: 2 / -1; }
.approvals em { font-style: normal; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(63, 165, 122, .18); color: #8fe0bb; }
.approvals em.wait { background: rgba(246, 196, 83, .14); color: var(--gold-2); }
.etut-foot { display: flex; gap: 8px; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--fg3); }
.etut-foot svg { width: 15px; height: 15px; color: var(--gold); }

.week { position: relative; }
.week-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.week-h b { font-size: 14.5px; }
.week-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.week-grid .wd { font-size: 11.5px; color: var(--fg3); text-align: center; font-weight: 600; padding-bottom: 2px; }
.week-grid .wb { height: 22px; border-radius: 6px; background: var(--c); }
.week-pub { margin-top: 14px; }
.week-toast { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #1c7a55; color: #e7fff3; font-size: 13.5px; font-weight: 600; transform: translateY(14px); opacity: 0; transition: opacity .4s, transform .5s var(--ease-spring); pointer-events: none; }
.week-toast svg { width: 18px; height: 18px; stroke-width: 2.6; }
.week.published .week-toast { opacity: 1; transform: none; }

.lot-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.lot-h b { font-size: 14.5px; }
.lot-h small { font-size: 12.5px; color: var(--fg3); }
.lot-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.lot-grid span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: 700 11px var(--f-body); background: rgba(255, 255, 255, .06); color: var(--fg2); border: 1px solid var(--line); transition: background .15s, color .15s, transform .2s, opacity .3s; }
.lot-grid span.flash { background: rgba(246, 196, 83, .5); color: var(--navy-900); transform: scale(1.08); }
.lot-grid span.win { background: var(--gold); color: var(--navy-900); border-color: var(--gold); box-shadow: 0 0 14px -2px rgba(246, 196, 83, .8); }
.lot-grid span.wait { opacity: .55; }
.lot-grid span.wait::after { content: attr(data-y); position: absolute; font-size: 9px; }
.lot-foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.lot-out { font-size: 13px; color: var(--fg2); }

.duty-h, .duty-row { display: grid; grid-template-columns: 82px repeat(5, minmax(0, 1fr)) 92px; gap: 6px; align-items: center; }
.duty-h span { font-size: 11.5px; color: var(--fg3); text-align: center; font-weight: 600; }
.duty-h span:last-child { text-align: left; }
.duty-rows { display: grid; gap: 7px; margin-top: 8px; }
.duty-row > span { font-size: 12.5px; font-weight: 600; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcell { height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .05); position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 3px; }
.dcell i { width: 60%; border-radius: 3px; background: rgba(160, 180, 255, .45); height: calc(var(--n) * 12%); }
.dcell.pick { background: rgba(246, 196, 83, .16); outline: 1.5px solid var(--gold); }
.dcell.pick i { background: var(--gold); }
.duty-row em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--gold-2); white-space: nowrap; }

/* ========================================================================
   09 · SMART BOARD
   ======================================================================== */
.board-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.board-frame { position: relative; padding: 12px; border-radius: 26px; background: linear-gradient(160deg, #2d3347, #151a2b); box-shadow: 0 50px 90px -40px rgba(20, 29, 56, .55), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.board-frame::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: -16px; height: 16px; border-radius: 0 0 12px 12px; background: linear-gradient(#232838, #12162a); }
.board-screen { position: relative; aspect-ratio: 16 / 9.4; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 80% 10%, #24346a, #0e1733 60%); color: var(--cream); }
.bs { position: absolute; inset: 0; padding: clamp(18px, 3vw, 34px); display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); opacity: 0; transform: scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.board-screen[data-stage="0"] .bs-0, .board-screen[data-stage="1"] .bs-1, .board-screen[data-stage="2"] .bs-2, .board-screen[data-stage="3"] .bs-3 { opacity: 1; transform: none; }
.qr-lg { width: clamp(110px, 15vw, 170px); height: clamp(110px, 15vw, 170px); padding: 10px; border-radius: 16px; }
.scan { position: absolute; left: 6px; right: 6px; top: 8%; height: 3px; border-radius: 3px; background: var(--gold); box-shadow: 0 0 16px 4px rgba(246, 196, 83, .7); animation: scan 1.6s ease-in-out infinite alternate; }
@keyframes scan { to { top: 90%; } }
.bs-info small { font: 700 11px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.bs-info b { display: block; font: 800 clamp(22px, 2.6vw, 34px)/1.05 var(--f-display); letter-spacing: -.04em; margin: 6px 0 4px; }
.bs-info span { font-size: 14px; color: rgba(248, 243, 234, .65); }
.bs-info p { margin-top: 14px; font-size: 14.5px; color: rgba(248, 243, 234, .85); max-width: 26ch; }
.bs-1 { flex-direction: column; justify-content: center; text-align: center; gap: 6px; }
.bs-ok { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-900); box-shadow: 0 0 0 14px rgba(246, 196, 83, .14), 0 0 50px rgba(246, 196, 83, .6); margin-bottom: 10px; }
.bs-ok svg { width: 34px; height: 34px; stroke-width: 3; }
.bs-1 b { font: 800 clamp(22px, 2.4vw, 30px) var(--f-display); letter-spacing: -.03em; }
.bs-1 span { color: rgba(248, 243, 234, .65); font-size: 14px; }
.bs-2 { flex-direction: column; align-items: stretch; justify-content: center; gap: 12px; }
.att-h { display: flex; justify-content: space-between; align-items: center; }
.att-h b { font: 800 22px var(--f-display); letter-spacing: -.03em; }
.att-h em { font-style: normal; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.att-h .ok { background: rgba(63, 165, 122, .22); color: #8fe0bb; }
.att-h .no { background: rgba(208, 87, 63, .22); color: #ffab95; }
.att-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
.att-grid i { aspect-ratio: 1.6; border-radius: 8px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; font: 700 10.5px var(--f-body); font-style: normal; color: rgba(248, 243, 234, .5); transition: background .3s, color .3s; }
.board-screen[data-stage="2"] .att-grid i { transition-delay: calc(var(--k) * 55ms); }
.board-screen[data-stage="2"] .att-grid i.y { background: rgba(63, 165, 122, .55); color: #eafff4; }
.board-screen[data-stage="2"] .att-grid i.n { background: rgba(208, 87, 63, .6); color: #fff; }
.bs-3 { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.bs-3 > small { font: 700 11px var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.bs-3 > b { font: 800 clamp(22px, 2.8vw, 36px)/1.05 var(--f-display); letter-spacing: -.04em; }
.bs-saved { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #8fe0bb; font-weight: 600; }
.bs-saved svg { width: 17px; height: 17px; stroke-width: 2.6; }
.bs-push { position: absolute; right: clamp(14px, 2vw, 24px); bottom: clamp(14px, 2vw, 24px); display: flex; gap: 10px; align-items: flex-start; max-width: 290px; padding: 12px 14px; border-radius: 16px; background: rgba(248, 243, 234, .96); color: var(--ink); font-size: 13px; line-height: 1.4; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .5); transform: translateY(30px); opacity: 0; transition: transform .7s var(--ease-spring) .5s, opacity .5s .5s; }
.bs-push small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); }
.board-screen[data-stage="3"] .bs-push { transform: none; opacity: 1; }
.board-phone { position: absolute; left: clamp(70px, 12vw, 150px); top: 40%; width: 64px; height: 120px; border-radius: 14px; background: linear-gradient(145deg, #3a4266, #10152b); box-shadow: 0 20px 40px rgba(0, 0, 0, .5), inset 0 0 0 1.5px rgba(255, 255, 255, .15); padding: 5px; transform: translate(80px, 120px) rotate(14deg); opacity: 0; transition: transform .8s var(--ease), opacity .5s; pointer-events: none; }
.board-phone span { display: block; width: 100%; height: 100%; border-radius: 10px; background: linear-gradient(#e9ecfb, #cfd6f5); }
.board-screen[data-stage="0"] ~ .board-phone.go { transform: translate(0, 0) rotate(-6deg); opacity: 1; }
.board-steps { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.board-steps button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); font: 700 13.5px var(--f-body); color: var(--fg2); transition: background .3s, color .3s, border-color .3s; }
.board-steps button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-2); font-size: 12px; transition: background .3s; }
.board-steps button.on { border-color: var(--gold-3); color: var(--ink); }
.board-steps button.on span { background: var(--gold); }
.board-copy > p { color: var(--fg2); font-size: 16px; }

.meet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(64px, 8vw, 110px); }
.meet-copy > p { color: var(--fg2); font-size: 16px; }
.meet-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
.mc-head { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.mc-head b { display: block; font-size: 15px; }
.mc-head small { color: var(--fg3); font-size: 12.5px; }
.bubbles { display: flex; flex-direction: column; gap: 8px; padding: 16px 0; }
.bub { max-width: 82%; padding: 11px 14px 20px; border-radius: 16px; font-size: 14px; line-height: 1.45; position: relative; }
.bub time { position: absolute; right: 12px; bottom: 5px; font-size: 10.5px; opacity: .6; }
.bub.in { background: var(--cream-2); color: var(--ink); border-bottom-left-radius: 4px; }
.bub.out { align-self: flex-end; background: var(--ink); color: var(--cream); border-bottom-right-radius: 4px; }
.slot-label { font-size: 12.5px; color: var(--fg3); margin-bottom: 8px; font-weight: 600; }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.slot { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1.5px dashed var(--line-2); text-align: left; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease-spring); }
.slot b { font-size: 14.5px; }
.slot span { font-size: 12px; color: var(--fg3); }
.slot:not(:disabled):hover { border-color: var(--gold-3); transform: translateY(-2px); }
.slot.taken { background: var(--ink); border: 1.5px solid var(--ink); color: var(--cream); cursor: not-allowed; }
.slot.taken span { color: var(--gold); }
.slot.sel { background: var(--gold); border: 1.5px solid var(--gold); color: var(--navy-900); }
.slot.sel span { color: var(--navy-900); }
.slot-ok { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: var(--cream-2); max-height: 0; opacity: 0; overflow: hidden; padding-top: 0; padding-bottom: 0; transition: max-height .5s var(--ease), opacity .4s, padding .4s; }
.slot-ok.show { max-height: 90px; opacity: 1; padding-top: 12px; padding-bottom: 12px; }
.slot-ok b { display: block; font-size: 14.5px; }
.slot-ok small { color: var(--fg3); font-size: 12.5px; }
.slot-ok .chip { margin-left: auto; }

/* ========================================================================
   10 · PROGRAMS
   ======================================================================== */
.pmap { background: rgba(255, 255, 255, .035); border: 1px solid var(--line); border-radius: 28px; padding: clamp(18px, 2.6vw, 30px); overflow-x: auto; }
.pmap-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; min-width: 700px; }
.pmap-h b { font: 700 18px var(--f-display); }
.pmap-grid { display: grid; grid-template-columns: 130px repeat(8, minmax(0, 1fr)); grid-auto-rows: minmax(44px, auto); gap: 8px 4px; min-width: 700px; align-items: center; }
.pm-col { grid-row: 1; grid-column: var(--c) / span 2; text-align: center; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.pm-col b { display: block; font-size: 14px; }
.pm-col small { font-size: 11.5px; color: var(--fg3); }
.pm-row { grid-row: var(--r); grid-column: 1; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.pm-row i { width: 10px; height: 10px; border-radius: 3px; }
.d-meb { background: rgba(244, 237, 224, .55); }
.d-ib { background: #5b7fe0; }
.d-cam { background: #3aa3a0; }
.d-ap { background: var(--gold); }
.pm-bar { grid-row: var(--r); grid-column: var(--c) / span var(--s); height: 40px; border-radius: 10px; display: grid; place-items: center; font: 700 13px var(--f-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.pm-bar.meb { background: rgba(244, 237, 224, .1); color: rgba(244, 237, 224, .85); border: 1px solid rgba(244, 237, 224, .14); }
.pm-bar.ib { background: linear-gradient(180deg, #5f83e6, #4466c8); color: #fff; }
.pm-bar.cam { background: linear-gradient(180deg, #3eaaa6, #2b8582); color: #fff; }
.pm-bar.ap { background: var(--gold); color: var(--navy-900); }
.pm-corner { grid-row: 1; grid-column: 1; }
.pmap-hint { display: none; align-items: center; gap: 8px; font-size: 12.5px; color: var(--fg3); margin: -6px 0 12px; }
.pmap-hint svg { width: 16px; height: 16px; color: var(--gold); }

.myp-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: clamp(48px, 6vw, 80px); }
.myp-copy > p { color: var(--fg2); font-size: 16px; }
.myp-copy .muted { margin-top: 14px; display: flex; gap: 8px; align-items: center; }
.myp { background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line-2); border-radius: 28px; padding: 24px; }
.myp-h { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.myp-h b { display: block; font: 700 17px var(--f-display); }
.myp-h small { color: var(--fg3); font-size: 12.5px; }
.myp-rows { display: grid; gap: 14px; padding: 18px 0; }
.myp-r { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(90px, 160px) 24px; gap: 12px; align-items: center; cursor: pointer; }
.mk { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 800 13px var(--f-body); background: var(--cream); color: var(--navy-900); }
.mn { font-size: 14.5px; font-weight: 600; color: var(--fg2); }
.myp-r output { font: 800 18px var(--f-display); color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.myp-r.strong .mk { background: var(--gold); }
.myp-r.weak .mk { background: #ff9a7a; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 6px; background: linear-gradient(var(--gold), var(--gold)) 0 0 / var(--fill, 50%) 100% no-repeat, rgba(255, 255, 255, .1); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 12px rgba(246, 196, 83, .6); transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--cream); border: 3px solid var(--gold); box-shadow: 0 0 12px rgba(246, 196, 83, .6); }
.myp-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--fg2); }
.myp-total b { font: 800 22px var(--f-display); color: var(--fg); letter-spacing: -.02em; margin-left: 6px; }
.myp-grade { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; background: var(--gold); color: var(--navy-900); font-weight: 700; }
.myp-grade b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); margin: 0; font-size: 18px; transition: transform .35s var(--ease-spring); }
.myp-grade b.pop { transform: scale(1.25); }
.myp-bounds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.myp-bounds span { text-align: center; padding: 7px 2px; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: background .3s, border-color .3s, transform .3s var(--ease-spring); }
.myp-bounds b { display: block; font: 800 15px var(--f-display); }
.myp-bounds small { font-size: 10.5px; color: var(--fg3); }
.myp-bounds span.on { background: var(--gold); border-color: var(--gold); color: var(--navy-900); transform: translateY(-3px); }
.myp-bounds span.on small { color: rgba(12, 21, 48, .7); }
.myp-insight { margin-top: 14px; font-size: 13.5px; color: var(--fg2); min-height: 2.8em; }
.myp-insight b { color: var(--gold-2); }
.c2 { margin-top: clamp(40px, 5vw, 64px); }
.core { margin-top: 18px; display: grid; gap: 10px; }
.core-r { display: grid; grid-template-columns: 130px 1fr 120px; gap: 12px; align-items: center; font-size: 13px; color: var(--fg2); }
.core-r i { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.core-r em { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--gold); transition: width 1.2s var(--ease) .3s; }
.tcard.in .core-r em { width: var(--w); }
.core-r small { font-size: 12px; color: var(--fg3); }
.core-r.late em { background: #ff9a7a; }
.core-r.late small { color: #ffab95; font-weight: 700; }
.flip { display: inline-grid; vertical-align: bottom; height: 1.5em; overflow: hidden; font-weight: 700; color: var(--gold); }
.flip span { grid-area: 1 / 1; animation: flipW 4s var(--ease) infinite; }
.flip span:nth-child(2) { animation-delay: -2s; }
@keyframes flipW { 0%, 40% { transform: none; opacity: 1; } 50%, 90% { transform: translateY(-100%); opacity: 0; } 50.01% { transform: translateY(100%); } 100% { transform: none; opacity: 1; } }

/* ========================================================================
   11 · EXAMS
   ======================================================================== */
.exam { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.exam-chart, .exam-topics { padding: clamp(20px, 2.6vw, 30px); }
.exam-topics { border-left: 1px solid var(--line); background: #fdf9f1; }
.ec-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.ec-h b { font: 700 16.5px var(--f-display); }
.line-chart { width: 100%; height: auto; overflow: visible; }
.lc-grid line { stroke: #ece2d0; stroke-width: 1; }
.lc-grid text, .lc-x text { font: 600 11px var(--f-body); fill: var(--ink-3); }
.lc-goal { stroke: var(--brown); stroke-width: 1.5; stroke-dasharray: 6 5; }
.lc-goal-t { font: italic 400 16px var(--f-serif); fill: var(--brown); }
.lc-area { fill: url(#lc-fill); }
.lc-line { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lc-pt circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.2; transition: r .2s; }
.lc-pt.last circle { fill: var(--gold); stroke: var(--brown); }
.lc-pt text { font: 700 11.5px var(--f-body); fill: var(--ink); text-anchor: middle; opacity: 0; transition: opacity .2s; }
.lc-pt:hover text, .lc-pt.last text { opacity: 1; }
.lc-pt:hover circle { r: 7; }
.lc-tag rect { fill: var(--ink); }
.lc-tag text { font: 700 12px var(--f-body); fill: var(--gold); text-anchor: middle; }
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.topics li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 42px; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.topics i { height: 10px; border-radius: 6px; background: var(--cream-2); overflow: hidden; }
.topics em { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--ink); transition: width 1.2s var(--ease); }
.topics li:nth-child(2) em { transition-delay: .1s; }
.topics li:nth-child(3) em { transition-delay: .2s; }
.topics li:nth-child(4) em { transition-delay: .3s; }
.topics li:nth-child(5) em { transition-delay: .4s; }
.exam.in .topics em { width: calc(var(--v) * 1%); }
.topics b { text-align: right; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.topics li.weak span, .topics li.weak b { color: var(--amber); }
.topics li.weak em { background: linear-gradient(90deg, #f0b04a, var(--amber)); }
.weak-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--ink-3); }
.weak-note i { width: 10px; height: 10px; border-radius: 3px; background: var(--amber); }
.rank-card { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 16px; border-radius: 18px; background: var(--cream); border: 1px solid var(--line); }
.rank-card small { font-size: 11.5px; color: var(--fg3); font-weight: 600; }
.rank-card b { display: block; font: 700 15px/1.25 var(--f-display); max-width: 12ch; }
.rank-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13px; color: var(--ink-2); }
.rank-card ul span { display: inline-block; width: 70px; color: var(--fg3); }
.conf { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 4px; }
.conf i { width: 14px; height: 6px; border-radius: 3px; background: var(--gold-3); }
.conf i.off { background: var(--cream-3); }
.pref { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.pref li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pref li > span { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-size: 11.5px; flex-shrink: 0; }
.pref em { margin-left: auto; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.t-bold { background: #fde3dc; color: #b54530; }
.t-bal { background: #fdf0cf; color: #8a5800; }
.t-safe { background: #d9f1e5; color: #1f7a52; }
.pref-v { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--fg3); }
.pref-v svg { width: 15px; height: 15px; }
.principle { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 3.4vw, 44px); border-radius: 34px; background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.principle::before { content: ''; position: absolute; left: -100px; top: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(246, 196, 83, .28), transparent 65%); }
.principle img { position: relative; width: clamp(130px, 16vw, 210px); animation: bob 6s ease-in-out infinite; }
.principle > div { position: relative; }
.principle .eyebrow { color: var(--gold); }
.principle h3 { font: 800 clamp(34px, 4.6vw, 64px)/1 var(--f-display); letter-spacing: -.05em; margin-bottom: 16px; }
.principle h3 em { font: italic 400 1.1em var(--f-serif); color: var(--gold); letter-spacing: -.02em; }
.principle p { font-size: clamp(15.5px, 1.3vw, 18px); color: rgba(248, 243, 234, .75); max-width: 60ch; }
.principle strong { color: #fff; }

/* ========================================================================
   12 · TRUST
   ======================================================================== */
.scope { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.scope-copy > p { color: var(--fg2); font-size: 16px; }
.scope-copy .muted { margin: 14px 0 12px; }
.scope-roles { flex-wrap: wrap; border-radius: 22px; }
.tree { position: relative; height: 330px; border-radius: 28px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.tree-lines { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 40px); }
.tree-lines path { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .4s, opacity .4s; }
.tree-lines path.in { stroke: var(--gold); }
.tree-lines path.out { opacity: .25; }
.tn { position: absolute; left: var(--x); top: calc(var(--y) * (330 - 40) / 330); transform: translate(-50%, -50%); padding: 10px 18px; border-radius: 14px; font: 700 14px var(--f-body); white-space: nowrap; background: var(--navy-800); border: 1.5px solid rgba(255, 255, 255, .12); display: inline-flex; gap: 8px; align-items: center; transition: opacity .4s, border-color .4s, box-shadow .4s, background .4s, color .4s; }
.tn svg { width: 17px; height: 17px; }
.tn.sm { padding: 8px 12px; font-size: 13px; }
.tn-root { background: var(--cream); color: var(--navy-900); border-color: var(--cream); }
.tn.in { border-color: var(--gold); background: rgba(246, 196, 83, .16); color: var(--gold-2); box-shadow: 0 0 30px -6px rgba(246, 196, 83, .6); }
.tn-root.in { background: var(--gold); color: var(--navy-900); }
.tn.out { opacity: .3; }
.tree-cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-size: 13.5px; color: var(--gold-2); display: flex; justify-content: center; gap: 8px; align-items: center; }
.tree-cap::before { content: ''; width: 9px; height: 9px; border-radius: 3px; border: 1.5px solid var(--gold); }

.sec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.sec-grid .bx h4 { font: 700 18px var(--f-display); letter-spacing: -.02em; margin: 14px 0 4px; }
.sec-grid .bx > p { font-size: 14px; }
.iban { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.iban code { font: 600 14px/1.4 ui-monospace, 'SF Mono', Menlo, monospace; letter-spacing: .02em; padding: 10px 12px; border-radius: 12px; background: rgba(7, 14, 33, .6); border: 1px solid var(--line); color: var(--gold-2); width: 100%; transition: color .3s; }
.iban code.open { color: #fff; }
.audit-log { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: var(--fg2); }
.audit-log li { padding: 8px 10px; border-radius: 10px; background: rgba(7, 14, 33, .5); border: 1px solid var(--line); animation: msgIn .5s var(--ease) both; }
.audit-log li.new { border-color: rgba(246, 196, 83, .5); background: rgba(246, 196, 83, .1); }
.audit-log time { color: var(--gold); font-weight: 700; margin-right: 6px; font-variant-numeric: tabular-nums; }
.audit-log span { color: var(--fg); font-weight: 700; margin-right: 4px; }
.sessions { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.sessions li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(7, 14, 33, .5); border: 1px solid var(--line); transition: opacity .4s, transform .4s var(--ease), max-height .4s, padding .4s, margin .4s; max-height: 80px; }
.sessions li.gone { opacity: 0; transform: translateX(30px); max-height: 0; padding-top: 0; padding-bottom: 0; border-width: 0; margin-top: -6px; }
.sessions b { display: block; font-size: 13.5px; }
.sessions small { font-size: 11.5px; color: var(--fg3); }
.sessions .cur { font-style: normal; font-size: 11.5px; font-weight: 700; color: #8fe0bb; }

.modules { margin-top: clamp(64px, 8vw, 110px); }
.modules-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: center; margin-bottom: 32px; }
.modules-head > p { color: var(--fg2); font-size: 16px; }
.marquee { display: grid; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin: 0 calc(var(--gutter) * -1); }
.mq-row { display: flex; gap: 10px; width: max-content; animation: marquee var(--dur, 60s) linear infinite; }
.mq-row[data-dir="-1"] { animation-direction: reverse; }
.marquee:hover .mq-row { animation-play-state: paused; }
.mq-row span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font: 600 14.5px var(--f-body); white-space: nowrap; color: var(--fg2); transition: background .3s, color .3s, border-color .3s; }
.mq-row span.hot { color: var(--gold-2); border-color: rgba(246, 196, 83, .3); background: rgba(246, 196, 83, .07); }
.mq-row span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; }
.mq-row span:hover { border-color: var(--gold); color: #fff; }
.support { margin-top: 36px; display: flex; gap: 16px; align-items: center; padding: 20px 24px; border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.support b { font: 700 18px var(--f-display); }
.support p { color: var(--fg2); font-size: 14.5px; }

/* ========================================================================
   FINALE
   ======================================================================== */
.finale { position: relative; min-height: 100svh; overflow: hidden; padding-top: clamp(100px, 14vh, 150px); background: radial-gradient(1200px 700px at 50% 38%, #18275a 0%, #0c1532 45%, var(--navy-950) 75%); display: flex; flex-direction: column; }
.finale-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.finale-inner { position: relative; z-index: 1; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.finale-inner .eyebrow { color: var(--gold); }
.finale-space { width: min(100%, 620px); height: clamp(150px, 22vw, 270px); margin: 20px 0 10px; }
.finale-title { font: 800 clamp(40px, 6.6vw, 104px)/.95 var(--f-display); letter-spacing: -.055em; color: var(--cream); }
.finale-title em { font: italic 400 1.1em var(--f-serif); color: var(--gold); letter-spacing: -.02em; text-shadow: 0 0 50px rgba(246, 196, 83, .35); }
.finale-lead { margin-top: 18px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(244, 237, 224, .75); }
.contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.ct { display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); text-align: left; transition: border-color .3s, transform .4s var(--ease), background .3s; backdrop-filter: blur(8px); }
a.ct:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(246, 196, 83, .08); }
.ct svg { width: 22px; height: 22px; color: var(--gold); }
.ct small { display: block; font-size: 11.5px; color: var(--fg3); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.ct b { font: 700 16px var(--f-display); }
.contact { align-items: center; }
.ct-mail a { color: inherit; }
.ct-mail b { user-select: all; -webkit-user-select: all; }
.ct-copy { margin-left: 6px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font: 700 12.5px var(--f-body); color: var(--gold-2); transition: border-color .3s, background .3s, color .3s; }
.ct-copy:hover { border-color: var(--gold); }
.ct-copy em { font-style: normal; }
.ct .ct-copy svg { width: 15px; height: 15px; color: currentColor; }
.ct-copy.ok { background: rgba(63, 165, 122, .18); border-color: rgba(63, 165, 122, .45); color: #8fe0bb; }
.ct-qr { flex-direction: column; gap: 8px; padding: 12px 12px 10px; }
.ct .qr-real { width: 112px; height: 112px; display: block; border-radius: 10px; color: inherit; }
.foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 28px; padding-bottom: 32px; margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--fg3); }
.foot-logo { height: 24px; display: block; color: var(--cream); }
.foot-note { margin-left: auto; }

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1180px) {
  .rail { display: none; }
  .nav-links a { padding: 10px 9px; }
  .mini-grid.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); }
}
@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { position: absolute; right: -24px; top: -20px; width: clamp(170px, 30vw, 280px); z-index: -1; opacity: 0; animation: fadeUpDim 1.2s .35s var(--ease) forwards; }
  @keyframes fadeUpDim { from { opacity: 0; transform: translateY(20px); } to { opacity: .9; transform: none; } }
  .hero-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .sec-head .lead { padding-bottom: 0; }
  .socio, .flow, .career, .board-wrap, .meet, .myp-wrap, .scope, .modules-head, .family { grid-template-columns: 1fr; }
  .mini-grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-grid { grid-template-columns: minmax(0, 1fr); }
  .ai-side { padding-top: 0; min-width: 0; }
  .chat { min-width: 0; }
  .ai-mascot { position: static; display: block; width: 92px; margin: -8px 0 10px auto; }
  .ai-qs { flex-direction: row; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 18px; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .ai-qs::-webkit-scrollbar { display: none; }
  .ai-q { flex-shrink: 0; max-width: 260px; }
  .chat { height: 560px; }
  .mobile-info { grid-template-columns: 1fr; }
  .phone-row { grid-template-columns: repeat(4, 220px); overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 16px var(--gutter) 10px; scrollbar-width: none; }
  .phone-row::-webkit-scrollbar { display: none; }
  .pr-item { scroll-snap-align: center; }
  .family-img { max-width: 320px; }
  .sec-grid { grid-template-columns: 1fr; }
  .exam { grid-template-columns: 1fr; }
  .exam-topics { border-left: 0; border-top: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .chain-line { display: none; }
  .manifesto { height: 230vh; }
  .mf-nodes span { font-size: 12px; padding: 7px 12px 7px 10px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(54px, 16.5vw, 80px); }
  .hero-visual { right: -20px; top: -24px; width: 144px; }
  .hero-stats { gap: 28px; }
  .lantern-hint { margin-left: 0; flex-basis: 100%; }
  .hero-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hcard { padding: 14px; }
  .hcard b { font-size: 16px; }
  .hcard span { font-size: 12.5px; }
  .mini-grid.g4, .mini-grid.g5, .cards-2x2 { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi-c { min-height: 0; padding: 14px; }
  .ring-wrap { width: 96px; height: 96px; }
  .ring-wrap .kpi-big { font-size: 24px; }
  .kpi-big { font-size: 30px; }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .socio-stage { padding: 12px 10px 10px; border-radius: 24px; }
  .socio-top { flex-direction: column; }
  .q-text { font-size: 18px; }
  .socio-alert, .socio-stats { position: static; display: none; opacity: 1; transform: none; max-width: none; margin: 4px 0 10px; pointer-events: auto; }
  .socio-stage.show-alert .socio-alert { display: flex; }
  .socio-stage[data-mode="after"] .socio-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); transform: none; }
  .socio-stats div { padding: 6px 8px; white-space: normal; }
  .socio-stats b { font-size: 15px; }
  .lg-hint { margin-left: 0; }
  .docs-vis { grid-template-columns: 1fr; gap: 10px; }
  .doc-link { width: 2px; height: 30px; justify-self: center; background: repeating-linear-gradient(180deg, var(--gold) 0 5px, transparent 5px 10px); }
  .pano { max-width: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bx-board > p { max-width: none; }
  .board-mascot { width: 110px; right: -14px; bottom: -18px; opacity: .9; }
  .bx-board .link-btn { max-width: calc(100% - 90px); }
  .enroll-steps { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .enroll-steps::before, .enroll-steps::after { display: none; }
  .phones { height: 470px; --spread: 120px; }
  .phone { width: 200px; border-radius: 38px; padding: 8px; }
  .phone-screen { border-radius: 31px; }
  .sbar { height: 30px; font-size: 11px; padding: 0 16px 0 20px; }
  .sbar i { height: 18px; }
  .phone-row { grid-template-columns: repeat(4, 200px); }
  .bs { padding: 14px; gap: 12px; }
  .bs-info p { display: none; }
  .bs-push { left: 12px; right: 12px; max-width: none; font-size: 12px; }
  .board-phone { display: none; }
  .att-grid { gap: 4px; }
  .duty-h, .duty-row { grid-template-columns: 64px repeat(5, minmax(0, 1fr)) 78px; gap: 4px; }
  .duty-h span:last-child { padding-left: 6px; }
  .pmap-hint { display: flex; }
  .sec.dawn { background: linear-gradient(180deg, var(--navy-950) 0%, #111c40 10%, #242c66 22%, #5a539e 33%, #b3a6d6 43%, #ede2e3 50%, var(--cream) 56%); }
  .lot-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .myp { padding: 18px; }
  .myp-r { grid-template-columns: 28px minmax(0, 1fr) 24px; row-gap: 6px; }
  .myp-r input { grid-column: 1 / -1; grid-row: 2; }
  .core-r { grid-template-columns: 1fr 1fr; }
  .core-r i { grid-column: 1 / -1; grid-row: 2; }
  .core-r small { text-align: right; grid-row: 1; grid-column: 2; }
  .rank-card { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 1fr; text-align: left; }
  .principle img { width: 120px; }
  .tree { height: 300px; }
  .tn { padding: 8px 12px; font-size: 13px; }
  .tn.sm { padding: 6px 8px; font-size: 11.5px; }
  .ct { flex: 1 1 100%; }
  .ct-qr { flex: 0 0 auto; }
  .foot-note { margin-left: 0; }
  .chat { height: 540px; border-radius: 24px; }
  .msg { max-width: 94%; }
  .chip-persona { display: none; }
  .mf-nodes { display: none; }
  .ticker { transform: rotate(-2deg) scale(1.05); }
}

/* reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ht-line > span { transform: none; }
  .ht-serif em { opacity: 1; filter: none; }
  .cursor-fly { display: none; }
  .ticker-track, .mq-row { animation: none; }
}
@media (pointer: coarse) { .cursor-fly { display: none; } }
