/* =========================================================
   RDM — Raport Digital Madrasah
   Frontpage pendaftaran · desain islami modern
   Tanpa dependensi eksternal.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --bg: #f5f1e8;
  --bg-soft: #ede7db;
  --surface: #fffdf8;
  --surface-2: #faf6ee;
  --surface-3: #f1ebe0;
  --ink: #1a211e;
  --ink-2: #3a4640;
  --muted: #6f7a73;
  --muted-2: #9aa39c;
  --line: rgba(26, 33, 30, .12);
  --line-strong: rgba(26, 33, 30, .22);

  --brand: #23334c;
  --brand-ink: #18243a;
  --brand-deep: #0b1422;
  --brand-soft: #e7edf4;
  --brand-softer: #f2f5f9;

  --gold: #c8a46b;
  --gold-deep: #8c6b3a;
  --gold-light: #e4cc9f;
  --gold-soft: #f6eddc;
  --cream: #fbf8f1;

  --accent: #c58a5f;
  --accent-deep: #a66a42;
  --accent-ink: #24170f;
  --accent-soft: #f6e6db;

  --danger: #a8453b;
  --danger-soft: #fae9e6;
  --success: #5e7a63;

  --font-sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --font-arabic: "Amiri Quran", Amiri, "Scheherazade New", "Noto Naskh Arabic", "Traditional Arabic", "Times New Roman", serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(26, 33, 30, .06);
  --shadow: 0 12px 30px -16px rgba(11, 20, 34, .22), 0 2px 6px rgba(11, 20, 34, .05);
  --shadow-lg: 0 34px 70px -28px rgba(6, 12, 20, .38), 0 4px 12px rgba(6, 12, 20, .08);
  --shadow-hero: 0 50px 100px -35px rgba(0, 0, 0, .65);

  --container: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --dash-bg: #fffdf8;
  --dash-ink: #1a211e;
  --dash-muted: #6f7a73;
  --dash-line: rgba(26, 33, 30, .11);
}

[data-theme="dark"] {
  --bg: #0a1018;
  --bg-soft: #0e1620;
  --surface: #111a24;
  --surface-2: #0d151e;
  --surface-3: #18222e;
  --ink: #f3efe7;
  --ink-2: #cbd2d8;
  --muted: #94a0aa;
  --muted-2: #72808a;
  --line: rgba(243, 239, 231, .12);
  --line-strong: rgba(243, 239, 231, .22);

  --brand: #afc2da;
  --brand-ink: #c9d7e8;
  --brand-deep: #071019;
  --brand-soft: #1b2735;
  --brand-softer: #121c27;

  --gold: #d8b77f;
  --gold-deep: #e4cc9f;
  --gold-light: #ebd7b4;
  --gold-soft: #2a2318;

  --accent: #d7a87c;
  --accent-deep: #e5be98;
  --accent-ink: #24170f;
  --accent-soft: #2c2119;

  --danger: #e7a199;
  --danger-soft: #351c19;
  --success: #8fbf9a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 14px 32px -18px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .3);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 4px 14px rgba(0, 0, 0, .4);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 8% -10%, rgba(200, 164, 107, .07), transparent 60%),
    radial-gradient(800px 500px at 96% 8%, rgba(35, 51, 76, .06), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { min-width: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(200, 164, 107, .3); color: var(--ink); }
:focus-visible {
  outline: 3px solid rgba(200, 164, 107, .62);
  outline-offset: 3px;
  border-radius: 5px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--surface); color: var(--ink);
  padding: 12px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.ic {
  width: 18px; height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 300;
  background: linear-gradient(90deg, var(--accent), #d2a07a 55%, var(--brand));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

/* ---------- announcement ---------- */
.announce {
  position: relative;
  background: #0c1624;
  color: var(--cream);
  border-bottom: 1px solid rgba(200, 164, 107, .22);
  z-index: 60;
}
.announce__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 8px 46px;
  font-size: .79rem;
  text-align: center;
}
.announce__pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(197, 138, 95, .12);
  animation: pulse 2.4s ease-in-out infinite;
  flex: none;
}
.announce__text { color: rgba(251, 248, 238, .84); }
.announce__link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--accent); font-weight: 700;
  border-bottom: 1px solid rgba(197, 138, 95, .4);
  white-space: nowrap;
}
.announce__link .ic { width: 13px; height: 13px; }
.announce__link:hover { color: #fff; border-color: #fff; }
.announce__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  color: rgba(251, 248, 238, .6);
}
.announce__close:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.announce__close .ic { width: 14px; height: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(247, 243, 233, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
[data-theme="dark"] .site-header { background: rgba(7, 27, 21, .84); }
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 20, 34, .5);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  flex: none;
}
.brand__mark {
  width: 43px; height: 43px;
  color: var(--brand);
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(10, 28, 75, .1);
  overflow: hidden;
  filter: drop-shadow(0 5px 12px rgba(35, 51, 76, .2));
}
.brand__mark svg, .brand__mark img { width: 100%; height: 100%; display: block; }
.brand__mark img { object-fit: cover; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 800; letter-spacing: .06em;
}
.brand__text small {
  font-size: .64rem; color: var(--muted);
  letter-spacing: .035em; margin-top: 3px;
}
.site-nav {
  display: flex; align-items: center; gap: 2px;
  margin-left: auto;
}
.site-nav > a {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .84rem; font-weight: 600;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}
.site-nav > a::after {
  content: "";
  position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s var(--ease);
}
.site-nav > a:hover { color: var(--ink); background: rgba(35, 51, 76, .06); }
.site-nav > a.is-active { color: var(--brand); }
.site-nav > a.is-active::after { transform: scaleX(1); }
.site-nav__admin {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px; padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted); font-size: .76rem; font-weight: 600;
}
.site-nav__admin .ic { width: 14px; height: 14px; }
.site-nav__admin:hover { color: var(--brand); background: var(--brand-soft); }
.header__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.header__cta { margin-left: 2px; }
.icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  color: var(--ink-2);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--line-strong); transform: translateY(-1px); }
.icon-btn .ic { width: 17px; height: 17px; }
.theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-moon { display: block; }
.menu-btn { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .9rem; font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s, background .22s, color .22s, border-color .22s;
}
.btn .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:hover > .ic:last-child { transform: translateX(3px); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--sm { min-height: 40px; padding: 9px 16px; font-size: .82rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: linear-gradient(135deg, #e4cc9f 0%, #c8a46b 58%, #c8a46b 100%);
  color: #182920;
  box-shadow: 0 14px 28px -14px rgba(200, 164, 107, .7);
}
.btn--gold:hover { box-shadow: 0 18px 34px -14px rgba(200, 164, 107, .85); }
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
  color: var(--cream);
  box-shadow: 0 12px 24px -14px rgba(35, 51, 76, .7);
}
[data-theme="dark"] .btn--primary { color: #0a1018; }
.btn--primary:hover { box-shadow: 0 16px 30px -14px rgba(35, 51, 76, .8); }
.btn--ghost {
  color: var(--cream);
  border-color: rgba(251, 248, 238, .25);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(251, 248, 238, .42); }
.btn--soft {
  background: var(--surface-3);
  color: var(--ink);
  border-color: var(--line);
}
.btn--soft:hover { border-color: var(--line-strong); background: var(--surface-2); }
.btn--danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 24%, transparent);
}
.btn--danger:hover { background: var(--danger); color: #fff; }

.text-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand); font-weight: 700; font-size: .84rem;
}
.text-link .ic { width: 15px; height: 15px; transition: transform .2s; }
.text-link:hover { color: var(--gold-deep); }
.text-link:hover .ic { transform: translateX(3px); }

