/* Change these to make the template yours. */
:root {
  --bg: #ffffff;
  --panel: #fafafa;
  --ink: #0a0a0a;
  --muted: #6b6b6b;
  --line: #ebebeb;
  --accent: #0a0a0a;
  --on-accent: #ffffff;
  --glow: linear-gradient(90deg, #c7d2fe, #e9d5ff 50%, #fbcfe8);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
}
:root[data-theme="dark"] {
  --bg: #000000;
  --panel: #0c0c0c;
  --ink: #ededed;
  --muted: #8f8f8f;
  --line: #1f1f1f;
  --accent: #ededed;
  --on-accent: #000000;
  --glow: linear-gradient(90deg, #1e3a8a, #581c87 50%, #831843);
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); letter-spacing: -0.006em; }
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.brand i { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--muted); cursor: pointer; }
.icon-button:hover { background: var(--panel); color: var(--ink); }
.icon-button svg { width: 18px; height: 18px; }
:root[data-theme="dark"] .moon, :root:not([data-theme="dark"]) .sun { display: none; }

.hero { position: relative; padding: 88px 0 0; text-align: center; overflow: hidden; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--bg); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
h1 { margin: 22px auto 18px; max-width: 820px; font-size: clamp(40px, 6.4vw, 78px); line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; text-wrap: balance; }
.hero p.lead { margin: 0 auto 32px; max-width: 520px; font-size: 19px; color: var(--muted); text-wrap: pretty; }

form { max-width: 460px; margin: 0 auto; }
.join { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -16px rgba(0, 0, 0, 0.18); }
.join input { flex: 1; min-width: 0; border: 0; background: none; padding: 0 12px; color: var(--ink); font: inherit; outline: none; }
.join:focus-within { border-color: var(--ink); }
.button { height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); font: 500 15px var(--font); cursor: pointer; white-space: nowrap; }
.button:disabled { opacity: 0.6; cursor: default; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.status { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; border: 1px solid var(--line); background: var(--bg); }
.status[data-kind="ok"] { color: #15803d; border-color: rgba(21, 128, 61, 0.35); }
.status[data-kind="error"] { color: #c8312b; border-color: rgba(200, 49, 43, 0.35); }

/* Product preview: swap for a screenshot of your product. */
.preview { position: relative; max-width: 880px; margin: 72px auto 0; }
.preview::before { content: ""; position: absolute; inset: -40px -20px auto; height: 70%; background: var(--glow); filter: blur(70px); opacity: 0.8; z-index: -1; }
.window { border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--bg); overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.25); text-align: left; }
.bar { display: flex; gap: 7px; align-items: center; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.canvas { display: grid; grid-template-columns: 200px 1fr; min-height: 300px; }
.canvas aside { border-right: 1px solid var(--line); padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--panel); }
.skeleton { height: 10px; border-radius: 5px; background: var(--line); }
.canvas main { padding: 24px; display: grid; gap: 14px; align-content: start; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cards div { height: 84px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.chart { height: 120px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(180deg, transparent 60%, var(--panel)); }

section { padding: 88px 0; border-top: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: 14px; padding: 24px; background: var(--panel); }
.feature span { font: 12px var(--mono); color: var(--muted); }
.feature h3 { margin: 10px 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; }
.feature p { margin: 0; font-size: 15px; color: var(--muted); }
h2 { margin: 0 0 40px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; }
.faq { max-width: 720px; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .features, .cards { grid-template-columns: 1fr; } .canvas { grid-template-columns: 1fr; } .canvas aside { display: none; } .join { flex-direction: column; } .join input { height: 44px; } .hero { padding-top: 56px; } }
