/* Bagdar.ai v2 · light glass aurora */
@property --beam { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --ink: #0c2740;
  --ink-2: #1d3f5f;
  --muted: #4c6580;
  --brand: #00a0e3;
  --action: #0b78c1;
  --action-2: #0a6aac;
  --sky: #7cc8f2;
  --ice: #b9e3fb;
  --mint: #8fe3cf;
  --bg: #eaf6fd;
  --g: #1fae7a; --g-ink: #0d7a52; --g-soft: #dcf5ea;
  --a: #f0a530; --a-ink: #9a5b05; --a-soft: #fdf0d9;
  --r: #ec5a5a; --r-ink: #b92f2f; --r-soft: #fde3e3;

  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.72), rgba(255,255,255,.38));
  --glass-border: rgba(255,255,255,.78);
  --glass-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 0 0 1px rgba(255,255,255,.18) inset, 0 24px 60px -24px rgba(16,72,128,.32), 0 4px 14px -6px rgba(16,72,128,.12);
  --blur: blur(22px) saturate(170%);

  --e-out: cubic-bezier(0.23, 1, 0.32, 1);
  --e-move: cubic-bezier(0.77, 0, 0.175, 1);
  --e-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 12px; text-decoration: none; transition: transform 200ms var(--e-out); }
.skip:focus { transform: translateY(76px); }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

/* ---------- glass primitive ---------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}

/* ---------- aurora ground ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -10%, #f6fbff 0%, #e5f4fd 45%, #dcefFb 100%); }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.b1 { width: 62vmax; height: 62vmax; left: -18vmax; top: -22vmax; background: radial-gradient(circle, rgba(0,160,227,.55) 0%, rgba(0,160,227,0) 64%); animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 54vmax; height: 54vmax; right: -16vmax; top: -8vmax; background: radial-gradient(circle, rgba(124,200,242,.75) 0%, rgba(124,200,242,0) 64%); animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 46vmax; height: 46vmax; left: 30%; top: 38%; background: radial-gradient(circle, rgba(143,227,207,.6) 0%, rgba(143,227,207,0) 62%); animation: drift3 30s ease-in-out infinite alternate; }
.b4 { width: 50vmax; height: 50vmax; left: -14vmax; bottom: -24vmax; background: radial-gradient(circle, rgba(185,227,251,.95) 0%, rgba(185,227,251,0) 62%); animation: drift2 36s ease-in-out infinite alternate-reverse; }
.b5 { width: 34vmax; height: 34vmax; right: 6%; bottom: -6vmax; background: radial-gradient(circle, rgba(0,160,227,.35) 0%, rgba(0,160,227,0) 64%); animation: drift1 28s ease-in-out infinite alternate-reverse; }
.grain { position: absolute; inset: 0; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes drift1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(12vmax, 9vmax, 0) scale(1.15); } }
@keyframes drift2 { from { transform: translate3d(0,0,0) scale(1.05); } to { transform: translate3d(-10vmax, 12vmax, 0) scale(.92); } }
@keyframes drift3 { from { transform: translate3d(0,0,0) scale(.95); } to { transform: translate3d(-14vmax, -10vmax, 0) scale(1.12); } }
.js .aurora .blob { opacity: 0; transition: opacity 1.6s var(--e-out); }
.is-ready .aurora .blob { opacity: 1; }
.is-ready .aurora .b2 { transition-delay: 150ms; } .is-ready .aurora .b3 { transition-delay: 300ms; }

/* ---------- buttons ---------- */
.btn { --h: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--h); padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--e-out), box-shadow 200ms ease, background-color 200ms ease; }
.btn:active { transform: scale(0.97); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { color: #fff; background: linear-gradient(180deg, #1590d6 0%, var(--action) 100%); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 10px 24px -10px rgba(11,120,193,.7), 0 2px 6px -2px rgba(11,120,193,.4); }
.btn--glass { color: var(--ink); background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.85); box-shadow: 0 1px 0 #fff inset, 0 8px 22px -12px rgba(16,72,128,.35); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn--ghost { color: var(--ink); background: transparent; }
.btn--white { color: var(--ink); background: #fff; }
.btn .i { transition: transform 200ms var(--e-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 32px -12px rgba(11,120,193,.8), 0 2px 6px -2px rgba(11,120,193,.4); }
  .btn:hover .i:last-child { transform: translateX(3px); }
  .btn--glass:hover, .btn--ghost:hover { background: rgba(255,255,255,.8); }
}

/* ---------- nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding-inline: clamp(12px, 3vw, 24px); }
.nav__bar { max-width: 1180px; margin-inline: auto; height: 64px; border-radius: 999px; display: flex; align-items: center; gap: 16px; padding: 0 10px 0 22px; transition: box-shadow 300ms ease, background-color 300ms ease; }
.nav.is-scrolled .nav__bar { --glass-bg: linear-gradient(140deg, rgba(255,255,255,.86), rgba(255,255,255,.62)); }
.nav__logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 2px; margin-inline: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: background-color 150ms ease, color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .nav__links a:hover { background: rgba(255,255,255,.75); color: var(--ink); } }
.nav__act { display: flex; align-items: center; gap: 6px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); align-items: center; justify-content: center; cursor: pointer; transition: transform 160ms var(--e-out); }
.nav__burger:active { transform: scale(.95); }
.nav__burger .i { width: 22px; height: 22px; }
.sheet { position: absolute; right: clamp(12px, 3vw, 24px); top: 74px; width: min(300px, calc(100vw - 24px)); border-radius: 24px; padding: 10px; display: grid; gap: 2px;
  transform-origin: top right; opacity: 0; transform: scale(.96) translateY(-6px); visibility: hidden; transition: opacity 180ms var(--e-out), transform 220ms var(--e-out), visibility 0s 220ms; }
.sheet a { padding: 13px 16px; border-radius: 14px; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sheet a:active { background: rgba(255,255,255,.8); }
.sheet__login { border-top: 1px solid rgba(12,39,64,.08); margin-top: 4px; color: var(--action); }
.sheet__logout { width: 100%; padding: 13px 16px; border: 0; border-radius: 14px; background: none; font: inherit; font-weight: 600; text-align: left; color: var(--muted); cursor: pointer; }
.sheet__logout:active { background: rgba(255,255,255,.8); }
.nav__logout { display: flex; }
.nav.is-open .sheet { opacity: 1; transform: none; visibility: visible; transition: opacity 180ms var(--e-out), transform 220ms var(--e-out), visibility 0s; }
.js .nav { opacity: 0; transform: translateY(-16px); transition: opacity .8s var(--e-out) 100ms, transform .9s var(--e-out) 100ms; }
.is-ready .nav { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 0 40px; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: center; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,122,.45); } 80%, 100% { box-shadow: 0 0 0 9px rgba(31,174,122,0); } }
.hero__title { margin-top: 26px; font-size: clamp(50px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.045em; color: var(--ink); }
.hero__title .w { display: inline-block; padding-bottom: .06em; }
.w--grad { background: linear-gradient(100deg, var(--action) 0%, var(--brand) 38%, #3cc4c0 62%, var(--action) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 24px; font-size: clamp(17px, 1.35vw, 19px); color: var(--muted); max-width: 30em; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__zones { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero__zones li { display: inline-flex; align-items: center; gap: 8px; }
.z { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.z--g { background: var(--g); box-shadow: 0 0 0 3px rgba(31,174,122,.16); }
.z--a { background: var(--a); box-shadow: 0 0 0 3px rgba(240,165,48,.18); }
.z--r { background: var(--r); box-shadow: 0 0 0 3px rgba(236,90,90,.16); }
.bg-g { background: var(--g); } .bg-a { background: var(--a); } .bg-r { background: var(--r); }
.tz-g { color: var(--g-ink); } .tz-a { color: var(--a-ink); } .tz-r { color: var(--r-ink); }

/* intro choreography */
.js [data-in] { opacity: 0; transform: translateY(18px); filter: blur(10px); transition: opacity .9s var(--e-out) var(--d, 0ms), transform 1s var(--e-out) var(--d, 0ms), filter .9s var(--e-out) var(--d, 0ms); }
.is-ready [data-in] { opacity: 1; transform: none; filter: none; }
.js .hero__title .w { opacity: 0; transform: translateY(48%) rotate(3deg); filter: blur(16px); transition: opacity .9s var(--e-out), transform 1.2s var(--e-out), filter 1s var(--e-out); transition-delay: calc(240ms + var(--i) * 110ms); }
.is-ready .hero__title .w { opacity: 1; transform: none; filter: none; }
.is-ready .w--grad { animation: sheen 2.6s var(--e-move) 1s 1 both; }
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* stage */
.stage { position: relative; aspect-ratio: 1.12 / 1; container-type: inline-size; perspective: 1400px; }
.stage__rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.stage__halo { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.85), rgba(255,255,255,0)); filter: blur(10px); }
.layer { position: absolute; }
.layer__p { will-change: transform; }
.js .layer { opacity: 0; transform: translate3d(var(--fx, 0), var(--fy, 40px), 0) rotateX(var(--frx, 0deg)) rotateY(var(--fry, 0deg)) scale(.88); filter: blur(18px);
  transition: opacity 1s var(--e-out) var(--d), transform 1.5s var(--e-out) var(--d), filter 1.1s var(--e-out) var(--d); }
.is-ready .layer { opacity: 1; transform: none; filter: none; }
.l-list { left: 0; top: 9%; width: 60%; z-index: 1; }
.l-donut { right: 0; top: 1%; width: 41%; z-index: 2; }
.l-ai { right: 3%; bottom: 3%; width: 58%; z-index: 3; }
.l-chip1 { left: -2%; bottom: 13%; z-index: 4; }
.l-chip2 { right: 39%; top: -1%; z-index: 4; }

.panel { border-radius: clamp(14px, 3.4cqw, 26px); padding: clamp(10px, 2.6cqw, 20px); position: relative; overflow: hidden; }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 1.6cqw; }
.panel__title { font-weight: 800; font-size: clamp(11px, 2.25cqw, 17px); letter-spacing: -0.02em; }
.panel__sub { font-size: clamp(9px, 1.6cqw, 12.5px); color: var(--muted); font-weight: 600; }
.panel__search { width: 4.4cqw; height: 4.4cqw; min-width: 22px; min-height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.7); color: var(--muted); font-size: 1.8cqw; }
.hl { display: grid; gap: .7cqw; }
.hl__row { display: grid; grid-template-columns: auto minmax(0,1fr) 16% auto; align-items: center; gap: 1.6cqw; padding: 1cqw 1.2cqw; border-radius: 1.8cqw; font-size: clamp(9px, 1.7cqw, 13px); font-weight: 700; }
.hl__row.is-sel { background: rgba(255,255,255,.85); box-shadow: 0 6px 18px -10px rgba(16,72,128,.35); }
.hl__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hl__bar { height: .9cqw; min-height: 4px; border-radius: 99px; background: rgba(12,39,64,.08); overflow: hidden; }
.hl__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left; }
.hl__zone { display: inline-flex; align-items: center; gap: .9cqw; font-size: clamp(8px, 1.45cqw, 11.5px); }
.hl__zone .z { width: 1.4cqw; height: 1.4cqw; min-width: 6px; min-height: 6px; }
.ava { width: 4.6cqw; height: 4.6cqw; min-width: 22px; min-height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: clamp(8px, 1.35cqw, 11px); font-weight: 800; flex: none; }
.ava--g { background: var(--g-soft); color: var(--g-ink); } .ava--a { background: var(--a-soft); color: var(--a-ink); } .ava--r { background: var(--r-soft); color: var(--r-ink); }
.js .hl__row { opacity: 0; transform: translateX(-12px); transition: opacity .6s var(--e-out), transform .7s var(--e-out); transition-delay: calc(1100ms + var(--i) * 70ms); }
.js .hl__bar i { transform: scaleX(0); transition: transform 1s var(--e-out); transition-delay: calc(1300ms + var(--i) * 70ms); }
.is-ready .hl__row { opacity: 1; transform: none; }
.is-ready .hl__bar i { transform: none; }

