:root {
  color-scheme: light;
  --ink: #172923;
  --ink-soft: #50645d;
  --forest: #173f35;
  --green: #176b58;
  --green-light: #dbe8e2;
  --paper: #f3f0e7;
  --paper-light: #faf8f2;
  --line: rgba(23, 63, 53, 0.16);
  --clay: #c48245;
  --shadow: 0 34px 90px rgba(23, 41, 35, 0.18), 0 8px 26px rgba(23, 41, 35, 0.1);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 6%, rgba(196, 130, 69, 0.15), transparent 23rem),
    radial-gradient(circle at 10% 32%, rgba(23, 107, 88, 0.1), transparent 28rem),
    var(--paper);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.26;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
}

a {
  color: inherit;
}

.site-shell {
  width: min(100%, 1600px);
  margin: 0 auto;
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1420px);
  min-height: 104px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  width: 170px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.header-cta,
.closing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 2;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 112px 0 104px;
}

.hero-copy {
  max-width: 880px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 26px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 6px rgba(196, 130, 69, 0.12);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 830px;
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(4.2rem, 8vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.hero-lede {
  max-width: 690px;
  margin: 42px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.waitlist-form {
  width: min(100%, 650px);
  margin-top: 38px;
  scroll-margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 6px;
  border: 1px solid rgba(23, 63, 53, 0.24);
  border-radius: 999px;
  background: rgba(250, 248, 242, 0.8);
  box-shadow: 0 10px 36px rgba(23, 63, 53, 0.06);
  backdrop-filter: blur(10px);
}

.form-row:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(23, 107, 88, 0.1), 0 10px 36px rgba(23, 63, 53, 0.08);
}

.form-row input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.form-row input::placeholder {
  color: #7f8d88;
}

.form-row button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease;
}

.form-row button:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.form-row button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-note {
  min-height: 1.5em;
  margin: 13px 0 0 20px;
  color: #667871;
  font-size: 0.82rem;
}

.form-note.is-success {
  color: var(--green);
  font-weight: 700;
}

.form-note.is-error {
  color: #984d38;
}

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

.hero-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-proof i {
  display: block;
  width: 1px;
  height: 25px;
  background: var(--line);
}

.product-preview {
  padding: 90px max(24px, calc((100% - 1420px) / 2)) 110px;
  color: #f7f4eb;
  background: var(--forest);
}

.preview-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: end;
  gap: 48px;
  margin-bottom: 54px;
}

.preview-heading .section-kicker {
  margin-bottom: 18px;
  color: #9dc5b9;
}

.preview-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.preview-heading > p {
  margin: 0 0 7px;
  color: #b8c9c3;
  font-size: 1.03rem;
  line-height: 1.65;
}

.screenshot-frame {
  position: relative;
  margin: 0;
}

.screenshot-frame::before {
  position: absolute;
  inset: -18px 8% auto;
  height: 70%;
  border-radius: 50%;
  background: rgba(196, 130, 69, 0.22);
  filter: blur(80px);
  content: "";
}

.screenshot-frame img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: clamp(12px, 1.4vw, 22px);
  box-shadow: var(--shadow);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 116px 0;
}

.principles article {
  padding: 6px 48px 8px 0;
  border-right: 1px solid var(--line);
}

.principles article + article {
  padding-left: 48px;
}

.principles article:last-child {
  border-right: 0;
}

.principle-number {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.principles h3 {
  max-width: 260px;
  margin: 56px 0 18px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.closing {
  width: min(100% - 48px, 1280px);
  margin: 0 auto;
  padding: 110px 0 120px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing h2 {
  max-width: 900px;
  margin: 0 auto;
}

.closing-cta {
  gap: 22px;
  margin-top: 42px;
}

.closing-cta span {
  color: var(--clay);
  font-size: 1.15rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(100% - 48px, 1420px);
  min-height: 110px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
}

footer img {
  justify-self: start;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

.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;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 88px;
  }

  .brand {
    width: 150px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 82px 0 76px;
  }

  h1 {
    font-size: clamp(3.8rem, 16vw, 6.2rem);
  }

  .hero-proof {
    display: none;
  }

  .preview-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principles {
    grid-template-columns: 1fr;
    padding: 80px 0;
  }

  .principles article,
  .principles article + article {
    padding: 34px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principles article:first-child {
    padding-top: 0;
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principles h3 {
    margin-top: 24px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .principles,
  .closing,
  footer {
    width: min(100% - 32px, 1280px);
  }

  .header-cta {
    display: none;
  }

  .site-header {
    justify-content: center;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
    line-height: 0.9;
  }

  .hero-lede {
    margin-top: 32px;
    font-size: 1.05rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    border-radius: 22px;
    padding: 8px;
  }

  .form-row input {
    min-height: 48px;
  }

  .form-note {
    margin-left: 8px;
  }

  .product-preview {
    padding: 72px 16px 76px;
  }

  .screenshot-frame img {
    min-height: 340px;
    object-fit: cover;
    object-position: 50% center;
  }

  .closing {
    padding: 80px 0 90px;
  }

  footer {
    grid-template-columns: auto 1fr;
    padding: 28px 0;
  }

  footer p {
    justify-self: end;
  }

  footer p:last-child {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