/* ---------- shared ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow .ic { width: 15px; height: 15px; }
.eyebrow--gold { color: var(--gold-light); }
.muted { color: var(--muted); font-weight: 400; }
.section { padding: clamp(72px, 9vw, 108px) 0; }
.section--tint {
  background:
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 48px;
  margin-bottom: 46px;
}
.section-head h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  font-weight: 800;
  max-width: 18ch;
}
.section-head > p {
  max-width: 40ch;
  color: var(--muted);
  font-size: .93rem;
  line-height: 1.75;
  padding-bottom: 4px;
}
.section-head > div { min-width: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(1100px 680px at 76% 12%, rgba(45, 133, 103, .32), transparent 62%),
    radial-gradient(800px 600px at 8% 100%, rgba(200, 164, 107, .12), transparent 60%),
    linear-gradient(138deg, #0c1624 0%, #0b1422 44%, #12233a 72%, #0a121e 100%);
  padding: clamp(52px, 6.4vw, 86px) 0 clamp(72px, 8vw, 104px);
  isolation: isolate;
}
.hero__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("pattern.svg");
  background-size: 228px 228px;
  opacity: .17;
  mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .74) 48%, rgba(0, 0, 0, .18) 100%);
  -webkit-mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .74) 48%, rgba(0, 0, 0, .18) 100%);
}
.hero__glow {
  position: absolute; z-index: -1;
  border-radius: 50%;
  filter: blur(6px);
  pointer-events: none;
}
.hero__glow--a {
  width: 460px; height: 460px; right: 8%; top: -160px;
  background: radial-gradient(circle, rgba(228, 204, 159, .18), transparent 68%);
}
.hero__glow--b {
  width: 520px; height: 520px; left: -180px; bottom: -220px;
  background: radial-gradient(circle, rgba(143, 166, 196, .16), transparent 68%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.hero__copy { min-width: 0; animation: rise .9s var(--ease) both; }
.hero__arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 2.3vw, 1.95rem);
  line-height: 1.7;
  color: rgba(228, 204, 159, .82);
  margin-bottom: 22px;
  letter-spacing: 0;
  text-align: center;
  text-align-last: center;
}
.hero h1 {
  margin: 20px 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.3vw, 4.7rem);
  line-height: .99;
  letter-spacing: -.048em;
  font-weight: 800;
  max-width: 12ch;
}
.hero__title-lead { display: block; }
.hero__title-accent {
  display: block;
  padding-bottom: .08em;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.022em;
  background: linear-gradient(100deg, #f8ecc8 0%, #e4cc9f 45%, #cfae5b 78%, #f3e1ad 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__subtitle {
  max-width: 53ch;
  color: rgba(251, 248, 238, .76);
  font-size: 1.03rem;
  line-height: 1.78;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin: 32px 0 24px;
}
.hero__points {
  display: flex; flex-wrap: wrap; gap: 10px 20px;
  color: rgba(251, 248, 238, .72);
  font-size: .79rem;
  font-weight: 500;
}
.hero__points li { display: inline-flex; align-items: center; gap: 7px; }
.mini-check {
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(228, 204, 159, .14);
  border: 1px solid rgba(228, 204, 159, .28);
  color: var(--gold-light);
}
.mini-check .ic { width: 11px; height: 11px; stroke-width: 2.4; }
.hero__trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(251, 248, 238, .13);
  max-width: 470px;
}
.hero__trust p { color: rgba(251, 248, 238, .62); font-size: .77rem; line-height: 1.5; }
.hero__trust strong { color: var(--gold-light); font-weight: 800; }
.avatar-stack { display: flex; flex: none; }
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .58rem; font-weight: 800;
  border: 2px solid #0b1422;
  margin-left: -9px;
}
.avatar:first-child { margin-left: 0; }
.avatar--gold { background: #e4cc9f; color: #243024; }
.avatar--cream { background: #f4edda; color: #435246; }
.avatar--green { background: #8fa6c4; color: #fff; }
.avatar--outline { background: #12233a; color: var(--gold-light); border-color: rgba(228, 204, 159, .55); }

/* hero visual */
.hero__visual {
  position: relative;
  min-width: 0;
  display: flex; justify-content: flex-end;
  animation: rise 1s .12s var(--ease) both;
}
.hero__arch {
  position: absolute;
  inset: -22px -16px 46px 34px;
  border: 1px solid rgba(228, 204, 159, .24);
  border-radius: 260px 260px 30px 30px;
  pointer-events: none;
}
.hero__arch::before {
  content: "";
  position: absolute; inset: 12px;
  border: 1px solid rgba(228, 204, 159, .1);
  border-radius: inherit;
}
.dash {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 458px;
  background: var(--dash-bg);
  color: var(--dash-ink);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(228, 204, 159, .22);
  transform: translate3d(calc(var(--mx, 0) * 4px), calc(var(--my, 0) * 4px), 0);
  transition: transform .25s ease-out;
}
.dash__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dash__eyebrow {
  font-size: .6rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; color: #8c6b3a;
}
.dash__title {
  font-family: var(--font-display);
  font-size: 1.28rem; letter-spacing: -.02em; margin-top: 3px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(94, 122, 99, .1);
  color: #1c7a55;
  font-size: .59rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .06em;
  white-space: nowrap;
}
[data-theme="dark"] .status-pill { background: rgba(168, 188, 212, .12); color: #a8bcd4; }
.status-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
.status-pill--light { background: rgba(94, 122, 99, .09); color: var(--success); }
.dash__body {
  display: flex; align-items: center; gap: 22px;
  margin: 22px 0 20px;
}
.ring {
  --size: 142px;
  --pct: 89;
  width: var(--size); height: var(--size);
  border-radius: 50%;
  flex: none;
  background: conic-gradient(var(--gold) calc(var(--pct) * 1%), #eee6d8 0);
  display: grid; place-items: center;
  position: relative;
  transition: background .6s var(--ease);
}
.ring::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 164, 107, .25);
}
.ring__inner {
  width: calc(100% - 20px); height: calc(100% - 20px);
  border-radius: 50%;
  background: var(--dash-bg);
  display: grid; place-content: center; text-align: center;
  gap: 1px;
}
.ring__inner strong {
  font-family: var(--font-display);
  font-size: 1.8rem; line-height: 1; letter-spacing: -.04em;
}
.ring__inner span {
  font-size: .56rem; color: var(--dash-muted);
  text-transform: uppercase; letter-spacing: .1em;
  margin-top: 5px;
}
.dash__metrics { display: grid; gap: 14px; min-width: 0; }
.dash__metric {
  display: flex; flex-direction: column;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--dash-line);
}
.dash__metric:last-child { border-bottom: 0; padding-bottom: 0; }
.dash__metric-value {
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em;
}
.dash__metric-label {
  font-size: .65rem; color: var(--dash-muted);
  text-transform: uppercase; letter-spacing: .08em;
  margin-top: 3px;
}
.dash__bars { display: grid; gap: 12px; }
.bar-row__meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .65rem; color: var(--dash-muted);
  margin-bottom: 5px;
}
.bar-row__meta b { color: var(--dash-ink); font-size: .66rem; }
.bar {
  height: 7px; border-radius: 99px;
  background: #ede5d4;
  overflow: hidden;
}
.bar > i {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #23334c, #8fa6c4 62%, #c8a46b);
  transition: width .8s var(--ease);
}
.dash__list {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--dash-line);
  display: grid; gap: 7px;
}
.dash__list li {
  display: flex; align-items: center; gap: 8px;
  font-size: .71rem; color: #4a524c;
}
.dash__list .ic { width: 14px; height: 14px; color: #23334c; stroke-width: 2; }
.dash__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 17px; padding-top: 13px;
  border-top: 1px solid var(--dash-line);
  font-size: .61rem; color: var(--dash-muted);
}
.dash__foot a { display: inline-flex; align-items: center; gap: 3px; color: #8c6b3a; font-weight: 700; }
.dash__foot .ic { width: 11px; height: 11px; }
.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: 15px;
  background: var(--dash-bg);
  color: var(--dash-ink);
  border: 1px solid rgba(200, 164, 107, .3);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  animation: floatY 6s ease-in-out infinite;
}
.float-card--quota { left: -24px; top: -38px; animation-delay: -1.4s; }
.float-card--note { right: -14px; top: -38px; }
.float-card__icon {
  width: 33px; height: 33px; border-radius: 10px;
  display: grid; place-items: center;
  background: #f6eddc; color: #8c6b3a;
}
.float-card__icon .ic { width: 16px; height: 16px; }
.float-card__text { display: flex; flex-direction: column; line-height: 1.25; }
.float-card__text small {
  font-size: .54rem; text-transform: uppercase; letter-spacing: .1em;
  color: #7a817b; font-weight: 700;
}
.float-card__text strong { font-size: .72rem; font-weight: 800; }
.float-card__text strong span { color: #23334c; }

/* ---------- stats ---------- */
.stats-section {
  position: relative; z-index: 12;
  margin-top: 0;
  padding: 34px 0 12px;
}
.stats-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.stats-panel__top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  padding: 2px 4px 24px;
  border-bottom: 1px solid var(--line);
}
.stats-panel__top h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  letter-spacing: -.03em;
  margin-top: 7px;
}
.stats-panel__update {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .68rem; color: var(--muted);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.28fr;
  align-items: stretch;
  padding-top: 4px;
}
.stat-card {
  padding: 22px 24px 18px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.stat-card:first-child { border-left: 0; padding-left: 4px; }
.stat-card__icon {
  width: 36px; height: 36px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 14px;
}
.stat-card__icon .ic { width: 17px; height: 17px; }
.stat-card__label {
  font-size: .62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800; line-height: 1;
  letter-spacing: -.045em;
  margin: 7px 0 8px;
  font-variant-numeric: tabular-nums;
}
.stat-card__hint { font-size: .68rem; color: var(--muted); line-height: 1.5; }
.stats-aside {
  margin-left: 16px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(300px 200px at 100% 0%, rgba(200, 164, 107, .18), transparent 65%),
    linear-gradient(145deg, #12233a, #12233a);
  color: var(--cream);
  display: flex; align-items: center; gap: 16px;
  min-width: 0;
}
.stats-aside .ring {
  --size: 92px;
  background: conic-gradient(var(--gold) calc(var(--pct) * 1%), rgba(255, 255, 255, .14) 0);
}
.stats-aside .ring::before { border-color: rgba(228, 204, 159, .2); }
.stats-aside .ring__inner { background: #101b2b; color: var(--cream); }
.stats-aside .ring__inner strong { font-size: 1.25rem; }
.stats-aside .ring__inner span { color: rgba(251, 248, 238, .6); font-size: .49rem; }
.stats-aside__label {
  font-size: .61rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--gold-light); font-weight: 800;
}
.stats-aside__text {
  font-size: .68rem; line-height: 1.55;
  color: rgba(251, 248, 238, .76);
  margin-top: 4px;
}
.stats-aside__text strong { color: var(--cream); }
.stats-aside__note {
  font-size: .58rem; color: rgba(251, 248, 238, .46);
  margin-top: 6px; line-height: 1.45;
}

/* ---------- flow ---------- */
.flow {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 26px;
  align-items: start;
}
.flow__left { display: flex; flex-direction: column; gap: 17px; min-width: 0; }
.flow__steps { position: relative; min-width: 0; }
.flow-prep {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 19px 20px;
  box-shadow: var(--shadow-sm);
}
.flow-prep__kicker {
  display: block;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 5px;
}
.flow-prep h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}
.flow-prep ul { display: grid; gap: 8px; }
.flow-prep li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  color: var(--ink-2);
}
.flow-prep__icon {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--success);
  flex: none;
}
.flow-prep__icon .ic { width: 11px; height: 11px; stroke-width: 2.5; }
.flow__steps::before {
  content: "";
  position: absolute; left: 36px; top: 30px; bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, var(--line), var(--line-strong), var(--line));
}
.flow-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 15px;
  transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.flow-step + .flow-step { margin-top: 2px; }
.flow-step:hover { background: var(--surface-2); }
.flow-step[aria-selected="true"] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.flow-step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 800;
  transition: background .25s, color .25s, border-color .25s;
}
.flow-step[aria-selected="true"] .flow-step__num {
  background: linear-gradient(135deg, #e4cc9f, #c8a46b);
  border-color: transparent;
  color: #24170f;
}
.flow-step__body { min-width: 0; }
.flow-step__title {
  display: block;
  font-size: .9rem; font-weight: 700; line-height: 1.35;
  color: var(--ink);
}
.flow-step__meta {
  display: block;
  font-size: .66rem; color: var(--muted);
  margin-top: 2px;
}
.flow-step__chev { color: var(--muted-2); }
.flow-step__chev .ic { width: 15px; height: 15px; }
.flow-step[aria-selected="true"] .flow-step__chev { color: var(--gold-deep); }
.flow__detail {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  min-height: 430px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(200, 164, 107, .1), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.flow__detail::after {
  content: "";
  position: absolute; right: 8px; bottom: -50px;
  width: 190px; height: 190px;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.flow-detail--in { animation: detailIn .4s var(--ease) both; }
.flow-detail__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 22px;
}
.flow-detail__icon {
  width: 54px; height: 54px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-deep);
}
.flow-detail__icon .ic { width: 24px; height: 24px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: .63rem; font-weight: 800;
  letter-spacing: .03em;
  white-space: nowrap;
}
.chip--sm { font-size: .58rem; padding: 4px 8px; }
.flow-detail__duration {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .66rem; font-weight: 700; color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px 10px; border-radius: 999px;
}
.flow-detail__duration .ic { width: 13px; height: 13px; }
.flow-detail h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.15; letter-spacing: -.03em;
  margin-bottom: 10px;
}
.flow-detail__desc {
  color: var(--muted); font-size: .88rem;
  line-height: 1.72;
  max-width: 46ch;
}
.flow-points {
  display: grid; gap: 9px;
  margin: 22px 0;
}
.flow-points li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: .8rem; color: var(--ink-2);
  line-height: 1.5;
}
.flow-points .ic {
  width: 16px; height: 16px; color: var(--success);
  stroke-width: 2.2; margin-top: 2px;
}
.flow-output {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 16px;
  border-radius: 13px;
  background: var(--brand-softer);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.flow-output__icon {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--surface); color: var(--brand);
  display: grid; place-items: center; flex: none;
}
.flow-output__icon .ic { width: 15px; height: 15px; }
.flow-output small {
  display: block; font-size: .56rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.flow-output p { font-size: .77rem; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }

/* ---------- features ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  position: relative;
  overflow: hidden;
  padding: 27px;
  min-height: 238px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.feature::after {
  content: "";
  position: absolute; right: -90px; top: -90px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 164, 107, .1), transparent 68%);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(200, 164, 107, .36);
}
.feature--wide { grid-column: span 2; }
.feature--full {
  grid-column: span 3;
  display: flex; align-items: center; gap: 26px;
  min-height: 0;
}
.feature--full > div { flex: 1; }
.feature--full .text-link { flex: none; }
.feature__num {
  position: absolute; top: 24px; right: 26px;
  font-family: var(--font-display);
  font-size: .64rem; font-weight: 800;
  color: var(--muted-2);
  letter-spacing: .12em;
}
.feature__icon {
  width: 43px; height: 43px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 18px;
}
.feature__icon .ic { width: 20px; height: 20px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.23rem; line-height: 1.25;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.feature p {
  color: var(--muted); font-size: .84rem;
  line-height: 1.68;
  max-width: 54ch;
}
.role-chips, .jenjang-chips {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 18px;
}
.role-chips span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .64rem; font-weight: 600;
}
.jenjang-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .62rem;
}
.jenjang-chips b {
  color: var(--gold-deep); font-size: .66rem;
  font-weight: 800;
}

/* ---------- register ---------- */
.register {
  position: relative;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(900px 620px at 82% 10%, rgba(143, 166, 196, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(200, 164, 107, .11), transparent 60%),
    linear-gradient(145deg, #0c1624 0%, #0b1422 55%, #0a121e 100%);
  padding: clamp(76px, 9vw, 116px) 0;
  isolation: isolate;
}
.register__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("pattern.svg");
  background-size: 228px 228px;
  opacity: .13;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .15) 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, .15) 100%);
}
.register__grid {
  display: grid;
  grid-template-columns: 1fr 1.03fr;
  gap: clamp(38px, 5.4vw, 68px);
  align-items: start;
}
.register__intro { min-width: 0; }
.register__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.45rem);
  line-height: 1.05;
  letter-spacing: -.045em;
  margin: 16px 0 18px;
  max-width: 15ch;
}
.register__lead {
  color: rgba(251, 248, 238, .72);
  font-size: .96rem; line-height: 1.78;
  max-width: 52ch;
}
.wave-card {
  margin-top: 30px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(251, 248, 238, .15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.wave-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 14px;
}
.wave-card__kicker {
  display: block; font-size: .56rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  color: rgba(228, 204, 159, .72);
}
.wave-card__head strong {
  display: block; margin-top: 3px;
  font-family: var(--font-display);
  font-size: .95rem; letter-spacing: -.01em;
}
.wave-card__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--gold-light);
  background: rgba(200, 164, 107, .12);
  border: 1px solid rgba(228, 204, 159, .24);
  padding: 5px 9px; border-radius: 999px;
  white-space: nowrap;
}
.wave-card__status > span {
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}
.wave-card__status.is-closed { color: #f0a9a2; background: rgba(178, 59, 50, .14); border-color: rgba(240, 169, 162, .28); }
.wave-card__progress {
  height: 7px; border-radius: 99px;
  background: rgba(251, 248, 238, .13);
  overflow: hidden;
}
.wave-card__progress i {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e4cc9f, #c8a46b);
  transition: width .8s var(--ease);
}
.wave-card__meta {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 9px;
  font-size: .68rem; color: rgba(251, 248, 238, .62);
}
.wave-card__meta b { color: var(--gold-light); }
.wave-card__deadline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin-top: 14px; padding-top: 13px;
  border-top: 1px solid rgba(251, 248, 238, .12);
  font-size: .66rem; color: rgba(251, 248, 238, .62);
}
.wave-card__deadline .ic { width: 14px; height: 14px; color: rgba(228, 204, 159, .8); }
.wave-card__deadline b { color: rgba(251, 248, 238, .9); }
.wave-card__countdown {
  margin-left: auto;
  color: var(--gold-light); font-weight: 700;
  background: rgba(228, 204, 159, .1);
  padding: 3px 8px; border-radius: 999px;
}
.quote {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 2px solid rgba(200, 164, 107, .45);
}
.quote__arabic {
  font-family: var(--font-arabic);
  font-size: 1.35rem;
  color: var(--gold-light);
  line-height: 1.8;
  text-align: left;
}
.quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.03rem;
  color: rgba(251, 248, 238, .82);
  margin-top: 2px;
}
.quote figcaption {
  margin-top: 5px;
  font-size: .63rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: rgba(251, 248, 238, .46);
}
.contact-mini {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 26px;
}
.contact-mini li { display: inline-flex; align-items: center; gap: 8px; font-size: .73rem; }
.contact-mini .ic { width: 16px; height: 16px; color: var(--gold-light); }
.contact-mini a { color: rgba(251, 248, 238, .72); }
.contact-mini a:hover { color: var(--gold-light); }