.donut { position: relative; width: 74%; margin: 1.6cqw auto 1.4cqw; }
.donut svg { width: 100%; height: auto; transform: rotate(-90deg); overflow: visible; }
.donut circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.donut__track { stroke: rgba(12,39,64,.07); }
.seg { stroke-dasharray: var(--len) 100; stroke-dashoffset: var(--off); transition: stroke-dasharray 1.1s var(--e-out); transition-delay: calc(1300ms + var(--i) * 180ms); }
.js .seg { stroke-dasharray: 0 100; }
.is-ready .seg { stroke-dasharray: var(--len) 100; }
.seg--g { stroke: var(--g); } .seg--a { stroke: var(--a); } .seg--r { stroke: var(--r); }
.donut__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut__c b { font-size: clamp(16px, 4.4cqw, 34px); letter-spacing: -0.04em; line-height: 1; }
.donut__c span { font-size: clamp(8px, 1.4cqw, 11px); color: var(--muted); font-weight: 600; }
.legend { display: grid; gap: .6cqw; font-size: clamp(8.5px, 1.5cqw, 12px); font-weight: 600; }
.legend li { display: flex; align-items: center; gap: 1cqw; }
.legend b { margin-left: auto; }
.legend .z { width: 1.4cqw; height: 1.4cqw; min-width: 6px; min-height: 6px; }

