:root {
  --bg: #070708;
  --bg-elev: #101014;
  --card: rgba(18, 18, 22, 0.86);
  --card-solid: #141418;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f6f6f8;
  --muted: #a9acb8;
  --red: #e11d2e;
  --red-2: #ff4d57;
  --red-deep: #9f1220;
  --green: #3dcc8a;
  --gold: #d4af37;
  --gold-2: #f0d78c;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 20px;
  --radius-sm: 14px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --header-h: 72px;
  --tap: 48px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  background: var(--gold);
  color: #1a1404;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.page-shell { padding-top: 28px; padding-bottom: 40px; }
.page-shell-full { padding: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(22px) saturate(140%);
  background: rgba(7, 7, 8, 0.82);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
}
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.28);
}
.brand-text {
  display: none;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}
.brand-name {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 0.95rem;
}
.powered-by {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.powered-by-hero {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(240, 215, 140, 0.86);
}

.nav {
  display: flex;
  gap: 2px;
  align-items: center;
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover,
.nav a.is-active { color: var(--text); background: rgba(255,255,255,0.05); }
.nav .btn { color: #fff; }

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.mobile-nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.mobile-nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.mobile-nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.nav-panel { display: none; }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 45;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  min-height: var(--tap);
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-red {
  background: linear-gradient(180deg, #ff3b45, var(--red));
  color: #fff;
  box-shadow: 0 10px 24px rgba(225, 29, 46, 0.28);
}
.btn-green {
  background: linear-gradient(180deg, #4ae3a2, #1faf73);
  color: #062015;
}
.btn-gold {
  background: linear-gradient(180deg, #f3d06a, #c9a227);
  color: #1d1403;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.04); }
.btn-wide { width: 100%; }
.btn-compact { min-height: 40px; padding: 8px 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* Hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: 88px 0 56px;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 7, 8, 0.28) 0%, rgba(7, 7, 8, 0.18) 34%, rgba(7, 7, 8, 0.72) 72%, #070708 100%),
    radial-gradient(ellipse at 50% 40%, rgba(225, 29, 46, 0.16), transparent 52%);
}
.home-hero-content {
  text-align: center;
  width: 100%;
}
.home-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.home-hero h1 {
  font-size: clamp(1.7rem, 5vw, 3.15rem);
  line-height: 1.08;
  margin: 0 auto;
  letter-spacing: -0.045em;
  max-width: 16ch;
  text-wrap: balance;
  font-weight: 800;
}
.hero-lead {
  color: rgba(244, 245, 248, 0.82);
  font-size: 1.06rem;
  max-width: 560px;
  margin: 16px auto 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-actions .btn {
  min-width: min(100%, 220px);
  letter-spacing: 0.04em;
}
.hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  min-height: 44px;
}
.hero-secondary:hover { color: var(--text); }

.kicker {
  display: inline-block;
  color: var(--red-2);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 10px;
}

/* Cards & grids */
.choice-grid, .feature-grid, .stat-grid, .cards, .step-grid {
  display: grid;
  gap: 18px;
}
.choice-grid { grid-template-columns: 1fr; margin: 8px 0 0; text-align: left; }
.choice-card, .card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), transparent 46%), var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
a.card {
  display: block;
  transition: transform .22s var(--ease), border-color .22s var(--ease);
}
a.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.16);
}
.choice-card {
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(20,20,24,0.88));
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
  display: flex;
  flex-direction: column;
}
.choice-card .btn { margin-top: auto; }
.choice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 28px 50px rgba(0,0,0,0.42);
}
.choice-card.free { border-color: rgba(225, 29, 46, .32); }
.choice-card.paid { border-color: rgba(212, 175, 55, .32); }
.choice-card h2 { margin: 10px 0 10px; font-size: 1.45rem; letter-spacing: -0.03em; }
.choice-card p { color: var(--muted); margin: 0 0 20px; }
.choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(225, 29, 46, 0.12);
  color: var(--red-2);
}
.choice-card.paid .choice-icon {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-2);
}
.choice-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(225, 29, 46, .16);
  color: var(--red-2);
}
.choice-tag.gold { background: rgba(212, 175, 55, .16); color: var(--gold); }

.muted { color: var(--muted); }
.tiny { font-size: 13px; color: var(--muted); }

