/* ===========================================================
   OatIsGoat — Premium / Apple-style design system
   =========================================================== */
:root {
  --bg: #ffffff;
  --ink: #0b0c0d;
  --ink-soft: #2b2e2c;
  --muted: #6e716f;
  --muted-2: #98a29c;
  --line: rgba(11, 12, 13, 0.08);
  --line-soft: rgba(11, 12, 13, 0.05);
  --primary: #16A85D;
  --primary-2: #33D488;
  --primary-deep: #0E7A44;
  --surface: #ffffff;
  --surface-soft: #f6f8f6;
  --dark: #0a0b0a;
  --dark-2: #121412;
  --shadow-sm: 0 4px 16px rgba(10, 20, 15, 0.06);
  --shadow-md: 0 18px 50px rgba(10, 20, 15, 0.10);
  --shadow-lg: 0 30px 80px rgba(8, 16, 12, 0.28);
  --radius: 20px;
  --radius-lg: 30px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 800; }
p { line-height: 1.6; }
a { transition: color .25s var(--ease); }

::selection { background: rgba(22,168,93,.22); }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- Page load / transition ---------- */
body { animation: pageIn .7s var(--ease-soft) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

#pageFade {
  position: fixed; inset: 0; z-index: 9999; background: var(--dark);
  pointer-events: none; opacity: 0; transition: opacity .45s var(--ease);
}
#pageFade.active { opacity: 1; pointer-events: all; }

/* ---------- Background decoration ---------- */
.bg-orb { position: fixed; border-radius: 999px; z-index: -2; filter: blur(70px); opacity: .55; animation: floaty 16s ease-in-out infinite; }
.orb-1 { width: 420px; height: 420px; top: -140px; right: -100px; background: radial-gradient(circle at 30% 30%, #9cf0c8, transparent 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -180px; left: -120px; background: radial-gradient(circle at 60% 40%, #d6fbe9, transparent 70%); animation-delay: -8s; }
@keyframes floaty { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(20px,-30px) scale(1.06); } }
.bg-grid { position: fixed; inset: 0; z-index: -3; background-image: linear-gradient(rgba(11,12,13,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,12,13,0.035) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%); }

/* ---------- Navbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 18px 0;
  background: transparent;
  transition: background .5s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.topbar.nav-scrolled {
  padding: 10px 0;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(10,20,15,.05);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand-dot { width: 13px; height: 13px; border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: 0 0 0 8px rgba(22,168,93,.10); transition: box-shadow .3s var(--ease); }
.brand:hover .brand-dot { box-shadow: 0 0 0 11px rgba(22,168,93,.16); }
.nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 14.5px;
  padding: 10px 16px; border-radius: 999px; position: relative;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-links a:hover { color: var(--primary-deep); background: rgba(22,168,93,.08); }
.nav-links a.active { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); box-shadow: 0 6px 18px rgba(22,168,93,.30); }
.auth-chip {
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; color: var(--muted);
  background: rgba(255,255,255,.7); font-size: 13px; font-weight: 600; backdrop-filter: blur(6px);
  transition: all .3s var(--ease);
}

.page-content { padding-top: 0; }
.footer-lux {
  background: var(--dark); color: rgba(255,255,255,.6); padding: 60px 0 40px; margin-top: 140px;
}
.footer-lux .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-lux a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-brand { color: #fff; font-weight: 800; font-size: 18px; }

/* ---------- Full-bleed sections ---------- */
.section-full { width: 100%; position: relative; padding: 120px 0; }
.section-full.tight { padding: 70px 0; }
.section-full.dark { background: var(--dark); color: #f2f5f3; }
.section-full.dark .muted { color: rgba(255,255,255,.55); }
.section-full.soft { background: var(--surface-soft); }
.section-full + .section-full { border-top: 1px solid var(--line-soft); }
.section-full.dark + .section-full.dark { border-top-color: rgba(255,255,255,.06); }

/* ---------- Hero (Apple-style) ---------- */
.hero-lux {
  min-height: 94vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; padding: 160px 0 100px;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(22,168,93,.10), transparent 60%), var(--bg);
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.7);
  backdrop-filter: blur(6px); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 12.5px;
  color: var(--primary-deep); letter-spacing: .02em; box-shadow: var(--shadow-sm);
}
.hero-lux h1 {
  margin: 26px 0 22px; font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.035em;
  background: linear-gradient(180deg, var(--ink) 30%, var(--ink-soft) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lux p.lead { font-size: clamp(17px, 2vw, 22px); color: var(--muted); max-width: 640px; margin: 0 auto 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue::after { content: ''; width: 4px; height: 8px; border-radius: 4px; background: var(--muted-2); animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown { 0% { opacity: 0; transform: translateY(0);} 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px);} }

.hero-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 60px; width: min(920px, 92vw); }
.stat-lux { text-align: center; padding: 22px 10px; border-radius: 22px; background: rgba(255,255,255,.65); border: 1px solid var(--line); backdrop-filter: blur(8px); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.stat-lux:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-lux strong { display: block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--primary-deep); }
.stat-lux small { color: var(--muted); font-size: 13px; font-weight: 600; }

/* ---------- Section headers ---------- */
.eyebrow { display: inline-block; font-weight: 800; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section-title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 0 10px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 46px; }

/* ---------- Numbered step cards ---------- */
.grid-3-lux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2-lux { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.step-card {
  border-radius: var(--radius-lg); padding: 38px 30px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10); transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s var(--ease);
}
.section-full.dark .step-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.2); }
.step-num { font-size: 46px; font-weight: 800; color: var(--primary-2); opacity: .9; margin-bottom: 12px; }
.step-card h3 { margin: 0 0 10px; font-size: 21px; color: #fff; }
.step-card p { color: rgba(255,255,255,.6); margin: 0; }

/* ---------- Panels / cards ---------- */
.panel-lux {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.panel-lux:hover { box-shadow: var(--shadow-md); }
.panel-lux h2 { margin: 0 0 6px; font-size: 26px; }
.panel-lux h3 { margin: 0 0 14px; font-size: 20px; }

.page-hero-mini {
  padding: 168px 0 60px; text-align: left;
  background: radial-gradient(900px 500px at 20% -20%, rgba(22,168,93,.10), transparent 60%);
}
.page-hero-mini h1 { font-size: clamp(38px, 5.5vw, 64px); letter-spacing: -0.03em; margin: 10px 0 12px; }
.page-hero-mini p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0; }

/* ---------- Form elements ---------- */
.form-grid { display: grid; gap: 12px; }
input, textarea, select, button {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink);
  padding: 13px 15px; font-size: 14.5px; font-family: inherit;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .2s var(--ease);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(22,168,93,.14); }
