/*
 * The landing page's stylesheet.
 *
 * The design hands its styles over inline, which is fine for a mock and wrong
 * for a page whose job is to rank: inline styles cannot be cached, they push
 * the HTML past the size where the first paint is cheap, and they make the
 * markup unreadable to anyone maintaining the copy. The tokens below are the
 * app's own design system, so the site and the product cannot drift.
 */
:root {
  --paper: #f4f4f2;
  --ink: #1b1b1d;
  --ink-soft: #3a3a3d;
  --gray: #8a8a8e;
  --gray-text: #6e6e73;
  --hairline: #e3e3e0;
  --done: #2fa84f;
  --done-text: #1b7a3a;
  --active: #f5a623;
  --active-text: #8f5600;
  --surface: #fff;
  --page-x: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Focus is never removed, only restyled: a keyboard user has no other way to
   see where they are. */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg {
  display: block;
}

/* Visually hidden but read aloud — for the skip link and the section labels a
   screen reader needs and the design does not draw. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--filled {
  background: var(--ink);
  color: var(--paper);
}
.btn--filled:hover {
  background: var(--ink-soft);
}
.btn--outline {
  border: 1.5px solid var(--ink);
}
.btn--outline:hover {
  background: #edede9;
}
.btn--sm {
  height: 42px;
  padding: 0 24px;
  font-size: 12px;
}
.btn--on-ink {
  background: var(--paper);
  color: var(--ink);
}
.btn--on-ink:hover {
  background: #fff;
}
.btn--ghost-on-ink {
  border: 1.5px solid rgba(244, 244, 242, 0.5);
  color: var(--paper);
}
.btn--ghost-on-ink:hover {
  border-color: var(--paper);
}
.btn .icon {
  width: 16px;
  height: 16px;
}

/* ── Nav ─────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(244, 244, 242, 0.86);
  backdrop-filter: blur(12px);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  font-weight: 600;
}
.nav__links a:not(.btn):hover {
  color: var(--gray-text);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 90px var(--page-x) 110px;
  position: relative;
  overflow: hidden;
}
.hero__watermark {
  position: absolute;
  right: -40px;
  top: 30px;
  font: 900 300px Doto, monospace;
  color: var(--ink);
  opacity: 0.045;
  letter-spacing: 8px;
  pointer-events: none;
  user-select: none;
}
.hero__body {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--active-text);
  letter-spacing: 1.2px;
}
.hero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--active);
  animation: pulse 2s ease-in-out infinite;
}
h1 {
  margin: 0;
  font-size: 86px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -3px;
  text-wrap: balance;
}
.hero__lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-text);
  max-width: 460px;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__proof {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-text);
}
.dots {
  display: flex;
  gap: 8px;
}
.dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
}
.dots span[data-state='current'] {
  background: var(--gray);
}
.dots span[data-state='upcoming'] {
  background: var(--hairline);
}

/* ── Phone mock ──────────────────────────────────────────────────────────── */

.phone {
  flex: none;
  position: relative;
  /* Driven by a token so the breakpoint can flatten it without restating the
     whole animation. */
  --phone-tilt: -3deg;
  animation: floaty 7s ease-in-out infinite;
}
.phone__shell {
  width: 340px;
  background: var(--ink);
  border-radius: 46px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(27, 27, 29, 0.25);
}
.phone__screen {
  background: var(--paper);
  border-radius: 37px;
  overflow: hidden;
  height: 716px;
  display: flex;
  flex-direction: column;
}
.phone__status {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: relative;
  flex: none;
  font-size: 12px;
  font-weight: 700;
}
.phone__notch {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
}
.phone__bar {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  position: relative;
  flex: none;
}
.phone__title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}
.phone__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 22px 0;
}
.grid-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 120px;
  justify-content: center;
}
.grid-dots span {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--hairline);
}
.grid-dots span[data-state='done'] {
  background: var(--ink);
}
.grid-dots span[data-state='current'] {
  background: var(--gray);
}
.phone__meta {
  font-size: 13px;
  line-height: 1.35;
  color: var(--gray-text);
  text-align: center;
  margin-top: 6px;
}
.phone__metaSmall {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-text);
  margin-top: 3px;
}
.phone__tick {
  width: 1.5px;
  height: 9px;
  background: var(--gray);
  margin-top: 12px;
}
.phone__state {
  font-size: 16px;
  font-weight: 800;
  margin-top: 12px;
}
.phone__task {
  font-size: 13.5px;
  line-height: 1.35;
  text-align: center;
  margin-top: 6px;
  max-width: 250px;
}
.phone__timer {
  font: 700 36px Doto, monospace;
  letter-spacing: 3px;
  margin-top: 12px;
}
.phone__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 18px 18px;
}
.phone__row {
  display: flex;
  gap: 10px;
}
.pill {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
}
.pill--filled {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.pill .icon {
  width: 16px;
  height: 16px;
}

.floating-card {
  position: absolute;
  left: -96px;
  bottom: 110px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 14px 30px rgba(27, 27, 29, 0.1);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transform: rotate(3deg);
}
.check {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--done);
  color: #fff;
  font: 800 9px/14px Archivo, sans-serif;
  text-align: center;
  flex: none;
}
.done-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--done-text);
}

