:root {
  --bg: #ffffff;
  --fg: #1c1c1e;
  --muted: #6e6e73;
  --card: #f5f5f7;
  --accent: #d64528;
  --line: #e5e5ea;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --card: #1c1c1e;
    --line: #2c2c2e;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}

a { color: var(--accent); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
  text-decoration: none;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--fg); }

.hero {
  text-align: center;
  padding: 72px 0 48px;
}
.hero img.icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 24px 0 8px; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 620px; margin: 0 auto 28px; }

.button {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  padding: 12px 22px;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.launch-note {
  display: block;
  margin: 14px auto 0;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--card);
  font-weight: 600;
}
.launch-note[hidden] { display: none; }
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(242, 102, 13, 0.45), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(140, 64, 217, 0.45), transparent 70%),
    linear-gradient(160deg, #0d3b2e, #0a1f19);
}
.hero h1 { letter-spacing: -0.02em; }
.hero p { color: rgba(255, 255, 255, 0.78); margin-bottom: 14px; }
.hero p.tagline { font-size: 1.5rem; font-weight: 700; color: #f2660d; margin-bottom: 22px; }
.hero p.kicker { color: #fff; font-weight: 700; margin: 22px auto 28px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero .button.secondary, .button.secondary {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 2px currentColor;
}
.story { max-width: 720px; margin: 0 auto; padding: 48px 0 16px; font-size: 1.08rem; }
.story h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.01em; margin: 0 0 16px; }
.story h3 { font-size: 1.3rem; margin: 32px 0 10px; color: #8c40d9; }
.story p { margin: 0 0 14px; }
.story .kicker { font-weight: 700; color: #f2660d; margin-top: 22px; }
.story .eyebrow { margin: 0 0 6px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.85rem; color: #0d664d; }
.story.closing { text-align: center; padding-bottom: 72px; }
.story.closing .actions { margin-top: 24px; }
.story.closing .button { background: #f2660d; color: #fff; }
.story.closing .button.secondary { background: transparent; color: #f2660d; }
.section-title { text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 40px 0 0; }
.hero .soon, .hero .soon a { color: rgba(255, 255, 255, 0.7); }
.hero .button {
  background: #f2660d;
  color: #fff;
  box-shadow: 0 8px 22px rgba(242, 102, 13, 0.45);
  transition: transform 0.15s ease;
}
.hero .button:hover { transform: translateY(-2px); }
.hero { padding: 72px 24px 48px; }
.road { display: flex; height: 10px; margin: 56px -24px -48px; }
.road i { flex: 1; }
.road i:nth-child(1) { background: #4d1a8c; }
.road i:nth-child(2) { background: #8c40d9; }
.road i:nth-child(3) { background: #8c5c26; }
.road i:nth-child(4) { background: #c2852e; }
.road i:nth-child(5) { background: #f2660d; }
.road i:nth-child(6) { background: #0d664d; }
.road i:nth-child(7) { background: #d11a1a; }
.screens {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 8px 0 48px;
}
.phone { margin: 0; text-align: center; }
.phone img {
  width: 260px;
  border-radius: 36px;
  border: 8px solid #111;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  display: block;
}
.phone figcaption { margin-top: 14px; font-weight: 600; color: var(--muted); }
.tilt-left img { transform: rotate(-3deg); }
.tilt-right img { transform: rotate(3deg); }
.feature { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08); }
@media (prefers-reduced-motion: reduce) {
  .tilt-left img, .tilt-right img, .feature:hover { transform: none; }
}
.soon { display: block; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  padding: 24px 0 64px;
}
.feature {
  background: var(--card);
  border-radius: 16px;
  padding: 22px;
  border-top: 5px solid var(--c, var(--accent));
}
.feature:nth-child(1) { --c: #8c40d9; }
.feature:nth-child(2) { --c: #f2660d; }
.feature:nth-child(3) { --c: #4d1a8c; }
.feature:nth-child(4) { --c: #c2852e; }
.feature:nth-child(5) { --c: #8c5c26; }
.feature:nth-child(6) { --c: #0d664d; }
.feature:nth-child(7) { --c: #d11a1a; }
.feature:nth-child(8) { --c: #e0245e; }
.feature:nth-child(9) { --c: #fc4c02; }
.feature h3 { color: var(--c); }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  padding: 0 0 64px;
}
.plan { background: var(--card); border-radius: 16px; padding: 22px; border-top: 5px solid #4d1a8c; }
.plan.pro { border-top-color: #f2660d; }
.plan h3 { margin: 0 0 4px; font-size: 1.3rem; color: #8c40d9; }
.plan.pro h3 { color: #f2660d; }
.plan p { margin: 0 0 10px; color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; }
.plan li { margin: 6px 0; }

main.doc { padding: 40px 0 64px; max-width: 760px; }
main.doc h1 { margin-top: 0; }
main.doc h2 { margin-top: 36px; font-size: 1.25rem; }
main.doc .effective { color: var(--muted); }

details {
  background: var(--card);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 10px 0;
}
summary { font-weight: 600; cursor: pointer; }

footer.site {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  padding: 24px 20px;
}
footer.site a { color: var(--muted); }

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.toc a {
  background: var(--card);
  border-radius: 999px;
  padding: 4px 12px;
  text-decoration: none;
  font-size: 0.9rem;
}
main.doc h2 { scroll-margin-top: 16px; }
main.doc li { margin: 6px 0; }
ul.levels { list-style: none; padding: 0; }
ul.levels li { display: flex; align-items: center; gap: 10px; }
.swatch {
  width: 28px;
  height: 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.plan p.price { font-size: 2rem; font-weight: 800; color: var(--fg); margin: 4px 0 0; }
.plan p.price span, .tier p.price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan p.trial { font-weight: 700; color: #0d664d; margin: 0 0 12px; }
@media (prefers-color-scheme: dark) { .plan p.trial { color: #3cc79a; } }
.founders { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 0 64px; }
.founders h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 10px; }
.founders > p { color: var(--muted); }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; text-align: left; }
.tier { background: var(--card); border-radius: 16px; padding: 22px; border-top: 5px solid #f2660d; }
.tier:nth-child(2) { border-top-color: #8c40d9; }
.tier h3 { margin: 0; font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.tier p.price { font-size: 1.8rem; font-weight: 800; margin: 4px 0 6px; color: var(--fg); }
.tier p { margin: 0; color: var(--muted); }
.founders .fine { font-size: 0.9rem; margin: 0 0 22px; }
.founders .button { background: #f2660d; color: #fff; }
