/* =========================================================
   Replay — AI Game Journey Orchestrator
   Light, gaming-energetic
   ========================================================= */

:root {
  --bg:        #f4f3ee;
  --bg-2:      #ebe9e0;
  --bg-card:   #ffffff;
  --ink:       #0a0a14;
  --ink-soft:  #232333;
  --muted:     #5d5d6a;
  --muted-2:   #9a9aa6;
  --line:      #dedbcf;
  --line-soft: #e9e6da;

  --accent:    #4a2dff;   /* electric indigo */
  --accent-2:  #ff5a3c;   /* coral red */
  --accent-3:  #00cc77;   /* arcade green */
  --accent-4:  #ffcc00;   /* trophy yellow */
  --accent-5:  #00aaff;   /* sky */

  --grad-1: linear-gradient(95deg, #4a2dff 0%, #ff5a3c 50%, #ffcc00 100%);
  --grad-2: linear-gradient(135deg, #ff5a3c 0%, #ffcc00 100%);

  --shadow-1: 0 1px 2px rgba(10,10,20,.06), 0 1px 0 rgba(10,10,20,.03);
  --shadow-2: 0 6px 24px -10px rgba(10,10,20,.18), 0 1px 3px rgba(10,10,20,.06);
  --shadow-3: 0 30px 80px -24px rgba(10,10,20,.22), 0 10px 24px -10px rgba(74,45,255,.18);
  --shadow-cta: 0 6px 0 0 rgba(10,10,20,.08), 0 12px 28px -10px rgba(74,45,255,.4);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 56px);

  --font-display: 'Bricolage Grotesque', 'Noto Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Geist', 'Noto Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(rgba(10,10,20,.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

/* gradient emphasized word in headings */
h1 em, h2 em, h3 em, .hl {
  font-style: normal;
  background: var(--grad-1);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s ease-in-out infinite;
  padding-right: 0.08em;
  margin-right: -0.08em;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(.7); opacity: .5; }
}

p { margin: 0; text-wrap: pretty; }

/* eyebrow — gaming-style tag */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: currentColor;
  display: inline-block;
}

.mono { font-family: var(--font-mono); }

/* ---------- layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
section { position: relative; padding: clamp(72px, 9vw, 128px) 0; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  background: rgba(244, 243, 238, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(244, 243, 238, 0.92); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 24px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a { transition: color .15s; position: relative; }
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-size: 14px; font-weight: 600;
  transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 3px 0 0 rgba(10,10,20,.12);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); box-shadow: 0 4px 0 0 rgba(74,45,255,.4); }
.nav-cta:active { transform: translateY(1px); box-shadow: 0 1px 0 0 rgba(74,45,255,.4); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }

/* ---------- logo ---------- */
.brand-mark { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.brand:hover .brand-mark { transform: scale(1.1); }

.menu-btn { display: none; }
.mobile-sheet { display: none; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 18px; gap: 12px; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--line);
  }
  .nav-cta { padding: 10px 14px; font-size: 13px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 26px; height: 26px; }
  .mobile-sheet {
    position: fixed; inset: 64px 0 0 0;
    background: var(--bg);
    padding: 24px var(--pad);
    flex-direction: column;
    gap: 4px;
    z-index: 49;
    animation: sheet-in .25s ease;
  }
  .mobile-sheet.open { display: flex; }
  .mobile-sheet a {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 19px;
    font-family: var(--font-display);
    font-weight: 600;
  }
  .mobile-sheet a:active, .mobile-sheet a:hover { background: var(--bg-2); }
  .mobile-sheet .nav-cta {
    margin-top: 12px;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
  }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-6px);} to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--accent);
  box-shadow: 0 10px 0 0 rgba(74,45,255,.18), 0 16px 32px -10px rgba(74,45,255,.5);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-cta); }
.btn-secondary {
  background: var(--bg-card);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 rgba(10,10,20,.12); background: var(--accent-4); }