.panel--ai { padding: clamp(12px, 2.8cqw, 22px); }
.ai__head { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: 1.6cqw; }
.ai__head .tag { margin-left: auto; }
.ai__badge { width: 5.6cqw; height: 5.6cqw; min-width: 26px; min-height: 26px; border-radius: 1.8cqw; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), #3cc4c0); box-shadow: 0 6px 16px -6px rgba(0,160,227,.7); font-size: 2.6cqw; }
.ai__text { font-size: clamp(10px, 1.9cqw, 14.5px); line-height: 1.5; font-weight: 600; color: var(--ink-2); }
.ai__text .wd { display: inline; transition: opacity .35s ease, filter .35s ease; }
.js .ai__text.is-split .wd { opacity: .08; filter: blur(3px); }
.js .ai__text.is-split .wd.on { opacity: 1; filter: none; }
.ai__acts { display: flex; gap: 1.2cqw; margin-top: 1.8cqw; }
.chipbtn { display: inline-flex; align-items: center; gap: .8cqw; padding: 1cqw 1.8cqw; border-radius: 99px; font-size: clamp(8.5px, 1.5cqw, 12px); font-weight: 700; background: rgba(255,255,255,.75); border: 1px solid rgba(12,39,64,.08); }
.chipbtn--solid { background: var(--action); color: #fff; border-color: transparent; }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.panel .tag { font-size: clamp(8px, 1.4cqw, 11.5px); padding: .5cqw 1.4cqw; }
.tag--g { background: var(--g-soft); color: var(--g-ink); } .tag--a { background: var(--a-soft); color: var(--a-ink); } .tag--r { background: var(--r-soft); color: var(--r-ink); }

.float { display: flex; align-items: center; gap: 1.4cqw; padding: 1.2cqw 2cqw 1.2cqw 1.2cqw; border-radius: 99px; animation: bob 6s ease-in-out infinite; white-space: nowrap; }
.float--2 { animation-duration: 7s; animation-delay: -2s; }
.float b { display: block; font-size: clamp(10px, 1.8cqw, 14px); line-height: 1.15; }
.float span { font-size: clamp(8.5px, 1.4cqw, 11.5px); color: var(--muted); font-weight: 600; }
.float__ic { width: 5cqw; height: 5cqw; min-width: 24px; min-height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.float__ic .i { width: 52%; height: 52%; }
.float__ic--qr { background: linear-gradient(135deg, var(--action), var(--brand)); }
.float__ic--bell { background: linear-gradient(135deg, #f07a6a, var(--r)); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* glint sweep (one shot) */
.glint::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%); transform: translateX(-130%); }
.is-ready .glint::after { animation: glint 1.4s var(--e-move) 1; animation-delay: calc(var(--d, 0ms) + 1500ms); }
@keyframes glint { to { transform: translateX(130%); } }
.l-list .glint::after { --d: 520ms; } .l-donut .glint::after { --d: 720ms; } .l-ai .glint::after { --d: 900ms; }

/* border beam (ported from 21st.dev "Border Beam" idea) */
.beam { position: relative; isolation: isolate; }
.beam::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--beam), transparent 0 72%, rgba(0,160,227,.0) 72%, var(--brand) 86%, var(--mint) 93%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; animation: spin 4.5s linear infinite; transition: opacity 1s ease 2.6s; }
.is-ready .beam::before, .beam.is-in::before { opacity: 1; }
.beam--slow::before { animation-duration: 8s; transition-delay: .4s; }
@keyframes spin { to { --beam: 360deg; } }

