:root {
  color-scheme: light dark;
  --bg: #f7f8fb;
  --panel: #ffffff;
  --text: #17191f;
  --muted: #626a78;
  --line: #dfe4ea;
  --accent: #0a84ff;
  --accent-strong: #0066cc;
  --danger: #9b1c1c;
  --shadow: 0 24px 70px rgba(27, 38, 59, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0e13;
    --panel: #151922;
    --text: #f5f7fb;
    --muted: #a9b1c0;
    --line: #2b3340;
    --accent: #5aa7ff;
    --accent-strong: #7bb8ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 48px;
  align-items: center;
  padding: 72px clamp(20px, 5vw, 72px) 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 20px;
}

.hero-text {
  max-width: 690px;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.download-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
}

.fine-print,
.updated {
  color: var(--muted);
  font-size: 14px;
}

code {
  padding: 2px 5px;
  border-radius: 5px;
  background: color-mix(in srgb, var(--muted) 14%, transparent);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #ffbd2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
}

.dashboard-preview {
  padding: 24px;
}

.preview-label,
.metric-grid span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.metric-grid div,
.card,
.notice,
.warning-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-grid div {
  padding: 14px;
}

.metric-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
}

.result-list {
  display: grid;
  gap: 8px;
}

.result-list p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 12px;
  border-radius: 7px;
  background: color-mix(in srgb, var(--muted) 10%, transparent);
}

.trust-strip,
.section,
.download-section,
.legal-page {
  margin: 0 auto;
  width: min(1180px, calc(100% - 40px));
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0 32px;
}

.trust-strip div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: 56px 0;
}

.section-heading {
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.card {
  padding: 22px;
}

.card p,
.split p,
.notice p,
.legal-page p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.notice,
.warning-box {
  padding: 24px;
}

.notice a {
  color: var(--accent);
  font-weight: 750;
}

.download-section {
  justify-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.download-section div {
  max-width: 680px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px clamp(20px, 5vw, 72px);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  text-decoration: none;
}

.legal-page {
  max-width: 860px;
  padding: 64px 0;
}

.legal-page h1 {
  font-size: clamp(38px, 5vw, 58px);
}

.legal-page section {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.warning-box {
  border-color: color-mix(in srgb, var(--danger) 45%, var(--line));
}

@media (max-width: 900px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: inline-flex;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 46px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }
}