.btn-secondary:active { transform: translateY(0); box-shadow: 0 2px 0 0 rgba(10,10,20,.08); }
.btn-arrow { transition: transform .2s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- hero ---------- */
.hero {
  padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 80px);
  position: relative;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  margin-bottom: 28px;
  padding: 8px 14px 8px 12px;
  border: 1.5px solid var(--ink);
  background: var(--bg-card);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: 0 3px 0 0 rgba(10,10,20,.1);
}
.hero-eyebrow::before { background: var(--accent); }

.hero h1 {
  font-size: clamp(48px, 8.4vw, 116px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(18px, 1.85vw, 22px);
  color: var(--ink-soft);
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.45;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-showcase {
  margin-top: clamp(56px, 7vw, 96px);
  position: relative;
}

/* ---------- ambient background ---------- */
.ambient {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.ambient-mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    radial-gradient(60% 40% at 15% 20%, rgba(74,45,255,.14), transparent 70%),
    radial-gradient(50% 50% at 85% 10%, rgba(255,90,60,.12), transparent 70%),
    radial-gradient(60% 50% at 70% 85%, rgba(255,204,0,.10), transparent 70%);
  filter: blur(20px);
  animation: mesh-drift 22s ease-in-out infinite alternate;
}
@keyframes mesh-drift {
  0%   { transform: translate(0,0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

/* floating event chips */
.chip-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bg-chip {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  animation: chip-float 18s linear infinite;
  opacity: 0;
}
.bg-chip .dot {
  display: inline-block; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  margin-right: 7px; vertical-align: middle;
}
.bg-chip.c-2 .dot { background: var(--accent-2); }
.bg-chip.c-3 .dot { background: var(--accent-3); }
.bg-chip.c-4 .dot { background: var(--accent-4); }
.bg-chip.c-5 .dot { background: var(--accent-5); }
@keyframes chip-float {
  0%   { opacity: 0; transform: translateY(20px) translateX(0) rotate(var(--rot, 0deg)); }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-140px) translateX(50px) rotate(var(--rot, 0deg)); }
}

/* ---------- showcase (the journey) ---------- */
.showcase {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.6vw, 38px);
  box-shadow: 0 1px 0 rgba(10,10,20,.04), 0 14px 40px rgba(10,10,20,.07);
  position: relative;
}

.showcase-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.sh-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.sh-label::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.sh-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* journey row */
.journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 26px);
  align-items: stretch;
}
.jbeat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.jbeat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.jbeat-num { color: var(--accent); font-weight: 800; }
.jbeat-time {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: none;
}

