/* AVSAR Foundation — dark theme
   Fonts: Fraunces (headings), Manrope (text), Tiro Devanagari Hindi (Hindi). All self-hosted. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("/assets/fonts/tiro-devanagari.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF;
}

:root {
  color-scheme: dark;
  --bg: #0a0d18;
  --bg-2: #0d1120;
  --surface: #11162b;
  --surface-2: #161c37;
  --surface-3: #1c2345;
  --field: #0e1329;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --ink: #eef0f8;
  --ink-2: #c8cce0;
  --muted: #9298b6;
  --faint: #6c7294;
  --accent: #f2a541;
  --accent-2: #ffd28a;
  --accent-ink: #1b1204;
  --accent-soft: rgba(242, 165, 65, 0.12);
  --indigo: #9aa6ff;
  --indigo-soft: rgba(154, 166, 255, 0.12);
  --teal: #62d6b6;
  --teal-soft: rgba(98, 214, 182, 0.12);
  --danger: #ff8f84;
  --danger-soft: rgba(255, 143, 132, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --font-display: "Fraunces", "Tiro Devanagari Hindi", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Tiro Devanagari Hindi", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    radial-gradient(52rem 36rem at 88% -8%, rgba(242, 165, 65, 0.13), transparent 62%),
    radial-gradient(46rem 38rem at -12% 4%, rgba(154, 166, 255, 0.11), transparent 60%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: rgba(242, 165, 65, 0.5); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(242, 165, 65, 0.35); color: #fff; }
[hidden] { display: none !important; }
[lang="hi"] { font-family: "Tiro Devanagari Hindi", var(--font-body); }

h1, h2, h3 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 560; letter-spacing: -0.015em; line-height: 1.08; margin: 0; color: #fff; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.005em; }
h1 em, h2 em { font-style: italic; font-weight: 480; color: var(--accent-2); }
p { margin: 0; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Icons */
.i { width: 22px; height: 22px; flex: none; }

/* Buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 999px;
  font: 700 1rem/1 var(--font-body); letter-spacing: 0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn .i { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, #ffbe5c 0%, var(--accent) 100%);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(242, 165, 65, 0.55), 0 1px 0 rgba(255, 255, 255, 0.35) inset;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -12px rgba(242, 165, 65, 0.7), 0 1px 0 rgba(255, 255, 255, 0.35) inset; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 0.95rem; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(242, 165, 65, 0.22);
}
.pill .i { width: 16px; height: 16px; }
.pill--live { background: var(--teal-soft); color: var(--teal); border-color: rgba(98, 214, 182, 0.25); }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(98, 214, 182, 0.18); }
.pill--next { background: var(--indigo-soft); color: var(--indigo); border-color: rgba(154, 166, 255, 0.25); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 13, 24, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 40px; height: 40px; }
.brand__word { display: grid; line-height: 1.05; }
.brand__word b { font: 800 1.15rem/1.1 var(--font-body); letter-spacing: 0.22em; color: #fff; }
.brand__word span { font-family: var(--font-display); font-style: italic; font-size: 0.92rem; color: var(--muted); letter-spacing: 0.01em; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2);
  font-size: 0.95rem; font-weight: 600; transition: color .15s ease, background-color .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
.menu { display: none; }
@media (max-width: 1000px) {
  .site-header .nav, .header-cta { display: none; }
  .menu { display: block; margin-left: auto; position: static; }
  .menu summary {
    list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-content: center; gap: 5px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu[open] summary span:nth-child(2) { opacity: 0; }
  .menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .menu__panel {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 12px var(--gutter) 24px; display: grid; gap: 14px;
    background: #0b0e1a; border-bottom: 1px solid var(--line-2);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }
  .menu__panel nav { display: grid; }
  .menu__panel nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 1.05rem; color: var(--ink); }
  .menu__panel nav a[aria-current="page"] { color: var(--accent-2); }
  .menu__panel .btn { width: 100%; margin-top: 6px; }
}

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(32px, 5vw, 56px); }
.section--line { border-top: 1px solid var(--line); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }
.section-head p [lang="hi"] { font-size: 1.12em; color: var(--ink-2); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* Hero */
.hero { position: relative; padding-block: clamp(48px, 8vw, 104px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000 0%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero .hindi { margin-top: 14px; font-family: "Tiro Devanagari Hindi", var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--ink-2); }
.hero .lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .meta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 0.95rem; }
.hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero .meta .i { width: 18px; height: 18px; color: var(--teal); }

