:root {
  color-scheme: light dark;
  --bg: #faf8f3;
  --ink: #171615;
  --muted: #68625b;
  --soft: #ded7cc;
  --accent: #1f5d48;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141311;
    --ink: #f4f0e9;
    --muted: #b8afa3;
    --soft: #38342e;
    --accent: #84d3a8;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

img,
video {
  display: block;
  max-width: 100%;
}

video {
  background: #111;
  object-fit: contain;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

p,
h1,
h2,
h3,
figure {
  margin: 0;
}

.site-header {
  width: min(1180px, calc(100% - 36px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.text-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 720;
  text-decoration: none;
}

.brand img,
.closing img {
  border-radius: 20%;
}

.nav-links,
.text-links {
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links {
  justify-content: flex-end;
}

.nav-links a,
.text-links a,
.back {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 620;
  text-decoration: none;
}

.nav-links a:hover,
.text-links a:hover,
.back:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site {
  overflow: hidden;
}

.hero,
.problem,
.contrast,
.how-head,
.flow,
.willpower-band,
.companion-section,
.privacy-band,
.closing {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  gap: 44px;
  align-items: center;
  padding: 44px 0 58px;
}

.hero-copy {
  max-width: 520px;
}

.eyebrow,
.updated,
.back,
.flow-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 16px;
}

h1 {
  margin-bottom: 18px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 6.9rem;
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0;
}

.headline {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: 2.72rem;
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: 0;
}

.lede {
  max-width: 440px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-media {
  margin: 0;
}

.hero-media video,
.hero-media img,
.flow-media video,
.flow-media img,
.companion-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-media video,
.hero-media img {
  max-height: min(66vh, 640px);
  object-fit: contain;
}

figcaption {
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.flow {
  display: grid;
  gap: 108px;
  padding: 44px 0 108px;
}

.flow-step {
  display: grid;
  grid-template-columns: minmax(250px, 0.42fr) minmax(0, 0.58fr);
  gap: 56px;
  align-items: center;
}

.flow-step.reverse {
  grid-template-columns: minmax(0, 0.58fr) minmax(250px, 0.42fr);
}

.flow-step.reverse .flow-copy {
  grid-column: 2;
}

.flow-step.reverse .flow-media {
  grid-column: 1;
  grid-row: 1;
}

.flow-copy {
  max-width: 420px;
}

.flow-copy h2,
.companion-section h2,
.privacy-band h2,
.section-head h2,
.closing h2 {
  margin: 12px 0 18px;
  font-size: 3rem;
  font-weight: 690;
  line-height: 1;
  letter-spacing: 0;
}

.flow-copy p,
.companion-section p,
.privacy-copy p,
.section-head p,
.closing p {
  color: var(--muted);
}

.flow-copy p {
  margin-bottom: 0;
  font-size: 1.02rem;
}

.flow-media {
  margin-bottom: 0;
}

.notification-step {
  align-items: center;
}

.notification-media {
  width: min(520px, 100%);
  justify-self: center;
}

.notification-media img {
  border-radius: 8px;
}

.media-stack {
  display: grid;
  gap: 34px;
}

.media-stack .flow-media {
  margin: 0;
}

.companion-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 56px;
  align-items: center;
  padding: 104px 0;
  border-top: 1px solid var(--soft);
}

.companion-section > div {
  max-width: 390px;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  gap: 56px;
  padding: 96px 0;
  border-top: 1px solid var(--soft);
}

.privacy-band h2 {
  max-width: 460px;
}

.privacy-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.privacy-copy p {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft);
}

.closing {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 82px 0 100px;
  border-top: 1px solid var(--soft);
  text-align: center;
}

.closing h2 {
  margin-bottom: 4px;
}

.closing p {
  max-width: 560px;
  margin-bottom: 8px;
}

.page {
  width: min(820px, calc(100% - 32px));
  margin: 48px auto;
  padding: 36px 0;
}

.article {
  width: min(760px, calc(100% - 32px));
}

.article h1 {
  margin-bottom: 18px;
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.article h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.article p {
  color: var(--muted);
}

.article ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

.article li {
  margin-bottom: 8px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.links a {
  color: var(--accent);
}

.back {
  display: inline-block;
  margin-bottom: 24px;
}

/* Call to action */
.cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.cta-row.center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 680;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.cta-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Shared section heading */
.section-head {
  max-width: 700px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
}

.section-head p + p {
  margin-top: 16px;
}

/* Problem */
.problem,
.contrast,
.willpower-band {
  padding: 96px 0;
  border-top: 1px solid var(--soft);
}

.problem-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  padding: 28px 26px;
  border: 1px solid var(--soft);
  border-radius: 16px;
}

.problem-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 720;
}

.problem-card p {
  color: var(--muted);
  font-size: 0.99rem;
}

/* Blockers vs Anchor */
.contrast-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contrast-col {
  padding: 30px 30px 34px;
  border: 1px solid var(--soft);
  border-radius: 18px;
}

.contrast-col.is-anchor {
  border-color: var(--accent);
}

.contrast-col h3 {
  margin-bottom: 20px;
  font-size: 1.32rem;
  font-weight: 740;
}

.contrast-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 15px;
}

.contrast-col li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-size: 1rem;
}

.contrast-col li::before {
  content: "\00d7";
  position: absolute;
  left: 2px;
  top: -1px;
  font-weight: 800;
  color: var(--muted);
}

.contrast-col.is-anchor li {
  color: var(--ink);
}

.contrast-col.is-anchor li::before {
  content: "\2713";
  color: var(--accent);
}

/* "How it works" intro sits directly above the flow steps */
.how-head {
  padding: 96px 0 0;
  border-top: 1px solid var(--soft);
}

@media (max-width: 940px) {
  .hero,
  .flow-step,
  .flow-step.reverse,
  .companion-section,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 52px 0 68px;
  }

  h1 {
    font-size: 6.2rem;
  }

  .headline,
  .flow-copy h2,
  .companion-section h2,
  .privacy-band h2,
  .section-head h2,
  .closing h2 {
    font-size: 2.45rem;
  }

  .problem-grid,
  .contrast-grid {
    grid-template-columns: 1fr;
  }

  .problem,
  .contrast,
  .willpower-band {
    padding: 76px 0;
  }

  .how-head {
    padding-top: 76px;
  }

  .lede {
    max-width: 620px;
  }

  .hero-media video,
  .hero-media img {
    max-height: none;
  }

  .flow {
    gap: 76px;
    padding-bottom: 82px;
  }

  .flow-step.reverse .flow-copy,
  .flow-step.reverse .flow-media {
    grid-column: auto;
    grid-row: auto;
  }

  .flow-copy,
  .companion-section > div {
    max-width: 620px;
  }

  .privacy-band,
  .companion-section {
    gap: 26px;
    padding: 76px 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0 8px;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero,
  .problem,
  .contrast,
  .how-head,
  .flow,
  .willpower-band,
  .companion-section,
  .privacy-band,
  .closing {
    width: min(100% - 24px, 520px);
  }

  h1 {
    font-size: 4.8rem;
  }

  .headline,
  .flow-copy h2,
  .companion-section h2,
  .privacy-band h2,
  .section-head h2,
  .closing h2 {
    font-size: 2rem;
  }

  .flow {
    gap: 62px;
  }

  .flow-step {
    gap: 22px;
  }

  .hero-media video,
  .hero-media img,
  .flow-media video,
  .flow-media img,
  .companion-media img {
    border-radius: 7px;
  }

  .page {
    margin: 24px auto;
    padding: 24px 0;
  }

  .article h1 {
    font-size: 3rem;
  }
}