textarea { min-height: 110px; resize: vertical; }
button { cursor: pointer; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  border-radius: 999px; padding: 15px 28px; font-weight: 700; font-size: 15px; width: auto;
  border: none; transition: transform .35s var(--ease-soft), box-shadow .35s var(--ease-soft), background .35s var(--ease);
  will-change: transform;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; box-shadow: 0 12px 30px rgba(22,168,93,.35); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px rgba(22,168,93,.45); }
.btn-soft { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.hero-lux .btn-soft { background: rgba(11,12,13,.05); }
.btn-soft:hover { transform: translateY(-3px); background: rgba(11,12,13,.09); }
.btn:active { transform: translateY(0) scale(.98); }

.inline-status { margin-top: 10px; color: var(--muted); min-height: 20px; font-size: 14px; }

/* ---------- Lists / items ---------- */
.list { display: grid; gap: 14px; }
.item {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(22,168,93,.25); }
.item-title { margin: 0 0 6px; font-size: 17px; letter-spacing: -.01em; }
.meta { color: var(--muted); font-size: 12px; margin-bottom: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.muted { color: var(--muted); font-size: 13.5px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.actions button { width: auto; padding: 9px 15px; border-radius: 999px; font-size: 13px; background: var(--surface-soft); }
.actions button:hover { background: #eaf6ef; color: var(--primary-deep); transform: translateY(-2px); }

/* Reward cards */
.reward-card { border-radius: var(--radius-lg); padding: 28px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.reward-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-md); }

.toast {
  position: fixed; right: 22px; bottom: 22px; border-radius: 16px; padding: 14px 18px; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); max-width: 380px; z-index: 999;
  animation: toastIn .4s var(--ease-soft) both; font-weight: 600; font-size: 14px;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.toast.ok { border-color: #bde7d0; }
.toast.err { border-color: #f5c2c2; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity 1s var(--ease-soft), transform 1s var(--ease-soft); }
.reveal-scale.in { opacity: 1; transform: none; }

/* ---------- Shop nav link ---------- */
.nav-links a.nav-shop {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff !important; font-weight: 700; box-shadow: 0 6px 16px rgba(22,168,93,.25);
  margin-left: 4px;
}
.nav-links a.nav-shop:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(22,168,93,.35); }

/* ---------- Footer links ---------- */
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-weight: 600; }
.footer-links a:hover { color: #fff; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 400;
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px); color: var(--ink);
  font-size: 18px; font-weight: 800; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transform: translateY(14px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease-soft), box-shadow .3s var(--ease);
}
.back-to-top.show { opacity: 1; pointer-events: all; transform: none; }
.back-to-top:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); background: #fff; }

/* ---------- Parallax orbs ---------- */
.bg-orb { will-change: transform; }

/* ---------- Coupon panel (redeem modal) ---------- */
.coupon-panel {
  position: fixed; inset: 0; z-index: 998; display: flex; align-items: center; justify-content: center;
  background: rgba(10,15,12,0); pointer-events: none; transition: background .4s var(--ease);
}
.coupon-panel.show { background: rgba(10,15,12,.55); pointer-events: all; backdrop-filter: blur(4px); }
.coupon-panel-inner {
  background: #fff; border-radius: var(--radius-lg); padding: 36px; width: min(420px, 90vw); text-align: center;
  box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.95); opacity: 0;
  transition: transform .45s var(--ease-soft), opacity .45s var(--ease-soft);
}
.coupon-panel.show .coupon-panel-inner { transform: none; opacity: 1; }
.coupon-code {
  font-size: 30px; font-weight: 800; letter-spacing: .04em; color: var(--primary-deep);
  background: var(--surface-soft); border: 1px dashed var(--line); border-radius: 14px; padding: 14px; margin: 14px 0;
}
.coupon-panel-inner .actions { justify-content: center; }