/* Staircase */
.stairs-wrap {
  position: relative; padding: 28px 24px 24px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(22, 28, 55, 0.85), rgba(14, 18, 36, 0.85));
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.stairs-wrap::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(140deg, rgba(242, 165, 65, 0.55), transparent 35%, transparent 70%, rgba(154, 166, 255, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.stairs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.stairs-head b { font-family: var(--font-display); font-weight: 560; font-size: 1.2rem; }
.stairs-head span { font-size: 0.85rem; color: var(--muted); }
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; gap: 8px; height: 340px; }
.stairs li {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 10px 12px;
  border-radius: 14px 14px 6px 6px; border: 1px solid var(--line); border-top-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, var(--surface-3), var(--surface) 85%);
}
.stairs li:nth-child(1) { height: 36%; }
.stairs li:nth-child(2) { height: 51%; }
.stairs li:nth-child(3) { height: 66%; }
.stairs li:nth-child(4) { height: 81%; }
.stairs li:nth-child(5) {
  height: 96%;
  background: linear-gradient(180deg, rgba(242, 165, 65, 0.28), rgba(242, 165, 65, 0.06) 70%);
  border-color: rgba(242, 165, 65, 0.4);
}
.stairs .k { font: 700 0.72rem/1 var(--font-body); letter-spacing: 0.12em; color: var(--faint); }
.stairs b { font-family: var(--font-display); font-weight: 560; font-size: 1.05rem; line-height: 1.15; color: #fff; }
.stairs small { font-size: 0.78rem; line-height: 1.3; color: var(--muted); }
.stairs li:nth-child(5) .k, .stairs li:nth-child(5) small { color: var(--accent-2); }
.stairs-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); color: var(--ink-2); font-size: 0.95rem; }
.stairs-foot .i { color: var(--accent); }

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
a.card { text-decoration: none; }
a.card:hover { transform: translateY(-3px); border-color: rgba(242, 165, 65, 0.35); }
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent-2); }
.card .more .i { width: 18px; height: 18px; transition: transform .18s ease; }
a.card:hover .more .i { transform: translateX(4px); }
.card .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(242, 165, 65, 0.2);
}
.ico .i { width: 26px; height: 26px; }
.ico--indigo { background: var(--indigo-soft); color: var(--indigo); border-color: rgba(154, 166, 255, 0.22); }
.ico--teal { background: var(--teal-soft); color: var(--teal); border-color: rgba(98, 214, 182, 0.22); }
.card--cta {
  background: radial-gradient(120% 120% at 100% 0%, rgba(242, 165, 65, 0.22), transparent 55%), linear-gradient(180deg, var(--surface-2), var(--surface));
  border-color: rgba(242, 165, 65, 0.3);
}
.card--cta h3 { font-size: 1.6rem; }
.card--cta .btn { margin-top: auto; align-self: flex-start; }

/* Numbered steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 18px; font: italic 500 2.6rem/1 var(--font-display); color: var(--accent);
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); }

/* Audience */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aud .card { gap: 10px; }

/* AVSAR letters */
.letters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.letters li { padding: 22px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.letters b { display: block; font: 500 3rem/1 var(--font-display); color: var(--accent); margin-bottom: 10px; }
.letters span { font-weight: 700; color: var(--ink); }
.letters small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); transition: border-color .2s ease, background-color .2s ease; }
.faq details[open] { border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 24px; align-items: center;
  padding: clamp(28px, 5vw, 56px); border-radius: 28px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(242, 165, 65, 0.22), transparent 55%), radial-gradient(80% 120% at 100% 100%, rgba(154, 166, 255, 0.18), transparent 60%), var(--surface);
  border: 1px solid rgba(242, 165, 65, 0.28);
}
.cta-band p { margin-top: 12px; color: var(--ink-2); font-size: 1.1rem; max-width: 36em; }