/* form card */
.form-card {
  position: relative;
  color: #1a211e;
  background: #fffdf8;
  border-radius: 26px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 44px 90px -36px rgba(0, 0, 0, .7);
  border: 1px solid rgba(200, 164, 107, .26);
}
.form-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid #ede5d8;
}
.form-card__eyebrow {
  display: block;
  font-size: .58rem; font-weight: 800;
  letter-spacing: .13em; text-transform: uppercase;
  color: #8c6b3a;
}
.form-card__head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: -.03em;
  margin-top: 4px; line-height: 1.2;
}
.form-card .chip { background: #e7edf4; color: #23334c; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field > span {
  font-size: .7rem; font-weight: 700;
  color: #3a4640;
  letter-spacing: .01em;
}
.field label > span[aria-hidden], .field > span > span[aria-hidden] { color: #a66a42; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #dcd3c5;
  border-radius: 11px;
  background: #fff;
  color: #1a211e;
  font-size: .82rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 86px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23647a71' 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 12px center;
  padding-right: 36px;
}
.field input::placeholder, .field textarea::placeholder { color: #9b9a90; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #c8a46b;
  box-shadow: 0 0 0 3px rgba(200, 164, 107, .18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: #b23b32;
  background: #fffafa;
}
.field__hint { font-size: .61rem; color: #7a817b; line-height: 1.4; }
.field__err {
  font-size: .64rem; color: #b23b32;
  line-height: 1.4;
  margin: 0;
}
.field__err:empty { display: none; }
.field__err--block { margin-top: -2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 16px 0 4px;
  font-size: .69rem; line-height: 1.5;
  color: #5a625c;
  cursor: pointer;
  position: relative;
}
.check input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
}
.check__box {
  width: 19px; height: 19px; border-radius: 6px;
  border: 1.5px solid #cfc4ae;
  background: #fff;
  display: grid; place-items: center;
  flex: none; margin-top: 1px;
  transition: background .2s, border-color .2s;
}
.check__box .ic { width: 12px; height: 12px; color: #fff; stroke-width: 3; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.check input:checked + .check__box { background: #23334c; border-color: #23334c; }
.check input:checked + .check__box .ic { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid rgba(200, 164, 107, .55); outline-offset: 2px; }
.form__error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fbeae7;
  color: #9d2f27;
  font-size: .7rem;
  line-height: 1.45;
}
.form__note {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 11px;
  font-size: .61rem; line-height: 1.5; color: #7a817b;
}
.form__note .ic { width: 13px; height: 13px; margin-top: 1px; color: #8c6b3a; }
.form-card .btn--gold { margin-top: 12px; }

.reg-success, .reg-closed { text-align: center; padding: 12px 4px 4px; }
.reg-success__icon, .reg-closed__icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  background: #e7edf4; color: #23334c;
  border: 1px solid rgba(35, 51, 76, .15);
}
.reg-success__icon .ic, .reg-closed__icon .ic { width: 27px; height: 27px; stroke-width: 2.4; }
.reg-closed__icon { background: #f6eddc; color: #8c6b3a; border-color: rgba(200, 164, 107, .25); }
.reg-success h3, .reg-closed h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing: -.03em;
}
.reg-success > p, .reg-closed > p {
  color: #647a71; font-size: .76rem;
  line-height: 1.6; max-width: 38ch; margin: 7px auto 18px;
}
.ticket {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 13px 15px;
  border: 1px dashed #c8a46b;
  background: #f6eddc;
  border-radius: 12px;
  text-align: left;
}
.ticket > span {
  font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: #8c6b3a;
}
.ticket > strong {
  font-family: var(--font-display);
  font-size: 1.02rem; letter-spacing: .03em;
  margin-left: auto;
}
.ticket__copy {
  display: inline-flex; align-items: center; gap: 4px;
  color: #8c6b3a; font-size: .62rem; font-weight: 700;
}
.ticket__copy .ic { width: 13px; height: 13px; }
.reg-success__meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 18px 0;
  text-align: left;
}
.reg-success__meta div { min-width: 0; }
.reg-success__meta dt {
  font-size: .56rem; text-transform: uppercase; letter-spacing: .1em;
  color: #7a817b; font-weight: 700;
}
.reg-success__meta dd {
  margin: 2px 0 0;
  font-size: .75rem; font-weight: 700;
  color: #2c2a22;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.reg-success .btn { margin-top: 8px; }
.reg-closed .btn { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(38px, 5vw, 70px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 28px); }
.faq-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.07; letter-spacing: -.04em;
  margin: 14px 0 14px;
}
.faq-intro > p {
  color: var(--muted); font-size: .9rem;
  line-height: 1.75; max-width: 38ch;
}
.help-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.help-card__icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 12px;
}
.help-card__icon .ic { width: 19px; height: 19px; }
.help-card h3 {
  font-size: .95rem; letter-spacing: -.01em;
  margin-bottom: 5px;
}
.help-card p {
  font-size: .72rem; color: var(--muted);
  line-height: 1.6; margin-bottom: 14px;
}
.faq-main { min-width: 0; }
.faq-search {
  display: flex; align-items: center; gap: 9px;
  height: 46px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.faq-search .ic { width: 16px; height: 16px; color: var(--muted); }
.faq-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: .8rem;
}
.faq-search input::placeholder { color: var(--muted-2); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 19px 2px;
  text-align: left;
  font-size: .9rem; font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  position: relative;
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--line);
  transition: background .25s, transform .25s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; left: 6px; right: 6px; top: 50%;
  height: 1.5px; background: var(--muted);
  transform: translateY(-50%);
  transition: transform .25s, background .25s;
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--gold-soft); transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: translateY(-50%) rotate(0deg); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--gold-deep); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s var(--ease);
}
.faq-a__inner { overflow: hidden; }
.faq-a p {
  padding: 0 36px 20px 2px;
  color: var(--muted);
  font-size: .82rem; line-height: 1.75;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-empty {
  padding: 24px 0;
  font-size: .8rem; color: var(--muted);
}

/* ---------- footer ---------- */
.footer {
  position: relative;
  overflow: hidden;
  background: #0a121e;
  color: var(--cream);
  padding: 62px 0 26px;
  isolation: isolate;
}
.footer__pattern {
  position: absolute; inset: 0; z-index: -1;
  background-image: url("pattern-gold.svg");
  background-size: 228px 228px;
  opacity: .08;
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr 1fr 1.55fr;
  gap: 36px;
}
.brand--footer .brand__mark { color: #8fa6c4; }
.brand--footer .brand__text small { color: rgba(251, 248, 238, .5); }
.footer__brand > p {
  margin-top: 16px;
  max-width: 36ch;
  color: rgba(251, 248, 238, .58);
  font-size: .78rem; line-height: 1.7;
}
.footer__arabic {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 2.3vw, 1.95rem);
  line-height: 1.7;
  color: rgba(228, 204, 159, .8);
  margin-top: 18px;
  text-align: left;
}
.footer__col { min-width: 0; }
.footer__col h3 {
  font-size: .61rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer__col a, .footer__col button {
  display: block;
  width: 100%;
  text-align: left;
  color: rgba(251, 248, 238, .62);
  font-size: .76rem;
  padding: 4px 0;
  transition: color .2s, transform .2s;
}
.footer__col a:hover, .footer__col button:hover { color: var(--gold-light); transform: translateX(2px); }
.footer__contact {
  display: flex; align-items: flex-start; gap: 8px;
  color: rgba(251, 248, 238, .62);
  font-size: .73rem; line-height: 1.5;
  margin-bottom: 10px;
}
.footer__contact .ic { width: 15px; height: 15px; color: rgba(228, 204, 159, .7); margin-top: 2px; }
a.footer__contact:hover { color: var(--gold-light); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  margin-top: 42px; padding-top: 19px;
  border-top: 1px solid rgba(251, 248, 238, .1);
  font-size: .64rem;
  color: rgba(251, 248, 238, .42);
}
.footer__bottom-links { display: flex; align-items: center; gap: 16px; }
.footer__bottom-links a:hover { color: var(--gold-light); }
.footer__bottom-links button {
  display: inline-flex; align-items: center; gap: 5px;
  color: inherit; font-size: inherit;
}
.footer__bottom-links button .ic { width: 12px; height: 12px; }
.footer__bottom-links button:hover { color: var(--gold-light); }

/* ---------- overlays ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(4, 9, 16, .68);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  animation: fadeIn .24s ease both;
}
.overlay--drawer { place-items: stretch; padding: 0; }

/* login */
.login-modal {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100dvh - 48px);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  background: var(--surface);
  border-radius: 26px;
  overflow: auto;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .7);
  border: 1px solid var(--line);
  animation: modalIn .4s var(--ease) both;
}
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
  transition: color .2s, background .2s;
}
.modal-close:hover { color: var(--ink); background: var(--surface-3); }
.modal-close .ic { width: 15px; height: 15px; }
.login-modal__brand {
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 520px;
  padding: 34px;
  color: var(--cream);
  background:
    radial-gradient(500px 400px at 100% 0%, rgba(143, 166, 196, .3), transparent 65%),
    linear-gradient(150deg, #0c1624, #0b1422 60%, #0a121e);
}
.login-modal__pattern {
  position: absolute; inset: 0;
  background-image: url("pattern-gold.svg");
  background-size: 200px 200px;
  opacity: .18;
  mask-image: linear-gradient(130deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(130deg, #000, transparent 85%);
}
.brand--login {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: var(--cream);
}
.brand--login .brand__mark { color: #8fa6c4; }
.brand--login .brand__text small { color: rgba(251, 248, 238, .52); }
.login-modal__pitch { position: relative; margin-top: auto; padding-top: 48px; }
.login-modal__pitch h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.08; letter-spacing: -.04em;
  margin: 14px 0 12px;
  max-width: 13ch;
}
.login-modal__pitch p {
  color: rgba(251, 248, 238, .66);
  font-size: .8rem; line-height: 1.7;
  max-width: 32ch;
}
.login-modal__pitch ul {
  display: grid; gap: 8px;
  margin-top: 20px;
}
.login-modal__pitch li {
  display: flex; align-items: center; gap: 8px;
  font-size: .72rem; color: rgba(251, 248, 238, .72);
}
.login-modal__pitch li .ic {
  width: 14px; height: 14px;
  color: var(--gold-light); stroke-width: 2.4;
}
.login-modal__foot {
  position: relative;
  margin-top: 32px;
  font-size: .56rem; letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(251, 248, 238, .34);
}
.login-modal__main {
  padding: clamp(30px, 4vw, 46px);
  display: flex; flex-direction: column;
  justify-content: center;
}
.login-mobile-brand {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.login-mobile-brand .brand__mark { width: 38px; height: 38px; color: var(--brand); }
.login-mobile-brand .brand__text strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; }
.login-mobile-brand .brand__text small { font-size: .61rem; color: var(--muted); }
.login-modal__icon {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 14px;
}
.login-modal__icon .ic { width: 20px; height: 20px; }
.login-modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.75rem; letter-spacing: -.035em;
  line-height: 1.15;
}
.login-modal__head p {
  color: var(--muted); font-size: .77rem;
  line-height: 1.6; margin: 7px 0 22px;
  max-width: 38ch;
}
.login-modal form .field { margin-bottom: 13px; }
.login-modal .field input {
  min-height: 47px;
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}
.login-modal .field input:focus { background: var(--surface); }
.field--password .password-wrap { position: relative; }
.field--password .password-wrap input { padding-right: 48px; }
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center;
  color: var(--muted);
}
.password-toggle:hover { background: var(--surface-3); color: var(--ink); }
.password-toggle .ic { width: 16px; height: 16px; }
.password-toggle .i-eye-off { display: none; }
.password-toggle[aria-pressed="true"] .i-eye { display: none; }
.password-toggle[aria-pressed="true"] .i-eye-off { display: block; }
.login-error {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: .7rem;
  line-height: 1.45;
  margin: 2px 0 12px;
}
.login-note {
  display: flex; align-items: flex-start; gap: 7px;
  margin-top: 18px;
  font-size: .59rem; line-height: 1.5;
  color: var(--muted-2);
}
.login-note .ic { width: 13px; height: 13px; margin-top: 1px; flex: none; }

/* admin drawer */
.admin-drawer {
  margin-left: auto;
  width: min(700px, 100%);
  max-width: 100%;
  min-width: 0;
  height: 100dvh;
  display: flex; flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  color: var(--ink);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, .5);
  animation: drawerIn .35s var(--ease) both;
}
.admin-drawer__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.admin-drawer__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .57rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--success);
}
.admin-drawer__eyebrow .status-pill__dot { width: 5px; height: 5px; }
.admin-drawer__head h2 {
  font-family: var(--font-display);
  font-size: 1.42rem; letter-spacing: -.03em;
  margin-top: 4px;
}
.admin-drawer__head p { color: var(--muted); font-size: .7rem; margin-top: 2px; }
.admin-tabs {
  display: flex; align-items: center; gap: 2px;
  min-width: 0;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--surface);
  flex: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs button {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 10px;
  font-size: .72rem; font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.admin-tabs button:hover { color: var(--ink); }
.admin-tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--gold); }
.tab-badge {
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--surface-3);
  color: var(--muted);
  font-size: .56rem;
  font-weight: 800;
}
.admin-tabs button[aria-selected="true"] .tab-badge { background: var(--brand-soft); color: var(--brand); }
.admin-scroll {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 26px 34px;
  overscroll-behavior: contain;
}
.admin-hint {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(166, 106, 66, .32);
  color: var(--ink-2);
  font-size: .64rem; line-height: 1.55;
  margin-bottom: 18px;
}
.admin-hint .ic { width: 14px; height: 14px; color: var(--brand); margin-top: 1px; }
.admin-group {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 18px;
  margin: 0 0 16px;
  background: var(--surface);
  min-width: 0;
}
.admin-group legend {
  padding: 0 7px;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
}
.admin-group .field { margin-bottom: 11px; }
.admin-group .field:last-child { margin-bottom: 0; }
.admin-drawer .field label, .admin-drawer .field > span { color: var(--muted); font-size: .66rem; }
.admin-drawer .field input,
.admin-drawer .field select,
.admin-drawer .field textarea {
  min-height: 42px;
  font-size: .78rem;
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}
.admin-drawer .field textarea { min-height: 76px; }
.admin-drawer .field input:focus,
.admin-drawer .field select:focus,
.admin-drawer .field textarea:focus {
  background: var(--surface);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 164, 107, .14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field-row--three { grid-template-columns: repeat(3, 1fr); }
.field__admin-hint {
  display: block;
  font-size: .61rem; line-height: 1.5;
  color: var(--muted);
  margin: -4px 0 10px;
}
#stats-validation:empty { display: none; }
#stats-validation { color: var(--danger); margin: 0 0 10px; }
.switch {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  margin-bottom: 12px;
  user-select: none;
}
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track {
  position: relative;
  width: 38px; height: 22px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: background .2s;
  flex: none;
}
.switch__track i {
  position: absolute; left: 3px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .22s var(--ease);
}
.switch input:checked + .switch__track { background: var(--brand); }
.switch input:checked + .switch__track i { transform: translateX(16px); }
.switch input:focus-visible + .switch__track { outline: 3px solid rgba(200, 164, 107, .55); outline-offset: 2px; }
.switch__label { font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.admin-actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-copy { font-size: .72rem; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.admin-group--danger { border-color: color-mix(in srgb, var(--danger) 26%, transparent); }
.admin-group--danger legend { color: var(--danger); }

.admin-regs__top {
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 10px;
}
.admin-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}
.admin-search .ic { width: 15px; height: 15px; color: var(--muted); }
.admin-search input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-size: .72rem; min-width: 0;
}
.admin-regs__summary {
  font-size: .64rem; color: var(--muted);
  margin-bottom: 12px;
}
.admin-regs { display: grid; gap: 9px; }
.admin-reg {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.admin-reg__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.admin-reg__head strong { font-size: .82rem; line-height: 1.35; }
.admin-reg__ticket {
  font-family: var(--font-display);
  font-size: .56rem; font-weight: 800;
  color: var(--gold-deep);
  background: var(--gold-soft);
  padding: 3px 7px; border-radius: 6px;
  white-space: nowrap;
}
.admin-reg__meta { font-size: .64rem; color: var(--muted); line-height: 1.5; margin-top: 5px; }
.admin-reg__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; align-items: center; }
.admin-reg__actions select {
  height: 30px; font-size: .65rem;
  padding: 0 7px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.admin-reg__actions .btn { min-height: 30px; padding: 5px 9px; font-size: .62rem; border-radius: 7px; }
.admin-reg__empty {
  padding: 26px 16px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--muted);
  font-size: .74rem;
}
.admin-drawer__foot {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 26px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.admin-save-state { font-size: .61rem; color: var(--muted); }
.admin-save-state.is-dirty { color: var(--gold-deep); font-weight: 700; }
.admin-drawer__foot-actions { display: flex; gap: 8px; }

/* ---------- misc ---------- */
.back-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.back-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.back-top .ic { transform: rotate(-90deg); width: 18px; height: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 400;
  transform: translateX(-50%);
  max-width: min(92vw, 560px);
  padding: 12px 18px;
  border-radius: 999px;
  background: #101b2b;
  color: var(--cream);
  border: 1px solid rgba(200, 164, 107, .4);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  font-size: .72rem; font-weight: 600;
  text-align: center;
  animation: toastIn .35s var(--ease) both;
}
.toast.is-error { background: #4a1c18; border-color: rgba(239, 141, 132, .4); }
.noscript {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 500;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fbeae7; color: #7c251f;
  border: 1px solid #e3b7b1;
  font-size: .78rem;
  text-align: center;
}

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: none; }
}
@keyframes drawerIn {
  from { transform: translateX(36px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
@keyframes detailIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes countUp { from { opacity: .4; } to { opacity: 1; } }

/* =========================================================
   v2 — contemporary visual layer
   ========================================================= */
::selection { background: var(--accent); color: var(--accent-ink); }

body {
  background:
    radial-gradient(900px 520px at 7% -10%, rgba(197, 138, 95, .13), transparent 62%),
    radial-gradient(820px 520px at 96% 6%, rgba(35, 51, 76, .06), transparent 62%),
    var(--bg);
}

.site-header { background: rgba(245, 241, 232, .88); }
[data-theme="dark"] .site-header { background: rgba(10, 16, 24, .88); }
.site-nav > a { font-weight: 600; }
.site-nav > a::after { background: var(--brand); }
.site-nav > a.is-active { color: var(--ink); }
.site-nav > a.is-active::after { background: var(--accent-deep); }
.site-nav__admin { color: var(--muted); }
.site-nav__admin:hover { background: var(--accent-soft); color: var(--brand-deep); }
.header__inner { gap: 20px; }

.btn--accent {
  background: linear-gradient(135deg, #e9cfba 0%, var(--accent) 42%, var(--accent-deep) 100%);
  color: var(--accent-ink);
  box-shadow: 0 14px 30px -14px rgba(166, 106, 66, .72);
}
.btn--accent:hover {
  box-shadow: 0 18px 38px -14px rgba(166, 106, 66, .9);
  filter: brightness(1.02);
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-ink) 100%);
}
.eyebrow { color: var(--brand); }
.eyebrow--accent { color: var(--gold-light); }
.eyebrow--gold { color: var(--gold-light); }

/* hero */
.hero {
  background:
    radial-gradient(980px 660px at 76% 15%, rgba(143, 166, 196, .3), transparent 60%),
    radial-gradient(700px 520px at 3% 100%, rgba(197, 138, 95, .1), transparent 62%),
    linear-gradient(138deg, #0b1422 0%, #12233a 38%, #1a2b44 70%, #0a121e 100%);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 640px at 55% 30%, #000 0%, rgba(0, 0, 0, .45) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(900px 640px at 55% 30%, #000 0%, rgba(0, 0, 0, .45) 55%, transparent 100%);
  pointer-events: none;
}
.hero__pattern { opacity: .06; background-size: 180px 180px; }
.hero__glow--a { background: radial-gradient(circle, rgba(197, 138, 95, .2), transparent 68%); }
.hero__glow--b { background: radial-gradient(circle, rgba(143, 166, 196, .18), transparent 68%); }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 4.9vw, 4.35rem);
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero__title-accent {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
  background: linear-gradient(96deg, #fbf0dc 0%, #ebd7b4 28%, #d8b77f 58%, #c8a46b 82%, #f3e4c9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__subtitle { color: rgba(248, 251, 249, .72); }
.hero__facts {
  display: flex;
  align-items: stretch;
  max-width: 535px;
  margin-top: 26px;
  border: 1px solid rgba(248, 251, 249, .15);
  border-radius: 15px;
  background: rgba(255, 255, 255, .045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.hero__facts li {
  flex: 1;
  min-width: 0;
  display: flex; align-items: center; gap: 9px;
  padding: 12px 13px;
  border-left: 1px solid rgba(248, 251, 249, .12);
}
.hero__facts li:first-child { border-left: 0; }
.hero-fact__num {
  font-family: var(--font-display);
  font-size: .56rem; font-weight: 800;
  color: var(--accent);
  letter-spacing: .08em;
  align-self: flex-start;
  margin-top: 2px;
}
.hero-fact__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.hero-fact__body b { color: #fbf8f1; font-size: .79rem; font-weight: 700; white-space: nowrap; }
.hero-fact__body small { color: rgba(248, 251, 249, .48); font-size: .58rem; margin-top: 2px; text-transform: uppercase; letter-spacing: .06em; }
.hero__trust { border-top-color: rgba(248, 251, 249, .12); }
.hero__trust strong { color: var(--accent); }
.mini-check { background: rgba(197, 138, 95, .12); border-color: rgba(197, 138, 95, .28); color: var(--accent); }
.avatar--gold { background: var(--accent); color: var(--accent-ink); }
.avatar--outline { background: #12233a; color: var(--accent); border-color: rgba(197, 138, 95, .5); }
.hero__arch { border-color: rgba(197, 138, 95, .26); }
.hero__arch::before { border-color: rgba(197, 138, 95, .1); }

.dash {
  border-color: rgba(197, 138, 95, .28);
  border-radius: 26px;
  box-shadow: 0 48px 110px -34px rgba(0, 0, 0, .72);
}
.dash .dash__eyebrow { color: #23334c; }
.dash__title { letter-spacing: -.035em; }
.status-pill { background: var(--accent-soft); color: var(--brand-deep); }
[data-theme="dark"] .status-pill { background: var(--accent-soft); color: var(--accent); }
.dash .status-pill { background: #f6e6db; color: #a66a42; }
.ring { background: conic-gradient(var(--brand) calc(var(--pct) * 1%), #efe8dd 0); }
[data-theme="dark"] .ring { background: conic-gradient(#23334c calc(var(--pct) * 1%), #efe8dd 0); }
.ring__inner { background: var(--dash-bg); }
.bar > i { background: linear-gradient(90deg, var(--brand) 0%, #c9a46b 58%, var(--accent) 100%); }
.dash .bar > i { background: linear-gradient(90deg, #23334c 0%, #c9a46b 72%, #c58a5f 100%); }
.dash__list .ic { color: var(--brand); }
.dash .dash__list .ic { color: #23334c; }
.dash__foot a { color: var(--brand); }
.dash .dash__foot a { color: #a66a42; }
.float-card { border-color: rgba(197, 138, 95, .35); border-radius: 16px; }
.float-card__icon { background: #f5e3d7; color: #24170f; }
.float-card--quota .float-card__icon { background: var(--accent); color: var(--accent-ink); }
.float-card__text strong span { color: #23334c; }
.float-card--note { background: #fbf7ef; }
[data-theme="dark"] .float-card__icon { background: #f5e3d7; color: #24170f; }
[data-theme="dark"] .float-card--quota .float-card__icon { background: var(--accent); color: var(--accent-ink); }

/* stats */
.stats-panel { border-radius: 28px; box-shadow: 0 36px 80px -36px rgba(11, 20, 34, .42); }
.stats-panel__top h2 { letter-spacing: -.04em; }
.stat-card__icon { background: var(--accent-soft); color: var(--brand-deep); }
[data-theme="dark"] .stat-card__icon { background: var(--accent-soft); color: var(--accent); }
.stat-card__value { letter-spacing: -.055em; }
.stats-aside {
  background:
    radial-gradient(280px 200px at 100% 0%, rgba(255, 255, 255, .1), transparent 62%),
    linear-gradient(135deg, #22334d 0%, #142238 58%, #0f1b2b 100%);
  color: #fbf8f1;
  border: 1px solid rgba(251, 248, 241, .1);
}
.stats-aside .ring { background: conic-gradient(var(--gold) calc(var(--pct) * 1%), rgba(255, 255, 255, .14) 0); }
.stats-aside .ring::before { border-color: rgba(228, 204, 159, .24); }
.stats-aside .ring__inner { background: #101b2b; color: #fbf8f1; }
.stats-aside .ring__inner span { color: rgba(251, 248, 241, .58); }
.stats-aside__label { color: var(--gold-light); }
.stats-aside__text { color: rgba(251, 248, 241, .78); }
.stats-aside__text strong { color: #fbf8f1; }
.stats-aside__note { color: rgba(251, 248, 241, .46); }
.status-pill--light { background: var(--accent-soft); color: var(--brand-deep); }

/* section heads */
.section-head__sub {
  max-width: 48ch;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.72;
  margin-top: 14px;
}
.section-head__cta { flex: none; margin-bottom: 4px; }

/* flow */
.flow__steps::before { background: linear-gradient(180deg, var(--line), rgba(35, 51, 76, .35), var(--line)); }
.flow-step { border-radius: 16px; }
.flow-step:hover { background: rgba(35, 51, 76, .04); }
.flow-step[aria-selected="true"] {
  border-color: rgba(35, 51, 76, .18);
  box-shadow: 0 14px 34px -22px rgba(11, 20, 34, .4);
}
.flow-step[aria-selected="true"] .flow-step__num {
  background: linear-gradient(135deg, #f0d7c4, var(--accent) 65%, var(--accent-deep));
  color: var(--accent-ink);
}
.flow__detail {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(197, 138, 95, .16), transparent 62%),
    var(--surface);
  border-radius: 26px;
}
.flow-detail__icon { background: var(--accent-soft); color: var(--brand-deep); }
.flow-detail__duration { background: var(--surface-2); }
.flow-output { background: var(--accent-soft); border-color: rgba(35, 51, 76, .12); }
.flow-output__icon { color: var(--brand); }
.flow-output small { color: var(--brand); }
.flow-output p { color: var(--ink-2); }
[data-theme="dark"] .flow-output { background: var(--accent-soft); }
[data-theme="dark"] .flow-output p { color: var(--ink); }
[data-theme="dark"] .flow-output small { color: var(--accent); }
[data-theme="dark"] .flow-detail__icon,
[data-theme="dark"] .feature__icon,
[data-theme="dark"] .help-card__icon,
[data-theme="dark"] .login-modal__icon { color: var(--accent); }
.flow__detail .btn { margin-top: 2px; }

/* register */
.register {
  background:
    radial-gradient(960px 640px at 82% 8%, rgba(143, 166, 196, .22), transparent 60%),
    radial-gradient(720px 520px at 0% 100%, rgba(197, 138, 95, .1), transparent 62%),
    linear-gradient(142deg, #0b1422 0%, #12233a 48%, #0a121e 100%);
}
.register__pattern { opacity: .09; }
.register__intro h2 { max-width: 14ch; }
.wave-card {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(197, 138, 95, .2);
  border-radius: 20px;
}
.wave-card__head strong { font-size: 1rem; }
.wave-card__status {
  color: var(--accent);
  background: rgba(197, 138, 95, .1);
  border-color: rgba(197, 138, 95, .25);
}
.wave-card__kicker { color: var(--accent); }
.wave-card__progress i { background: linear-gradient(90deg, var(--accent), #d2a07a); }
.wave-card__meta b { color: var(--accent); }
.wave-card__countdown { color: var(--accent); background: rgba(197, 138, 95, .1); }
.form-card {
  border-radius: 28px;
  border-color: rgba(197, 138, 95, .32);
  box-shadow: 0 48px 100px -38px rgba(0, 0, 0, .72);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.form-card__head { border-bottom-color: #efe8dd; }
.form-card__eyebrow { color: var(--brand); }
.form-card .chip { background: var(--accent-soft); color: var(--brand-deep); }
.form-card .field input:focus,
.form-card .field select:focus,
.form-card .field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(35, 51, 76, .13);
}
.check input:checked + .check__box { background: var(--brand); border-color: var(--brand); }
.form-card .btn--accent { margin-top: 0; }

/* wizard */
.wizard-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 13px;
}
.wizard-step {
  display: flex; align-items: center; gap: 9px;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted-2);
  transition: background .25s, border-color .25s, color .25s;
}
.wizard-step__num {
  width: 28px; height: 28px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  background: #f1ece3;
  color: #88928c;
  font-family: var(--font-display);
  font-size: .6rem; font-weight: 800;
  letter-spacing: .02em;
  transition: background .25s, color .25s;
}
.wizard-step__body { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.wizard-step__body b { font-size: .66rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.wizard-step__body small { font-size: .54rem; color: var(--muted-2); margin-top: 2px; white-space: nowrap; }
.wizard-step.is-active { background: var(--accent-soft); border-color: rgba(166, 106, 66, .38); color: var(--brand-deep); }
.wizard-step.is-active .wizard-step__num { background: var(--accent); color: var(--accent-ink); }
.wizard-step.is-active .wizard-step__body b { color: var(--brand-deep); }
.wizard-step.is-done .wizard-step__num { background: var(--brand-soft); color: var(--brand); }
.wizard-step.is-done .wizard-step__body b { color: var(--brand); }
.wizard-track {
  height: 4px;
  border-radius: 99px;
  background: #efe8dd;
  overflow: hidden;
  margin-bottom: 22px;
}
.wizard-track i {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .4s var(--ease);
}
.wizard-panel {
  border: 0; padding: 0; margin: 0;
  min-width: 0;
  animation: wizardIn .32s var(--ease) both;
}
.wizard-panel legend { padding: 0; }
.wizard-panel__lead {
  font-size: .74rem; color: var(--muted);
  line-height: 1.6;
  margin-bottom: 15px;
}
.wizard-nav {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid #efe8dd;
}
.wizard-nav__hint {
  font-size: .62rem; color: var(--muted);
  margin-right: auto;
}
.wizard-nav__actions { display: flex; gap: 8px; margin-left: auto; }
.wizard-nav .btn { min-height: 43px; }
.review-card {
  border: 1px solid #ede6da;
  border-radius: 16px;
  background: #fbf7f0;
  padding: 16px;
  margin-bottom: 15px;
}
.review-card__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid #ede6da;
}
.review-card__eyebrow {
  display: block;
  font-size: .57rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.review-card__head p { font-size: .68rem; color: var(--muted); margin-top: 3px; }
.review-edit {
  font-size: .67rem; font-weight: 700;
  color: var(--brand);
  border-bottom: 1px solid rgba(35, 51, 76, .3);
  white-space: nowrap;
}
.review-edit:hover { color: var(--gold-deep); }
.review-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0;
}
.review-grid div { min-width: 0; }
.review-grid dt {
  font-size: .55rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted-2); font-weight: 700;
}
.review-grid dd {
  margin: 2px 0 0;
  font-size: .74rem; font-weight: 700;
  color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
@keyframes wizardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* features */
.feature { border-radius: 22px; }
.feature__icon { background: var(--accent-soft); color: var(--brand-deep); }
.feature:hover { border-color: rgba(35, 51, 76, .3); }
.feature--full .text-link { color: var(--brand); }
.jenjang-chips b { color: var(--brand); }

/* faq */
.help-card__icon { background: var(--accent-soft); color: var(--brand-deep); }
.faq-icon { background: var(--surface-2); }
.faq-item.is-open .faq-icon { background: var(--accent-soft); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--brand); }
.faq-q:hover { color: var(--brand); }
.faq-search:focus-within { border-color: rgba(35, 51, 76, .32); box-shadow: 0 0 0 3px rgba(35, 51, 76, .08); }

/* footer */
.footer { background: #0a121e; }
.brand--footer .brand__mark { color: #afc2da; }
.footer__col h3 { color: var(--accent); }
.footer__col a:hover, .footer__col button:hover { color: var(--accent); }
.footer__contact .ic { color: var(--accent); }
.footer__bottom-links button:hover, .footer__bottom-links a:hover { color: var(--accent); }

/* sticky mobile CTA */
.mobile-cta { display: none; }

/* login/admin accents */
.login-modal__icon { background: var(--accent-soft); color: var(--brand-deep); }
.login-modal__pitch .eyebrow--gold { color: var(--accent); }
.login-modal__pitch li .ic { color: var(--accent); }
.admin-drawer__eyebrow { color: var(--brand); }
.admin-hint { border-color: rgba(197, 138, 95, .32); }

@media (max-width: 760px) {
  .hero__facts { max-width: none; }
  .hero__facts li { padding: 10px 9px; gap: 6px; }
  .hero-fact__num { display: none; }
  .hero-fact__body b { font-size: .72rem; }
  .hero-fact__body small { font-size: .5rem; }
  .wizard-steps { gap: 4px; }
  .wizard-step { padding: 8px 7px; gap: 7px; }
  .wizard-step__num { width: 25px; height: 25px; border-radius: 8px; font-size: .55rem; }
  .wizard-step__body b { font-size: .6rem; }
  .wizard-step__body small { display: none; }
  .wizard-track { margin-bottom: 18px; }
  .review-grid { grid-template-columns: 1fr; }
  .wizard-nav__hint { width: 100%; order: -1; }
  .wizard-nav__actions { margin-left: auto; }
  .mobile-cta {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 120;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 11px 10px 14px;
    border-radius: 17px;
    background: rgba(11, 20, 34, .94);
    border: 1px solid rgba(197, 138, 95, .32);
    box-shadow: 0 18px 45px -16px rgba(0, 0, 0, .65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fbf8f1;
    animation: ctaUp .35s var(--ease) both;
  }
  .mobile-cta[hidden] { display: none !important; }
  .mobile-cta__meta { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
  .mobile-cta__meta small {
    font-size: .52rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--accent);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mobile-cta__meta strong { font-size: .71rem; font-weight: 700; color: #fbf8f1; }
  .mobile-cta .btn { min-height: 38px; padding: 8px 12px; font-size: .75rem; }
}

@keyframes ctaUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { border-left: 1px solid var(--line); padding-left: 24px; }
  .stat-card:first-child { border-left: 0; padding-left: 4px; }
  .stat-card:nth-child(3) { border-left: 0; padding-left: 4px; border-top: 1px solid var(--line); padding-top: 22px; }
  .stat-card:nth-child(4) { border-top: 1px solid var(--line); padding-top: 22px; }
  .stats-aside { margin: 16px 0 0; grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px; right: 16px;
    margin: 0;
    display: flex; flex-direction: column; align-items: stretch;
    gap: 2px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transform: translateY(-8px) scale(.99);
    transform-origin: top center;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    z-index: 90;
    max-height: calc(100dvh - var(--header-h) - 28px);
    overflow-y: auto;
  }
  .site-nav > a { padding: 12px 14px; border-radius: 10px; font-size: .9rem; }
  .site-nav > a::after { display: none; }
  .site-nav > a.is-active { background: var(--brand-soft); }
  .site-nav__admin {
    margin: 8px 0 0;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    border-radius: 0;
    font-size: .8rem;
    justify-content: flex-start;
  }
  .site-header.nav-open .site-nav {
    opacity: 1; visibility: visible;
    transform: none;
  }
  .menu-btn { display: inline-grid; }
  .header__cta { min-height: 38px; padding: 8px 14px; font-size: .78rem; }
}

@media (max-width: 960px) {
  .hero { padding-bottom: 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 52px; }
  .hero__copy { max-width: 680px; }
  .hero h1 { max-width: 14ch; }
  .hero__visual { justify-content: center; }
  .hero__arch { inset: -18px 8% 40px; }
  .dash { max-width: 560px; }
  .float-card--quota { left: 2%; }
  .float-card--note { right: 2%; }
  .stats-section { margin-top: 0; padding-top: 28px; }
  .flow { grid-template-columns: 1fr; gap: 20px; }
  .flow__detail { position: static; min-height: 0; }
  .flow__steps::before { left: 33px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .feature--wide { grid-column: span 2; }
  .feature--full { grid-column: span 2; flex-wrap: wrap; }
  .feature--full .text-link { margin-left: 69px; }
  .register__grid { grid-template-columns: 1fr; gap: 38px; }
  .register__intro h2 { max-width: 20ch; }
  .form-card { max-width: 640px; }
  .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .faq-intro { position: static; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .footer__col--contact { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 36px); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .section-head > p { max-width: 52ch; }
  .stats-panel { padding: 20px; border-radius: 24px; }
  .stats-panel__top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 18px 16px; }
  .stat-card:first-child { padding-left: 0; }
  .stat-card:nth-child(3) { padding-left: 0; }
  .stat-card__value { font-size: 2.15rem; }
  .stat-card__hint { font-size: .62rem; }
  .stats-aside { margin-top: 14px; }
  .hero__points { gap: 8px 14px; }
  .hero__trust { align-items: flex-start; }
  .stats-panel__update { font-size: .64rem; }
  .form-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .field-row--three { grid-template-columns: 1fr; }
  .login-modal { grid-template-columns: 1fr; }
  .login-modal__brand { display: none; }
  .login-mobile-brand { display: flex; }
  .login-modal__main { padding: 32px 24px 28px; }
  .login-modal__head h2 { font-size: 1.55rem; }
  .admin-drawer { width: 100%; }
  .admin-drawer__head, .admin-scroll { padding-left: 20px; padding-right: 20px; }
  .admin-drawer__foot { padding: 12px 20px; }
  .admin-tabs { padding: 0 16px; }
  .feature--full .text-link { margin-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .container { width: calc(100% - 30px); }
  .announce__inner { font-size: .71rem; padding: 8px 36px 8px 12px; align-items: flex-start; gap: 8px; }
  .announce__pulse { margin-top: 6px; }
  .announce__text { text-align: left; line-height: 1.45; }
  .announce__link { display: none; }
  .announce__close { right: 4px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: 1.05rem; }
  .header__cta {
    display: inline-flex;
    min-height: 36px;
    padding: 7px 11px;
    font-size: .72rem;
    gap: 6px;
  }
  .header__cta .ic { width: 14px; height: 14px; }
  .hero { padding-top: 40px; padding-bottom: 76px; }
  .hero__arabic { font-size: 1.18rem; line-height: 1.65; margin-bottom: 17px; }
  .hero h1 { font-size: clamp(2.4rem, 10.6vw, 3.35rem); max-width: 12ch; }
  .hero__subtitle { font-size: .93rem; line-height: 1.7; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__trust { max-width: none; }
  .hero__trust p { font-size: .7rem; }
  .hero__arch { display: none; }
  .dash { padding: 19px; border-radius: 20px; }
  .dash__body { gap: 14px; }
  .ring { --size: 112px; }
  .ring__inner strong { font-size: 1.5rem; }
  .dash__metrics { gap: 9px; }
  .dash__metric-value { font-size: 1.1rem; }
  .float-card { display: none; }
  .stats-section { margin-top: 0; padding-top: 24px; }
  .stats-panel { padding: 18px; }
  .stats-panel__top h2 { font-size: 1.35rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card, .stat-card:first-child, .stat-card:nth-child(3), .stat-card:nth-child(4) {
    border-left: 0; border-top: 1px solid var(--line);
    padding: 16px 0;
  }
  .stat-card:first-child { border-top: 0; padding-top: 4px; }
  .stat-card__icon { width: 32px; height: 32px; margin-bottom: 10px; }
  .stat-card__value { font-size: 2.3rem; }
  .stats-aside { flex-direction: row; align-items: center; }
  .flow-step { padding: 11px 10px; grid-template-columns: 38px 1fr auto; gap: 11px; }
  .flow-step__num { width: 36px; height: 36px; font-size: .72rem; }
  .flow__steps::before { left: 29px; }
  .flow-step__title { font-size: .84rem; }
  .flow-step__meta { font-size: .6rem; }
  .flow__detail { padding: 22px; border-radius: 20px; }
  .flow-points { margin: 18px 0; }
  .bento { grid-template-columns: 1fr; }
  .feature--wide, .feature--full { grid-column: span 1; }
  .feature { padding: 22px; min-height: 0; }
  .feature--full { display: block; }
  .feature--full .feature__icon { margin-bottom: 16px; }
  .feature--full .text-link { margin-top: 16px; }
  .feature h3 { font-size: 1.12rem; }
  .feature p { font-size: .8rem; }
  .register { padding: 64px 0; }
  .register__grid { gap: 30px; }
  .register__intro h2 { font-size: clamp(1.95rem, 8.7vw, 2.7rem); }
  .wave-card { padding: 17px; margin-top: 24px; }
  .wave-card__meta { font-size: .62rem; }
  .wave-card__deadline { font-size: .6rem; }
  .wave-card__countdown { margin-left: 0; }
  .quote { margin-top: 24px; }
  .form-card { padding: 20px; border-radius: 21px; }
  .form-card__head h3 { font-size: 1.22rem; }
  .form-card__head .chip { display: none; }
  .ticket { flex-wrap: wrap; }
  .ticket > strong { margin-left: 0; }
  .ticket__copy { margin-left: auto; }
  .reg-success__meta { grid-template-columns: 1fr; }
  .faq-q { font-size: .84rem; padding: 16px 0; }
  .faq-a p { padding-right: 20px; }
  .help-card { margin-top: 22px; }
  .footer { padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__col--contact { grid-column: auto; }
  .footer__brand > p { max-width: none; }
  .overlay { padding: 0; }
  .login-modal { width: 100%; max-height: 100dvh; min-height: 100dvh; border-radius: 0; border: 0; }
  .login-modal__main { min-height: 100dvh; justify-content: center; }
  .admin-drawer__head { padding: 16px 16px 12px; }
  .admin-drawer__head h2 { font-size: 1.2rem; }
  .admin-scroll { padding: 16px; }
  .admin-tabs { padding: 0 10px; gap: 0; }
  .admin-tabs button { padding: 11px 7px; font-size: .66rem; gap: 4px; }
  .tab-badge { min-width: 16px; height: 16px; font-size: .52rem; }
  .admin-drawer__foot { flex-direction: column; align-items: stretch; gap: 9px; padding: 11px 16px; }
  .admin-save-state { text-align: center; }
  .admin-drawer__foot-actions .btn { flex: 1; }
  .admin-group { padding: 14px; }
  .admin-regs__top { flex-wrap: wrap; }
  .back-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

@media (max-width: 360px) {
  .header__cta { display: none; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2.32rem; }
  .hero__points { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .stats-aside { padding: 14px; gap: 12px; }
  .stats-aside .ring { --size: 78px; }
  .stats-aside__note { display: none; }
  .flow-detail__top { flex-wrap: wrap; }
  .contact-mini { display: grid; gap: 8px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .dash { transform: none !important; }
}

/* ---------- print ---------- */
@media print {
  .announce, .site-header, .hero__visual, .float-card, .back-top, .toast,
  .overlay, .scroll-progress, .footer__pattern, .register__pattern { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .register, .footer { background: #fff !important; color: #000 !important; }
  .hero__pattern, .register__pattern { display: none; }
  .form-card { box-shadow: none; border: 1px solid #ccc; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- v2 mobile finishing ---------- */
@media (max-width: 760px) {
  .back-top { display: none; }
  .section-head__cta { align-self: flex-start; }
}




/* =========================================================
   BRIGHT ISLAMIC THEME — light mode
   Referensi arah: putih–biru cerah–hijau–emas.
   ========================================================= */
:root[data-theme="light"] {
  --bg: #f7faff;
  --bg-soft: #eaf4ff;
  --surface: #ffffff;
  --surface-2: #f7fbff;
  --surface-3: #eef6ff;
  --ink: #0a1c4b;
  --ink-2: #243a66;
  --muted: #596985;
  --muted-2: #8a99b3;
  --line: #dde6f3;
  --line-strong: #c5d6ec;

  --brand: #0d5dea;
  --brand-ink: #0343be;
  --brand-deep: #0a1c4b;
  --brand-soft: #eaf4ff;
  --brand-softer: #f4f9ff;

  --gold: #f7ba27;
  --gold-deep: #9a6a00;
  --gold-light: #ffd45c;
  --gold-soft: #fff7df;
  --cream: #ffffff;

  --accent: #079f62;
  --accent-deep: #067a4b;
  --accent-ink: #ffffff;
  --accent-soft: #e9f9f0;

  --danger: #d8444c;
  --danger-soft: #fdecee;
  --success: #079f62;

  --shadow-sm: 0 1px 2px rgba(10, 28, 75, .05);
  --shadow: 0 12px 30px -16px rgba(8, 56, 128, .16), 0 2px 6px rgba(8, 56, 128, .05);
  --shadow-lg: 0 34px 70px -32px rgba(8, 56, 128, .2), 0 4px 12px rgba(8, 56, 128, .07);
  --shadow-hero: 0 30px 80px -30px rgba(9, 58, 133, .28);

  --dash-bg: #ffffff;
  --dash-ink: #0a1c4b;
  --dash-muted: #596985;
  --dash-line: #dde6f3;
}

html[data-theme="light"] body {
  background:
    radial-gradient(900px 520px at 7% -10%, rgba(33, 187, 255, .1), transparent 62%),
    radial-gradient(820px 520px at 96% 6%, rgba(7, 159, 98, .06), transparent 62%),
    var(--bg);
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e9eff8;
}
html[data-theme="light"] .site-nav > a { color: #34425e; }
html[data-theme="light"] .site-nav > a:hover,
html[data-theme="light"] .site-nav > a.is-active { color: var(--brand); }
html[data-theme="light"] .site-nav > a::after { background: var(--brand); }
html[data-theme="light"] .site-nav__admin { color: #596985; }
html[data-theme="light"] .site-nav__admin:hover { background: var(--brand-soft); color: var(--brand); }
html[data-theme="light"] .icon-btn { background: #fff; border-color: #dbe6f6; color: #24406f; }
html[data-theme="light"] .icon-btn:hover { color: var(--brand); border-color: #a9c9f4; }

html[data-theme="light"] .announce {
  background: linear-gradient(90deg, #0a1c4b 0%, #0d2d70 52%, #0d5dea 100%);
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, .12);
}
html[data-theme="light"] .announce__text { color: rgba(255, 255, 255, .88); }
html[data-theme="light"] .announce__link { color: #ffe18a; border-color: rgba(255, 212, 92, .55); }
html[data-theme="light"] .announce__link:hover { color: #fff; border-color: #fff; }
html[data-theme="light"] .announce__pulse { background: #ffd45c; box-shadow: 0 0 0 4px rgba(255, 212, 92, .15); }

html[data-theme="light"] .btn--accent {
  background: linear-gradient(115deg, #1b78fc 0%, #0d5dea 52%, #0445d1 100%);
  color: #fff;
  box-shadow: 0 11px 22px rgba(8, 91, 222, .24), inset 0 1px 0 rgba(255, 255, 255, .22);
}
html[data-theme="light"] .btn--accent:hover {
  box-shadow: 0 15px 30px rgba(8, 91, 222, .33), inset 0 1px 0 rgba(255, 255, 255, .22);
  filter: none;
}
html[data-theme="light"] .btn--primary {
  background: linear-gradient(115deg, #1b78fc 0%, #0d5dea 52%, #0445d1 100%);
  color: #fff;
  box-shadow: 0 11px 22px rgba(8, 91, 222, .22);
}
html[data-theme="light"] .btn--soft {
  background: #f7fbff;
  color: #243a66;
  border-color: #dbe6f6;
}
html[data-theme="light"] .btn--soft:hover { background: #eef6ff; border-color: #b8d1f1; }
html[data-theme="light"] .eyebrow { color: var(--brand); }
html[data-theme="light"] .eyebrow--accent { color: #174eac; }
html[data-theme="light"] .eyebrow--gold { color: #8a5b00; }

/* Bright hero */
html[data-theme="light"] .hero {
  color: var(--ink);
  background:
    radial-gradient(980px 660px at 91% 35%, rgba(57, 169, 250, .23), transparent 70%),
    radial-gradient(720px 520px at 2% 8%, rgba(155, 233, 255, .22), transparent 72%),
    radial-gradient(620px 480px at 88% 92%, rgba(7, 159, 98, .1), transparent 72%),
    linear-gradient(113deg, #ffffff 1%, #eef7ff 60%, #e6f4ff 100%);
}
html[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(13, 93, 234, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 93, 234, .055) 1px, transparent 1px);
  mask-image: radial-gradient(900px 640px at 55% 30%, #000 0%, rgba(0, 0, 0, .4) 58%, transparent 100%);
  -webkit-mask-image: radial-gradient(900px 640px at 55% 30%, #000 0%, rgba(0, 0, 0, .4) 58%, transparent 100%);
}
html[data-theme="light"] .hero__pattern { opacity: .075; }
html[data-theme="light"] .hero__glow--a { background: radial-gradient(circle, rgba(33, 187, 255, .24), transparent 68%); }
html[data-theme="light"] .hero__glow--b { background: radial-gradient(circle, rgba(7, 159, 98, .14), transparent 68%); }
html[data-theme="light"] .hero__arabic { color: #4b6b9f; }
html[data-theme="light"] .hero .eyebrow {
  background: #fff;
  border: 1px solid #d3e5ff;
  color: #174eac;
  padding: 9px 13px;
  border-radius: 99px;
  box-shadow: 0 5px 12px rgba(14, 88, 189, .06);
}
html[data-theme="light"] .hero h1 { color: var(--ink); }
html[data-theme="light"] .hero__title-accent {
  background: linear-gradient(105deg, #0245b8 0%, #1065f1 68%, #159df7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .hero__title-accent::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  margin-top: 17px;
  border-radius: 99px;
  background: linear-gradient(90deg, #08b783, #73e4a4 55%, #f7ba27 100%);
  transform: rotate(-2deg);
}
html[data-theme="light"] .hero__subtitle { color: #334664; }
html[data-theme="light"] .hero__facts {
  border-color: #d3e5ff;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 24px rgba(20, 78, 159, .06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
html[data-theme="light"] .hero__facts li { border-left-color: #d7e5f7; }
html[data-theme="light"] .hero-fact__num { color: #0d5dea; }
html[data-theme="light"] .hero-fact__body b { color: #0a1c4b; }
html[data-theme="light"] .hero-fact__body small { color: #71819b; }
html[data-theme="light"] .hero__trust { border-top-color: #d7e5f7; }
html[data-theme="light"] .hero__trust p { color: #5c6d89; }
html[data-theme="light"] .hero__trust strong { color: #0d5dea; }
html[data-theme="light"] .avatar { border-color: #f7fbff; }
html[data-theme="light"] .avatar--gold { background: #f7ba27; color: #3c2a00; }
html[data-theme="light"] .avatar--cream { background: #eaf4ff; color: #174eac; }
html[data-theme="light"] .avatar--green { background: #079f62; color: #fff; }
html[data-theme="light"] .avatar--outline { background: #fff; color: #0d5dea; border-color: #bcd9f7; }
html[data-theme="light"] .hero .btn--ghost {
  color: #0d5dea;
  background: #fff;
  border-color: #bcd6f2;
  box-shadow: 0 6px 17px rgba(15, 63, 137, .07);
}
html[data-theme="light"] .hero .btn--ghost:hover { background: #f2f9ff; border-color: #7fb4f2; }
html[data-theme="light"] .hero__arch { border-color: #bcd9f7; }
html[data-theme="light"] .hero__arch::before { border-color: rgba(13, 93, 234, .12); }

html[data-theme="light"] .dash {
  border-color: #d4e4fa;
  box-shadow: 0 26px 65px -24px rgba(9, 58, 133, .28);
}
html[data-theme="light"] .dash .dash__eyebrow { color: #0d5dea; }
html[data-theme="light"] .dash .status-pill { background: #e9f9f0; color: #079f62; }
html[data-theme="light"] .ring { background: conic-gradient(#0d5dea calc(var(--pct) * 1%), #e5eefb 0); }
html[data-theme="light"] .dash .bar > i { background: linear-gradient(90deg, #0d5dea 0%, #21bbff 58%, #079f62 100%); }
html[data-theme="light"] .dash .dash__list .ic { color: #079f62; }
html[data-theme="light"] .dash .dash__foot a { color: #0d5dea; }
html[data-theme="light"] .float-card { border-color: #d4e4fa; background: #fff; }
html[data-theme="light"] .float-card__icon { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .float-card--quota .float-card__icon { background: #e9f9f0; color: #079f62; }
html[data-theme="light"] .float-card__text strong span { color: #0d5dea; }
html[data-theme="light"] .float-card--note { background: #fff; }

/* Stats */
html[data-theme="light"] .stats-panel { border-color: #dbe6f6; box-shadow: 0 20px 50px -28px rgba(9, 58, 133, .22); }
html[data-theme="light"] .stat-card__icon { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .stats-aside {
  background: radial-gradient(280px 200px at 100% 0%, rgba(33, 187, 255, .26), transparent 62%),
    linear-gradient(135deg, #0a1c4b 0%, #0d2d70 55%, #0d5dea 100%);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}
html[data-theme="light"] .stats-aside .ring { background: conic-gradient(#f7ba27 calc(var(--pct) * 1%), rgba(255, 255, 255, .16) 0); }
html[data-theme="light"] .stats-aside .ring::before { border-color: rgba(255, 212, 92, .28); }
html[data-theme="light"] .stats-aside .ring__inner { background: #0d2d70; color: #fff; }
html[data-theme="light"] .stats-aside .ring__inner span { color: rgba(255, 255, 255, .62); }
html[data-theme="light"] .stats-aside__label { color: #ffd45c; }
html[data-theme="light"] .stats-aside__text { color: rgba(255, 255, 255, .8); }
html[data-theme="light"] .stats-aside__text strong { color: #fff; }
html[data-theme="light"] .stats-aside__note { color: rgba(255, 255, 255, .48); }
html[data-theme="light"] .status-pill--light { background: #e9f9f0; color: #067a4b; }

/* Flow */
html[data-theme="light"] .flow-step:hover { background: #f4f9ff; }
html[data-theme="light"] .flow-step[aria-selected="true"] { border-color: #bcd9f7; box-shadow: 0 14px 34px -22px rgba(9, 58, 133, .24); }
html[data-theme="light"] .flow-step[aria-selected="true"] .flow-step__num {
  background: linear-gradient(145deg, #4b9eff, #0b55df);
  color: #fff;
}
html[data-theme="light"] .flow__detail {
  background: radial-gradient(520px 300px at 100% 0%, rgba(33, 187, 255, .1), transparent 62%), #fff;
  border-color: #dbe6f6;
}
html[data-theme="light"] .flow-detail__icon { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .flow-output { background: #e9f9f0; border-color: #c9ebd9; }
html[data-theme="light"] .flow-output__icon { color: #079f62; }
html[data-theme="light"] .flow-output small { color: #079f62; }
html[data-theme="light"] .flow-output p { color: #28496f; }
html[data-theme="light"] .flow-points .ic { color: #079f62; }
html[data-theme="light"] .flow-detail__duration { background: #f7fbff; }
html[data-theme="light"] .chip { background: #eaf4ff; color: #0d5dea; }

/* Register */
html[data-theme="light"] .register {
  color: var(--ink);
  background:
    radial-gradient(980px 660px at 86% 8%, rgba(33, 187, 255, .18), transparent 62%),
    radial-gradient(720px 520px at 0% 100%, rgba(7, 159, 98, .12), transparent 62%),
    linear-gradient(113deg, #ffffff 0%, #f0f8ff 55%, #e6f4ff 100%);
}
html[data-theme="light"] .register__pattern { opacity: .065; }
html[data-theme="light"] .register__intro h2 { color: var(--ink); }
html[data-theme="light"] .register__lead { color: #4f6280; }
html[data-theme="light"] .eyebrow--accent { color: #0d5dea; }
html[data-theme="light"] .wave-card {
  background: rgba(255, 255, 255, .88);
  border-color: #cfe3f9;
  box-shadow: 0 10px 26px rgba(20, 78, 159, .07);
}
html[data-theme="light"] .wave-card__kicker { color: #0d5dea; }
html[data-theme="light"] .wave-card__head strong { color: #0a1c4b; }
html[data-theme="light"] .wave-card__status { color: #067a4b; background: #e9f9f0; border-color: #c9ebd9; }
html[data-theme="light"] .wave-card__progress { background: #e3edf9; }
html[data-theme="light"] .wave-card__progress i { background: linear-gradient(90deg, #0d5dea, #079f62); }
html[data-theme="light"] .wave-card__meta { color: #5c6d89; }
html[data-theme="light"] .wave-card__meta b { color: #0d5dea; }
html[data-theme="light"] .wave-card__deadline { border-top-color: #dce8f7; color: #5c6d89; }
html[data-theme="light"] .wave-card__deadline .ic { color: #0d5dea; }
html[data-theme="light"] .wave-card__deadline b { color: #0a1c4b; }
html[data-theme="light"] .wave-card__countdown { color: #067a4b; background: #e9f9f0; }
html[data-theme="light"] .contact-mini .ic { color: #079f62; }
html[data-theme="light"] .contact-mini a { color: #28496f; }
html[data-theme="light"] .contact-mini a:hover { color: #0d5dea; }
html[data-theme="light"] .form-card { border-color: #cfe3f9; box-shadow: 0 26px 65px -30px rgba(9, 58, 133, .3); }
html[data-theme="light"] .form-card__head { border-bottom-color: #e4edf8; }
html[data-theme="light"] .form-card__eyebrow { color: #0d5dea; }
html[data-theme="light"] .form-card .chip { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea { border-color: #cfdef2; }
html[data-theme="light"] .form-card .field input:focus,
html[data-theme="light"] .form-card .field select:focus,
html[data-theme="light"] .form-card .field textarea:focus { border-color: #0d5dea; box-shadow: 0 0 0 3px rgba(13, 93, 234, .13); }
html[data-theme="light"] .check input:checked + .check__box { background: #079f62; border-color: #079f62; }
html[data-theme="light"] .wizard-step.is-active { background: #eaf4ff; border-color: #bcd9f7; }
html[data-theme="light"] .wizard-step.is-active .wizard-step__num { background: #0d5dea; color: #fff; }
html[data-theme="light"] .wizard-step.is-active .wizard-step__body b { color: #0a1c4b; }
html[data-theme="light"] .wizard-step.is-done .wizard-step__num { background: #e9f9f0; color: #079f62; }
html[data-theme="light"] .wizard-step.is-done .wizard-step__body b { color: #067a4b; }
html[data-theme="light"] .wizard-track { background: #e3edf9; }
html[data-theme="light"] .wizard-track i { background: linear-gradient(90deg, #0d5dea, #079f62); }
html[data-theme="light"] .review-card { background: #f7fbff; border-color: #dbe6f6; }
html[data-theme="light"] .review-card__head { border-bottom-color: #dbe6f6; }
html[data-theme="light"] .review-card__eyebrow { color: #0d5dea; }
html[data-theme="light"] .review-edit { color: #0d5dea; border-bottom-color: #bcd9f7; }
html[data-theme="light"] .review-grid dd { color: #243a66; }
html[data-theme="light"] .wizard-nav { border-top-color: #e4edf8; }
html[data-theme="light"] .ticket { background: #fff7df; border-color: #f7ba27; }
html[data-theme="light"] .ticket > span { color: #8a5b00; }
html[data-theme="light"] .ticket__copy { color: #8a5b00; }
html[data-theme="light"] .reg-success__icon { background: #e9f9f0; color: #079f62; border-color: #c9ebd9; }
html[data-theme="light"] .reg-closed__icon { background: #eaf4ff; color: #0d5dea; border-color: #cfe3f9; }

/* Features + FAQ */
html[data-theme="light"] .section--tint { background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%); }
html[data-theme="light"] .feature { border-color: #e1eaf6; box-shadow: 0 5px 19px rgba(19, 66, 127, .04); }
html[data-theme="light"] .feature:hover { border-color: #abcaff; }
html[data-theme="light"] .feature__icon { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .jenjang-chips b { color: #0d5dea; }
html[data-theme="light"] .help-card { border-color: #dbe6f6; }
html[data-theme="light"] .help-card__icon { background: #e9f9f0; color: #079f62; }
html[data-theme="light"] .faq-icon { background: #f4f9ff; border-color: #dbe6f6; }
html[data-theme="light"] .faq-item.is-open .faq-icon { background: #eaf4ff; }
html[data-theme="light"] .faq-item.is-open .faq-icon::before,
html[data-theme="light"] .faq-item.is-open .faq-icon::after { background: #0d5dea; }
html[data-theme="light"] .faq-search { border-color: #dbe6f6; }
html[data-theme="light"] .faq-search:focus-within { border-color: #9dc4f0; box-shadow: 0 0 0 3px rgba(13, 93, 234, .08); }

/* Footer */
html[data-theme="light"] .footer { background: linear-gradient(135deg, #081d4b 0%, #09275e 52%, #06183c 100%); }
html[data-theme="light"] .footer__col h3 { color: #ffd45c; }
html[data-theme="light"] .footer__col a,
html[data-theme="light"] .footer__col button { color: rgba(234, 242, 255, .7); }
html[data-theme="light"] .footer__col a:hover,
html[data-theme="light"] .footer__col button:hover { color: #fff; }
html[data-theme="light"] .footer__contact .ic { color: #7dd3a8; }
html[data-theme="light"] .footer__bottom-links button:hover,
html[data-theme="light"] .footer__bottom-links a:hover { color: #ffd45c; }

/* Mobile CTA */
html[data-theme="light"] .mobile-cta {
  background: rgba(255, 255, 255, .96);
  border-color: #cfe3f9;
  box-shadow: 0 16px 40px -16px rgba(9, 58, 133, .28);
  color: #0a1c4b;
}
html[data-theme="light"] .mobile-cta__meta small { color: #0d5dea; }
html[data-theme="light"] .mobile-cta__meta strong { color: #0a1c4b; }

/* Login + admin */
html[data-theme="light"] .login-modal__brand {
  background:
    radial-gradient(500px 400px at 100% 0%, rgba(33, 187, 255, .28), transparent 65%),
    linear-gradient(150deg, #081d4b, #0d2d70 58%, #0d5dea 120%);
}
html[data-theme="light"] .login-modal__icon { background: #eaf4ff; color: #0d5dea; }
html[data-theme="light"] .login-modal__pitch .eyebrow--gold { color: #ffd45c; }
html[data-theme="light"] .admin-hint { background: #e9f9f0; border-color: #c9ebd9; }
html[data-theme="light"] .admin-hint .ic { color: #079f62; }
html[data-theme="light"] .admin-drawer__eyebrow { color: #079f62; }
html[data-theme="light"] .admin-tabs button[aria-selected="true"] { color: #0d5dea; border-bottom-color: #0d5dea; }
html[data-theme="light"] .switch input:checked + .switch__track { background: #0d5dea; }
html[data-theme="light"] .admin-reg__ticket { background: #fff7df; color: #8a5b00; }


/* =========================================================
   BLUE HERO CARD — LMS-inspired, bright and modern
   ========================================================= */
html[data-theme="light"] .hero {
  width: min(1180px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: clamp(48px, 6vw, 78px) 0 clamp(48px, 6vw, 70px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(760px 480px at 88% 8%, rgba(96, 165, 250, .55), transparent 62%),
    radial-gradient(560px 420px at 1% 100%, rgba(16, 185, 129, .22), transparent 64%),
    radial-gradient(420px 300px at 96% 92%, rgba(247, 186, 39, .16), transparent 66%),
    linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 32%, #2563eb 62%, #1e40af 100%);
  box-shadow: 0 30px 70px -34px rgba(13, 47, 130, .55);
  overflow: hidden;
}
html[data-theme="light"] .hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  mask-image: radial-gradient(800px 620px at 55% 28%, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(800px 620px at 55% 28%, #000 0%, rgba(0, 0, 0, .5) 55%, transparent 100%);
}
html[data-theme="light"] .hero__pattern { background-image: url("pattern-gold.svg"); opacity: .11; }
html[data-theme="light"] .hero__glow--a { background: radial-gradient(circle, rgba(96, 165, 250, .38), transparent 68%); }
html[data-theme="light"] .hero__glow--b { background: radial-gradient(circle, rgba(16, 185, 129, .2), transparent 68%); }
html[data-theme="light"] .hero__arabic { color: rgba(255, 224, 145, .82); }
html[data-theme="light"] .hero .eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[data-theme="light"] .hero .eyebrow .ic { color: #ffd45c; }
html[data-theme="light"] .hero h1 { color: #fff; }
html[data-theme="light"] .hero__title-accent {
  background: linear-gradient(100deg, #fff5ce 0%, #ffd45c 45%, #f7ba27 82%, #ffe9a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
html[data-theme="light"] .hero__title-accent::after {
  background: linear-gradient(90deg, #ffd45c, #ffe9a6 48%, #6ee7b7);
  height: 5px;
  width: 92px;
}
html[data-theme="light"] .hero__subtitle { color: rgba(255, 255, 255, .78); }
html[data-theme="light"] .hero__facts {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .09);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
html[data-theme="light"] .hero__facts li { border-left-color: rgba(255, 255, 255, .15); }
html[data-theme="light"] .hero-fact__num { color: #ffd45c; }
html[data-theme="light"] .hero-fact__body b { color: #fff; }
html[data-theme="light"] .hero-fact__body small { color: rgba(255, 255, 255, .6); }
html[data-theme="light"] .hero__trust { border-top-color: rgba(255, 255, 255, .18); }
html[data-theme="light"] .hero__trust p { color: rgba(255, 255, 255, .7); }
html[data-theme="light"] .hero__trust strong { color: #ffd45c; }
html[data-theme="light"] .hero__trust .avatar { border-color: #1d4ed8; }
html[data-theme="light"] .hero__trust .avatar--gold { background: #ffd45c; color: #3c2a00; }
html[data-theme="light"] .hero__trust .avatar--cream { background: #dbeafe; color: #1e3a8a; }
html[data-theme="light"] .hero__trust .avatar--green { background: #10b981; color: #fff; }
html[data-theme="light"] .hero__trust .avatar--outline { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .38); }
html[data-theme="light"] .hero .btn--accent {
  background: #fff;
  color: #0a1c4b;
  box-shadow: 0 13px 28px rgba(2, 20, 70, .26);
}
html[data-theme="light"] .hero .btn--accent:hover { background: #f4f9ff; color: #0d5dea; }
html[data-theme="light"] .hero .btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: none;
}
html[data-theme="light"] .hero .btn--ghost:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .55); }
html[data-theme="light"] .hero__arch { border-color: rgba(255, 255, 255, .28); }
html[data-theme="light"] .hero__arch::before { border-color: rgba(255, 255, 255, .1); }
html[data-theme="light"] .dash { box-shadow: 0 34px 80px -28px rgba(2, 20, 70, .5); }
html[data-theme="light"] .float-card { box-shadow: 0 16px 36px -18px rgba(2, 20, 70, .4); }

@media (max-width: 620px) {
  html[data-theme="light"] .hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 26px;
    padding-top: 38px;
    padding-bottom: 42px;
  }
  html[data-theme="light"] .hero__title-accent::after { width: 72px; height: 4px; }
}


/* =========================================================
   NSM / Token check — popup, not a full page
   ========================================================= */
.flow-prep__item--action { align-items: flex-start; }
.flow-prep__text { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.flow-prep__check {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px;
  padding: 0 15px 0 17px;
  border-radius: 999px;
  border: 1px solid #0f8a3f;
  background: linear-gradient(180deg, #2fdc73 0%, #20b85a 55%, #159447 100%);
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(7, 72, 32, .28);
  box-shadow: 0 8px 17px -9px rgba(16, 138, 63, .72), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: filter .2s, transform .2s, box-shadow .2s;
}
.flow-prep__check .ic { width: 16px; height: 16px; stroke-width: 2.4; flex: none; }
.flow-prep__check:hover {
  filter: brightness(1.05) saturate(1.06);
  transform: translateY(-1px);
  box-shadow: 0 11px 20px -9px rgba(16, 138, 63, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.flow-prep__check:active { transform: translateY(0); filter: brightness(.97); }
.flow-prep__note {
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: .62rem;
  line-height: 1.5;
  color: var(--muted);
}

.check-modal {
  position: relative;
  width: min(600px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 50px 110px -35px rgba(5, 22, 65, .55);
  padding: 28px;
  animation: modalIn .35s var(--ease) both;
}
.check-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 20px;
}
.check-modal__icon {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.check-modal__icon .ic { width: 21px; height: 21px; }
.check-modal__heading { min-width: 0; flex: 1; }
.check-modal__eyebrow {
  display: block;
  font-size: .57rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 4px;
}
.check-modal__heading h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -.035em;
  line-height: 1.15;
}
.check-modal__heading p {
  font-size: .72rem;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 5px;
}
.check-modal__close { flex: none; width: 34px; height: 34px; }
.check-modal__close .ic { width: 15px; height: 15px; }
.check-modal .field { margin-bottom: 12px; }
.check-modal .field label { color: var(--muted); font-size: .67rem; }
.check-modal .field input {
  min-height: 45px;
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink);
}
.check-modal .field input:focus {
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(13, 93, 234, .12);
}
.check-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .62rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 4px 0 14px;
}
.check-hint .ic { width: 13px; height: 13px; margin-top: 1px; color: var(--gold-deep); flex: none; }
.check-error {
  border-radius: 9px;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 9px 11px;
  font-size: .68rem;
  line-height: 1.45;
  margin: 0 0 10px;
}
.check-result {
  margin-top: 17px;
  border-radius: 15px;
  border: 1px solid var(--line);
  padding: 15px;
  font-size: .75rem;
  line-height: 1.55;
}
.check-result--ok { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.check-result--warn { background: var(--gold-soft); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
.check-result--bad { background: var(--danger-soft); border-color: color-mix(in srgb, var(--danger) 28%, transparent); }
.check-result__title {
  display: block;
  font-size: .83rem;
  font-weight: 800;
  margin-bottom: 3px;
}
.check-result--ok .check-result__title { color: var(--accent); }
.check-result--warn .check-result__title { color: var(--gold-deep); }
.check-result--bad .check-result__title { color: var(--danger); }
.check-result__school {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 6px 0 2px;
  overflow-wrap: anywhere;
}
.check-result__meta { color: var(--muted); font-size: .68rem; overflow-wrap: anywhere; }
.check-result__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.check-badge {
  display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: .58rem; font-weight: 800;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.check-badge--ok { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.check-badge--warn { color: var(--gold-deep); border-color: color-mix(in srgb, var(--gold) 35%, transparent); }
.check-badge--bad { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, transparent); }
.check-badge--muted { color: var(--muted); }
.check-result__note { font-size: .64rem; color: var(--muted); margin-top: 8px; }
.check-result__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.check-modal__foot {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: .61rem;
  color: var(--muted-2);
  text-align: center;
}
.check-modal__foot a { display: inline-flex; align-items: center; gap: 3px; color: var(--brand); font-weight: 700; }
.check-modal__foot .ic { width: 11px; height: 11px; }
.check-spinner {
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 620px) {
  .check-modal { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 24px; padding: 20px; }
  .check-modal__heading h2 { font-size: 1.28rem; }
  .check-modal__icon { width: 40px; height: 40px; border-radius: 12px; }
  .check-modal__icon .ic { width: 18px; height: 18px; }
}

/* =========================================================
   Registration models — animated icon cards
   ========================================================= */
.flow-step { grid-template-columns: 42px 1fr auto; }
.flow-step__icon {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  flex: none;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--line));
  transition: background .28s, color .28s, border-color .28s, transform .28s;
}
.flow-step__icon .ic { width: 20px; height: 20px; stroke-width: 1.9; }
.flow-step__icon b {
  position: absolute;
  right: -4px; bottom: -4px;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #2e2208;
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: 0;
  border: 2px solid var(--surface);
}
.flow-step:hover .flow-step__icon { transform: translateY(-1px) scale(1.04); }
.flow-step[aria-selected="true"] .flow-step__icon {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #3b82f6, #0d5dea 55%, #1e40af);
  box-shadow: 0 8px 18px -8px rgba(13, 93, 234, .55);
}
.flow-step[aria-selected="true"] .flow-step__icon b {
  background: #fff;
  color: #0a1c4b;
  border-color: var(--surface);
}
.flow-step__icon::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 15px;
  border: 1px solid rgba(13, 93, 234, .35);
  opacity: 0;
  pointer-events: none;
}
.flow-step[aria-selected="true"] .flow-step__icon::after {
  animation: modelRing 2.8s ease-out infinite;
}
.flow-step[data-step="0"] .flow-step__icon .ic { animation: modelFloat 5.2s ease-in-out infinite; }
.flow-step[data-step="1"] .flow-step__icon .ic { animation: modelSpin 19s linear infinite; }
.flow-step[data-step="2"] .flow-step__icon .ic { animation: modelSwap 9s ease-in-out infinite; }

.flow-detail__icon {
  position: relative;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, var(--line));
}
.flow-detail__icon .ic { width: 25px; height: 25px; }
.flow__detail[data-model="1"] .flow-detail__icon .ic { animation: modelFloat 5.2s ease-in-out infinite; }
.flow__detail[data-model="2"] .flow-detail__icon .ic { animation: modelSpin 22s linear infinite; }
.flow__detail[data-model="3"] .flow-detail__icon .ic { animation: modelSwap 9s ease-in-out infinite; }

@keyframes modelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes modelSpin {
  to { transform: rotate(360deg); }
}
@keyframes modelSwap {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(180deg); }
}
@keyframes modelRing {
  0% { opacity: .5; transform: scale(.86); }
  70%, 100% { opacity: 0; transform: scale(1.28); }
}

/* =========================================================
   Standalone admin page
   ========================================================= */
body.admin-page { background: var(--bg); min-height: 100vh; }
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.admin-topbar__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.admin-topbar .brand { text-decoration: none; }
.admin-topbar__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-page .admin-topbar .btn--ghost,
.admin-page .admin-gate .btn--ghost {
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.admin-page .admin-topbar .btn--ghost:hover,
.admin-page .admin-gate .btn--ghost:hover {
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
  color: var(--brand);
}
.admin-gate {
  min-height: calc(100vh - 79px);
  display: grid;
  place-items: center;
  padding: 48px 0 68px;
  background:
    radial-gradient(700px 420px at 8% 8%, rgba(13, 93, 234, .1), transparent 62%),
    radial-gradient(520px 360px at 92% 90%, rgba(16, 185, 129, .08), transparent 62%);
}
.admin-gate__card {
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.admin-gate__card::after {
  content: "";
  position: absolute;
  right: -54px; bottom: -70px;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px solid var(--line);
  pointer-events: none;
}
.admin-gate__icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 17px;
}
.admin-gate__icon .ic { width: 24px; height: 24px; }
.admin-gate h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 7px 0 12px;
}
.admin-gate p { color: var(--muted); font-size: .83rem; line-height: 1.7; max-width: 48ch; }
.admin-gate__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.admin-gate__note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: .64rem;
  line-height: 1.55;
  color: var(--muted-2);
}
.admin-gate__note .ic { width: 13px; height: 13px; margin-top: 1px; flex: none; color: var(--gold-deep); }
.site-nav__admin { text-decoration: none; }
.footer__bottom-links a { display: inline-flex; align-items: center; gap: 5px; }
.footer__bottom-links a .ic { width: 12px; height: 12px; }

@media (max-width: 620px) {
  .admin-topbar__inner { min-height: 68px; }
  .admin-topbar__actions .btn--ghost { display: none; }
  .admin-gate { min-height: calc(100vh - 69px); padding: 30px 0 48px; }
  .admin-gate__card { border-radius: 22px; }
}

.faq-a__inner p { white-space: pre-line; }

.check-result__title .t-ok { color: var(--accent); }
.check-result__title .t-bad { color: var(--danger); }

.footer__visit { margin: 0; color: var(--muted, #6b7280); font-size: 13px; }
.footer__visit b { color: inherit; font-weight: 700; }
.footer__visit-today { opacity: .8; }