/* shared visual card */
.jcard {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  min-height: 184px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ----- 1. the moment ----- */
.jcard--screen {
  background: #0e0e16;
  border-color: #0e0e16;
  color: #fff;
  padding: 18px;
  justify-content: space-between;
}
.scr-top {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.45);
}
.scr-mid {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 32px);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.scr-mid .x { color: var(--accent-2); font-size: 0.7em; }
.scr-foot {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

/* ----- 2. the nudge ----- */
.jcard--push {
  background: #f2f2f6;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}
.push-card {
  width: 100%;
  background: #fff;
  border-radius: 13px;
  padding: 12px 13px;
  box-shadow: 0 6px 18px rgba(10,10,20,.1);
  opacity: 0;
  transform: translateY(-8px);
  animation: push-in .6s cubic-bezier(.22,.61,.36,1) .4s forwards;
}
@keyframes push-in { to { opacity: 1; transform: none; } }
.push-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.push-ic {
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
}
.push-app {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.push-time { margin-left: auto; font-size: 10px; color: var(--muted); }
.push-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}
.push-body { font-size: 12.5px; color: var(--ink-soft); line-height: 1.45; }

/* ----- 3. the outcome ----- */
.jcard--outcome {
  background: var(--bg);
  padding: 18px;
  justify-content: center;
  gap: 12px;
}
.out-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.op-metric {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.op-metric span {
  font-size: 0.4em;
  color: var(--accent);
  font-weight: 700;
  margin-left: 2px;
}
.out-sub { font-size: 12px; color: var(--muted); margin-top: -4px; }
.op-bars {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.op-bar {
  display: grid;
  grid-template-columns: 54px 1fr 38px;
  gap: 10px;
  align-items: center;
}
.op-bar-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.op-bar-track {
  height: 8px;
  background: rgba(10,10,20,.07);
  border-radius: 4px;
  overflow: hidden;
}
.op-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.3s cubic-bezier(.22,.61,.36,1);
}
.op-bar-fill.hold { background: #c4c4ce; }
.op-bar-fill.rep  { background: var(--accent); }
.op-bar.in .op-bar-fill.hold { width: 38%; }
.op-bar.in .op-bar-fill.rep  { width: 78%; }
.op-bar-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: -0.02em;
  text-align: right;
  color: var(--ink);
}

/* responsive: stack vertically on mobile */
@media (max-width: 760px) {
  .journey { grid-template-columns: 1fr; gap: 18px; }
  .jcard { min-height: 0; }
  .showcase-header { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- section heading ---------- */
.section-head {
  max-width: 820px;
  margin-bottom: 56px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1;
}
.section-head p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 620px;
  font-weight: 400;
}

/* ---------- problem ---------- */
.problem {
  background: var(--bg-2);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 rgba(10,10,20,.1), var(--shadow-2); }
.problem-card .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.problem-card:nth-child(2) .n { color: var(--accent-2); }
.problem-card:nth-child(3) .n { color: var(--accent-3); }
.problem-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}
.problem-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.problem-card .moment-glyph {
  height: 80px;
  margin-bottom: 20px;
  border-radius: var(--r-sm);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.moment-glyph .drop {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink);
  background: var(--accent-2);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.problem-card:nth-child(2) .moment-glyph .drop { background: var(--accent); }
.problem-card:nth-child(3) .moment-glyph .drop { background: var(--accent-3); }
.moment-glyph svg { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 820px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ---------- how ---------- */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  position: relative;
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 5%; right: 5%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px);
  z-index: 0;
  opacity: .25;
}
.how-step {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  z-index: 1;
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
  transition: transform .2s, box-shadow .2s;
}
.how-step:hover { transform: translateY(-3px); box-shadow: 0 7px 0 0 rgba(10,10,20,.1); }
.how-step .n {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 0 rgba(74,45,255,.18);
}
.how-step:nth-child(2) .n { background: var(--accent); box-shadow: 4px 4px 0 0 rgba(74,45,255,.3); }
.how-step:nth-child(3) .n { background: var(--accent-2); box-shadow: 4px 4px 0 0 rgba(255,90,60,.3); }
.how-step:nth-child(4) .n { background: var(--accent-3); box-shadow: 4px 4px 0 0 rgba(0,204,119,.3); }
.how-step:nth-child(5) .n { background: var(--accent-5); box-shadow: 4px 4px 0 0 rgba(0,170,255,.3); }
.how-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 700;
}
.how-step p { font-size: 14px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .how-steps { grid-template-columns: 1fr 1fr; }
  .how-steps::before { display: none; }
}
@media (max-width: 540px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ---------- example ---------- */
.example {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1.5px solid var(--ink);
}
.example-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.scenario-tab {
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  display: flex; flex-direction: column; gap: 6px;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
}
.scenario-tab:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 rgba(10,10,20,.1); }
.scenario-tab.active {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--accent);
  transform: translateY(-2px);
}
.scenario-tab .tab-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  opacity: .65;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.scenario-tab.active .tab-label { color: var(--accent-4); opacity: 1; }
.scenario-tab .tab-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
}
.scenario-tab .tab-metric {
  font-size: 12px;
  opacity: .8;
  font-weight: 500;
}
.scenario-tab.active .tab-metric { opacity: .85; }

.scenario-stage {
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  position: relative;
  min-height: 560px;
  box-shadow: 0 6px 0 0 rgba(10,10,20,.08), var(--shadow-2);
}
.stage-body {
  padding: 34px 30px;
  position: relative;
}

