:root {
  --bg: #0a0a0f;
  --bg-soft: #111118;
  --card: #15151f;
  --line: #232331;
  --text: #f4f4f8;
  --muted: #9a9ab0;
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --yellow: #ffd60a;
  --radius: 18px;
  --max: 980px;
  --prose: 540px;      /* centered body paragraphs */
  --caption: 260px;    /* tight meta line under a button */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1100px 700px at 50% -220px, rgba(139,92,246,0.12), transparent 70%),
    linear-gradient(180deg, #0c0c15 0%, #08080d 100%);
  background-color: var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.logo-slash { margin: 0 -0.04em; }

/* ---------- sparkle helpers ---------- */
.price-star, .brand-star, .cap-star, .star { fill: currentColor; }
.cap-star { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; }
.cap-star.awake { color: var(--yellow); filter: drop-shadow(0 0 4px rgba(255,214,10,0.6)); }
.cap-star.sleep { color: #8a8a9c; }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max); margin: 0 auto;
  padding: 18px 24px;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: 'Prompt', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand-star { width: 16px; height: 16px; color: var(--yellow); }
.nav-buy {
  font-weight: 600; font-size: 14px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .2s ease, background .2s ease;
}
.nav-buy:hover { border-color: var(--violet); background: rgba(139,92,246,0.12); }

/* ---------- layout ---------- */
section { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- hero ---------- */
.hero { position: relative; text-align: center; padding-top: 64px; padding-bottom: 96px; }
.glow {
  position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 760px; height: 620px; max-width: 120vw;
  background: radial-gradient(circle at 50% 35%, rgba(139,92,246,0.45), rgba(59,130,246,0.22) 38%, transparent 68%);
  filter: blur(20px); z-index: -1; pointer-events: none;
}
.hero-icon {
  width: 160px; height: 160px; border-radius: 42px; corner-shape: squircle;
  box-shadow: 0 24px 70px rgba(91,61,212,0.45);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-10px) } }
.eyebrow {
  margin-top: 30px; text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
h1 {
  margin-top: 32px; font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05; letter-spacing: -0.03em; font-weight: 700;
}
h1 em { color: transparent; background: linear-gradient(100deg, var(--violet), var(--blue)); -webkit-background-clip: text; background-clip: text; }
.lede { max-width: var(--prose); margin: 24px auto 0; font-size: 18px; color: var(--muted); text-wrap: balance; }
.cta-row { margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.trust { font-size: 13px; color: var(--muted); max-width: var(--caption); text-align: center; line-height: 1.5; text-wrap: balance; }

/* ---------- buttons (flat, minimal) ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 16px; corner-shape: squircle; cursor: pointer;
  transition: filter .2s ease, background .2s ease, border-color .2s ease, transform .1s ease;
}
.btn-primary { color: #fff; background: var(--violet); font-size: 16px; padding: 14px 30px; }
.btn-primary:hover { filter: brightness(1.09); }
.btn-primary:active { transform: scale(0.98); }
.btn-star { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 8px; }
.btn-lg { font-size: 16px; padding: 13px 28px; }
.btn-ghost { color: var(--text); background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--muted); background: rgba(255,255,255,0.04); }
.btn-ghost:active { transform: scale(0.98); }
.gh-mark { width: 16px; height: 16px; fill: currentColor; vertical-align: -3px; margin-right: 8px; }
.price-card .btn-gh { margin-top: 30px; }

/* ---------- showcase: menu bar + dropdown ---------- */
.showcase { padding-top: 4px; padding-bottom: 72px; }
.screen {
  position: relative; max-width: 760px; height: 410px; margin: 0 auto;
}
.menubar {
  position: absolute; top: 0; left: 0; right: 0; height: 30px;
  display: flex; align-items: center; justify-content: flex-end; gap: 15px;
  padding: 0 28px; color: #dadae4;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.09);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 97%, transparent 100%);
}
.mb-glyph { height: 13px; width: auto; fill: currentColor; opacity: 0.85; }
.mb-highlight { display: inline-grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; background: rgba(255,255,255,0.18); }
.mb-star { width: 15px; height: 15px; color: var(--yellow); filter: drop-shadow(0 0 5px rgba(255,214,10,0.7)); }
.mb-clock { font-size: 12.5px; color: #dadae4; }
.menu {
  position: absolute; top: 38px; right: 104px; width: 270px;
  background: rgba(32,32,40,0.72); backdrop-filter: blur(26px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; corner-shape: squircle;
  padding: 5px; box-shadow: 0 24px 56px rgba(0,0,0,0.55); font-size: 13px;
}
.mi { display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 6px; color: #f1f1f6; }
.mi-check { width: 13px; text-align: center; font-size: 12px; flex: none; }
.mi-label { flex: 1; white-space: nowrap; }
.mi-kbd { color: #a2a2b2; font-size: 12px; }
.mi-warn .mi-label { color: #f0b73a; font-size: 12px; }
.mi-sep { height: 1px; margin: 5px 9px; background: rgba(255,255,255,0.1); }
.showcase-cap { text-align: center; color: var(--muted); font-size: 14px; margin-top: 18px; }

/* ---------- highlights + use-case bites (no boxes, just emoji) ---------- */
.bites {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding-top: 24px; padding-bottom: 44px; text-align: left;
}
.bite { padding: 8px 6px; }
.bite .emoji { font-size: 30px; line-height: 1; display: block; margin-bottom: 12px; }
.bite h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; color: #c6c6d2; }
.bite h4 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 6px; color: #c6c6d2; }
.bite p { font-size: 15px; color: var(--muted); }
.bite.sm .emoji { font-size: 26px; margin-bottom: 10px; }
.bite.sm p { font-size: 14px; }

/* ---------- use cases ---------- */
.usecases { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.usecases h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; }
.usecases-sub { color: var(--muted); margin: 10px auto 40px; max-width: var(--prose); }
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; }
@media (max-width: 760px) { .uc-grid { grid-template-columns: 1fr; } }

/* ---------- how ---------- */
.how { padding-top: 64px; padding-bottom: 64px; }
.how h2, .faq h2 { text-align: center; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; margin-bottom: 40px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: var(--max); margin: 0 auto; }
.steps li { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.num {
  flex: none; font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em;
  color: transparent; background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text;
}
.steps h4 { font-size: 17px; margin-bottom: 2px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- buy ---------- */
.buy { padding-top: 32px; padding-bottom: 80px; }
.price-card {
  position: relative; text-align: center; max-width: 420px; margin: 0 auto;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 30px; corner-shape: squircle; padding: 48px 32px;
  box-shadow: 0 30px 80px rgba(91,61,212,0.18);
}
.price-star { width: 0.62em; height: 0.62em; color: var(--yellow); fill: currentColor; flex: none; }
.price { font-size: 80px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; display: flex; align-items: center; justify-content: center; gap: 0.16em; }
.price-sub { color: var(--muted); margin-top: 10px; margin-bottom: 38px; font-size: 13px; }
.price-meta { margin: 18px auto 0; max-width: var(--caption); font-size: 13px; color: var(--muted); line-height: 1.5; text-wrap: balance; }
.price-brew { margin: 22px auto 0; font-size: 13px; color: var(--muted); }
.price-brew code {
  display: block; margin-top: 9px; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; corner-shape: squircle;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px; color: var(--text); user-select: all;
  overflow-x: auto; white-space: nowrap;
}

/* ---------- faq ---------- */
.faq { padding-top: 32px; padding-bottom: 80px; }
.faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 12px; }
details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; corner-shape: squircle; padding: 4px 20px; transition: border-color .2s ease;
}
details[open] { border-color: #34344a; }
summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 16px;
  padding: 16px 0; display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-size: 22px; font-weight: 400; transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); font-size: 15px; padding-bottom: 18px; }

/* ---------- footer ---------- */
.footer {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 24px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 14px;
}
.brand-sm { font-size: 15px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { transition: color .2s ease; }
.footer-links a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .bites { grid-template-columns: 1fr; }
  .footer { flex-direction: column; gap: 12px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .btn-primary:hover { transform: none; }
}

/* ---------- price-card quiet link ---------- */
.price-card .ghost-link { display: inline-block; margin-top: 18px; }
.ghost-link { font-size: 13px; color: var(--muted); transition: color .2s ease; }
.ghost-link:hover { color: var(--text); }

/* ---------- tip bar (quiet, separate, near the bottom) ---------- */
.tipbar { text-align: center; padding: 4px 24px 64px; }
.tip-pitch { font-size: 15px; color: var(--muted); max-width: var(--prose); margin: 0 auto 18px; text-wrap: balance; }
.tip-spk { font-size: 0.92em; }
.tip-star { width: 13px; height: 13px; color: var(--violet); fill: currentColor; vertical-align: -2px; margin-right: 7px; }

/* showcase menu: dimmed status line (no permanent highlight — native menus rest unselected) */
.mi-dim .mi-label { color: var(--muted); font-size: 12px; }
