:root {
  --bg: #1b1d28;
  --bg-raised: #242736;
  --border: #33364a;
  --text: #eceef6;
  --muted: #a3a8c3;
  --accent: #e8461c;
  --accent-text: #ffffff;
  --violet: #a78bfa;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --glow-a: rgba(232, 70, 28, 0.28);
  --glow-b: rgba(139, 92, 246, 0.26);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fb;
    --bg-raised: #ffffff;
    --border: #e1e2ec;
    --text: #1d1f2b;
    --muted: #5b6078;
    --accent: #d63d14;
    --violet: #6d4ed8;
    --shadow: 0 24px 60px rgba(40, 40, 80, 0.18);
    --glow-a: rgba(232, 70, 28, 0.16);
    --glow-b: rgba(139, 92, 246, 0.14);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 520px at 25% 120px, var(--glow-a), transparent 70%),
    radial-gradient(900px 560px at 78% 260px, var(--glow-b), transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 17px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

code, kbd {
  font: 0.88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.4em;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(16px, calc((100% - 1160px) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

main > section { padding: 0 16px; max-width: 1192px; margin: 0 auto; }

.hero { position: relative; text-align: center; padding-top: 72px; }
.hero-logo { filter: drop-shadow(0 12px 24px rgba(232, 70, 28, 0.35)); margin-bottom: 18px; }
.lede { max-width: 680px; margin: 0 auto 28px; font-size: 1.2rem; color: var(--muted); }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fine { color: var(--muted); font-size: 0.88rem; margin: 14px 0 0; }

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-raised);
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.button:hover { text-decoration: none; transform: translateY(-1px); }
.button.primary {
  color: var(--accent-text);
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 35%, transparent);
}

.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-shot { margin: 56px auto 0; max-width: 1160px; }

.why, .more, .download { padding-top: 112px !important; text-align: center; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}
.cards article {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.cards p { color: var(--muted); margin: 0 0 12px; }
.download .cards { grid-template-columns: repeat(3, 1fr); }
.download .cards article { display: flex; flex-direction: column; align-items: flex-start; }
.download .cards .fine { margin: 0 0 20px; }
.download .cards .button { margin-top: auto; }
.download .cards .button.primary { box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 25%, transparent); }

@media (max-width: 760px) {
  .download .cards { grid-template-columns: 1fr; }
}


.features { padding-top: 112px !important; display: grid; gap: 112px; }
.feature {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.feature.flip .copy { order: 2; }
.feature .copy p { color: var(--muted); }
.prose { max-width: 680px; margin: 0 auto; text-align: left; color: var(--muted); font-size: 1.08rem; }
.prose b { color: var(--text); }
.note { max-width: 620px; margin: 0 auto; color: var(--muted); }
.kicker {
  color: var(--accent) !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 8px;
}

.grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  text-align: left;
}
.grid li {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--muted);
}
.grid strong { color: var(--text); }

footer {
  margin-top: 120px;
  padding: 36px 16px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
footer p { margin: 6px 0; }
footer img { vertical-align: -4px; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip .copy { order: 0; }
  .nav nav { gap: 14px; }
  .hero { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

.compare { padding-top: 112px !important; text-align: center; }
.table-scroll {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-raised);
  text-align: left;
}
.compare table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 0.92rem; }
.compare th, .compare td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 700; white-space: nowrap; }
.compare tbody th { font-weight: 600; }
.compare td { color: var(--muted); }
.compare td:first-of-type, .compare thead th:nth-child(2) { color: var(--text); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.compare .cards { grid-template-columns: repeat(2, 1fr); }
.compare .cards ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.compare .cards li + li { margin-top: 8px; }
.compare .cards b { color: var(--text); }

@media (max-width: 760px) {
  .compare .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .nav .wide-only { display: none; }
}
