:root{
  --bg: #0b0f14;
  --panel: #101723;
  --panel2:#0e141e;
  --text:#e8eef8;
  --muted:#aab6c7;
  --border: rgba(255,255,255,0.10);
  --accent:#ff3b3b;
  --accent2:#7cf7c2;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 16px;
  --max: 1100px;
  --focus: 2px solid rgba(255,59,59,0.9);
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(255,59,59,0.18), transparent 60%),
              radial-gradient(900px 600px at 85% 20%, rgba(124,247,194,0.12), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:none; }
.nav a:hover{ text-decoration:none; }

/* ── Link underline animation ── */
a:not(.btn):not(.brand){
  text-underline-offset: 3px;
}
a:not(.btn):not(.brand):hover{
  text-decoration: underline;
  text-decoration-color: rgba(255,59,59,0.6);
}

.container{ max-width:var(--max); margin:0 auto; padding:0 18px; }

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip-link:focus{ left:10px; outline:var(--focus); }

.site-header{ position:sticky; top:0; z-index:10; backdrop-filter: blur(10px); background:rgba(11,15,20,0.75); border-bottom:1px solid var(--border); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:16px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:0.2px; }
.brand-mark{
  width:34px; height:34px; display:grid; place-items:center;
  border-radius:12px; background:rgba(255,59,59,0.15); border:1px solid rgba(255,59,59,0.25);
}
.brand-name{ white-space:nowrap; }

.nav{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.nav a{ padding:8px 10px; border-radius:12px; transition: background 0.2s ease, color 0.2s ease; }
.nav a:hover{ background: rgba(255,255,255,0.05); text-decoration:none; }
.nav a:focus{ outline:var(--focus); outline-offset:3px; }

.banner{ border-top:1px solid var(--border); }
.banner-inner{ padding:10px 0; color:var(--muted); display:flex; gap:8px; flex-wrap:wrap; }
.banner strong{ color:var(--text); }

/* ── Hero ── */
.hero{ padding:44px 0 18px; position:relative; overflow:hidden; }

/* Faint grid overlay */
.hero::before{
  content:'';
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events:none;
  z-index:0;
}

/* Soft noise + vignette overlay */
.hero::after{
  content:'';
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,59,59,0.06) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 100%, rgba(124,247,194,0.04) 0%, transparent 60%);
  pointer-events:none;
  z-index:0;
}
.hero .container{ position:relative; z-index:1; }

.grid-2{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap:18px; align-items:start; }
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.eyebrow{ color:var(--muted); margin:0 0 8px; }
h1{ font-size: clamp(30px, 3.2vw, 46px); line-height:1.15; margin:0 0 12px; }
h2{ font-size: clamp(22px, 2.1vw, 30px); margin:0 0 12px; }
h3{ margin:0 0 8px; }
.lead{ font-size:1.12rem; color:var(--text); margin:0 0 16px; }
.muted{ color:var(--muted); }
.small{ font-size:0.92rem; }
.accent{ color:var(--accent); }
.cta-row{ display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 14px; }

/* ── Buttons ── */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid rgba(255,59,59,0.35);
  background: linear-gradient(180deg, rgba(255,59,59,0.22), rgba(255,59,59,0.10));
  color:var(--text);
  box-shadow: var(--shadow);
  font-weight:650;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover{
  text-decoration:none;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,59,59,0.2);
}
.btn:active{ transform: translateY(0); box-shadow: var(--shadow); }
.btn:focus{ outline:var(--focus); outline-offset:3px; }
.btn--ghost{
  background: rgba(255,255,255,0.04);
  border:1px solid var(--border);
  box-shadow:none;
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.ticks{ margin:16px 0 0; padding-left:18px; color:var(--muted); }
.note{ margin-top:14px; color:var(--muted); }

/* ── Cards ── */
.card{
  background: linear-gradient(180deg, rgba(16,23,35,0.92), rgba(14,20,30,0.92));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.18);
}
.card-list{ margin:10px 0 0; padding-left:18px; color:var(--muted); }
.mini-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }
.badge{ padding:6px 10px; border-radius:999px; background: rgba(255,255,255,0.05); border:1px solid var(--border); color:var(--muted); font-size:0.9rem; }

.section{ padding:34px 0; }
.section.alt{ background: rgba(255,255,255,0.02); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.steps{ margin:0; padding-left:18px; display:grid; gap:12px; }
.steps li{ padding:10px 0; }
.steps p{ margin:0; color:var(--muted); }
.codebox{ border-radius: 14px; border:1px solid var(--border); background: rgba(0,0,0,0.25); overflow:auto; }
pre{ margin:0; padding:14px; }
code{ color:#eaf2ff; }

/* ── Pricing cards ── */
.pricing .price-card{ position:relative; }
.price{ font-size:2rem; margin:8px 0 10px; }
.price-card ul{ margin:0; padding-left:18px; color:var(--muted); }
.price-card .pill{
  position:absolute; top:14px; right:14px;
  padding:6px 10px; border-radius:999px;
  background: rgba(124,247,194,0.12); border:1px solid rgba(124,247,194,0.25);
  color: var(--accent2); font-weight:650; font-size:0.9rem;
}
.featured{ border-color: rgba(255,59,59,0.35); box-shadow: 0 14px 40px rgba(255,59,59,0.10); }

.form .field{ margin-bottom:12px; }
label{ display:block; margin-bottom:6px; font-weight:650; }
input, select, textarea{
  width:100%; padding:10px 12px; border-radius:14px;
  border:1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
input:focus, select:focus, textarea:focus{ outline:var(--focus); outline-offset:2px; border-color: rgba(255,59,59,0.5); }
.hint{ margin:6px 0 0; color:var(--muted); font-size:0.92rem; }
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.form-status{ margin-top:10px; min-height:22px; color:var(--muted); }
.output-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.output-actions{ display:flex; gap:8px; flex-wrap:wrap; }
#summary{ margin-top:10px; width:100%; resize:vertical; min-height:320px; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }
.divider{ height:1px; background:var(--border); margin:14px 0; }
.stripe-placeholder{ display:flex; align-items:flex-start; gap:10px; flex-wrap:wrap; }
.stripe-placeholder .btn{ opacity:0.6; cursor:not-allowed; }
.stripe-placeholder .hint{ margin:0; }

.site-footer{ padding:26px 0; border-top:1px solid var(--border); }
.footer-inner{ display:flex; flex-direction:column; gap:6px; }

/* ═══════════════════════════════════════════
   REVEAL ON SCROLL
   Only applies when JS is active (.js on <html>)
═══════════════════════════════════════════ */
.js .reveal{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}
.js .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   ACCESSIBILITY — REDUCED MOTION
═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce){
  .js .reveal,
  .js .reveal.is-visible{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn,
  .card,
  .nav a,
  input, select, textarea{
    transition: none !important;
  }
  .hero::before,
  .hero::after{
    display: none;
  }
}

@media (max-width: 900px){
  .grid-2{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .nav{ justify-content:flex-start; }
}