/* Inner page hero */
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { color: var(--faint); }
.page-hero h1 { max-width: 15ch; margin-top: 18px; }
.page-hero .lede { margin-top: 22px; max-width: 40em; font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--ink-2); }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { color: var(--muted); }
.features--3 { grid-template-columns: repeat(3, 1fr); }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); font-weight: 600; font-size: 0.95rem; color: var(--ink-2); }
.note {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px;
  background: var(--indigo-soft); border: 1px solid rgba(154, 166, 255, 0.22); color: var(--ink-2);
}
.note .i { color: var(--indigo); margin-top: 2px; }
.note--accent { background: var(--accent-soft); border-color: rgba(242, 165, 65, 0.24); }
.note--accent .i { color: var(--accent); }
.note--talk { background: var(--teal-soft); border-color: rgba(98, 214, 182, 0.24); }
.note--talk .i { color: var(--teal); }
.note a { color: #fff; font-weight: 700; }

.live-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: clamp(24px, 4vw, 40px); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--ink-2); }
.checklist .i { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.next-list { display: grid; gap: 12px; align-content: start; }
.next-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.next-item b { font-weight: 700; }
.next-item small { display: block; color: var(--muted); font-size: 0.88rem; }

.more-links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 44px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.2em; display: grid; gap: 6px; margin: 12px 0 0; }
.prose .updated { color: var(--muted); margin-top: 16px; }

/* Register page */
.register-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.register-aside { position: sticky; top: 100px; display: grid; gap: 22px; }
.register-aside .steps { grid-template-columns: 1fr; gap: 10px; }
.register-aside .steps li { padding: 16px 18px 16px 64px; }
.register-aside .steps li::before { position: absolute; left: 18px; top: 16px; margin: 0; font-size: 1.6rem; }
.register-aside .steps h3 { font-size: 1.05rem; margin-bottom: 2px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.register-aside .steps p { font-size: 0.95rem; }

.form-card {
  padding: clamp(20px, 4vw, 40px); border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 28, 55, 0.9), rgba(14, 18, 36, 0.9));
  border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.reg-form { display: grid; gap: 30px; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.fs + .fs { padding-top: 30px; border-top: 1px solid var(--line); }
.fs-title { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font: 560 1.3rem/1.2 var(--font-display); color: #fff; }
.fs-title + * { clear: both; }
.fs-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-2); border: 1px solid rgba(242, 165, 65, 0.3); font: 800 0.85rem/1 var(--font-body); }
.fs-hint { color: var(--muted); font-size: 0.95rem; margin-top: -6px; }
.row { display: grid; gap: 16px; }
.row-2 { grid-template-columns: 1fr 1fr; }
.row-3 { grid-template-columns: 1.2fr 1.2fr 0.8fr; }

.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label, .field > .label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.opt { font-weight: 500; color: var(--faint); }
.req { color: var(--accent); }
.hint { font-size: 0.86rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--field); color: var(--ink); border: 1px solid var(--line-2);
  font: 500 1rem/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.16); background: #10162f; }
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2a541' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.select option { background: #11162b; color: var(--ink); }
.select:invalid, .select.is-empty { color: var(--faint); }
[aria-invalid="true"].input, [aria-invalid="true"].select, [aria-invalid="true"].textarea { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.err { display: none; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--danger); }
.err.show { display: flex; }
.err::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--danger); color: #1b0b09; font: 800 0.7rem/1 var(--font-body); }

.phone { position: relative; }
.phone .input { padding-left: 62px; }
.phone .cc { position: absolute; left: 1px; top: 1px; bottom: 1px; width: 52px; display: grid; place-items: center; border-right: 1px solid var(--line-2); border-radius: var(--radius-sm) 0 0 var(--radius-sm); color: var(--muted); font-weight: 700; font-size: 0.95rem; pointer-events: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 10px 14px; text-align: center;
  border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); font-weight: 700; color: var(--ink-2);
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}
.seg span .i { width: 20px; height: 20px; }
.seg input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: #fff; box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.12); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-card { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--field); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.check-card:hover { border-color: rgba(255, 255, 255, 0.24); }
.check-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.check-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); color: var(--ink-2); transition: background-color .15s ease, color .15s ease; }
.check-card__text { display: grid; line-height: 1.3; }
.check-card__text b { font-weight: 700; }
.check-card__text small { color: var(--muted); font-size: 0.86rem; }
.check-card__tick { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: transparent; transition: all .15s ease; }
.check-card__tick .i { width: 16px; height: 16px; }
.check-card:has(input:checked) { border-color: var(--accent); background: linear-gradient(180deg, rgba(242, 165, 65, 0.1), rgba(242, 165, 65, 0.04)); }
.check-card:has(input:checked) .check-card__icon { background: var(--accent-soft); color: var(--accent-2); }
.check-card:has(input:checked) .check-card__tick { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.checks.invalid .check-card { border-color: rgba(255, 143, 132, 0.5); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--field); font-weight: 600; font-size: 0.93rem; color: var(--ink-2); transition: all .15s ease; }
.chip input:checked + span { border-color: var(--indigo); background: var(--indigo-soft); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sub-panel { display: grid; gap: 12px; padding: 18px; border-radius: 14px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.02); }

