@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/7b4bfe81-0abf-4e2a-aec0-368fedcdc645.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/5990f6ad-6169-4db2-bf41-ccc0890a8913.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/456bf0d7-4bee-402d-8f7b-a1be599adf32.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/c6c82045-a153-4318-a4bd-e9f0af048983.woff2") format("woff2");
}

:root {
  --paper: #f4ede0;
  --card: #fffcf3;
  --ink: #111110;
  --red: #ff1420;
  --red-dark: #b00e17;
  --red-text: #a80d15;
  --ash: #55524a;
  --muted: #6f6b62;
  --footer-muted: #aaa397;
  --dust: #c9bfa6;
  --line: #dfd5c0;
  --max: 1240px;
  color-scheme: light;
  font-family: "Archivo", system-ui, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-header,
main {
  background: var(--paper);
}

main {
  flex: 1 0 auto;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.page-shell,
.section-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  overflow: hidden;
  background: var(--red);
}

.header-spacer {
  flex: 1;
}

.pill-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.apple-icon {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  margin-right: 0.48rem;
  fill: currentColor;
}

.pill-link:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.pill-link.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.pill-link.dark:hover {
  border-color: var(--red);
  background: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  align-items: center;
  gap: 24px 64px;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero-copy {
  padding: 76px 40px 84px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 5.75rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--red);
}

.hero-kicker {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--ash);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.phone-stage {
  position: relative;
  height: 788px;
  overflow: hidden;
}

.phone {
  position: absolute;
  top: 44px;
  left: 50%;
  width: min(340px, calc(100% - 40px));
  height: 700px;
  padding: 9px;
  transform: translateX(-50%);
  border-radius: 46px;
  background: var(--ink);
  box-shadow: 0 22px 50px rgb(17 17 16 / 26%);
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 38px;
  background: var(--paper);
}

.phone-head {
  padding: 40px 22px 24px;
  border-radius: 0 0 30px 30px;
  background: var(--red);
}

.phone-label {
  color: rgb(244 237 224 / 75%);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
}

.phone-title {
  margin-top: 12px;
  color: var(--paper);
  font-size: 2.625rem;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.phone-stats {
  display: flex;
  gap: 30px;
  margin-top: 22px;
}

.phone-stat strong {
  display: block;
  color: var(--paper);
  font-size: 1.625rem;
  font-weight: 900;
}

.phone-stat span {
  color: rgb(244 237 224 / 72%);
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.book-list {
  display: grid;
  gap: 12px;
  padding: 16px 20px;
}

.book-card {
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 18px;
  background: var(--card);
}

.book-card.active {
  background: var(--ink);
  color: var(--paper);
}

.book-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.book-arrow {
  color: var(--muted);
}

.faces {
  display: flex;
  margin-top: 14px;
}

.face {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-left: -9px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--dust);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 800;
}

.face:first-child {
  margin-left: 0;
}

.face.light {
  background: var(--paper);
}

.face.red {
  background: var(--red);
  color: var(--paper);
}

.face.more {
  background: #3a3833;
  color: var(--dust);
}

.vote-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  border-radius: 12px;
  padding: 11px 14px;
  background: var(--red);
  color: var(--paper);
  font-size: 0.675rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.steps-band {
  background: var(--ink);
  color: var(--paper);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px;
  padding: 78px 40px;
}

.eyebrow {
  color: #ff5961;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.step h2,
.challenge-copy h2,
.privacy-intro h2 {
  margin: 14px 0 0;
  font-size: 2.125rem;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.step p,
.challenge-copy p,
.privacy-card p {
  margin: 16px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.75;
}

.challenge-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
  padding: 84px 40px;
}

.challenge-copy h2 {
  margin-top: 0;
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  line-height: 0.9;
}

.challenge-card {
  border: 3px solid var(--ink);
  border-radius: 26px;
  padding: 26px;
  background: var(--card);
}

.mvp-bar {
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 14px;
  padding: 13px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 900;
}

.crown {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: var(--red);
}

.mvp-score {
  margin-left: auto;
  color: var(--red);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.objective-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.objective-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.progress {
  height: 8px;
  overflow: hidden;
  margin-top: 8px;
  border-radius: 99px;
  background: #e8dfcb;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.progress .red-progress {
  background: var(--red);
}

.privacy-section {
  padding: 0 40px 84px;
}

.privacy-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 20px;
}

.privacy-intro h2 {
  margin: 0;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2px;
  border: 1px solid var(--line);
  background: var(--line);
}

.privacy-card {
  padding: 30px 28px;
  background: var(--paper);
}

.privacy-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.privacy-card p {
  color: var(--ash);
}

.text-link {
  color: var(--red-text);
  font-weight: 600;
}

.text-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.download-section {
  background: var(--red);
  color: var(--paper);
  text-align: center;
}

.download-inner {
  padding: 96px 40px;
}

.download-title {
  margin: 0;
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.055em;
}

.download-copy {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.download-actions {
  margin-top: 34px;
}

.site-footer {
  flex: 0 0 auto;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px 40px;
}

.footer-meta,
.footer-link {
  color: var(--footer-muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-link:hover,
.footer-link[aria-current="page"] {
  color: var(--paper);
}

.footer-spacer {
  flex: 1;
}

/* Legal and support pages */
.legal-main {
  min-height: calc(100vh - 69px);
}

.page-shell {
  padding: 72px 40px 96px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-tab {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 10px 25px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-tab:hover,
.legal-tab[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.legal-title {
  margin: 50px 0 0;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.legal-meta {
  margin: 24px 0 0;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-rule {
  height: 3px;
  margin: 34px 0 0;
  border: 0;
  background: var(--ink);
}

.legal-sections {
  margin-top: 58px;
}

.legal-section {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 36px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 38px;
  margin-top: 38px;
}

.legal-number {
  padding-top: 3px;
  color: var(--red-text);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.legal-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.legal-copy p,
.legal-copy li {
  color: var(--ash);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1rem;
  line-height: 1.85;
  text-transform: uppercase;
}

.legal-copy p {
  margin: 18px 0 0;
}

.legal-copy ul {
  margin: 18px 0 0;
  padding-left: 1.4rem;
}

.legal-copy li + li {
  margin-top: 8px;
}

.contact-panel {
  margin-top: 52px;
  border-radius: 28px;
  padding: 34px 40px;
  background: var(--ink);
  color: var(--paper);
}

.contact-panel h2 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.contact-panel p {
  margin: 16px 0 0;
  color: var(--footer-muted);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.75;
}

.contact-panel a {
  color: #ff5961;
}

.provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.provider-links a,
.inline-link {
  color: var(--red-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.provider-links a:hover,
.inline-link:hover {
  color: var(--ink);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.support-note {
  margin-top: 38px;
  border-left: 4px solid var(--red);
  padding: 18px 0 18px 22px;
  color: var(--ash);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  text-transform: uppercase;
}

.support-lede {
  max-width: 720px;
  margin-top: 24px;
  color: var(--ash);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 1rem;
  line-height: 1.85;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 52px;
}

.support-card {
  min-height: 200px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 26px;
  background: var(--card);
}

.support-card h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.support-card p {
  margin: 14px 0 0;
  color: var(--ash);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-bottom: 26px;
  }

  .phone-stage {
    height: 725px;
  }

  .phone {
    top: 8px;
  }

  .steps,
  .challenge-section,
  .privacy-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .challenge-section {
    gap: 34px;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-spacer {
    display: none;
  }

  .footer-meta {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-copy,
  .steps,
  .challenge-section,
  .privacy-section,
  .download-inner,
  .footer-inner,
  .page-shell {
    padding-right: 22px;
    padding-left: 22px;
  }

  .header-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand {
    gap: 10px;
  }

  .header-inner .pill-link {
    padding-inline: 11px;
    font-size: 0.61rem;
    letter-spacing: 0.09em;
  }

  .header-inner .apple-icon {
    width: 0.95rem;
    height: 0.95rem;
    margin-right: 0.35rem;
  }

  .hero-copy {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.75rem);
  }

  .hero-kicker {
    font-size: 0.92rem;
  }

  .phone-stage {
    height: 700px;
  }

  .steps {
    gap: 44px;
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .challenge-section {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .privacy-section {
    padding-bottom: 66px;
  }

  .privacy-card {
    padding: 25px 22px;
  }

  .download-inner {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .footer-link {
    flex: 1 1 auto;
  }

  .page-shell {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .legal-title {
    margin-top: 40px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 32px;
    padding-bottom: 32px;
  }

  .legal-copy p,
  .legal-copy li {
    font-size: 0.94rem;
    line-height: 1.78;
  }

  .contact-panel {
    padding: 28px 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
