@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("fonts/barlow-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --paper: #f5f4ef;
  --white: #ffffff;
  --ink: #16191c;
  --ink-up: #242a2f;
  --grey: #5b6064;
  --fog: #b9c0c5;
  --rule: #dddbd3;
  --rule-dark: #353c42;
  --orange: #ff6a13;
  --orange-hot: #ff8235;
  --orange-deep: #c44800;
  --epaper: #e6e5dc;
  --font: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
dd,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 3;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

.skip:focus {
  top: 0.75rem;
}

/* Header */

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
}

.wordmark svg {
  flex: none;
}

.top-link {
  font-size: 1rem;
  font-weight: 600;
  text-underline-offset: 0.3em;
}

.top-link:hover {
  color: var(--orange-deep);
}

/* Hero */

.hero {
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head demo"
      "form demo";
    column-gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }

  .hero-head {
    grid-area: head;
    padding-top: 1rem;
  }

  .stage {
    grid-area: demo;
  }

  .hero-form {
    grid-area: form;
  }
}

h1 {
  font-size: clamp(2.5rem, 3vw + 1.5rem, 3.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 32rem;
  margin-top: 1.25rem;
  font-size: clamp(1.15rem, 0.5vw + 1.05rem, 1.3rem);
  line-height: 1.45;
}

.hero-points {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0;
  list-style: none;
  font-weight: 600;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-points li::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2316191c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.9rem no-repeat;
}

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

/* Waitlist form */

.waitlist {
  max-width: 32rem;
}

.waitlist label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  font-weight: 600;
}

.waitlist-row {
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 30rem) {
  .waitlist-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.waitlist input[type="email"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.waitlist input::placeholder {
  color: var(--grey);
  opacity: 0.75;
}

.waitlist button,
.button-link {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.waitlist button:hover,
.button-link:hover {
  border-color: var(--orange-hot);
  background: var(--orange-hot);
}

.waitlist button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.trap {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin-top: 0.75rem;
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-error,
.form-done {
  max-width: 32rem;
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border-left: 6px solid var(--orange-deep);
  background: var(--white);
  font-weight: 600;
}

.form-done {
  margin-top: 1.5rem;
  border-left-color: var(--ink);
}

/* Stage: a sample question and answer, with a picker */

.stage {
  padding: clamp(0.9rem, 2.5vw, 1.5rem);
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
}

.stage :focus-visible {
  outline-color: var(--orange);
}

.unit-screen {
  position: relative;
  overflow: hidden;
  padding: 0.9rem 1.1rem 1.25rem;
  border-radius: 10px;
  background: var(--epaper);
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.45;
}

.screen-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.screen-status svg {
  flex: none;
}

.screen-battery {
  margin-left: auto;
}

.screen-heard {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.9rem;
  color: #4a4f53;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.screen-heard svg {
  flex: none;
}

.qa-list {
  display: grid;
  gap: 1.25rem;
}

.qa {
  padding-top: 0.4rem;
}

.qa + .qa {
  border-top: 2px dashed rgb(22 25 28 / 0.4);
}

/* With the picker, answers share one grid cell so the panel keeps the height of the longest. */
.js .qa {
  grid-area: 1 / 1;
  border-top: 0;
}

.js .qa:not(.is-active) {
  visibility: hidden;
}

.qa-q {
  font-size: clamp(1.3rem, 1vw + 1.1rem, 1.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.qa-a {
  margin-top: 0.65rem;
}

.qa-source {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

/* E-paper style redraw when a question is picked */
@media (prefers-reduced-motion: no-preference) {
  .unit-screen.is-refreshing::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    pointer-events: none;
    animation: redraw 0.35s ease-out forwards;
  }
}

@keyframes redraw {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0;
  }
}

.qa-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.picker-label {
  flex-basis: 100%;
  font-weight: 600;
  line-height: 1.3;
}

.qa-pick {
  padding: 0.5rem 0.95rem;
  border: 2px solid var(--rule-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.qa-pick:hover {
  border-color: var(--fog);
}

.qa-pick[aria-pressed="true"] {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.stage-note {
  margin-top: 1rem;
  color: var(--fog);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section-white {
  background: var(--white);
}

.section h2,
.footer h2 {
  font-size: clamp(1.9rem, 2vw + 1.3rem, 2.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section h2.wide {
  max-width: 19em;
}

.define {
  max-width: 24em;
  color: var(--grey);
  font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.define strong {
  color: var(--ink);
  font-weight: 800;
}

.define-for {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: 1.2rem;
  line-height: 1.45;
}

/* What it does */

.features {
  display: grid;
  gap: 2rem clamp(2rem, 6vw, 5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.features li {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.features h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.features p {
  max-width: 30rem;
  margin-top: 0.4rem;
  color: var(--grey);
}

/* What it covers */

.covers {
  display: grid;
  gap: 1.75rem clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .covers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .covers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.covers li {
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
}

.covers h3 {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.covers p {
  margin-top: 0.3rem;
  color: var(--grey);
}

/* Done before it ships */

.routes {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

@media (min-width: 54rem) {
  .routes {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }
}

.route {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 14px;
  background: var(--white);
}

.route h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: baseline;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.route-note {
  margin-top: 1.25rem;
  color: var(--grey);
}

.steps-done li {
  align-items: start;
}

.steps-done li::before {
  content: "";
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2316191c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
}

.steps-done span {
  padding-top: 0.2rem;
}

.route-hardcopy {
  background: var(--ink);
  color: var(--white);
}

.route-hardcopy .steps li {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.route-hardcopy .steps li::before {
  background: var(--orange);
  color: var(--ink);
}

.route-hardcopy .route-note {
  color: var(--fog);
}

/* Questions */

.faq-list {
  max-width: 46rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 2px solid var(--ink);
}

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: none;
  color: var(--orange-deep);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  max-width: 38rem;
  padding-bottom: 1.25rem;
  color: var(--grey);
}

/* Footer */

.footer {
  padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem;
  background: var(--ink);
  color: var(--white);
}

.footer :focus-visible {
  outline-color: var(--orange);
}

.footer-lead {
  max-width: 36rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  line-height: 1.5;
}

.footer .button-link {
  margin-top: 1.75rem;
}

.footer-small {
  display: grid;
  gap: 0.5rem;
  max-width: 40rem;
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  color: var(--fog);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Phone-only bar that appears once the form has scrolled away */

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--rule);
  background: var(--paper);
}

.sticky-cta .button-link {
  display: block;
  text-align: center;
}

@media (min-width: 48rem) {
  .sticky-cta {
    display: none;
  }
}

@media (max-width: 47.99rem) {
  .has-sticky .footer {
    padding-bottom: 6rem;
  }
}
