:root {
  color-scheme: light;
  --canvas: #f5f5f2;
  --surface: #ffffff;
  --surface-soft: #ececea;
  --ink: #171719;
  --muted: #68686d;
  --faint: #929298;
  --line: #dededb;
  --accent: #2866e8;
  --accent-soft: #e9f0ff;
  --success: #237a50;
  --danger: #a94343;
  --shadow: 0 18px 50px rgba(24, 24, 28, 0.08);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --shell: 1160px;
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(40, 102, 232, 0.35);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(222, 222, 219, 0.8);
  background: rgba(245, 245, 242, 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  font-size: 15px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links > a:not(.button) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
}

.nav-links > a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 14px;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-dark:hover {
  background: #303035;
}

.button-light {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.button-light:hover {
  border-color: #c8c8c4;
  background: white;
}

.button[hidden],
[hidden] {
  display: none !important;
}

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 96px);
  padding-block: 92px 110px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 780;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 760;
  letter-spacing: -0.052em;
  line-height: 1.03;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 730;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hero-lede,
.section-heading > p:last-child,
.split > div:first-child > p:last-child {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

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

.purchase-note {
  margin: 15px 0 0;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.5;
}

.app-preview {
  border: 1px solid rgba(222, 222, 219, 0.82);
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(40, 102, 232, 0.08), transparent 28%),
    var(--surface);
  box-shadow: var(--shadow);
}

.preview-topline,
.preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.preview-topline {
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-pill,
.soft-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--accent-soft);
  color: #174aa9;
  font-size: 11px;
  font-weight: 800;
}

.preview-heading {
  margin-top: 30px;
}

.preview-kicker {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 730;
}

.preview-heading h2 {
  max-width: 340px;
  margin: 0;
  font-size: 29px;
  letter-spacing: -0.045em;
}

.session-count {
  min-width: 74px;
  display: grid;
  justify-items: end;
}

.session-count strong {
  font-size: 36px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.session-count span {
  color: var(--muted);
  font-size: 11px;
}

.exercise-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.exercise-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.exercise-number {
  color: var(--faint);
  font-size: 11px;
  font-weight: 750;
}

.exercise-list strong,
.exercise-list small {
  display: block;
}

.exercise-list strong {
  font-size: 15px;
}

.exercise-list small,
.adapt-note small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.adapt-note {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  padding: 14px;
  background: var(--surface-soft);
}

.adapt-note strong,
.adapt-note small {
  display: block;
}

.adapt-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  font-weight: 800;
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid p {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}

.proof-grid p:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  font-size: 14px;
}

.proof-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding-block: 120px;
}

.section-soft {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(26px, 4vw, 38px);
  background: var(--surface);
}

.feature-card-large {
  grid-row: span 2;
  min-height: 596px;
}

.feature-index {
  margin-bottom: auto;
  color: var(--faint);
  font-size: 12px;
  font-weight: 800;
}

.feature-card h3 {
  margin-top: 38px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.mini-chart {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 14px;
  margin-top: 42px;
}

.mini-chart span {
  display: grid;
  gap: 9px;
}

.mini-chart i {
  display: block;
  border-radius: 12px 12px 5px 5px;
  background: var(--ink);
}

.bar-one {
  height: 86px;
  opacity: 0.35;
}

.bar-two {
  height: 116px;
  opacity: 0.65;
}

.bar-three {
  height: 144px;
}

.mini-chart small {
  color: var(--muted);
  font-size: 11px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(50px, 10vw, 130px);
}

.principle-list p {
  margin-bottom: 0;
  padding: 26px 0;
  border-top: 1px solid #d2d2cf;
  color: var(--muted);
}

.principle-list p:last-child {
  border-bottom: 1px solid #d2d2cf;
}

.principle-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.privacy-callout,
.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 50px;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 6vw, 68px);
}

.privacy-callout {
  border: 1px solid var(--line);
  background: var(--surface);
}

.privacy-callout > div:first-child {
  max-width: 720px;
}

.privacy-callout p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-actions {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.text-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 4px;
}