.section-space-sm { margin-top: 22px; }

.progress-wrap { margin-bottom: 16px; }
.progress-track {
  width: 100%; height: 14px; border-radius: 999px; overflow: hidden;
  border: 1px solid var(--line); background: #e9efea;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  transition: width .6s var(--ease);
}
.stats-mini h3 { margin: 2px 0 0; font-size: 20px; }

.proof-thumb {
  width: 100%; max-width: 320px; max-height: 220px; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--line); margin-top: 10px;
}
.challenge-proof-fields { display: grid; gap: 8px; margin-top: 10px; }
.challenge-proof-fields textarea { min-height: 90px; }

@media (max-width: 960px) {
  .grid-2-lux, .grid-3-lux, .hero-stats-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-lux { padding-top: 130px; }
  .section-full { padding: 80px 0; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===========================================================
   Accessibility, feedback & guided-UX system
   =========================================================== */

/* Skip link for keyboard users */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 10000;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  font-weight: 700; text-decoration: none; transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Strong, visible focus rings everywhere (keyboard nav) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #0b5fff; outline-offset: 2px; box-shadow: 0 0 0 5px rgba(11,95,255,.18);
}

/* ---------- Higher-contrast inline status / form feedback ---------- */
.inline-status { margin-top: 10px; min-height: 22px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.inline-status.is-error { color: #b3261e; }
.inline-status.is-success { color: #0E7A44; }
.inline-status::before { content: ''; }
.inline-status.is-error::before { content: '⚠'; font-size: 15px; }
.inline-status.is-success::before { content: '✓'; font-size: 15px; }

/* ---------- Toasts: higher contrast, icons, screen-reader friendly ---------- */
.toast {
  display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700;
}
.toast.ok { border-color: #7fd8a4; background: #eefcf3; color: #0E7A44; }
.toast.err { border-color: #f2a3a3; background: #fdeeee; color: #9b1c14; }
.toast::before { font-size: 17px; line-height: 1; }
.toast.ok::before { content: '✓'; }
.toast.err::before { content: '⚠'; }
.toast-close { margin-left: auto; background: transparent !important; border: none !important; width: auto !important; padding: 0 4px !important; font-size: 16px; font-weight: 800; color: inherit; opacity: .6; }
.toast-close:hover { opacity: 1; }

/* ---------- Buttons: loading state ---------- */
.btn[data-loading="true"], button[data-loading="true"] { pointer-events: none; opacity: .78; position: relative; color: transparent !important; }
.btn[data-loading="true"]::after, button[data-loading="true"]::after {
  content: ''; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px;
  border-radius: 999px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff;
  animation: btnSpin .7s linear infinite;
}
.btn-soft[data-loading="true"]::after, input[data-loading="true"]::after { border-color: rgba(11,12,13,.25); border-top-color: var(--ink); }
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* ---------- Captcha widget ---------- */
.captcha-box {
  display: flex; align-items: center; gap: 10px; background: var(--surface-soft);
  border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; flex-wrap: wrap;
}
.captcha-question { font-weight: 800; font-size: 16px; letter-spacing: .02em; color: var(--ink); }
.captcha-refresh { width: auto !important; padding: 8px 12px !important; border-radius: 999px !important; font-size: 13px; background: #fff; }
.captcha-answer { flex: 1; min-width: 90px; }

/* ---------- Auth chip states (logged in / out / locked) ---------- */
.auth-chip.state-in { background: rgba(22,168,93,.12); border-color: rgba(22,168,93,.35); color: var(--primary-deep); animation: chipPop .5s var(--ease-soft); }
.auth-chip.state-out { background: rgba(11,12,13,.05); }
.auth-chip.state-locked { background: rgba(179,38,30,.10); border-color: rgba(179,38,30,.35); color: #9b1c14; }
@keyframes chipPop { 0% { transform: scale(.9); opacity: 0; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }

/* Fade/slide transitions for auth panels when switching state */
.auth-fade { animation: authFade .5s var(--ease-soft) both; }
@keyframes authFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Small link-style buttons (forgot password, switch view etc.) */
.link-btn {
  background: transparent !important; border: none !important; width: auto !important; padding: 0 !important;
  color: var(--primary-deep); font-weight: 700; text-decoration: underline; font-size: 13.5px; cursor: pointer;
}
.link-btn:hover { color: var(--primary); }

/* ---------- Generic overlay modal system (onboarding, guides, confirm dialogs) ---------- */
.oat-modal-overlay {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(10,15,12,0); pointer-events: none; transition: background .4s var(--ease); padding: 20px;
}
.oat-modal-overlay.show { background: rgba(10,15,12,.6); pointer-events: all; backdrop-filter: blur(5px); }
.oat-modal {
  background: #fff; border-radius: var(--radius-lg); padding: 38px; width: min(560px, 94vw);
  box-shadow: var(--shadow-lg); transform: translateY(28px) scale(.95); opacity: 0; max-height: 86vh; overflow-y: auto;
  transition: transform .5s var(--ease-soft), opacity .5s var(--ease-soft);
}
.oat-modal-overlay.show .oat-modal { transform: none; opacity: 1; }
.oat-modal h2 { margin: 0 0 6px; font-size: 26px; }
.oat-modal .muted { margin-bottom: 18px; }
.oat-modal-close { position: sticky; top: 0; float: right; width: auto !important; padding: 6px 10px !important; border-radius: 999px !important; background: var(--surface-soft); font-size: 14px; }

/* Onboarding step indicator */
.onb-steps { display: flex; gap: 8px; margin-bottom: 20px; }
.onb-dot { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: background .3s var(--ease); }
.onb-dot.done { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.onb-step-card { display: none; }
.onb-step-card.active { display: block; animation: authFade .4s var(--ease-soft) both; }
.onb-step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--surface-soft); font-weight: 800; color: var(--primary-deep); margin-bottom: 12px; }
.onb-example { background: var(--surface-soft); border: 1px dashed var(--line); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.onb-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 10px; }
.onb-nav button { width: auto; }

/* Confirm dialog */
.oat-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.oat-confirm-actions button { width: auto; }
.btn-danger { background: linear-gradient(135deg, #e6534a, #b3261e); color: #fff; box-shadow: 0 12px 30px rgba(179,38,30,.30); }
.btn-danger:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(179,38,30,.4); }

/* Legal / info page prose */
.prose-legal h2 { font-size: 22px; margin: 34px 0 10px; }
.prose-legal h3 { font-size: 17px; margin: 22px 0 8px; }
.prose-legal p, .prose-legal li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.prose-legal ul { padding-left: 20px; }
.prose-legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 30px; }

/* Admin dashboard tables */
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; }
.badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; }
.badge-approved { background: #e4f8ec; color: #0E7A44; }
.badge-pending { background: #fff4de; color: #9a6b00; }
.badge-rejected { background: #fdeeee; color: #9b1c14; }
.badge-not_started { background: var(--surface-soft); color: var(--muted); }
.badge-stopped { background: #fdeeee; color: #9b1c14; }
.badge-active { background: #e4f8ec; color: #0E7A44; }
.badge-completed { background: #e6f0ff; color: #0b5fff; }

/* ===========================================================
   Mission slider — animated planet & "how it works" storytelling
   =========================================================== */
.mission-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center;
}
.mission-visual {
  position: relative; height: 380px; display: flex; align-items: center; justify-content: center;
}
.mission-orbit-ring {
  position: absolute; border-radius: 999px; border: 1px dashed rgba(255,255,255,.14);
  animation: orbitSpin linear infinite;
}
.mission-orbit-ring.r1 { width: 260px; height: 260px; animation-duration: 22s; }
.mission-orbit-ring.r2 { width: 340px; height: 340px; animation-duration: 34s; animation-direction: reverse; }
.mission-orbit-ring.r3 { width: 100%; max-width: 400px; height: 400px; animation-duration: 48s; }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.mission-planet {
  position: relative; width: 190px; height: 190px; border-radius: 999px;
  background: radial-gradient(circle at 32% 28%, #7fe8b8 0%, #16A85D 45%, #0a5b32 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset -18px -18px 50px rgba(0,0,0,.35), 0 40px 90px rgba(22,168,93,.35);
  overflow: hidden; z-index: 2;
  animation: planetPulse 6s ease-in-out infinite;
}
.mission-planet::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120px 60px at 20% 70%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(90px 50px at 75% 30%, rgba(255,255,255,.08), transparent 60%);
  animation: planetSpin 26s linear infinite;
}
.mission-planet::after {
  content: ''; position: absolute; inset: -6px; border-radius: 999px;
  box-shadow: 0 0 40px 6px rgba(51,212,136,.35);
  animation: planetGlow 4s ease-in-out infinite alternate;
}
@keyframes planetSpin { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@keyframes planetPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes planetGlow { from { opacity: .5; } to { opacity: 1; } }

.mission-orbit-dot {
  position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-radius: 999px;
  background: linear-gradient(135deg, #33D488, #fff); margin: -6px 0 0 -6px;
  box-shadow: 0 0 14px 3px rgba(51,212,136,.55);
}
.mission-orbit-ring.r1 .mission-orbit-dot { top: 0; left: 50%; }
.mission-orbit-ring.r2 .mission-orbit-dot { top: 50%; left: 0; }
.mission-orbit-ring.r3 .mission-orbit-dot { top: 8%; left: 78%; }

.mission-badge-float {
  position: absolute; z-index: 3; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px); border-radius: 14px; padding: 8px 14px; font-size: 12.5px; font-weight: 700;
  color: #fff; animation: floatBadge 5s ease-in-out infinite;
}
.mission-badge-float.b1 { top: 8%; left: -4%; animation-delay: 0s; }
.mission-badge-float.b2 { bottom: 10%; right: -6%; animation-delay: -2.2s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.mission-content { position: relative; }
.mission-slide {
  display: none;
}
.mission-slide.active { display: block; animation: authFade .55s var(--ease-soft) both; }
.mission-slide-num {
  font-size: 15px; font-weight: 800; color: var(--primary-2); letter-spacing: .08em; margin-bottom: 10px;
}
.mission-slide h3 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin: 0 0 14px; letter-spacing: -0.02em; }
.mission-slide p { color: rgba(255,255,255,.68); font-size: 16px; max-width: 480px; margin: 0 0 20px; }

.mission-meter-label { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.mission-meter-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; margin-bottom: 26px; }
.mission-meter-fill { height: 100%; border-radius: 999px; width: 0%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); transition: width 1s var(--ease-soft); }

.mission-nav { display: flex; align-items: center; gap: 18px; margin-top: 10px; }
.mission-dots { display: flex; gap: 8px; }
.mission-dot {
  width: 34px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.16); border: none; padding: 0; cursor: pointer;
  transition: background .3s var(--ease);
}
.mission-dot.active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); }
.mission-arrow {
  width: 42px !important; height: 42px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #fff; font-size: 18px; display: flex; align-items: center; justify-content: center; padding: 0 !important;
}
.mission-arrow:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }

@media (max-width: 960px) {
  .mission-wrap { grid-template-columns: 1fr; gap: 34px; }
  .mission-visual { height: 260px; }
  .mission-planet { width: 130px; height: 130px; }
  .mission-orbit-ring.r1 { width: 180px; height: 180px; }
  .mission-orbit-ring.r2 { width: 230px; height: 230px; }
  .mission-orbit-ring.r3 { width: 270px; height: 270px; }
}