/* ── Marquee ─────────────────────────────────────────────────────────────── */

.marquee {
  background: var(--ink);
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
.marquee__track span {
  font-size: 20px;
  font-weight: 900;
  color: var(--paper);
  letter-spacing: 2px;
  padding-right: 48px;
}

/* ── Sections ────────────────────────────────────────────────────────────── */

section {
  padding: 110px var(--page-x);
}
h2 {
  margin: 0;
  font-size: 52px;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -1.5px;
}
.features {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.features h2 {
  max-width: 560px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
}
.card__num {
  width: 34px;
  height: 34px;
  background: var(--ink);
  border-radius: 8px;
  color: var(--paper);
  font: 800 17px/34px Archivo, sans-serif;
  text-align: center;
}
.card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}
.card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-text);
  text-wrap: pretty;
}

.showcase {
  background: var(--ink);
  padding-bottom: 130px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.showcase h2 {
  color: var(--paper);
}
.showcase p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(244, 244, 242, 0.6);
  max-width: 480px;
}

.web {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.web h2,
.web > p {
  text-align: center;
}
.web > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--gray-text);
  max-width: 520px;
  text-wrap: pretty;
}
.web__caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
  margin-top: 8px;
}

.cta {
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 120px var(--page-x);
}
.cta h2 {
  font-size: 64px;
  line-height: 1;
  color: var(--paper);
  letter-spacing: -2px;
  text-align: center;
}
.cta p {
  margin: 0;
  font-size: 17px;
  color: rgba(244, 244, 242, 0.6);
}
.cta__actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  border-top: 1px solid var(--hairline);
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-text);
}
.footer__links {
  display: flex;
  gap: 24px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gray-text);
}

/* ── Motion ──────────────────────────────────────────────────────────────── */

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(var(--phone-tilt, 0deg));
  }
  50% {
    transform: translateY(-12px) rotate(var(--phone-tilt, 0deg));
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

/*
 * Motion is decoration here — every one of these animations loops forever, and
 * a looping animation is exactly what triggers vestibular symptoms. The page
 * reads identically without them.
 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  :root {
    --page-x: 40px;
  }
  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 80px;
  }
  .hero__watermark {
    display: none;
  }
  h1 {
    font-size: 60px;
    letter-spacing: -2px;
  }
  h2 {
    font-size: 40px;
  }
  .cta h2 {
    font-size: 44px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .floating-card {
    display: none;
  }
  .nav__links a:not(.btn) {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --page-x: 20px;
  }
  .nav {
    padding: 0 20px;
  }
  h1 {
    font-size: 42px;
    letter-spacing: -1.5px;
  }
  .phone {
    /* Upright on a phone: the tilt is a desktop flourish, and at full width it
       reads as crooked rather than as depth. */
    --phone-tilt: 0deg;
  }
  .phone__shell {
    width: 100%;
    max-width: 320px;
  }
  .btn {
    width: 100%;
  }
  .hero__actions,
  .cta__actions {
    width: 100%;
  }
  .footer {
    justify-content: center;
    text-align: center;
  }
}

