:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --ink: #111318;
  --muted: #58606d;
  --subtle: #dce2ea;
  --line: rgba(17, 19, 24, 0.12);
  --accent: #1857d6;
  --accent-2: #0b7f64;
  --warn: #bd4b32;
  --shadow: 0 28px 80px rgba(24, 38, 56, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 19, 24, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 24, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: rgba(244, 246, 248, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.waitlist-fields {
  display: flex;
  align-items: center;
}

.brand {
  min-width: 0;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
}

.nav {
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

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

.status-pill {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--accent-2);
}

.hero {
  display: grid;
  grid-template-rows: auto auto;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(42px, 5vw, 64px) clamp(18px, 4vw, 64px) 32px;
}

.hero-copy {
  width: min(920px, 100%);
  position: relative;
  z-index: 1;
}

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

h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(46px, 5.8vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.button:hover {
  transform: translateY(-1px);
}

.waitlist-form {
  width: min(780px, 100%);
  margin-top: 30px;
}

.waitlist-fields {
  gap: 10px;
  align-items: end;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 52px rgba(24, 38, 56, 0.10);
}

.field {
  position: relative;
  min-width: 0;
  flex: 1 1 220px;
  display: grid;
  gap: 6px;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.field input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(17, 19, 24, 0.14);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: 0;
}

.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(24, 87, 214, 0.14);
}

.waitlist-form .button {
  flex: 0 0 auto;
  border: 0;
}

.form-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.app-preview {
  width: 100%;
  max-width: 1500px;
  height: clamp(230px, 31vh, 320px);
  align-self: end;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 24, 0.16);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.app-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.feature {
  min-height: 220px;
  padding: clamp(26px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  font-weight: 700;
}

.feature h2 {
  margin: 0 0 12px;
  font-size: clamp(21px, 2.5vw, 32px);
  line-height: 1.05;
  letter-spacing: 0;
}

.feature p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .site-header {
    position: static;
  }

  .nav a {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 72px);
  }

  .lede {
    font-size: 18px;
  }

  .button {
    flex: 1 1 150px;
    padding-inline: 12px;
  }

  .waitlist-form {
    margin-top: 20px;
  }

  .waitlist-fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .optional-field {
    display: none;
  }

  .form-status {
    display: none;
  }

  .waitlist-form .button {
    width: 100%;
  }

  .app-preview {
    width: calc(100% + 22px);
    height: 212px;
  }

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

  .feature {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }
}

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

  .button:hover {
    transform: none;
  }
}
