/* The product's main page (www.totalbowler.com). Colours from the logo: the lane's navy, the purple ball, the
   pin's red stripes, and the lane's wood. */
:root {
  --navy-950: #0c1226;
  --navy-900: #121b38;
  --navy-800: #1b2a57;
  --navy-700: #26386f;
  --purple: #6a3df0;
  --purple-600: #5a2fdc;
  --purple-200: #cdbfff;
  --purple-50: #f3efff;
  --red: #e0353f;
  --wood: #f4ece0;
  --ink: #171c33;
  --muted: #59607c;
  --line: #e4e1f0;
  --bg: #fbfaff;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(12, 18, 38, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--purple-600); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--purple-200); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px;
  font-weight: 650; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px -10px rgba(106, 61, 240, .8); }
.btn-primary:hover { background: var(--purple-600); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; }
.btn-soon { background: rgba(255, 255, 255, .08); color: #dfe4ff; border: 1.5px dashed rgba(255, 255, 255, .3); cursor: default; }
.btn-soon:hover { transform: none; }

/* ── Hero: the lane ──────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(106, 61, 240, .35), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .045) 46px 48px),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { color: #cfd6f5; text-decoration: none; font-size: .95rem; }
.nav-links a:not(.btn):hover { color: #fff; }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; padding: 56px 0 96px; }
.eyebrow { display: inline-block; padding: .3em .9em; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--purple-200); font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.05; letter-spacing: -.03em; margin: 18px 0 20px; font-weight: 850; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #b9a6ff, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: #cfd6f5; max-width: 34em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-shot { position: relative; justify-self: center; }
.badge-float {
  position: absolute; left: -42px; bottom: 64px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow); font-size: .9rem; line-height: 1.3;
}
.badge-float i { color: #1f9d55; font-size: 1.4rem; }
.badge-float b { display: block; font-size: 1.05rem; }

/* ── A phone ─────────────────────────────────────────────────────────────── */
.phone {
  width: 290px; aspect-ratio: 9 / 18.5; overflow: hidden;
  border: 11px solid var(--navy-950); border-radius: 42px; background: #fff;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero .phone { transform: rotate(2.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }

/* ── Sections ────────────────────────────────────────────────────────────── */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2, .feature h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; margin: 10px 0 14px; font-weight: 800; }
.section-head p, .feature p { color: var(--muted); margin: 0; }
.kicker { color: var(--purple); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; background: var(--purple-50); color: var(--purple); font-weight: 800;
}
.step h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

.features { background: #fff; border-block: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-text { order: 2; }
.feature-media { display: flex; justify-content: center; }
.feature ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 12px; align-items: baseline; }
.feature li i { color: var(--purple); width: 1.1em; flex: none; }
.feature .note { font-size: .88rem; margin-top: 14px; }

.lane-card {
  width: 210px; padding: 12px; border-radius: 24px;
  background: linear-gradient(180deg, var(--wood), #efe4d2); box-shadow: var(--shadow);
}
.lane-card img { border-radius: 12px; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--purple-50); color: var(--purple); font-size: 1.2rem; margin-bottom: 16px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Closing band and footer ─────────────────────────────────────────────── */
.band {
  color: #fff; text-align: center;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(106, 61, 240, .45), transparent 70%),
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
}
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 12px; letter-spacing: -.02em; }
.band p { color: #cfd6f5; max-width: 560px; margin: 0 auto 28px; }
.band .cta { justify-content: center; }

footer { background: var(--navy-950); color: #8e97bd; font-size: .9rem; padding: 28px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer a { color: #cfd6f5; text-decoration: none; }
footer .brand { font-size: 1rem; }
footer .brand img { width: 28px; height: 28px; }

/* ── Not found ───────────────────────────────────────────────────────────── */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.lost .brand { justify-content: center; margin-bottom: 28px; }
.lost h1 { font-size: 2.4rem; margin: 0 0 8px; }
.lost p { color: #cfd6f5; margin: 0 0 28px; }

/* ── Coming soon ─────────────────────────────────────────────────────────── */
.soon-logo { width: 120px; height: 120px; margin: 0 auto 24px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.lost .soon-name { font-size: clamp(2.6rem, 8vw, 4.2rem); letter-spacing: -.03em; font-weight: 850; margin: 0 0 6px; }
.soon-text { font-size: clamp(1.3rem, 4vw, 1.8rem); color: var(--purple-200); margin: 0; letter-spacing: .02em; }

/* ── Smaller screens ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .feature { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { padding: 24px 0 72px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta { justify-content: center; }
  .feature.flip .feature-text { order: 0; }
  .feature + .feature { margin-top: 80px; }
  .steps { grid-template-columns: 1fr; }
  .badge-float { left: -16px; bottom: 40px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 72px 0; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid4 { grid-template-columns: 1fr; }
  .phone { width: 250px; }
  .badge-float { left: 50%; transform: translateX(-50%); bottom: -22px; white-space: nowrap; }
  footer .wrap { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