/* stats strip */
.stats { margin-top: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; }
.stats > div { padding: 18px 22px; position: relative; }
.stats > div + div::before { content: ""; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, rgba(12,39,64,.14), transparent); }
.stats dt { font-size: 14px; color: var(--muted); font-weight: 600; order: 2; }
.stats > div { display: flex; flex-direction: column; }
.stats dd { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, var(--ink) 30%, #2a5a86); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.sh { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.sh--c { margin-inline: auto; text-align: center; }
.sh h2 { margin-top: 18px; font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -0.04em; }
.sh p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.sh--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sh--split > div:first-child { max-width: 640px; }

/* scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .7s var(--e-out), transform .9s var(--e-out), filter .6s var(--e-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="tilt"] { transform: perspective(1600px) translateY(60px) rotateX(18deg) scale(.94); transform-origin: 50% 0; transition-duration: 1s, 1.4s, 1s; }
.js [data-reveal="tilt"].is-in { transform: none; }

/* ---------- product window ---------- */
.window-wrap { position: relative; }
.window-wrap::before { content: ""; position: absolute; inset: 10% 8% -6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,160,227,.35), transparent); filter: blur(40px); z-index: -1; }
.window { border-radius: 30px; overflow: hidden; padding: 0; }
.window__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.35); }
.dots { display: flex; gap: 7px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: rgba(12,39,64,.14); }
.dots i:nth-child(1) { background: #ff8a80; } .dots i:nth-child(2) { background: #ffd27a; } .dots i:nth-child(3) { background: #7fdcae; }
.window__url { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 5px 16px; border-radius: 99px; background: rgba(255,255,255,.6); }
.window__body { display: grid; grid-template-columns: 180px minmax(0, 1.5fr) minmax(0, 1fr); min-height: 460px; }
.wside { padding: 20px 14px; border-right: 1px solid rgba(255,255,255,.7); display: flex; flex-direction: column; gap: 4px; background: rgba(255,255,255,.22); }
.wside img { height: 22px; width: auto; margin: 2px 8px 18px; }
.wside__it { padding: 10px 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.wside__it.is-on { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: 0 4px 14px -8px rgba(16,72,128,.3); }
.wlist { padding: 20px; border-right: 1px solid rgba(255,255,255,.7); }
.wlist__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.wsearch { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.65); }
.wtr { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1.3fr) auto 48px; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; font-size: 14px; }
.wtr--h { font-size: 12px; color: var(--muted); font-weight: 700; padding-block: 4px 8px; text-transform: uppercase; letter-spacing: .04em; }
.wtr.is-sel { background: rgba(255,255,255,.88); box-shadow: 0 8px 20px -12px rgba(16,72,128,.4); }
.wtr__who { display: flex; align-items: center; gap: 10px; font-weight: 700; white-space: nowrap; overflow: hidden; }
.wtr__who .ava { width: 30px; height: 30px; font-size: 11px; }
.wtr__test { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wtr__date { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.js .window-wrap .wtr:not(.wtr--h) { opacity: 0; transform: translateY(8px); transition: opacity .6s var(--e-out), transform .7s var(--e-out); transition-delay: calc(200ms + var(--i) * 50ms); }
.window-wrap.is-in .wtr { opacity: 1 !important; transform: none !important; }
.wopen { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.wopen__head { display: flex; align-items: center; gap: 12px; }
.wopen__head b { display: block; font-size: 16px; } .wopen__head span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ava--lg { width: 44px; height: 44px; font-size: 14px; }
.scales { display: grid; gap: 12px; }
.scales li { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13.5px; font-weight: 600; }
.scales__bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: rgba(12,39,64,.08); overflow: hidden; }
.scales__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left; }
.js .scales__bar i { transform: scaleX(0); transition: transform 1.1s var(--e-out); transition-delay: calc(350ms + var(--i) * 100ms); }
.window-wrap.is-in .scales__bar i { transform: none; }
.wsum { padding: 14px 16px; border-radius: 18px; background: linear-gradient(140deg, rgba(0,160,227,.12), rgba(143,227,207,.18)); border: 1px solid rgba(255,255,255,.8); }
.wsum__h { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 14px; color: var(--action); }
.wsum p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.wsum__next { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { border-radius: var(--r-lg); padding: 14px; display: flex; flex-direction: column; grid-column: span 2; position: relative; overflow: hidden; }
.card--wide { grid-column: span 4; }
.card__vis { height: 210px; border-radius: 20px; background: linear-gradient(160deg, rgba(255,255,255,.65), rgba(255,255,255,.25)); border: 1px solid rgba(255,255,255,.8); position: relative; overflow: hidden; display: grid; place-items: center; }
.card__txt { padding: 18px 10px 8px; }
.card h3 { font-size: 21px; letter-spacing: -0.025em; }
.card p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity 250ms ease; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 45%); }
@media (hover: hover) and (pointer: fine) {
  .spot:hover::after { opacity: 1; }
  .card { transition: transform 250ms var(--e-out), box-shadow 250ms ease; }
  .card:hover { transform: translateY(-3px); }
}
.board { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); padding: 5px 18px; border-radius: 99px; font-size: 12px; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.75); white-space: nowrap; }
.seats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px 14px; margin-top: 34px; }
.seat { width: 30px; height: 26px; border-radius: 9px 9px 6px 6px; position: relative; }
.seat--g { background: var(--g-soft); box-shadow: inset 0 0 0 1.5px rgba(31,174,122,.45); }
.seat--a { background: var(--a-soft); box-shadow: inset 0 0 0 1.5px rgba(240,165,48,.6); }
.seat--r { background: var(--r); box-shadow: 0 6px 14px -4px rgba(236,90,90,.6); }
.seat--r::after { content: ""; position: absolute; inset: -5px; border-radius: 12px; border: 2px solid rgba(236,90,90,.5); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
.js .seat { opacity: 0; transform: translateY(10px) scale(.8); transition: opacity .5s var(--e-out), transform .6s var(--e-out); transition-delay: calc(250ms + var(--i) * 30ms); }
.is-in .seat { opacity: 1; transform: none; }

.qr { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; width: 150px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -14px rgba(16,72,128,.45); position: relative; overflow: hidden; }
.qr i { aspect-ratio: 1; border-radius: 2px; }
.qr .q1, .qr .qf { background: var(--ink); } .qr .q0 { background: transparent; }
.qr .qf { background: var(--action); }
.qr__scan { position: absolute; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(180deg, transparent, rgba(0,160,227,.28) 80%, rgba(0,160,227,.9) 100%); animation: scan 2.6s var(--e-move) infinite alternate; }
@keyframes scan { from { transform: translateY(-40%); } to { transform: translateY(210%); } }
.qr--sm { width: 92px; padding: 8px; gap: 1.5px; }

.ai-vis { gap: 12px; align-content: center; padding: 20px; }
.bub { padding: 10px 14px; border-radius: 16px; font-size: 13.5px; font-weight: 600; max-width: 92%; }
.bub--q { justify-self: end; background: var(--action); color: #fff; border-bottom-right-radius: 6px; }
.bub--a { justify-self: start; display: flex; align-items: center; gap: 6px; background: #fff; color: var(--brand); border-bottom-left-radius: 6px; box-shadow: 0 8px 20px -12px rgba(16,72,128,.4); }
.bub--a span { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); animation: dot 1.2s ease-in-out infinite; }
.bub--a span:nth-of-type(2) { animation-delay: .15s; } .bub--a span:nth-of-type(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }

.doc { position: absolute; width: 112px; height: 140px; border-radius: 14px; background: #fff; box-shadow: 0 18px 34px -16px rgba(16,72,128,.45); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; transition: transform 300ms var(--e-out); }
.doc b { font-size: 12px; color: #fff; padding: 3px 8px; border-radius: 6px; align-self: flex-start; }
.doc i { height: 6px; border-radius: 4px; background: rgba(12,39,64,.1); } .doc i:nth-of-type(2) { width: 70%; } .doc i:nth-of-type(3) { width: 85%; }
.doc--x { transform: translateX(-36px) rotate(-8deg); } .doc--x b { background: var(--g); }
.doc--p { transform: translateX(36px) rotate(6deg); } .doc--p b { background: var(--r); }
@media (hover: hover) and (pointer: fine) { .card:hover .doc--x { transform: translateX(-56px) rotate(-12deg); } .card:hover .doc--p { transform: translateX(56px) rotate(9deg) translateY(-6px); } }

.gauge-vis { place-items: center; }
.gauge { width: 190px; overflow: visible; }
.gauge path { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge__t { stroke: rgba(12,39,64,.08); }
.gauge__v { stroke: url(#none); stroke: var(--brand); stroke-dasharray: 87 100; transition: stroke-dasharray 1.4s var(--e-out) .4s; }
.js .gauge__v { stroke-dasharray: 0 100; } .is-in .gauge__v { stroke-dasharray: 87 100; }
.gauge__n { position: absolute; left: 0; right: 0; bottom: 46px; text-align: center; }
.gauge__n b { display: block; font-size: 34px; letter-spacing: -0.04em; line-height: 1; } .gauge__n span { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- roles orbit ---------- */
.roles { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.orbit { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 0 40px rgba(255,255,255,.5), 0 0 0 1px rgba(0,160,227,.08); }
.orbit__ring--1 { inset: 12%; background: radial-gradient(circle, rgba(255,255,255,.35), rgba(255,255,255,.05) 70%); }
.orbit__ring--2 { inset: 30%; border-style: dashed; border-color: rgba(0,160,227,.3); }
.orbit__spin { position: absolute; inset: 12%; border-radius: 50%; animation: rot 14s linear infinite; }
.orbit__spin i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px rgba(0,160,227,.18), 0 0 24px 4px rgba(0,160,227,.6); }
@keyframes rot { to { transform: rotate(360deg); } }
.orbit__core { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center; padding: 0 16px; box-shadow: var(--glass-shadow), 0 0 0 10px rgba(255,255,255,.25), 0 0 60px rgba(0,160,227,.25); }
.orbit__core img { width: 100%; max-width: 120px; height: auto; }
.orbit__nodes { position: absolute; inset: 0; }
.node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 16px 12px; border-radius: 22px; cursor: pointer; transform: translate(-50%, -50%); min-width: 128px; transition: transform 200ms var(--e-out), box-shadow 250ms ease, background-color 250ms ease; }
.node:active { transform: translate(-50%, -50%) scale(.97); }
.node--0 { left: 50%; top: 12%; } .node--1 { left: 88%; top: 50%; } .node--2 { left: 50%; top: 88%; } .node--3 { left: 12%; top: 50%; }
.node__ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; font-size: 22px; color: var(--action); background: rgba(255,255,255,.85); box-shadow: 0 6px 16px -8px rgba(16,72,128,.35); transition: background-color 250ms ease, color 250ms ease; }
.node__l { font-size: 14px; font-weight: 700; white-space: nowrap; }
.node[aria-selected="true"] { --glass-bg: linear-gradient(140deg, rgba(255,255,255,.95), rgba(255,255,255,.7)); box-shadow: var(--glass-shadow), 0 0 0 3px rgba(0,160,227,.25); }
.node[aria-selected="true"] .node__ic { background: linear-gradient(135deg, var(--action), var(--brand)); color: #fff; }
@media (hover: hover) and (pointer: fine) { .node:hover { transform: translate(-50%, -50%) translateY(-3px); } }
.rpanels { display: grid; }
.rpanel { grid-area: 1 / 1; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); filter: blur(6px); transition: opacity 280ms var(--e-out), transform 340ms var(--e-out), filter 280ms var(--e-out), visibility 0s 340ms; }
.rpanel.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 340ms var(--e-out) 60ms, transform 420ms var(--e-out) 60ms, filter 340ms var(--e-out) 60ms, visibility 0s; }
.rpanel__head { display: flex; align-items: center; gap: 14px; }
.node__ic--lg { width: 54px; height: 54px; border-radius: 18px; font-size: 26px; background: linear-gradient(135deg, var(--action), var(--brand)); color: #fff; }
.rpanel h3 { font-size: clamp(24px, 2.6vw, 32px); }
.rvis { margin-top: 22px; padding: 20px; border-radius: 20px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.85); min-height: 150px; display: grid; gap: 12px; align-content: center; }
.zbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; }
.zbar i { width: var(--w); border-radius: 99px; }
.zdots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; justify-items: center; }
.prof { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) 44px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; }
.prof__bar { height: 8px; border-radius: 99px; background: rgba(12,39,64,.08); overflow: hidden; }
.prof__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--mint)); }
.prof b { text-align: right; color: var(--action); }
.bars { display: flex; align-items: flex-end; justify-content: space-around; height: 130px; gap: 12px; }
.bars__c { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars__c i { width: 100%; max-width: 42px; height: var(--h); border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, var(--brand), rgba(0,160,227,.35)); transform-origin: bottom; }
.bars__c em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.rpanel .bars__c i, .rpanel .prof__bar i, .rpanel .zbar i { transform: scaleX(.001); transition: transform 700ms var(--e-out) 200ms; }
.rpanel .bars__c i { transform: scaleY(.001); }
.rpanel.is-on .bars__c i, .rpanel.is-on .prof__bar i, .rpanel.is-on .zbar i { transform: none; }
.rpanel .prof__bar i, .rpanel .zbar i { transform-origin: left; }
.avs { display: flex; } .avs .ava { width: 40px; height: 40px; font-size: 12px; border: 2px solid #fff; margin-left: -8px; } .avs .ava:first-child { margin-left: 0; }
.ava--more { background: var(--ink); color: #fff; }
.meet { display: grid; gap: 14px; }
.meet__doc { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 20px -14px rgba(16,72,128,.45); }
.meet__doc .i { color: var(--r); }
.points { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.points li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); font-size: 14px; font-weight: 600; }
.points .i { color: var(--g); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; counter-reset: s; }
.steps__line { position: absolute; left: 16%; right: 16%; top: 40px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.7); overflow: hidden; }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--mint)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--e-move) .3s; }
.steps.is-in .steps__line i { transform: none; }
.step { border-radius: var(--r-lg); padding: 24px; position: relative; }
.step__n { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--action), var(--brand)); box-shadow: 0 10px 24px -10px rgba(11,120,193,.7), inset 0 1px 0 rgba(255,255,255,.4); position: relative; z-index: 1; }
.step__vis { margin: 20px 0 18px; height: 132px; border-radius: 18px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.85); display: grid; place-items: center; padding: 16px; }
.step h3 { font-size: 21px; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.upl { width: 100%; display: grid; gap: 10px; }
.upl__f { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; } .upl__f .i { color: var(--g); }
.upl__bar { height: 8px; border-radius: 99px; background: rgba(12,39,64,.08); overflow: hidden; }
.upl__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--g), var(--mint)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--e-out) .5s; }
.is-in .upl__bar i { transform: none; }
.upl__ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--g-ink); }
.join { display: flex; align-items: center; gap: 18px; }
.join__n b { display: block; font-size: 30px; letter-spacing: -0.04em; line-height: 1; } .join__n span { font-size: 13px; color: var(--muted); font-weight: 600; }
.res { width: 100%; display: grid; gap: 10px; }
.res span { height: 14px; border-radius: 99px; background: rgba(12,39,64,.06); overflow: hidden; }
.res i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--e-out); }
.res span:nth-child(1) i { transition-delay: .5s; } .res span:nth-child(2) i { transition-delay: .65s; } .res span:nth-child(3) i { transition-delay: .8s; }
.is-in .res i { transform: none; }

