:root {
  color-scheme: light;
  --paper: #f4f0e6;
  --surface: #fbf9f3;
  --ink: #1c1714;
  --ink-2: #524c42;
  --ink-3: #8a8175;
  --line: #e2dbcb;
  --accent: #b23a2e;
  --accent-soft: #f0e2dc;
  --display: "Spectral", Georgia, serif;
  --body: "Spectral", Georgia, serif;
  --mono: "IBM Plex Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(178, 58, 46, 0.18);
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 230, 0.9);
  backdrop-filter: blur(10px);
}

.brand,
.nav-links,
.nav-links a,
.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  position: relative;
  gap: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  position: absolute;
  left: 0;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.brand-initial {
  display: inline-block;
  width: 23px;
  color: transparent;
}

.nav-links {
  gap: clamp(14px, 3vw, 32px);
}

.nav-links a {
  color: var(--ink-2);
  font-size: 14.5px;
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
}

.nav-links .nav-cta {
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
  color: white;
  opacity: 0.88;
}

.hero,
.section,
.footer {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-right: clamp(20px, 5vw, 56px);
  padding-left: clamp(20px, 5vw, 56px);
}

.hero {
  padding-top: clamp(48px, 9vw, 104px);
  padding-bottom: clamp(40px, 7vw, 80px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.accent {
  margin-bottom: 18px;
  color: var(--accent);
}

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

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: pretty;
}

.hero-lede {
  max-width: 56ch;
  margin-bottom: 36px;
  color: var(--ink-2);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.65;
  text-wrap: pretty;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 440px;
  scroll-margin-top: 96px;
}

.form-fields {
  display: flex;
  gap: 9px;
  width: 100%;
}

.form-fields input {
  min-width: 0;
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
}

.form-fields input:focus {
  border-color: var(--accent);
}

.form-fields button,
.card-button {
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
}

.form-fields button {
  flex: none;
  padding: 13px 20px;
  white-space: nowrap;
}

.form-fields button:hover,
.form-fields button:focus-visible,
.card-button.filled:hover,
.card-button.filled:focus-visible {
  opacity: 0.9;
}

.form-message {
  min-height: 20px;
  margin: 7px 2px 0;
  color: var(--accent);
  font-size: 13px;
  text-align: left;
}

.waitlist-form.is-submitted .form-fields {
  display: none;
}

.waitlist-form.is-submitted .form-message {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 14.5px;
  font-weight: 600;
}

.waitlist-form.is-submitted .form-message::before {
  content: "✓";
  margin-right: 9px;
  font-size: 17px;
}

.hero-note {
  margin: 0;
  color: var(--ink-3);
  font-size: 13.5px;
}

.hero-note a {
  color: var(--ink-2);
  text-decoration: underline;
}

.hero-note a:hover,
.hero-note a:focus-visible {
  color: var(--accent);
}

.hero-visual {
  position: relative;
  max-width: 820px;
  margin: clamp(48px, 8vw, 88px) auto 60px;
}

.desktop-frame,
.ask-frame,
.feature-image {
  overflow: hidden;
  border: 1px solid var(--line);
}

.desktop-frame {
  border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(28, 23, 20, 0.35);
}

.ask-frame {
  position: absolute;
  right: clamp(-18px, -4vw, 10px);
  bottom: clamp(-46px, -8vw, -30px);
  width: clamp(190px, 32vw, 300px);
  transform: rotate(-3deg);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 30px 60px -20px rgba(28, 23, 20, 0.3);
}

.section {
  padding-top: clamp(50px, 8vw, 90px);
  padding-bottom: clamp(50px, 8vw, 90px);
  scroll-margin-top: 64px;
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.015em;
  line-height: 1.15;
}

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

.feature-image {
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px -24px rgba(28, 23, 20, 0.28);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.feature p,
.plans-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.plans-heading {
  max-width: 680px;
  margin-bottom: 52px;
}

.plans-heading h2 {
  margin-bottom: 16px;
}

.plans-heading > p:last-child {
  font-size: 15.5px;
  text-wrap: pretty;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.plan-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.plan-title-row h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.badge {
  padding: 4px 9px;
  border-radius: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge.coming {
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.badge.available {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--surface);
}

.plan-subtitle {
  margin-bottom: 22px;
  color: var(--ink-2);
  font-size: 15px;
}

.plan-card ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 13px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
}

.plan-card li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.card-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-decoration: none;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 36px;
  padding-bottom: 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13.5px;
}

.footer-brand {
  gap: 8px;
}

.footer-brand img {
  width: 20px;
  height: 20px;
}

.footer-links {
  gap: 22px;
}

.footer-links a {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-links span {
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 760px) {
  .nav-links > a:not(.nav-cta) {
    display: none;
  }

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

  .feature-grid {
    gap: 46px;
  }

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

@media (max-width: 480px) {
  .form-fields {
    flex-direction: column;
  }

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

  .hero-visual {
    margin-bottom: 32px;
  }

  .ask-frame {
    right: -8px;
    bottom: -34px;
    width: 46%;
  }

  .plan-card {
    padding: 26px 22px;
  }

  .plan-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}

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