/* ── Downloads ───────────────────────────────────────────────────────────── */

.downloads {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.downloads__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 620px;
}
.downloads__head h1 {
  font-size: 60px;
  letter-spacing: -2px;
}
.downloads__head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--gray-text);
  text-wrap: pretty;
}
.downloads__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.platform {
  border: 1px solid var(--hairline);
  border-radius: 22px;
  padding: 32px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.platform__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.5px;
}
.platform__note {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-text);
  text-wrap: pretty;
}
.badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--hairline);
  color: var(--gray-text);
}
.badge--live {
  background: var(--done);
  color: #fff;
}
/* Not a link, so it cannot be clicked, focused or followed by a crawler. */
.btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.downloads__footnote {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
  max-width: 640px;
}

@media (max-width: 860px) {
  .downloads__grid {
    grid-template-columns: 1fr;
  }
  .downloads__head h1 {
    font-size: 42px;
  }
}

/* ── Legal documents ─────────────────────────────────────────────────────── */

/*
 * A reading column, not a layout. These pages exist to be read carefully and
 * cited precisely, so the measure is held near 70 characters and the headings
 * carry enough space to scan by.
 */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px var(--page-x) 96px;
}
.doc h1 {
  font-size: 52px;
  letter-spacing: -1.5px;
}
.doc__date {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-text);
}
.doc__lede {
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-text);
  text-wrap: pretty;
}
.doc h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
  margin: 48px 0 0;
}
.doc h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 28px 0 0;
}
.doc p {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}
.doc ul {
  margin: 14px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc li {
  font-size: 16px;
  line-height: 1.6;
}
.doc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.doc a:hover {
  color: var(--gray-text);
}

@media (max-width: 560px) {
  .doc h1 {
    font-size: 36px;
  }
  .doc {
    padding-top: 48px;
  }
}

.doc__steps {
  margin: 14px 0 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.doc__steps li {
  font-size: 16px;
  line-height: 1.6;
}

/* ── Why ─────────────────────────────────────────────────────────────────── */

.why {
  max-width: 900px;
  margin: 0 auto;
  padding: 96px 24px 40px;
}
.why__eyebrow {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--gray-text);
}
.why h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.08;
  max-width: 16ch;
}
/* Prose measure: long lines are the fastest way to lose a reader who is
   deciding whether to care. */
.why__body { margin-top: 28px; max-width: 62ch; }
.why__body p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.why__body strong { color: var(--ink); font-weight: 600; }

.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.why__col {
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
  background: var(--surface);
}
.why__col h3 { margin: 0 0 12px; font-size: 14px; font-weight: 800; }
.why__col ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.why__col li { font-size: 14.5px; line-height: 1.5; color: var(--gray-text); }

.why__note {
  margin: 26px 0 0;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-text);
}

@media (max-width: 640px) {
  .why { padding: 64px 20px 24px; }
}

.platform__meta {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--gray-text);
  font-variant-numeric: tabular-nums;
}
/*
 * A caution, not an error: bordered and quiet rather than red. The download
 * works — the user just needs to know what their computer is about to say.
 */
.platform__warn {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--gray-text);
}
.platform__warn strong { color: var(--ink); font-weight: 600; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */

.notfound {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.notfound__code {
  margin: 0 0 10px;
  font-family: Doto, ui-monospace, monospace;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--gray-text);
  font-variant-numeric: tabular-nums;
}
.notfound h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
}
.notfound__body {
  margin: 16px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-text);
}
.notfound__actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Logo sizes ──────────────────────────────────────────────────────────── */

/*
 * These were inline `style` attributes. They are classes now so the site can
 * ship a Content-Security-Policy without `style-src 'unsafe-inline'` — which
 * would have re-opened the exact hole the policy is there to close, since an
 * injected `style` attribute is a working attack on its own.
 */
.logo--nav { height: 22px; width: auto; }
.logo--foot { height: 14px; width: auto; }
.logo--cta { height: 84px; width: auto; }
.logo--cta-wrap { height: 84px; display: flex; align-items: center; }
.logo--slot { display: flex; width: 38px; }
.footnote-sm { font-size: 13px; }