/* ---------- 3-step journey flow ---------- */
.journey-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}
.jstep {
  display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s ease, transform .55s ease;
  position: relative;
}
.jstep.in { opacity: 1; transform: none; }
.jstep:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 246px; right: -17px;
  transform: translate(50%, -50%);
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--muted);
}
.jstep-head {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink);
}
.jstep-num {
  width: 24px; height: 24px; flex: none;
  border-radius: 7px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.jstep:nth-child(2) .jstep-num { background: var(--accent); }
.jstep:nth-child(3) .jstep-num { background: var(--accent-3); }
.jstep-cap {
  font-size: 13px; line-height: 1.5;
  color: var(--ink-soft);
  text-align: center;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
}
.jstep-cap strong { color: var(--ink); font-weight: 700; }
.jstep:nth-child(1) .jstep-cap {
  background: rgba(255,90,110,.07);
  box-shadow: 4px 4px 0 0 rgba(255,90,110,.28);
}
.jstep:nth-child(2) .jstep-cap {
  background: rgba(74,45,255,.06);
  box-shadow: 4px 4px 0 0 rgba(74,45,255,.24);
}
.jstep:nth-child(3) .jstep-cap {
  background: rgba(45,196,136,.09);
  box-shadow: 4px 4px 0 0 rgba(45,196,136,.26);
}

/* ---------- phone mockup ---------- */
.phone {
  width: 100%; max-width: 208px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: #0c0c14;
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 9px;
  box-shadow: 6px 6px 0 0 rgba(10,10,20,.16);
  position: relative;
}
.phone::before {
  content: '';
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,.22); z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
  color: #fff; position: relative;
}