.home-section { padding: 56px 0 8px; }
.section-title { margin: 0 0 8px; font-size: clamp(1.45rem, 3vw, 1.9rem); letter-spacing: -0.035em; }
.section-lead { margin: 0 0 28px; max-width: 640px; }
.feature h3 { margin: 8px 0; letter-spacing: -0.02em; }

.step-index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(180deg, #ff3b45, var(--red));
}
.step-card h3 { margin: 14px 0 8px; font-size: 1.05rem; }
.step-card p { margin: 0; }

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
}
.flow-node {
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.flow-arrow {
  color: var(--red-2);
  font-size: 1.1rem;
  font-weight: 700;
}

.page-intro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}
.page-intro-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  flex-shrink: 0;
}
.page-intro h1 {
  margin: 0 0 4px;
  letter-spacing: -0.035em;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
}
.page-head h1 { margin: 0; letter-spacing: -0.03em; }

.flash {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 16px 0;
  border: 1px solid transparent;
}
.flash-success { background: rgba(61, 204, 138, .12); color: var(--green); border-color: rgba(61, 204, 138, .2); }
.flash-error { background: rgba(225, 29, 46, .12); color: #ff8d8e; border-color: rgba(225, 29, 46, .2); }
.flash-info { background: rgba(212, 175, 55, .12); color: var(--gold-2); border-color: rgba(212, 175, 55, .2); }

.form-grid { display: grid; gap: 14px; }
label { font-weight: 600; font-size: 14px; display: block; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="file"], select, textarea {
  width: 100%;
  background: #0c0c10;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: var(--tap);
  padding: 12px 14px;
  transition: border-color .18s var(--ease);
}
input:focus, select:focus, textarea:focus { border-color: rgba(225, 29, 46, 0.55); }
textarea { min-height: 140px; resize: vertical; }
input[type="file"] { padding: 10px 12px; }
.help { color: var(--muted); font-size: 13px; margin-top: 6px; }
.error { color: #ff8d8e; font-size: 13px; margin-top: 6px; }

.file-field {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  text-align: center;
}
.file-field strong { display: block; margin-bottom: 4px; }
.file-field input[type="file"] { background: transparent; }

.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.45;
}
.check-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--red);
}

.id-box {
  font-size: clamp(1.4rem, 5vw, 2rem);
  letter-spacing: .12em;
  font-weight: 800;
  text-align: center;
  padding: 18px;
  border-radius: 14px;
  background: #101118;
  border: 1px dashed rgba(255,255,255,.16);
  margin: 12px 0 18px;
}

.progress {
  height: 12px;
  background: #101118;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff6b73);
}
.progress-meter {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
}
.progress-meter.is-complete .progress > span {
  background: linear-gradient(90deg, #1faf73, var(--green));
}
.progress-meter-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.progress-count { margin: 0; font-size: 1.05rem; }
.progress-count strong { font-size: 1.35rem; letter-spacing: -0.03em; }
.progress-meta { margin: 0; color: var(--muted); font-size: 0.92rem; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}
.badge-ACTIVE, .badge-APPROVED, .badge-COMPLETED { background: rgba(61,204,138,.15); color: var(--green); }
.badge-PENDING, .badge-SUBMITTED, .badge-CLAIMED { background: rgba(212,175,55,.15); color: var(--gold); }
.badge-REJECTED, .badge-SUSPENDED, .badge-CANCELLED { background: rgba(225,29,46,.15); color: #ff8d8e; }
.badge-PAUSED, .badge-INACTIVE { background: rgba(255,255,255,.08); color: var(--muted); }
.badge-FREE { background: rgba(225,29,46,.15); color: var(--red-2); }
.badge-PAID { background: rgba(212,175,55,.15); color: var(--gold); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-weight: 600; }
tr:hover td { background: rgba(255,255,255,0.02); }

.steps { display: grid; gap: 10px; margin: 18px 0; }
.step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #14151c;
}
.step b {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(225,29,46,.15); color: var(--red-2);
}

.task-meta {
  display: grid;
  gap: 10px;
  margin: 16px 0 20px;
}
.task-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.task-meta span { color: var(--muted); }

.pay-grid { display: grid; gap: 16px; }
.pay-method h2 { margin: 0 0 10px; }
.pay-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.pay-row strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
}
.trust-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.rich-content h2, .rich-content h3 { letter-spacing: -0.03em; }
.rich-content a { color: var(--red-2); text-decoration: underline; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.filter-bar a,
.filter-link {
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
}
.filter-bar a:hover,
.filter-bar a.is-active { color: var(--text); border-color: rgba(225,29,46,0.45); background: rgba(225,29,46,0.08); }

.admin-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 0 0 16px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  gap: 18px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
}
.footer-brand strong { display: block; font-size: 0.95rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-links a:hover { color: var(--text); }
.footer-copy { margin: 0; }

/* Admin */
.admin-shell { display: grid; min-height: 100vh; }
.admin-side {
  background: #0c0c10;
  border-bottom: 1px solid var(--line);
  padding: 18px;
}
.admin-side .brand { margin-bottom: 14px; }
.admin-nav {
  display: grid;
  gap: 2px;
}
.admin-side a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}
.admin-side a:hover, .admin-side a.is-active { background: rgba(255,255,255,.05); color: var(--text); }
.admin-body { min-width: 0; display: flex; flex-direction: column; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(7,7,8,0.72);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.admin-main { padding: 18px; flex: 1; }
.admin-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.stat-grid { grid-template-columns: 1fr 1fr; }
.stat { padding: 16px; }
.stat strong { display: block; font-size: 1.6rem; word-break: break-word; letter-spacing: -0.03em; margin-top: 4px; }

.user-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #101118;
  padding: 8px 10px;
  border-radius: 8px;
  display: inline-block;
  letter-spacing: 0.04em;
}

