:root {
  color-scheme: dark;
  --bg: #030712;
  --surface: #0a0f1d;
  --surface-2: #111827;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --ink: #ffffff;
  --text: #d1d5db;
  --muted: #9ca3af;
  --dim: #6b7280;
  --pink: #ff1492;
  --pink-btn: #e6007a;
  --pink-soft: rgba(255, 20, 146, .14);
  --green: #34d399;
  --radius: 16px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; max-width: 18em; }
h3 { font-size: 1.08rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.fine { font-size: .9rem; color: var(--dim); }
.grad { background: linear-gradient(90deg, #ff4fae, #ffc4e4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono-label { font: 500 .74rem/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0; }
.eyebrow { font: 500 .8rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pink); margin-bottom: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 .98rem var(--sans);
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink-btn); color: #fff; box-shadow: 0 0 32px -6px rgba(255, 20, 146, .65); }
.btn-primary:hover { box-shadow: 0 0 44px -4px rgba(255, 20, 146, .8); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.btn-light { background: #fff; color: #030712; }
.btn-small { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(3, 7, 18, .78); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 28px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.nav { display: flex; gap: 28px; margin: 0 auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .92rem; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto; height: 760px;
  background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(190, 0, 100, .42), transparent 70%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 15%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 15%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; color: var(--text);
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 20, 146, .3); background: rgba(255, 20, 146, .08);
  margin-bottom: 26px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.works-with { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.works-with .mono-label { margin-right: 6px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; color: var(--text);
  padding: 6px 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
}
.chip em { font-style: normal; font: .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.chip.on { border-color: rgba(255, 20, 146, .45); color: var(--ink); }
.chip.on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* Product window */
.window {
  margin: 0;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, #0d1324, #070b17);
  box-shadow: 0 40px 100px -40px rgba(255, 20, 146, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3142; }
.window-bar span { margin: 0 auto; font: .72rem var(--mono); color: var(--dim); padding: 3px 40px; border-radius: 6px; background: rgba(255, 255, 255, .04); }
.window-body { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 340px; }
.chat { padding: 20px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid var(--line); }
.bubble { font-size: .88rem; line-height: 1.5; padding: 12px 14px; border-radius: 14px; }
.bubble.me { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.bubble.ai { background: var(--pink-soft); color: #ffe1f0; border: 1px solid rgba(255, 20, 146, .3); }
.checks { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font: .82rem var(--mono); color: var(--text); }
.checks b { color: var(--green); margin-right: 8px; }
.checks .live { color: var(--ink); }
.checks .live b { color: var(--pink); text-shadow: 0 0 10px var(--pink); }
.url { margin: auto 0 0; font: 500 .74rem var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--pink); padding: 10px 12px; border-radius: 10px; border: 1px dashed rgba(255, 20, 146, .4); }

/* Sections */
.section { position: relative; padding: 104px 0; border-top: 1px solid var(--line); }
.section.dots { background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px; }

.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.flow li { padding: 28px 24px; position: relative; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li + li::before { content: "→"; position: absolute; left: -11px; top: 26px; width: 22px; height: 22px; display: grid; place-items: center; font-size: .75rem; color: var(--pink); background: var(--bg); border: 1px solid var(--line); border-radius: 50%; }
.flow .mono-label { color: var(--pink); }
.flow h3 { margin-top: 14px; }
.flow p { color: var(--muted); font-size: .94rem; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.card { background: rgba(10, 15, 29, .92); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s ease, transform .2s ease; }
.card:hover { border-color: rgba(255, 20, 146, .4); transform: translateY(-2px); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); font-size: .94rem; margin: 0; }

.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stack { display: grid; gap: 12px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 18px 20px; }
.tier.accent { border-color: rgba(255, 20, 146, .45); background: linear-gradient(180deg, rgba(255, 20, 146, .1), rgba(255, 20, 146, .03)); box-shadow: 0 0 60px -20px rgba(255, 20, 146, .45); }
.tier.accent .mono-label { color: var(--pink); }
.tier-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 44px 0 20px; }
.plan { position: relative; background: rgba(10, 15, 29, .95); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plan.featured { border-color: var(--pink); box-shadow: 0 0 60px -24px rgba(255, 20, 146, .7); }
.plan .tag { position: absolute; top: -12px; left: 24px; margin: 0; font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--pink-btn); padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price { color: var(--ink); font-size: 2.1rem; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 20px; }
.price small { font-size: .88rem; font-weight: 400; color: var(--dim); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .93rem; }
.plan li::before { content: "✓"; color: var(--pink); margin-right: 10px; }

.signup { overflow: hidden; }
.signup-glow { position: absolute; inset: auto 0 -40% 0; height: 80%; background: radial-gradient(ellipse 55% 60% at 50% 100%, rgba(190, 0, 100, .35), transparent 70%); pointer-events: none; }
.signup-grid { position: relative; display: grid; grid-template-columns: 1fr 440px; gap: 64px; align-items: start; }
.mini-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.mini-steps li { display: flex; align-items: center; gap: 14px; color: var(--text); }
.mini-steps span { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font: .78rem var(--mono); color: var(--ink); }
.form-card { background: rgba(10, 15, 29, .95); border: 1px solid var(--line-strong); border-radius: 20px; padding: 28px; display: grid; gap: 8px; }
.form-card label { font-size: .88rem; color: var(--text); margin-top: 8px; }
.form-card label span { color: var(--dim); }
.form-card input { font: 1rem var(--sans); color: var(--ink); background: #050a17; border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; }
.form-card input::placeholder { color: #4b5563; }
.form-card input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 20, 146, .25); }
.form-card .btn { margin-top: 16px; }
.form-msg { min-height: 1.5em; margin: 6px 0 0; font-size: .92rem; text-align: center; color: var(--green); }
.form-msg.error { color: #fda4af; }
.hp { position: absolute; left: -9999px; }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--ink); font-weight: 500; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font: 1.2rem var(--mono); line-height: 1; }
details[open] summary::after { content: "−"; color: var(--pink); }
details p { color: var(--muted); margin: 12px 0 0; }

.closing { position: relative; overflow: hidden; text-align: center; padding: 110px 0 0; border-top: 1px solid var(--line); }
.closing-line { color: var(--ink); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; max-width: 22em; margin: 0 auto 28px; }
.wordmark {
  display: flex; align-items: center; justify-content: center; gap: .18em;
  margin: 80px 0 -0.18em; white-space: nowrap;
  font-size: clamp(3.2rem, 12.5vw, 11rem); font-weight: 700; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .02));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.wordmark img { width: .8em; height: .8em; opacity: .35; }

.foot { border-top: 1px solid var(--line); padding: 26px 0; font-size: .88rem; color: var(--dim); }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 980px) {
  .hero-inner, .stack-grid, .signup-grid { grid-template-columns: 1fr; gap: 48px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { border-left: 0; }
  .flow li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow li:nth-child(3)::before { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .window-body { grid-template-columns: 1fr; }
  .chat { border-right: 0; border-bottom: 1px solid var(--line); }
  .flow, .cards, .plans { grid-template-columns: 1fr; }
  .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
  .flow li + li::before { display: none; }
  .cta-row .btn { width: 100%; }
  .form-card { padding: 22px; }
}