/* step 1 — game over */
.scr-gameover {
  align-items: center; justify-content: center; text-align: center;
  gap: 12px; padding: 20px;
  background: radial-gradient(circle at 50% 34%, #340f38, #0c0c14 72%);
}
.scr-gameover .skull { font-size: 42px; line-height: 1; }
.jstep.in .scr-gameover .skull { animation: skullBob 1.7s ease-in-out infinite; }
.scr-gameover .go {
  font-family: var(--font-display); font-weight: 800;
  font-size: 21px; letter-spacing: .04em; color: #ff5a6e;
}
.scr-gameover .trig {
  font-family: var(--font-mono);
  font-size: 11px; line-height: 1.45;
  color: #ecd9ee;
  background: rgba(255,90,110,.12);
  border: 1px solid rgba(255,90,110,.35);
  border-radius: 8px; padding: 7px 9px;
}
.jstep.in .scr-gameover .trig { animation: trigPulse 1.3s ease-in-out infinite; }
.scr-gameover .trig strong { color: #ff8190; font-weight: 800; }
.jstep.in .scr-gameover .trig strong { animation: trigFlash 1.3s ease-in-out infinite; }

/* step 2 — push / lock screen */
.scr-push {
  padding: 16px 12px; gap: 4px;
  justify-content: flex-start;
  background: linear-gradient(180deg, #211842 0%, #0c0c14 100%);
}
.scr-push .lock-time {
  text-align: center; font-family: var(--font-display);
  font-weight: 800; font-size: 30px; margin-top: 14px;
}
.scr-push .lock-date {
  text-align: center; font-size: 10.5px; color: rgba(255,255,255,.6);
  margin-bottom: 12px;
}
.scr-push .notif {
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px; padding: 10px 11px;
  backdrop-filter: blur(4px);
}
.scr-push .notif-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.scr-push .notif-ic {
  width: 20px; height: 20px; border-radius: 5px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
}
.scr-push .notif-app {
  font-family: var(--font-display); font-weight: 700;
  font-size: 9.5px; letter-spacing: .12em; color: rgba(255,255,255,.85);
}
.scr-push .notif-now { margin-left: auto; font-size: 9px; color: rgba(255,255,255,.5); }
.scr-push .notif-title { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; margin-bottom: 2px; }
.scr-push .notif-body { font-size: 10.5px; line-height: 1.4; color: rgba(255,255,255,.78); }

/* step 3 — level cleared */
.scr-cleared {
  align-items: center; justify-content: center; text-align: center;
  gap: 12px; padding: 20px;
  background: radial-gradient(circle at 50% 34%, #0e3f2c, #0c0c14 72%);
}
.scr-cleared .conf { font-size: 40px; line-height: 1; }
.jstep.in .scr-cleared .conf { animation: skullBob 1.7s ease-in-out infinite; }
.scr-cleared .lc {
  font-family: var(--font-display); font-weight: 800;
  font-size: 20px; letter-spacing: .01em; color: #38e29d;
}
.scr-cleared .reward {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; color: #0c0c14;
  background: linear-gradient(135deg, #ffd76a, #ffb347);
  border-radius: 999px; padding: 6px 14px;
  box-shadow: 0 2px 0 0 rgba(0,0,0,.25);
}

@keyframes skullBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes trigPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes trigFlash {
  0%,100% { color: #ff8190; text-shadow: 0 0 0 transparent; }
  50% { color: #fff; text-shadow: 0 0 12px rgba(255,90,110,.85); }
}

@media (max-width: 900px) {
  .scenario-tabs { grid-template-columns: 1fr; }
  .journey-flow { grid-template-columns: 1fr; gap: 34px; }
  .jstep:not(:last-child)::after {
    content: '↓';
    top: auto; bottom: -27px; right: 50%;
    transform: translateX(50%);
  }
  .phone { max-width: 230px; }
}

/* ---------- pricing ---------- */
.pricing {
  background: var(--bg-2);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 54px 24px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 9px 0 0 rgba(10,10,20,.1); }
.price-card.featured {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 0 var(--accent);
}
.price-card.featured:hover { box-shadow: 0 9px 0 0 var(--accent); }
.price-card .tier {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 16px;
}
.price-card.featured .tier { color: var(--accent-4); }
.price-card .recommended {
  position: absolute; top: 22px; left: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 10px;
  background: var(--accent-2); color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  box-shadow: 2px 2px 0 0 rgba(255,90,60,.4);
}
.price-card h3 {
  font-size: 24px;
  margin-bottom: 4px;
  font-weight: 700;
}
.price-card.featured h3 { color: #fff; }
.price-card .price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 20px 0 8px;
}
.price-card .price small {
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  font-family: var(--font-body);
}
.price-card.featured .price small { color: rgba(255,255,255,.65); }
.price-card .sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.45;
}
.price-card.featured .sub { color: rgba(255,255,255,.7); }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 9px;
}
.price-card li {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 6px;
  border-left: 2px solid var(--accent-3);
  border-bottom: 2px solid var(--accent-3);
  transform: rotate(-45deg);
}
.price-card.featured li::before { border-color: var(--accent-4); }
.price-card .pick {
  margin-top: auto;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg-2);
  color: var(--ink);
  text-align: center;
  border: 1.5px solid var(--ink);
  transition: all .15s;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  box-shadow: 0 3px 0 0 rgba(10,10,20,.1);
}
.price-card .pick:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 0 rgba(10,10,20,.12);
}
.price-card.featured .pick {
  background: var(--accent-4);
  color: var(--ink);
  border-color: var(--accent-4);
  box-shadow: 0 3px 0 0 rgba(0,0,0,.3);
}
.price-card.featured .pick:hover {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 5px 0 0 rgba(0,0,0,.3);
}

@media (max-width: 1050px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-side h2 {
  font-size: clamp(36px, 4.8vw, 60px);
  margin-bottom: 22px;
}
.contact-side p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  position: relative;
  box-shadow: 0 6px 0 0 var(--accent), var(--shadow-2);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(74,45,255,.15);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.privacy-disclaimer {
  font-size: 12px;
  color: var(--muted);
  margin: 16px 0;
  line-height: 1.55;
}
.privacy-disclaimer a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.submit-btn {
  width: 100%;
  padding: 17px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 5px 0 0 rgba(74,45,255,.4);
}
.submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 0 rgba(74,45,255,.45);
}
.submit-btn:active { transform: translateY(0); box-shadow: 0 3px 0 0 rgba(74,45,255,.4); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
}
footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.55; }
.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--accent-4);
  margin: 0 0 18px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.8);
  padding: 5px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--accent-4); }
