:root {
  color-scheme: light dark;
  --bg: #0b0d12;
  --panel: #121620;
  --panel-soft: #171c28;
  --text: #f8f9fb;
  --muted: #a9b0bd;
  --line: #29303d;
  --accent: #c7f25a;
  --link: #d7ff75;
  --shadow: rgba(0, 0, 0, 0.28);
  --glow: rgba(199, 242, 90, 0.22);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f8faf7;
    --panel: #ffffff;
    --panel-soft: #f0f5ec;
    --text: #121611;
    --muted: #586151;
    --line: #dde5d8;
    --accent: #466b05;
    --link: #355d00;
    --shadow: rgba(31, 49, 18, 0.08);
    --glow: rgba(70, 107, 5, 0.13);
  }
}

* {
  box-sizing: border-box;
}

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

main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.brand {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--link);
}

article,
.hero,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px var(--shadow);
}

article {
  padding: clamp(24px, 5vw, 52px);
}

.hero {
  padding: clamp(28px, 6vw, 58px);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  align-items: center;
  gap: clamp(24px, 6vw, 56px);
}

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 6vw, 56px);
}

h2 {
  margin-top: 42px;
  font-size: 24px;
}

h3 {
  margin-top: 28px;
  font-size: 18px;
  color: var(--accent);
}

p,
li {
  color: var(--muted);
  font-size: 16px;
}

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

ul {
  padding-left: 22px;
}

.effective,
.eyebrow {
  color: var(--accent);
  font-weight: 800;
  margin: 0 0 24px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 18px;
}

.app-icon {
  width: min(164px, 32vw);
  height: min(164px, 32vw);
  border-radius: 34px;
  filter: drop-shadow(0 22px 34px var(--glow));
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  color: var(--accent);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.feature {
  min-height: 100%;
  padding: 20px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feature h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
}

.feature p {
  margin: 0;
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.card {
  display: block;
  padding: 22px;
  text-decoration: none;
}

.card:hover {
  border-color: var(--accent);
}

.card h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
}

.card p {
  margin: 0;
}

.contact {
  margin-top: 18px;
  padding: 18px 22px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact p {
  margin: 0;
}

@media (max-width: 640px) {
  main {
    width: min(100% - 24px, 880px);
    padding-top: 28px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

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

  .product-hero,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .app-icon {
    order: -1;
    width: 108px;
    height: 108px;
    border-radius: 24px;
  }
}
