/* What to Play — marketing site (FF #556).
   Game-night theme: tabletop indigo + lamplight amber on near-black,
   matching the app's MD3 dark tokens. */

:root {
  --bg: #14131f;
  --bg-soft: #1d1c2b;
  --card: #222132;
  --border: rgba(180, 168, 255, 0.16);
  --text: #f4f1ff;
  --muted: #b9b4d0;
  --primary: #b4a8ff;
  --primary-deep: #5247b8;
  --accent: #ffc95c;
  --radius: 16px;
  --maxw: 1080px;
  --narrow: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); }
.center { text-align: center; }
.muted { color: var(--muted); }
.micro { color: var(--muted); font-size: 0.875rem; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-title { text-align: center; margin-bottom: 2rem; }

a { color: var(--primary); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(20, 19, 31, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; margin-right: auto; }
.brand-dice { margin-right: 4px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary-deep); color: #fff; box-shadow: 0 4px 24px rgba(82, 71, 184, 0.45); }
.btn-accent { background: var(--accent); color: #231a05; }
.btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 80%;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(82, 71, 184, 0.35), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  color: var(--accent); font-weight: 700; margin-bottom: 1rem;
}
.lede { font-size: 1.25rem; color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }

/* Positioning strip */
.positioning { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 0; text-align: center; }
.positioning p { color: var(--muted); font-size: 1.1rem; }
.positioning strong { color: var(--text); }

/* Sections + cards */
.section { padding: 80px 0; }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.steps, .grid { display: grid; gap: 20px; }
.steps { grid-template-columns: repeat(3, 1fr); }
.grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 1rem;
}
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Bundle strip */
.bundle { background: linear-gradient(135deg, #2a2350, #1d1c2b 70%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bundle-inner { display: flex; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.bundle-inner > div { flex: 1 1 320px; }
.bundle-inner p { color: var(--muted); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto 1rem; }
.plan { display: flex; flex-direction: column; }
.plan-highlight { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 8px 40px rgba(255, 201, 92, 0.12); position: relative; }
.plan-tag {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent); color: #231a05; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 12px; border-radius: 999px;
}
.price { font-size: 2.5rem; font-weight: 800; margin: 0.25em 0 0; }
.price-per { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-sub { color: var(--muted); font-size: 0.9rem; margin: 0 0 1rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.plan li { padding: 6px 0 6px 28px; position: relative; color: var(--muted); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* Waitlist form */
.waitlist-section { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.form { max-width: 520px; margin: 2rem auto 0; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--primary); border-color: var(--primary);
}
.honeypot { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-size: 0.95rem; }
.form-status.success { color: var(--accent); }
.form-status.error { color: #ff9d9d; }
.form-status a { color: var(--primary); }

/* FAQ */
.faq { margin-bottom: 12px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.faq summary::marker { color: var(--accent); }
.faq p { color: var(--muted); margin: 0.75rem 0 0; }

/* Footer */
footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