/* ---------- grant ---------- */
.grant { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.grant__copy { margin-bottom: 0; }
.grant__facts { margin-top: 26px; display: grid; gap: 10px; }
.grant__facts li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.grant__facts .i { color: var(--action); font-size: 20px; }
.calc { border-radius: 30px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 22px; }
.calc label, .field label { font-size: 14px; font-weight: 700; color: var(--ink-2); display: block; }
.calc__num { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 14px; }
.calc__num output { font-size: clamp(56px, 6vw, 76px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--action), var(--brand) 60%, #3cc4c0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.calc__num span { font-size: 20px; font-weight: 700; color: var(--muted); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--brand) var(--v, 55%), rgba(12,39,64,.1) var(--v, 55%)); outline-offset: 6px; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(0,160,227,.2), 0 4px 12px rgba(16,72,128,.35); transition: transform 150ms var(--e-out); }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(0,160,227,.2), 0 4px 12px rgba(16,72,128,.35); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.1); }
.calc__ticks { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.field { display: grid; gap: 8px; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select, .field input { width: 100%; height: 54px; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.75); padding: 0 18px; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); box-shadow: inset 0 1px 2px rgba(12,39,64,.06); transition: box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease; }
select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
select:focus, .field input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0,160,227,.2); }
.field input::placeholder { color: #8aa0b5; font-weight: 500; }
.calc__msg { font-size: 14px; color: var(--muted); min-height: 0; }
.calc__msg:empty { display: none; }
.results { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.results:empty { display: none; }
.res-card { border-radius: 24px; padding: 20px; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; animation: rin .6s var(--e-out) both; animation-delay: calc(var(--i) * 60ms); }
@keyframes rin { from { opacity: 0; transform: translateY(14px) scale(.98); filter: blur(6px); } }
.ring { --p: 50; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c, var(--g)) calc(var(--p) * 1%), rgba(12,39,64,.08) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.ring b { position: relative; font-size: 15px; letter-spacing: -0.03em; }
.res-card h3 { font-size: 16px; letter-spacing: -0.02em; line-height: 1.3; }
.res-card .meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.res-card .meta span { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.8); color: var(--ink-2); }
.res-card .unis { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- schools ---------- */
.sbadge { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 18px; border-radius: 24px; }
.sbadge b { font-size: 46px; letter-spacing: -0.05em; line-height: 1; background: linear-gradient(135deg, var(--action), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbadge span { font-size: 14px; font-weight: 700; color: var(--ink-2); line-height: 1.3; }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 270px; grid-auto-flow: dense; gap: 18px; }
.photo { margin: 0; position: relative; border-radius: 26px; overflow: hidden; background: var(--ice); box-shadow: 0 24px 50px -28px rgba(16,72,128,.5); border: 1px solid rgba(255,255,255,.8); }
.photo:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--e-out); }
@media (hover: hover) and (pointer: fine) { .photo:hover img { transform: scale(1.05); } }
.photo__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 18px; padding: 12px 16px; display: grid; gap: 2px;
  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.82), rgba(255,255,255,.6)); }
