:root {
  color: #15243a;
  background: #faf9f6;
  font-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.55;
  --muted: #4a5563;
  --red: #952638;
  --line: #dedbd5;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-inline-size: 100%; height: auto; }
a { color: inherit; text-decoration: none; text-underline-offset: .22em; }
a:hover { color: var(--red); text-decoration: underline; }
main p a { color: var(--red); font-weight: 650; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { letter-spacing: -.035em; line-height: 1.1; }
.wrap { width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto; }

.skip { position: absolute; top: 1rem; left: 1rem; background: white; padding: .5rem 1rem; translate: 0 -200%; }
.skip:focus { translate: 0; z-index: 1; }
.wordmark {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: .55rem;
  min-height: 44px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-decoration: none;
}
.wordmark img { flex: none; border-radius: 22%; }
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: .4rem .8rem;
  color: var(--muted);
  font-size: .94rem;
}
.site-footer nav, .footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
@media (max-width: 440px) {
  .site-footer nav { flex-direction: column; align-items: flex-start; }
}
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }

.hero, .product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.75rem);
}
.hero { border-bottom: 1px solid var(--line); padding-block: .8rem 1.25rem; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 3.25rem); }
.hero p { max-width: 36ch; margin-top: .55rem; font-size: 1.125rem; color: var(--muted); }
.hero .mission { margin-top: .85rem; font-size: 1.05rem; font-weight: 650; color: inherit; }
.portrait {
  width: min(100%, 11.5rem);
  justify-self: center;
  mask-image: linear-gradient(to bottom, #000 70%, #000b 82%, #0003 93%, transparent 99%);
}

.product {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 1.35rem;
  padding-block: 1.25rem;
}
.product-copy, .product-support { grid-column: 1; }
.product-support { grid-row: 2; align-self: end; }
.product + .product { border-top: 1px solid var(--line); }
.product-heading { display: flex; align-items: center; gap: .7rem; }
.product-heading img { border-radius: 22%; flex: none; width: 3rem; }
.product h2 { font-size: clamp(1.85rem, 4vw, 2.2rem); }
.product-description { max-width: 32ch; margin-top: .65rem; font-size: 1.0625rem; color: var(--muted); text-wrap: pretty; }
.status { color: var(--muted); font-size: .94rem; margin-top: .75rem; }
.philosophy { margin-block: .15rem .8rem; color: var(--muted); font-size: .94rem; }
.downloads { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .75rem; }
.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border-radius: .35rem;
  padding: .4rem .85rem;
  color: white;
  background: var(--red);
  text-decoration: none;
  font-weight: 650;
}
.cta:hover { color: white; text-decoration: underline; }

.text-page { width: min(100%, 40rem); padding-block: clamp(2rem, 6vw, 4rem); min-height: 52vh; }
.text-page h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); margin-bottom: 1.15rem; }
.text-page h2 { font-size: 1.4rem; margin-block: 1.5rem .45rem; }
.text-page p + p { margin-block-start: 1rem; }
.text-page a { color: var(--red); overflow-wrap: anywhere; }

@media (min-width: 621px) {
  .product-support .waitlist { padding-block-end: 0; }
}

@media (max-width: 620px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 34%);
    gap: clamp(.6rem, 3vw, 1.25rem);
    padding-block: .6rem .9rem;
  }
  .hero h1 { font-size: clamp(1.72rem, 8.1vw, 2.6rem); }
  .hero p, .hero .mission { font-size: clamp(.95rem, 4.1vw, 1.0625rem); line-height: 1.45; }
  .hero .mission { margin-top: .65rem; }
  .portrait { width: min(100%, 9rem); justify-self: end; }
  .product { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 1rem; padding-block: 1rem; }
  .product-support { grid-column: auto; grid-row: auto; }
  .product-heading img { width: 2.65rem; }
}

.waitlist {
  padding-block: .45rem 1.1rem;
  max-width: 25rem;
}
.waitlist h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.waitlist p { margin-top: .35rem; color: var(--muted); font-size: .9rem; }
.waitlist form { margin-top: .5rem; }
.waitlist-fields { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .45rem; }
.waitlist input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: .45rem .65rem;
  border: 1px solid #867f78;
  border-radius: .35rem;
  font: inherit;
  color: inherit;
  background: white;
}
.waitlist button { border: 0; font: inherit; font-weight: 650; cursor: pointer; }
.waitlist :is(input, button):focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.waitlist #waitlist-status:empty { margin: 0; }
