@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-variable.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --brown: #8A4B33;
  --clay: #B8786C;
  --blush: #F1D3D5;
  --blush-light: #FBF1F0;
  --ink: #2B1D1A;
  --body: #5A4540;
  --muted: #7A625C;
  --line: #F3E6E4;
  --field: #E8D2CE;
  --frame: #2B1D1A;
  --frame-edge: #4A3833;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #ffffff; }
.site-header .wrap {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark {
  font-family: "Bodoni Moda", Georgia, serif; font-size: 34px; line-height: 1;
  color: var(--brown); text-decoration: none;
}
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--brown); }
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 16px;
  padding: 15px 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brown); color: #ffffff; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #733D29; color: #ffffff; }
.btn:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; }
.btn-small { padding: 12px 24px; font-size: 15px; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000000; }

/* Hero */
.hero { background: linear-gradient(to bottom, var(--blush-light) 0%, var(--blush) 70%, #ffffff 100%); }
.hero .wrap {
  padding-top: 64px; padding-bottom: 80px;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 1024px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 560px; }
}
.eyebrow { font-size: 15px; font-weight: 600; color: var(--muted); }
h1 {
  margin: 14px 0 0; font-size: clamp(42px, 6vw, 60px); line-height: 1.1;
  font-weight: 700; letter-spacing: -0.025em;
}
.lead { margin: 20px 0 0; font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 34ch; }
.small-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Waitlist form */
.waitlist { margin-top: 32px; max-width: 460px; }
.waitlist .row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 0; font: inherit; font-size: 16px;
  padding: 15px 20px; border: 1px solid var(--field); border-radius: 999px; background: #ffffff; color: var(--ink);
}
.waitlist .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist .consent { margin: 10px 4px 0; font-size: 13px; color: var(--muted); }
.waitlist .consent a { color: inherit; }
.waitlist .status { margin: 10px 4px 0; font-size: 15px; font-weight: 600; min-height: 1.4em; }
.waitlist .status.ok { color: #2F6B45; }
.waitlist .status.err { color: #B3261E; }
.waitlist.done .row, .waitlist.done .consent { display: none; }

/* Phones */
.phones { display: flex; flex-wrap: nowrap; justify-content: center; gap: 20px; align-items: center; }
.phone {
  position: relative; flex: 0 0 auto; width: 280px; height: 617px;
  border: 10px solid var(--frame); border-radius: 48px; background: #ffffff; overflow: hidden;
  box-shadow: 0 0 0 2px var(--frame-edge), 0 40px 80px -40px rgba(120, 60, 50, .4);
}
.phone.small { width: 250px; height: 548px; border-radius: 44px; }
.phone .status-bar {
  height: 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 28px; font-size: 13px; font-weight: 700; color: var(--ink);
}
.phone.small .status-bar { height: 30px; padding: 0 16px 0 24px; font-size: 12px; }
.phone .status-icons { display: flex; gap: 5px; align-items: center; }
.phone .island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 23px; border-radius: 999px; background: var(--frame);
}
.phone.small .island { top: 7px; width: 68px; height: 20px; }
.phone .screen { display: block; width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; }
.phone.small .screen { height: calc(100% - 30px); }
.phone .home-bar {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 94px; height: 4px; border-radius: 999px; background: var(--frame);
}
.phone.small .home-bar { bottom: 6px; width: 84px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
h2 { margin: 0; font-size: 34px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
.center { text-align: center; }
.features {
  margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 64px; align-items: center;
}
.features .phone-col { display: flex; justify-content: center; }
.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature { padding: 22px 26px; border: 1px solid transparent; border-radius: 20px; }
.feature.active { background: var(--blush-light); border-color: var(--line); }
h3 { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.3; }
.feature p, .pillar p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.pillars {
  margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px; text-align: center;
}
.pillar svg { width: 40px; height: 40px; stroke: var(--brown); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 14px; }
.pillar p { margin-left: auto; margin-right: auto; max-width: 30ch; }

.band { background: var(--blush); }
.band .wrap {
  padding-top: 80px; padding-bottom: 80px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center;
}
.band h2 { max-width: 18ch; }
.band .copy { display: flex; flex-direction: column; gap: 14px; color: var(--body); }
.band .copy p { margin: 0; }

.faq { max-width: 820px; }
.faq h2 { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 19px; }
.faq-item p { margin: 8px 0 0; color: var(--muted); }

.cta { margin-bottom: 96px; }
.cta-box { background: var(--brown); color: #ffffff; border-radius: 32px; padding: 64px 48px; text-align: center; }
.cta-box h2 { font-size: 38px; line-height: 1.25; margin: 0 auto; max-width: 20ch; }
.cta-box .waitlist { margin: 28px auto 0; text-align: left; }
.cta-box .waitlist input[type="email"] { border: 0; }
.cta-box .waitlist .consent { color: #F3E3DE; }
.cta-box .waitlist .status.ok { color: #ffffff; }
.cta-box .waitlist .status.err { color: #FFD9D4; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 32px; padding-bottom: 32px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  font-size: 14px; color: var(--muted);
}
.site-footer .wordmark { font-size: 22px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 22px; }

/* Legal pages */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: 40px; margin: 0 0 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--body); }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 24px 0; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; color: var(--body); }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes phone-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.r1 { animation: rise .8s cubic-bezier(.2,.7,.2,1) .05s both; }
.r2 { animation: rise .8s cubic-bezier(.2,.7,.2,1) .15s both; }
.r3 { animation: rise .8s cubic-bezier(.2,.7,.2,1) .25s both; }
.p1 { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) .2s both; }
.p2 { animation: phone-in 1s cubic-bezier(.2,.7,.2,1) .4s both; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Small screens */
@media (max-width: 720px) {
  .nav .nav-link { display: none; }
  .wordmark { font-size: 30px; }
  .hero .wrap { padding-top: 40px; padding-bottom: 56px; }
  .lead { font-size: 19px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  h2 { font-size: 28px; }
  .cta-box { padding: 48px 24px; border-radius: 24px; }
  .cta-box h2 { font-size: 30px; }
  .phone.small { display: none; }
}