.photo__cap b { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.photo__cap span { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq .sh { position: sticky; top: 110px; }
.qa { display: grid; gap: 12px; }
.qa__it { border-radius: 22px; overflow: hidden; }
.qa__it summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; border-radius: 22px; }
.qa__it summary::-webkit-details-marker { display: none; }
.qa__ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.85); color: var(--action); transition: transform 250ms var(--e-out), background-color 200ms ease, color 200ms ease; }
.qa__it[open] .qa__ic { transform: rotate(45deg); background: var(--action); color: #fff; }
.qa__a { padding: 0 22px 20px; color: var(--muted); font-size: 16px; }
.qa__it[open] .qa__a { animation: qa 300ms var(--e-out); }
@keyframes qa { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .qa__it summary:hover .qa__ic { background: #fff; } }

/* ---------- demo ---------- */
.demo { border-radius: 36px; padding: clamp(24px, 4.4vw, 60px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; overflow: hidden; position: relative;
  --glass-bg: linear-gradient(140deg, rgba(255,255,255,.78), rgba(255,255,255,.42)); }
.demo::after { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(143,227,207,.55), transparent 62%); z-index: -1; pointer-events: none; }
.demo h2 { margin-top: 18px; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -0.04em; }
.demo__copy p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.contacts { margin-top: 28px; display: grid; gap: 12px; }
.contacts li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.contacts .i { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.85); color: var(--action); box-shadow: 0 6px 16px -10px rgba(16,72,128,.4); }
.contacts a { text-decoration: none; } 
@media (hover: hover) and (pointer: fine) { .contacts a:hover { color: var(--action); } }
.demo__box { border-radius: 28px; padding: clamp(20px, 3vw, 32px); background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 20px 50px -26px rgba(16,72,128,.45); }
.dform { display: grid; gap: 16px; }
.field__err { font-size: 13px; color: var(--r-ink); font-weight: 600; min-height: 0; }
.field__err:empty { display: none; }
.field.is-bad input { border-color: var(--r); box-shadow: 0 0 0 4px rgba(236,90,90,.15); }
.dform__msg { font-size: 14px; font-weight: 600; color: var(--r-ink); }
.dform__msg:empty { display: none; }
.dform__call { font-size: 14px; color: var(--muted); text-align: center; }
.dform__call a { color: var(--action); font-weight: 700; text-decoration: none; }
.btn[disabled] { opacity: .75; cursor: progress; }
.done { text-align: center; padding: 24px 8px; display: grid; justify-items: center; gap: 10px; animation: rin .5s var(--e-out) both; }
.done[hidden] { display: none; }
.done__ic svg { width: 76px; height: 76px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done__ic circle { stroke: var(--g); stroke-dasharray: 150; stroke-dashoffset: 150; animation: draw .7s var(--e-out) .1s forwards; }
.done__ic path { stroke: var(--g); stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--e-out) .6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 26px; } .done p { color: var(--muted); }

/* ---------- footer ---------- */
.foot { padding: 0 0 24px; }
.foot__in { border-radius: 36px 36px 24px 24px; padding: clamp(28px, 4.4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; color: #dceaf6; position: relative; overflow: hidden;
  background: radial-gradient(80% 120% at 100% 0%, rgba(0,160,227,.45), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(143,227,207,.22), transparent 60%), #0b2742; box-shadow: 0 30px 60px -30px rgba(11,39,66,.6); }
.foot__brand img { height: 36px; width: auto; }
.foot__brand p { margin: 16px 0 24px; max-width: 26em; color: #a9c2d8; }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.foot__col b { color: #fff; font-size: 14px; letter-spacing: .02em; margin-bottom: 4px; }
.foot__col a { text-decoration: none; color: #cfe0ee; transition: color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .foot__col a:hover { color: #fff; } }
.foot__bot { display: flex; justify-content: space-between; padding: 18px 8px 0; font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__act { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .window__body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .wside { display: none; }
}
@media (max-width: 960px) {
  .hero { padding-top: 118px; min-height: 0; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__zones { justify-content: center; }
  .stage { max-width: 640px; width: 100%; margin: 16px auto 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3)::before { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card--wide { grid-column: span 1; }
  .card--wide { grid-column: 1 / -1; }
  .roles, .grant, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq .sh { position: static; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps__line { display: none; }
  .results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo { grid-template-columns: minmax(0, 1fr); }
  .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos { grid-auto-rows: 240px; }
  .photo:nth-child(1) { grid-row: span 1; grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .window__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .wlist { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.7); padding: 14px; }
  .wtr { grid-template-columns: minmax(0, 1fr) auto; }
  .wtr__test, .wtr__date, .wtr--h span:nth-child(2), .wtr--h span:nth-child(4) { display: none; }
  .window__url { font-size: 11px; padding: 4px 10px; }
  .sh--split { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav__login, .nav__logout { display: none; }
  .nav__bar { height: 58px; padding-left: 16px; }
  .nav__logo img { height: 26px; }
  .hero__title { font-size: clamp(46px, 13.5vw, 64px); }
  .hero__cta { width: 100%; } .hero__cta .btn { flex: 1 1 100%; }
  .stage { aspect-ratio: 1 / 1.04; margin-top: 8px; }
  .l-list { width: 64%; top: 0; left: 0; }
  .l-donut { width: 37%; top: 0; right: 0; }
  .l-donut .legend { display: none; }
  .l-donut .donut { width: 84%; margin-bottom: .4cqw; }
  .l-ai { width: 88%; right: 0; bottom: 0; }
  .l-chip1 { left: auto; right: 0; top: 41%; bottom: auto; }
  .l-chip2 { display: none; }
  .hl__zl { display: none; }
  .hl__row { grid-template-columns: auto minmax(0,1fr) 18% auto; }
  .js [data-reveal] { transition-delay: 0ms; }
  .stats > div { padding: 14px 14px; }
  .stats dt { font-size: 13px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .seats { gap: 8px 8px; } .seat { width: 26px; height: 22px; }
  .orbit { max-width: none; aspect-ratio: auto; padding-top: 236px; }
  .orbit__ring--1, .orbit__spin { inset: auto; width: 210px; height: 210px; left: 50%; top: 8px; margin-left: -105px; }
  .orbit__ring--2 { inset: auto; width: 130px; height: 130px; left: 50%; top: 48px; margin-left: -65px; }
  .orbit__core { inset: auto; width: 104px; height: 104px; left: 50%; top: 61px; margin-left: -52px; padding: 0 12px; }
  .orbit__nodes { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .node { position: static; transform: none; min-width: 0; padding: 12px 10px 10px; border-radius: 18px; }
  .node:active { transform: scale(.97); }
  .node__ic { width: 38px; height: 38px; font-size: 18px; border-radius: 12px; }
  .node__l { font-size: 12.5px; }
  .zdots { grid-template-columns: repeat(8, 1fr); }
  .results { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-template-columns: minmax(0, 1fr); }
  .photos { grid-auto-rows: 250px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__bot { flex-direction: column; gap: 4px; }
  .sh p, .demo__copy p { font-size: 16.5px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-in], .js [data-reveal], .js .layer, .js .hero__title .w, .js .hl__row, .js .seat, .js .nav, .js .window-wrap .wtr:not(.wtr--h) { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hl__bar i, .js .scales__bar i, .js .upl__bar i, .js .res i, .steps__line i { transform: none !important; }
  .js .seg { stroke-dasharray: var(--len) 100 !important; } .js .gauge__v { stroke-dasharray: 87 100 !important; }
  .js .ai__text.is-split .wd { opacity: 1; filter: none; }
  .js .aurora .blob { opacity: 1; animation: none; }
  .beam::before { animation: none; opacity: 1; background: linear-gradient(135deg, rgba(0,160,227,.5), rgba(143,227,207,.5)); }
  .qr__scan, .orbit__spin, .seat--r::after, .float, .glint::after { animation: none !important; }
}


/* =========================================================
   v2 site: shared pages (grant, schools, methods, auth)
   ========================================================= */
.nav__links a[aria-current="page"] { background: rgba(255,255,255,.85); color: var(--action); box-shadow: 0 1px 0 #fff inset, 0 4px 12px -6px rgba(16,72,128,.3); }
.sheet a[aria-current="page"] { color: var(--action); background: rgba(255,255,255,.7); }
.nav__lang { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: background-color 150ms ease, transform 160ms var(--e-out); }
.nav__lang:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .nav__lang:hover { background: rgba(255,255,255,.75); } }
.nav--bare .nav__act { margin-left: auto; }
.sh__more { margin-top: 26px; }
.sec__more { display: flex; justify-content: center; margin-top: 32px; }

/* page hero */
.phero { padding: clamp(128px, 15vw, 168px) 0 clamp(28px, 4vw, 44px); }
.phero__title { margin-top: 18px; font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.045em; max-width: 14ch; }
.phero__lead { margin-top: 18px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 40em; }
.phero__split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.pstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pstats > div { border-radius: 24px; padding: 18px 18px 16px; display: flex; flex-direction: column; }
.pstats dd { order: 1; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--action), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pstats dt { order: 2; margin-top: 4px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.psec { padding-block: clamp(16px, 3vw, 32px) clamp(56px, 8vw, 104px); }
.psec + .psec { padding-top: 0; }

/* toolbar: search + chips + select */
.tools { border-radius: 26px; padding: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tools--col { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
.tools--col > * { min-width: 0; }
.search { position: relative; flex: 1 1 100%; display: flex; align-items: center; gap: 8px; min-width: 0; }
.search > .i { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 48px; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.75); padding: 0 16px 0 44px; font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink); transition: box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0,160,227,.2); }
.search input::placeholder { color: #8aa0b5; font-weight: 500; }
.search--form { flex: none; }
.search--form .btn { flex: none; height: 48px; border-radius: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 32px), transparent); padding-right: 32px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.55); font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease, box-shadow 200ms ease, transform 160ms var(--e-out); }
.chip:active { transform: scale(.97); }
.chip i { font-style: normal; font-size: 12px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; background: rgba(12,39,64,.07); color: var(--muted); font-variant-numeric: tabular-nums; }
.chip .z { width: 8px; height: 8px; }
.chip .i { color: var(--action); }
.chip.is-on { color: #fff; background: linear-gradient(180deg, #1590d6, var(--action)); border-color: transparent; box-shadow: 0 8px 18px -10px rgba(11,120,193,.8); }
.chip.is-on i { background: rgba(255,255,255,.22); color: #fff; }
.chip.is-on .i { color: #fff; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):hover { background: rgba(255,255,255,.9); color: var(--ink); } }
.tools > .select--sm { margin-left: auto; }
.select--sm select { height: 48px; border-radius: 16px; font-size: 14.5px; min-width: 190px; }
.gx__count { margin: 18px 4px 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.empty { border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; justify-items: center; gap: 14px; text-align: center; margin-top: 18px; }
.empty[hidden] { display: none; }
.empty__ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.8); color: var(--action); font-size: 24px; }
.empty p { font-weight: 600; color: var(--ink-2); }

/* grant page */
.gx { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.gx__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.how { border-radius: 26px; padding: 22px 22px 20px; }
.how h2 { font-size: 18px; letter-spacing: -0.02em; }
.how ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.how li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.how li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--action); background: rgba(0,160,227,.12); }
.how p { margin-top: 14px; font-size: 13px; color: var(--muted); }
.switch, .calc .switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; cursor: pointer; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__ui { display: block; width: 44px; height: 26px; border-radius: 99px; background: rgba(12,39,64,.16); position: relative; transition: background-color 200ms ease; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(12,39,64,.25); transition: transform 220ms var(--e-out); }
.switch input:checked + .switch__ui { background: var(--brand); }
.switch input:checked + .switch__ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--brand); outline-offset: 3px; }
.switch__txt b { display: block; font-size: 14.5px; }
.switch__txt small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.35; }
.glist { display: grid; gap: 12px; }
.gres { border-radius: 24px; padding: 18px 20px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; animation: rin .5s var(--e-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
.gres h3 { font-size: 16.5px; letter-spacing: -0.02em; line-height: 1.3; }
.gres .meta { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.gres .meta span { font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.8); color: var(--ink-2); }
.gres details { grid-column: 2 / -1; }
.gres summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--action); }
.gres summary::-webkit-details-marker { display: none; }
.gres summary .i { transition: transform 200ms var(--e-out); }
.gres details[open] summary .i { transform: rotate(90deg); }
.gres details ul { margin-top: 10px; display: grid; gap: 6px; }
.gres details li { font-size: 14px; color: var(--ink-2); padding: 8px 12px; border-radius: 12px; background: rgba(255,255,255,.6); }
.gres__pill { font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 99px; white-space: nowrap; }
.gres__pill--g { background: var(--g-soft); color: var(--g-ink); }
.gres__pill--r { background: rgba(12,39,64,.06); color: var(--muted); }
.gx__none[hidden] { display: none; }
.gx__none { margin-top: 12px; font-weight: 600; color: var(--muted); }

/* schools page */
.sgrid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.scard { border-radius: 28px; padding: 10px; display: flex; flex-direction: column; overflow: hidden; }
.scard__media { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, var(--ice), #d8f0ff); }
.scard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--e-out); }
@media (hover: hover) and (pointer: fine) { .scard:hover .scard__media img { transform: scale(1.03); } }
.scard__play { position: absolute; right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(12,39,64,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); transition: transform 160ms var(--e-out), background-color 200ms ease; }
.scard__play .i { fill: currentColor; stroke: none; width: 18px; height: 18px; margin-left: 2px; }
.scard__play:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .scard__play:hover { background: var(--action); } }
.scard__body { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scard__city { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--action); }
.scard__name { font-size: 18px; letter-spacing: -0.02em; line-height: 1.28; }
.scard__title { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.scard__lines { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }
.scard__lines li { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.scard__foot { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.scard__foot .tag { gap: 5px; }
.scard__link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.7); transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .scard__link:hover { background: #fff; color: var(--action); } }
.pager { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pager .is-off { opacity: .45; pointer-events: none; }
.pager__n { font-size: 14px; font-weight: 700; color: var(--muted); }

/* methods page */
.mgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mcard { border-radius: 26px; padding: 20px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; transition: transform 200ms var(--e-out), box-shadow 200ms ease; }
.mcard[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .mcard:hover { transform: translateY(-2px); } .mcard:hover.spot::after { opacity: 1; } }
.mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mcard__ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #fff; box-shadow: 0 6px 16px -10px rgba(16,72,128,.5); overflow: hidden; color: var(--action); font-size: 22px; }
.mcard__ic img { width: 72%; height: 72%; object-fit: contain; }
.tag--b { background: rgba(0,160,227,.12); color: var(--action-2); }
.mcard__name { font-size: 17px; letter-spacing: -0.02em; line-height: 1.3; }
.mcard__text { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mcard__meta { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.mcard__meta li { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.75); }
.mcard__meta .i { color: var(--muted); }
.mcard__meta .is-ai { color: #fff; background: linear-gradient(135deg, var(--brand), #3cc4c0); }
.mcard__meta .is-ai .i { color: #fff; }
.docs { display: grid; gap: 10px; }
.docrow { border-radius: 20px; padding: 12px 12px 12px 14px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.docrow__ext { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #2b6fd6, #1a4fa8); }
.docrow__ext--pdf { background: linear-gradient(135deg, #f07a6a, var(--r)); }
.docrow__name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.psec--cta { padding-top: 0; }
.cta { border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.035em; }
.cta p { margin-top: 10px; color: var(--muted); max-width: 36em; }

/* auth + QR: one centred card, the logo large and faint behind it */
.page-auth { min-height: 100svh; }
.lang-float { position: fixed; top: 16px; right: 16px; z-index: 20; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; transition: transform 160ms var(--e-out); }
.lang-float:active { transform: scale(.97); }
.auth { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 72px 16px 40px; overflow: hidden; }
.auth__mark { position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); max-width: none; transform: translate(-50%, -50%); opacity: .07; filter: blur(1px); pointer-events: none; user-select: none; }
.js .auth__mark { opacity: 0; transform: translate(-50%, -46%) scale(.96); transition: opacity 1.4s var(--e-out), transform 1.6s var(--e-out); }
.is-ready .auth__mark { opacity: .07; transform: translate(-50%, -50%); }
.auth__box { position: relative; width: 100%; max-width: 440px; display: grid; gap: 18px; justify-items: center; }
.auth__box--wide { max-width: 520px; }
.auth__card { width: 100%; border-radius: 32px; padding: clamp(24px, 4vw, 40px); }
.auth__logo { display: inline-block; margin-bottom: 26px; }
.auth__logo img { height: 34px; width: auto; }
.auth__title { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.04em; }
.auth__lead { margin-top: 10px; color: var(--muted); }
.auth__ava { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), #3cc4c0); color: #fff; font-size: 24px; margin-bottom: 18px; }
.auth__ava--warn { background: linear-gradient(135deg, #f0a530, #ec7a5a); }
.auth__acts { margin-top: 24px; display: grid; gap: 10px; }
.auth__back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background-color 150ms ease; }
@media (hover: hover) and (pointer: fine) { .auth__back:hover { background: rgba(255,255,255,.7); } }
.aform { margin-top: 24px; display: grid; gap: 16px; }
.aform__two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.inp { position: relative; }
.inp > .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field .inp input { padding-left: 46px; }
.inp:has(.inp__eye) input { padding-right: 52px; }
.inp__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: background-color 150ms ease, color 150ms ease; }
.inp__eye:active { transform: translateY(-50%) scale(.95); }
@media (hover: hover) and (pointer: fine) { .inp__eye:hover { background: rgba(12,39,64,.06); color: var(--ink); } }
.field__hint { font-size: 12.5px; color: var(--muted); }
.field.is-bad select { border-color: var(--r); box-shadow: 0 0 0 4px rgba(236,90,90,.15); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; width: fit-content; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(12,39,64,.25); background: rgba(255,255,255,.8); display: grid; place-items: center; color: #fff; transition: background-color 150ms ease, border-color 150ms ease; }
.check__box .i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transform: scale(.8); transition: opacity 150ms ease, transform 150ms var(--e-out); }
.check input:checked + .check__box { background: var(--action); border-color: var(--action); }
.check input:checked + .check__box .i { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--brand); outline-offset: 2px; }
.auth__note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.auth__alt { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(12,39,64,.08); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 14.5px; }
.auth__alt span { color: var(--muted); }
.auth__alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--action); text-decoration: none; }
.qr-head { margin-bottom: 12px; }
.qr-list { display: grid; gap: 6px; max-height: min(52svh, 440px); overflow-y: auto; padding: 2px; margin: -2px; overscroll-behavior: contain; }
.qr-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, transform 160ms var(--e-out); }
.qr-item[hidden] { display: none; }
.qr-item:active { transform: scale(.99); }
.qr-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.qr-item__ava { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--action); background: rgba(0,160,227,.12); }
.qr-item__name { font-weight: 600; line-height: 1.3; }
.qr-item__ok { color: #fff; opacity: 0; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--action); transition: opacity 150ms ease; }
.qr-item:has(input:checked) { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,160,227,.18); }
.qr-item:has(input:checked) .qr-item__ok { opacity: 1; }
.qr-item:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .qr-item:hover { background: rgba(255,255,255,.9); } }
.qr-none { padding: 12px; color: var(--muted); font-weight: 600; }

@media (max-width: 960px) {
  .phero__split { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .gx { grid-template-columns: minmax(0, 1fr); }
  .gx__side { position: static; }
  .sgrid, .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .nav__lang span { display: none; }
  .nav__lang { width: 40px; padding: 0; justify-content: center; }
  .pstats { gap: 8px; }
  .pstats > div { padding: 14px 12px; border-radius: 18px; }
  .pstats dt { font-size: 12px; }
  .tools { border-radius: 22px; }
  .select--sm, .select--sm select { width: 100%; }
  .sgrid, .mgrid { grid-template-columns: minmax(0, 1fr); }
  .gres { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .gres__pill { grid-column: 2; justify-self: start; }
  .gres details { grid-column: 1 / -1; }
  .docrow { grid-template-columns: auto minmax(0, 1fr); }
  .docrow .btn { grid-column: 1 / -1; }
  .aform__two { grid-template-columns: minmax(0, 1fr); }
  .search--form { flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .js .auth__mark { opacity: .07 !important; transform: translate(-50%, -50%) !important; }
}

/* custom dropdown (.ds) — replaces the native list; the native select stays for forms */
.ds > select { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.ds::after { transition: transform 150ms var(--e-out); }
.ds.is-open::after { transform: translateY(-20%) rotate(225deg); }
.ds__btn { display: flex; align-items: center; width: 100%; height: 54px; padding: 0 44px 0 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.75); box-shadow: inset 0 1px 2px rgba(12,39,64,.06); font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease; }
.ds__btn.is-ph { color: var(--muted); }
.ds__txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ds__btn:focus-visible, .ds.is-open .ds__btn { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(0,160,227,.2); }
.select--sm .ds__btn { height: 48px; font-size: 14.5px; min-width: 190px; }
.field.is-bad .ds__btn { border-color: var(--r); box-shadow: 0 0 0 4px rgba(236,90,90,.15); }
.ds__pop { position: fixed; z-index: 80; padding: 6px; border-radius: 16px; background: #fff; border: 1px solid rgba(12,39,64,.08); box-shadow: 0 24px 48px -20px rgba(12,39,64,.35), 0 2px 6px rgba(12,39,64,.06);
  transform-origin: top center; opacity: 0; transform: scale(.97) translateY(-4px); transition: opacity 120ms ease-out, transform 120ms var(--e-out); }
.ds__pop.is-up { transform-origin: bottom center; transform: scale(.97) translateY(4px); }
.ds__pop.is-open { opacity: 1; transform: none; transition-duration: 160ms, 180ms; }
.ds__q { width: 100%; height: 42px; margin-bottom: 6px; padding: 0 14px; border-radius: 12px; border: 1px solid #e3e9f0; background: #f6f9fc; font: inherit; font-size: 15px; color: var(--ink); }
.ds__q:focus { outline: none; border-color: var(--brand); background: #fff; }
.ds__list { max-height: min(320px, 46vh); overflow-y: auto; overscroll-behavior: contain; outline: none; }
.ds__opt { position: relative; padding: 11px 36px 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--ink); cursor: pointer; }
.ds__opt.is-ph { color: var(--muted); font-weight: 500; }
.ds__opt.is-act { background: #eef5fb; }
.ds__opt[aria-selected="true"] { color: var(--action); }
.ds__opt[aria-selected="true"]::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 11px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-65%) rotate(45deg); }
.ds__none { padding: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 600px) { .select--sm .ds__btn { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .ds__pop, .ds::after { transition: none; } }
