/* Archivo variable (wght 100–900, wdth 62–125), self-hosted. SIL Open Font License: fonts/OFL.txt */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("fonts/archivo-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Brand colors: burgundy #4c1e28 and green #848e38 are the main fields; text is black or white only.
   Burgundy (dark): header, hero, footer. White text on it is 13.8:1.
   Green (mid-tone): the sign-up button, step numbers and the brands band. Black text on it is 5.3:1;
   white text on it is too weak, so never put white text on green.
   Green against burgundy is 3.9:1. Secondary text and rules are tints of black or white, not new colors. */
:root {
  color-scheme: light;
  --black: #111111;
  --white: #ffffff;
  --burgundy: #4c1e28;
  --green: #848e38;
  --muted: rgba(17, 17, 17, 0.64);
  --muted-light: rgba(255, 255, 255, 0.78);
  --rule: rgba(17, 17, 17, 0.14);
  --wide: "wdth" 125;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1160px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
}

a { color: var(--black); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a[href^="mailto:"] { white-space: nowrap; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Header and hero share the burgundy field */
.site-header, .hero { background: var(--burgundy); color: var(--white); }
.site-header a, .hero a { color: var(--white); }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.logo { display: block; line-height: 0; }
.logo img { display: block; width: 124px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-cta {
  border: 1px solid var(--white);
  border-radius: 999px;
  padding: 7px 16px;
}
.site-nav .nav-cta:hover { background: var(--white); color: var(--burgundy); text-decoration: none; }

/* Hero */
.hero .wrap {
  padding-top: clamp(40px, 9vw, 112px);
  padding-bottom: clamp(64px, 10vw, 136px);
}
.hero h1 {
  font-variation-settings: var(--wide);
  font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  max-width: 13em;
  text-wrap: balance;
}
.lede { font-size: 19px; line-height: 1.55; max-width: 32em; margin: 0 0 36px; }

.waitlist { max-width: 32em; }
.waitlist-row { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist label { display: block; font-size: 14px; color: var(--muted-light); margin-bottom: 8px; }
.waitlist input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  font-size: 17px;
  padding: 13px 18px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
}
.waitlist input[type="email"]::placeholder { color: rgba(17, 17, 17, 0.45); }
.button {
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
}
.button:hover { background: var(--white); color: var(--burgundy); }
.button[disabled] { opacity: 0.6; cursor: progress; }
.waitlist .status { font-size: 15px; margin: 12px 0 0; min-height: 1.5em; }
.waitlist .status.ok, .waitlist .status.err { font-weight: 600; }
.waitlist .note { font-size: 14px; color: var(--muted-light); margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Steps */
.steps .wrap { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 104px); }
.section-title {
  font-variation-settings: var(--wide);
  font-weight: 300;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 36px;
}
.step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  counter-reset: step;
}
.step-list li { counter-increment: step; border-top: 1px solid var(--black); padding-top: 16px; }
.step-list li::before {
  content: counter(step);
  display: block;
  font-variation-settings: var(--wide);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--green);
}
.step-list h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.step-list p { margin: 0; max-width: 26em; }

/* Brands */
.brands { background: var(--green); color: var(--black); }
.brands .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(48px, 7vw, 88px);
  align-items: start;
}
.brands .section-title { margin: 0; }
.brands .section-title { font-weight: 400; }
.brands p { margin: 0 0 16px; max-width: 30em; font-size: 20px; line-height: 1.5; font-weight: 500; }
.brands a { color: var(--black); }

/* Footer */
.site-footer { background: var(--burgundy); color: var(--muted-light); }
.site-footer a { color: var(--white); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 40px;
  font-size: 14px;
}
.site-footer .logo img { width: 100px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Policy page */
.policy .wrap { padding-top: clamp(32px, 6vw, 72px); padding-bottom: 72px; }
.policy article { max-width: 42em; }
.policy h1 {
  font-variation-settings: var(--wide);
  font-weight: 300;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 8px;
}
.policy .effective { color: var(--muted); margin: 0 0 32px; }
.policy h2 { font-size: 19px; font-weight: 600; margin: 36px 0 8px; }
.policy p, .policy li { max-width: 40em; }
.policy ul { padding-left: 1.2em; }

/* Small screens */
@media (max-width: 860px) {
  .step-list { grid-template-columns: 1fr; }
  .brands .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .logo img { width: 104px; }
  .site-nav .nav-link { display: none; }
  .button { width: 100%; }
}
.nb { white-space: nowrap; }