.footer-bottom {
  position: relative;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer { padding: 56px 0 24px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

/* ---------- legal ---------- */
.legal { padding: clamp(64px, 8vw, 120px) 0; }
.legal-inner { max-width: 780px; margin: 0 auto; padding: 0 var(--pad); }
.legal h1 {
  font-size: clamp(44px, 5.8vw, 72px);
  margin-bottom: 18px;
  font-weight: 800;
}
.legal .updated {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 48px;
  display: inline-block;
  padding: 6px 12px;
  background: rgba(74,45,255,.08);
  border-radius: 6px;
}
.legal h2 {
  font-size: 26px;
  margin: 44px 0 14px;
  font-weight: 700;
}
.legal h3 { font-size: 19px; margin: 28px 0 10px; font-weight: 700; }
.legal p, .legal li { color: var(--ink-soft); line-height: 1.65; font-size: 16px; margin: 0 0 14px; }
.legal ul { padding-left: 22px; }

/* ---------- thanks ---------- */
.thanks {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 64px var(--pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.thanks-inner { max-width: 680px; position: relative; z-index: 2; }
.thanks h1 {
  font-size: clamp(48px, 6.4vw, 88px);
  margin-bottom: 24px;
  font-weight: 800;
}
.thanks p {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.thanks .check-orb {
  width: 104px; height: 104px;
  margin: 0 auto 32px;
  background: var(--ink);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  position: relative;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 0 var(--accent);
  animation: orb-in .8s cubic-bezier(.34, 1.56, .64, 1) both;
}
.thanks .check-orb svg { width: 48px; height: 48px; }
@keyframes orb-in {
  0% { transform: scale(.4) rotate(-15deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.thanks-meta {
  margin-top: 52px;
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
}
.thanks-meta span {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 3px 3px 0 0 rgba(10,10,20,.1);
}

/* utility */
.hidden { display: none !important; }

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

/* ---------- full-width section heads ---------- */
.section-head--wide { max-width: none; width: 100%; }
.section-head--wide h2 { font-size: clamp(34px, 4.2vw, 58px); line-height: 1.1; }
.section-head--wide p { max-width: none; }
.section-head--wide.h2-xl h2 { font-size: clamp(44px, 6.8vw, 110px); }

/* ---------- language switch ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px;
  background: var(--bg-card);
}
.lang-switch a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 5px 9px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  transition: background .15s, color .15s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active { background: var(--ink); color: #fff; }
.mobile-lang { margin-top: 6px; align-self: flex-start; }
.footer-lang { margin-top: 18px; }
@media (max-width: 820px) {
  .nav .lang-switch { display: none; }
}

/* ---------- ai capabilities ---------- */
.ai-caps {
  background: var(--bg-2);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ai-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1.5px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 0 0 rgba(10,10,20,.08);
}
.ai-card:hover { transform: translateY(-4px); box-shadow: 0 8px 0 0 rgba(10,10,20,.1), var(--shadow-2); }
.ai-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.ai-card:nth-child(2) .ai-tag { background: var(--accent-2); }
.ai-card:nth-child(3) .ai-tag { background: var(--accent-3); }
.ai-card:nth-child(4) .ai-tag { background: var(--accent-5); }
.ai-card:nth-child(5) .ai-tag { background: var(--ink); }
.ai-card:nth-child(6) .ai-tag { background: var(--accent); }
.ai-card h3 { font-size: 22px; margin-bottom: 12px; font-weight: 700; }
.ai-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

@media (max-width: 980px) {
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .ai-grid { grid-template-columns: 1fr; }
}

/* ---------- thankyou invoice form ---------- */
.invoice-form {
  text-align: left;
  max-width: 640px;
  margin: 8px auto 0;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 6px 0 0 var(--accent), var(--shadow-2);
}
.invoice-form textarea { resize: vertical; min-height: 84px; }
.field label .opt { color: var(--muted); font-weight: 600; letter-spacing: 0; text-transform: none; }

.plan-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.plan-opt {
  display: flex; flex-direction: column; gap: 3px;
  text-align: left;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.plan-opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.plan-opt.selected { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(74,45,255,.16); }
.plan-opt .plan-name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.plan-opt .plan-price { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

.invoice-form .submit-btn { margin-top: 6px; }

.invoice-done {
  max-width: 560px;
  margin: 8px auto 0;
  text-align: left;
  background: var(--bg-card);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 6px 0 0 var(--accent-3), var(--shadow-2);
}
.invoice-done h3 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.invoice-done p { font-size: 16px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

@media (max-width: 560px) { .plan-picker { grid-template-columns: 1fr; } }