.tick { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; color: var(--ink-2); font-size: 0.97rem; }
.tick input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 7px; border: 1.5px solid var(--line-2); background: var(--field); display: grid; place-items: center; cursor: pointer; transition: all .15s ease; }
.tick input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.tick input:checked { background: var(--accent); border-color: var(--accent); }
.tick input:checked::after { opacity: 1; }
.tick input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.tick--small { font-size: 0.92rem; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--danger-soft); border: 1px solid rgba(255, 143, 132, 0.35); color: #ffd2cd; font-weight: 600; }
.submit-row { display: grid; gap: 12px; justify-items: start; }
.fine { font-size: 0.9rem; color: var(--muted); }
.fine a { color: var(--ink-2); }

.success { text-align: center; padding: clamp(16px, 4vw, 32px) 0; display: grid; justify-items: center; gap: 14px; }
.success__badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); border: 1px solid rgba(98, 214, 182, 0.35); box-shadow: 0 0 0 10px rgba(98, 214, 182, 0.06); }
.success__badge .i { width: 36px; height: 36px; }
.success p { color: var(--ink-2); max-width: 30em; }
.success .actions { justify-content: center; margin-top: 10px; }

/* Footer */
.site-footer { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-block: 56px 36px; }
.footer-brand p { margin-top: 16px; color: var(--muted); }
.footer-contact { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-contact a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.footer-contact .i { width: 18px; height: 18px; color: var(--accent); align-self: center; }
.footer-contact span { color: var(--faint); font-size: 0.88rem; }
.footer-h { font: 800 0.8rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-block: 20px 32px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.9rem; }
.avsar-key { color: var(--accent); font-weight: 800; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; }
.lost .big { font: italic 500 clamp(5rem, 16vw, 9rem)/1 var(--font-display); color: var(--accent); }
.lost p { color: var(--muted); }
.lost .actions { justify-content: center; }

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid, .split, .register-grid, .live-card { grid-template-columns: 1fr; }
  .register-aside { position: static; }
  .grid-3, .aud, .features--3 { grid-template-columns: repeat(2, 1fr); }
  .letters { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 1rem; }
  .grid-3, .grid-2, .aud, .features, .features--3, .checks, .row-2, .row-3 { grid-template-columns: 1fr; }
  .letters { grid-template-columns: repeat(2, 1fr); }
  .letters li:last-child { grid-column: 1 / -1; }
  .feature { grid-template-columns: 1fr; gap: 14px; }
  .card, .steps li { padding: 22px; }
  .stairs-wrap { padding: 20px 16px 18px; }
  .stairs { height: 280px; gap: 6px; }
  .stairs li { padding: 10px 7px; border-radius: 10px 10px 5px 5px; }
  .stairs b { font-size: 0.86rem; }
  .stairs small { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .segmented { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Spacing helpers */
.mt-s { margin-top: 14px; }
.mt-l { margin-top: clamp(24px, 4vw, 40px); }

/* ---------- Talent Test ---------- */
.annc { background: linear-gradient(90deg, rgba(242, 165, 65, 0.16), rgba(154, 166, 255, 0.12)); border-bottom: 1px solid rgba(242, 165, 65, 0.25); font-size: 0.92rem; }
.annc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; min-height: 42px; padding-block: 6px; }
.annc p { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; color: var(--ink-2); }
.annc b { color: #fff; font-weight: 800; }
.annc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.2); margin-right: 8px; flex: none; }
.annc a { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--accent-2); font-weight: 800; text-decoration: none; white-space: nowrap; }
.annc a .i { width: 16px; height: 16px; }
.annc a:hover { color: #fff; }
@media (max-width: 680px) {
  .annc-wide { display: none; }
  .annc p > span:not(.annc-dot):not(.annc-sep):last-of-type { display: none; }
}

.test-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; font: 560 clamp(1.15rem, 2.2vw, 1.45rem)/1.3 var(--font-display); color: var(--accent-2); }
.test-when .i { width: 22px; height: 22px; color: var(--accent); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.facts .ico { width: 44px; height: 44px; border-radius: 13px; }
.facts .ico .i { width: 22px; height: 22px; }
.facts small { display: block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts b { display: block; margin-top: 2px; font: 560 1.2rem/1.25 var(--font-display); color: #fff; }
.facts span:not(.ico) { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); }

.subjects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.subject-card { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); }
.subject-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.subject-card--wide { grid-column: 1 / -1; background: linear-gradient(180deg, rgba(242, 165, 65, 0.08), rgba(255, 255, 255, 0.02)); border-color: rgba(242, 165, 65, 0.22); }
.subject-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.subject-list li { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); font-weight: 700; font-size: 0.93rem; color: var(--ink); }
.subject-card--wide .subject-list li { background: var(--accent-soft); border-color: rgba(242, 165, 65, 0.3); color: var(--accent-2); }
.format { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.format .checklist { margin-top: 12px; }

.prizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.prize-card { display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)); }
.prize-card header { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.prize-card h3 { font-size: 1.35rem; }
.prize-card header p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.prize-card--gold { border-color: rgba(242, 165, 65, 0.35); background: radial-gradient(120% 100% at 100% 0%, rgba(242, 165, 65, 0.16), transparent 55%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.prize-table { width: 100%; border-collapse: collapse; }
.prize-table th, .prize-table td { padding: 11px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.prize-table th { width: 38%; padding-right: 12px; font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.prize-table td { color: var(--ink-2); }
.prize-table td b { font: 600 1.15rem/1 var(--font-display); color: var(--accent-2); margin-right: 4px; }
p.note { align-items: center; }

.rules { border: 1px solid var(--line-2); border-radius: 16px; background: rgba(255, 255, 255, 0.02); }
.rules summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; position: relative; }
.rules summary::-webkit-details-marker { display: none; }
.rules summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font: 400 1.6rem/1 var(--font-body); color: var(--accent); }
.rules[open] summary::after { content: "–"; }
.rules ul { margin: 0; padding: 0 22px 22px 40px; display: grid; gap: 10px; color: var(--ink-2); }

.papers { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(242, 165, 65, 0.25); }
.papers .subject-list li { background: rgba(0, 0, 0, 0.2); }
.label { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

.pay-panel, .closed-panel { text-align: center; padding: clamp(16px, 4vw, 32px) 0; display: grid; justify-items: center; gap: 14px; }
.pay-panel p, .closed-panel p { color: var(--ink-2); max-width: 32em; }
.pay-panel .form-alert { text-align: left; max-width: 32em; }
.reg-no { font: 600 1.25rem/1 var(--font-display); color: var(--accent-2); letter-spacing: 0.02em; }
.success__badge--accent { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(242, 165, 65, 0.35); box-shadow: 0 0 0 10px rgba(242, 165, 65, 0.06); }
.success__badge--muted { background: rgba(255, 255, 255, 0.05); color: var(--muted); border-color: var(--line-2); box-shadow: none; }

.paylater { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: center; padding: clamp(22px, 4vw, 36px); border-radius: 22px; border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.02); }
.paylater h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.paylater p { margin-top: 8px; color: var(--muted); }
.paylater-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
.paylater-form .form-alert { grid-column: 1 / -1; }
.paylater-form .btn { min-height: 50px; }

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, 1fr); }
  .subjects { grid-template-columns: repeat(2, 1fr); }
  .prizes, .paylater { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .facts, .subjects { grid-template-columns: 1fr; }
  .paylater-form { grid-template-columns: 1fr; }
  .prize-card, .format { padding: 20px; }
}
