@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/fonts/nunito-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f7f2;
  --ink: #14211b;
  --muted: #3e4a43;
  --card: #fffcf8;
  --line: #d5e0d8;
  --forest: #0f513c;
  --forest-deep: #0a3a2b;
  --on-forest: #ffffff;
  --gold: #8a5a00;
  --gold-soft: #f8ebd0;
  --leaf-soft: #e5f6ec;
  --shadow: 0 24px 50px rgba(20, 33, 27, 0.12);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101714;
    --ink: #f4f7f2;
    --muted: #d5ddd6;
    --card: #1a2621;
    --line: #2c3b34;
    --forest: #8ee0b8;
    --forest-deep: #c8f5de;
    --on-forest: #06281a;
    --gold: #f6c56b;
    --gold-soft: #3a2e16;
    --leaf-soft: #143028;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 100% -10%, var(--gold-soft), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: Nunito, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; }

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

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--card);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 5;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

header.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.brand img { width: 36px; height: 36px; border-radius: 8px; }

nav { display: flex; gap: 18px; align-items: center; }

nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 12px 0 72px;
}

h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; font-weight: 700; }

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0 0 16px; letter-spacing: -0.03em; }

.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 24px; max-width: 38rem; }

form.waitlist { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }

label { display: block; font-weight: 700; margin-bottom: 6px; }

input[type="email"]::placeholder { color: var(--muted); opacity: 1; }

input[type="email"] {
  font: inherit;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  min-height: 48px;
  padding: 0 14px;
  width: min(100%, 320px);
}

button, .button {
  font: inherit;
  font-weight: 700;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  background: var(--forest);
  color: var(--on-forest);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.status { flex-basis: 100%; min-height: 1.5em; margin: 0; color: var(--muted); }

.status.bad { color: #8e1d16; }

@media (prefers-color-scheme: dark) {
  .status.bad { color: #ffb4a8; }
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.phone {
  width: min(300px, 100%);
  margin-inline: auto;
  background: #14211b;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
}

.phone img { display: block; border-radius: 28px; }

.features, .faq { padding: 24px 0 72px; }

.feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: center;
  margin: 28px 0;
}

.feature:nth-child(even) .phone { order: 2; }

.feature h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0 0 8px; }

.kicker {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 8px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
}

details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
  margin: 10px 0;
}

summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 700; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
}

footer a { min-height: 44px; display: inline-flex; align-items: center; }

.legal { padding: 12px 0 72px; max-width: 42rem; }

.legal h1 { font-size: clamp(2rem, 4vw, 3rem); }

@media (max-width: 800px) {
  .hero, .feature, .feature:nth-child(even) { grid-template-columns: 1fr; }
  .feature:nth-child(even) .phone { order: 0; }
  nav .quiet { display: none; }
  form.waitlist input[type="email"] { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