.auth-logo {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
}
.auth-head { text-align: center; margin-bottom: 18px; }
.auth-card { width: min(560px, 100%); margin: 28px auto; }

.faq-item { padding: 20px 22px; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.05rem; }
.faq-item p { margin: 0; }

.install-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--bg); }
.install-card { width: min(720px, 100%); }
.check-ok { color: var(--green); }
.check-bad { color: #ff8d8e; }
.editor {
  min-height: 220px;
  background: #101118;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}
.editor-toolbar { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.yt-frame {
  aspect-ratio: 16/9;
  border: 0;
  width: 100%;
  border-radius: 14px;
  background: #000;
  margin: 12px 0;
}
.stack-actions { display: grid; gap: 10px; }
.faq-list { display: grid; gap: 12px; }
.shot-preview {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
}
.pager-link {
  min-width: 40px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0 10px;
}
.pager-link.is-active,
.pager-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

@media (min-width: 520px) {
  .stack-actions.two { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { min-width: 210px; }
}

@media (max-width: 519px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn { min-width: 0; width: 100%; }
}

@media (min-width: 760px) {
  .choice-grid, .feature-grid, .pay-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid.three, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .admin-shell { grid-template-columns: 250px 1fr; }
  .admin-side { border-bottom: 0; border-right: 1px solid var(--line); }
  .admin-menu-toggle { display: none; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .task-meta { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 980px) {
  .mobile-nav-toggle { display: none; }
  .nav-backdrop { display: none !important; }
  .nav-panel,
  .nav-panel.open {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    padding: 0;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .header-inner { flex-wrap: nowrap; }
  .step-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .home-logo { width: 92px; height: 92px; }
  .brand-text { display: flex; }
  .feature-grid.three { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 979px) {
  .nav-panel {
    position: fixed;
    top: var(--header-h);
    right: 0;
    width: min(360px, 88vw);
    height: calc(100vh - var(--header-h));
    background: #0c0c10;
    border-left: 1px solid var(--line);
    padding: 18px 16px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 55;
    overflow: auto;
  }
  .nav-panel.open { display: flex; }
  .nav-backdrop.open { display: block; }
  .nav-links, .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-panel a,
  .nav-panel .btn,
  .nav-panel form { width: 100%; }
  .nav-panel .btn { min-height: 48px; }
}

@media (max-width: 759px) {
  .page-intro { align-items: flex-start; }
  .page-intro-logo { width: 52px; height: 52px; }
  .home-hero {
    min-height: min(86vh, 720px);
    align-items: flex-end;
    padding: 72px 0 36px;
  }
  .home-hero-bg { background-position: center 38%; }
  .home-section { padding: 40px 0 4px; }
  .choice-card, .card, .panel { padding: 20px 18px; }
  .admin-side { display: none; }
  .admin-shell.nav-open .admin-side {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    z-index: 40;
    overflow: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .choice-card, .nav a { transition: none; }
  .btn:hover, .choice-card:hover { transform: none; }
}
