/* Generated by scripts/build-demos.mjs — edit that file, not this one. */
:root {
  --bg: #121014;
  --surface: #1b181e;
  --edge: #322c38;
  --text: #f2ede4;
  --muted: #a59d92;
  --accent: #f0a028;
  --display: "Fraunces", Georgia, serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  min-height: 100vh;
  background: radial-gradient(1100px 700px at 70% -10%, #1e1a22 0%, var(--bg) 60%);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 1.5rem;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.14; letter-spacing: -0.01em; }

.head { text-align: center; max-width: 40rem; margin-bottom: 1.6rem; }
.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem;
}
.head h1 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 0.6rem; }
.head h1 .script { font-style: italic; color: var(--accent); }
.head p { color: var(--muted); font-size: 0.98rem; }

/* ---- chooser ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; width: min(920px, 100%); }
.card {
  display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.6rem 1.5rem; background: var(--surface);
  border: 1px solid var(--edge); border-radius: 20px;
  transition: transform 160ms ease, border-color 160ms ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--card-accent, var(--accent)); }
.card-soon { opacity: 0.62; }
.card-soon:hover { transform: none; border-color: var(--edge); }
.card-soon .card-cta { color: var(--muted); font-weight: 600; font-size: 0.78rem; }
.card-top { display: flex; align-items: center; gap: 0.9rem; }
.card-chip {
  width: 46px; height: 46px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.25rem;
  color: var(--card-screen, #fff); background: var(--card-accent, var(--accent));
}
.card-chip.script { font-style: italic; }
.card h2 { font-size: 1.35rem; }
.card-tagline { font-size: 0.8rem; color: var(--muted); }
.card p.blurb { color: var(--muted); font-size: 0.92rem; }
.card-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 0.6rem; border-top: 1px solid var(--edge); }
.card-stack { font-size: 0.76rem; color: var(--muted); letter-spacing: 0.02em; }
.card-cta { font-weight: 700; font-size: 0.9rem; color: var(--card-accent, var(--accent)); white-space: nowrap; }

/* ---- device ---- */
.stage { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.phone-scale { transform-origin: top center; }
.phone {
  position: relative; width: 466px; height: 968px; border-radius: 72px; padding: 18px;
  background: linear-gradient(145deg, #4a4a4f, #1c1c20 55%, #3a3a40);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55), inset 0 0 3px rgba(255,255,255,0.25);
}
.phone::before, .phone::after { content: ""; position: absolute; background: #2a2a2e; border-radius: 3px; }
.phone::before { left: -3px; top: 210px; width: 4px; height: 62px; box-shadow: 0 82px 0 #2a2a2e, 0 -66px 0 0 #2a2a2e; }
.phone::after { right: -3px; top: 268px; width: 4px; height: 92px; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 54px; overflow: hidden; background: var(--screen, #111); }
.screen iframe { width: 100%; height: 100%; border: 0; display: block; }
.island {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 126px; height: 37px; border-radius: 999px; background: #000; z-index: 2; pointer-events: none;
}
.hint { color: var(--muted); font-size: 0.85rem; text-align: center; max-width: 30rem; }
.hint a { color: var(--accent); font-weight: 700; }
.hint a:hover { text-decoration: underline; }
.tip { display: block; margin-top: 0.35rem; font-size: 0.74rem; color: #7d766e; }

.foot {
  display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap;
  margin-top: 1.8rem; font-size: 0.8rem; color: var(--muted);
}
.foot a:hover { color: var(--accent); }

@media (max-width: 740px) {
  body { padding: 1.2rem 0.6rem 1.4rem; }
  .head { margin-bottom: 1rem; }
  .head h1 { font-size: 1.9rem; }
  .head p { font-size: 0.86rem; }
}
