:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #5d6a64;
  --line: #d9e0da;
  --surface: #fbfcf9;
  --panel: #ffffff;
  --accent: #1f8a70;
  --accent-dark: #146553;
  --gold: #c48b2d;
  --blue: #426b95;
  --shadow: 0 24px 60px rgba(24, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: rgba(251, 252, 249, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  font-size: 0.94rem;
  font-weight: 650;
}

nav a:not(.app-link) {
  color: var(--muted);
}

.app-link,
.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
}

.app-link,
.primary-action {
  background: var(--accent);
  color: white;
}

.primary-action:hover,
.app-link:hover {
  background: var(--accent-dark);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero {
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  min-height: calc(86vh - 73px);
  padding: clamp(54px, 8vw, 108px) clamp(20px, 5vw, 72px) 48px;
}

.hero-copy {
  align-self: center;
  max-width: 680px;
}

.eyebrow {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4.2rem, 9vw, 8.5rem);
  line-height: 0.9;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  margin-bottom: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.22;
  margin-bottom: 10px;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(1.18rem, 2.2vw, 1.62rem);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  align-self: center;
  margin: 0;
}

.hero-visual img {
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(23, 32, 29, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.section {
  border-top: 1px solid var(--line);
  padding: clamp(54px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(160px, 0.3fr) minmax(0, 0.7fr);
  margin-bottom: 34px;
}

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

.feature-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 214px;
  padding: 24px;
}

.feature-grid p,
.beta-section p {
  color: var(--muted);
}

.feature-number {
  color: var(--gold);
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  margin-bottom: 32px;
}

.beta-section {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 1fr auto;
}

.beta-section p {
  font-size: 1.05rem;
  margin: 0;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 72px);
}

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.4rem, 19vw, 5rem);
  }
}