.cta-section {
  padding: 0 0 120px;
}

.cta-card {
  align-items: center;
  background: var(--ink);
  color: white;
}

.cta-card .eyebrow {
  color: #91b3ff;
}

.cta-card h2 {
  max-width: 700px;
  margin-bottom: 0;
}

.cta-card .button-dark {
  background: white;
  color: var(--ink);
}

.cta-card .purchase-note {
  max-width: 250px;
  color: #aaaab0;
}

.footer {
  border-top: 1px solid var(--line);
  padding-block: 46px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 40px;
}

.footer p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.footer nav {
  display: flex;
  gap: 20px;
}

.footer nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.page-hero {
  padding-block: 90px 58px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 60px;
  align-items: end;
}

.page-hero h1 {
  max-width: 820px;
}

.page-hero .hero-lede {
  max-width: 720px;
}

.meta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  background: var(--surface);
}

.meta-card p:last-child {
  margin-bottom: 0;
}

.content-section {
  padding-block: 24px 110px;
}

.content-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 70px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 12px;
}

.toc a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.legal-copy {
  display: grid;
  gap: 14px;
}

.legal-card {
  scroll-margin-top: 110px;
  border-top: 1px solid var(--line);
  padding: 34px 0 24px;
}

.legal-card h2 {
  font-size: 30px;
}

.legal-card h3 {
  margin-top: 28px;
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card li + li {
  margin-top: 9px;
}

.legal-card strong {
  color: var(--ink);
}

.legal-card a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.callout {
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--accent-soft);
  color: #173d88;
}

.recipient-main {
  min-height: calc(100vh - 77px);
  display: grid;
  align-items: center;
  padding-block: 52px;
}

.recipient-shell {
  width: min(calc(100% - 36px), 760px);
  margin-inline: auto;
}

.recipient-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 6vw, 54px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.recipient-card h1 {
  margin-bottom: 16px;
  font-size: clamp(40px, 8vw, 64px);
}

.recipient-intro {
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
}

.recipient-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.loading-state {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.loading-dot {
  width: 42px;
  height: 42px;
  border: 4px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.receipt-header h1 {
  margin: 4px 0 0;
  font-size: clamp(38px, 7vw, 58px);
}

.receipt-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.receipt-metric {
  min-height: 110px;
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface-soft);
}

.receipt-metric strong,
.receipt-metric span {
  display: block;
}

.receipt-metric strong {
  font-size: 26px;
  letter-spacing: -0.04em;
}

.receipt-metric span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.receipt-exercises,
.receipt-records {
  display: grid;
  gap: 0;
  margin-top: 28px;
}

.receipt-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.receipt-row strong,
.receipt-row span {
  display: block;
}

.receipt-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.receipt-row > small {
  color: var(--muted);
  text-align: right;
}

.section-label {
  margin: 30px 0 6px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pact-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.pact-point {
  min-height: 132px;
  border-radius: var(--radius-sm);
  padding: 18px;
  background: var(--surface-soft);
}

.pact-point strong,
.pact-point span {
  display: block;
}

.pact-point span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.recipient-footnote {
  margin: 24px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.status-success {
  color: var(--success);
}

.status-danger {
  color: var(--danger);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 72px 88px;
  }

  .app-preview {
    width: min(100%, 620px);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid p:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .proof-grid p:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .split,
  .page-hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }

  .privacy-callout,
  .cta-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links > a:not(.button) {
    padding: 12px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .hero {
    min-height: auto;
    gap: 52px;
  }

  .section {
    padding-block: 84px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-row: auto;
    min-height: 520px;
  }

  .proof-grid,
  .receipt-metrics,
  .pact-points {
    grid-template-columns: 1fr;
  }

  .proof-grid p,
  .proof-grid p:last-child {
    min-height: 90px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .proof-grid p:first-child {
    border-top: 0;
  }

  .receipt-header {
    display: block;
  }

  .receipt-header .soft-pill {
    margin-top: 14px;
  }

  .receipt-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .receipt-row > small {
    text-align: left;
  }

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

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

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