:root {
  color-scheme: light;
  --ink: #10251b;
  --ink-soft: #526158;
  --forest: #063d2b;
  --green: #168457;
  --green-bright: #38a76c;
  --lime: #d7f238;
  --clay: #e96f3a;
  --cream: #f4f5ed;
  --paper: #fbfcf7;
  --line: #ced5ca;
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-family: var(--sans);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 9%, rgba(215, 242, 56, .18), transparent 21rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 99;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

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

.site-header,
.hero,
.proof-strip,
.process,
.privacy-promise,
.site-footer,
.legal-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(16, 37, 27, .18);
}

.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-mark,
.mini-logo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: var(--forest);
}

.brand-mark { width: 34px; height: 34px; }
.mini-logo { width: 28px; height: 28px; border-radius: 8px; }

.brand-mark::before,
.brand-mark::after,
.mini-logo::before,
.mini-logo::after {
  content: "";
  position: absolute;
  background: var(--lime);
}

.brand-mark::before,
.mini-logo::before { width: 2px; height: 72%; }
.brand-mark::after,
.mini-logo::after { width: 72%; height: 2px; }

.brand-mark span,
.mini-logo span {
  width: 45%;
  aspect-ratio: 1;
  border: 2px solid white;
  border-radius: 50%;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header nav a,
.site-footer nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer nav a:hover { color: var(--green); }

.header-cta {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.header-cta:hover { background: var(--forest); color: white; transform: translateY(-2px); }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: clamp(44px, 7vw, 104px);
  padding-block: 76px 94px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow > span { width: 30px; height: 2px; background: currentColor; }

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

h1,
.section-heading h2,
.manifesto h2,
.privacy-promise h2,
.final-cta h2,
.legal-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
}

h1 {
  max-width: 660px;
  margin-bottom: 24px;
  font-size: clamp(58px, 6.8vw, 94px);
  line-height: .88;
}

h1 em { color: var(--green); font-weight: inherit; }

.lede {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 22px;
  border-radius: 13px;
  background: var(--forest);
  color: white;
  font-weight: 750;
  line-height: 1.05;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(6, 61, 43, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(6, 61, 43, .25); }
.button small { display: block; margin-bottom: 3px; font-size: 10px; font-weight: 500; letter-spacing: .02em; }
.apple { font-size: 22px; color: var(--lime); }

.text-link {
  color: var(--forest);
  font-size: 14px;
  font-weight: 750;
  text-decoration-thickness: 1px;
}

.text-link span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }

.trust-list {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
  list-style: none;
}

.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.court-lines {
  position: absolute;
  inset: 4% 0 0;
  z-index: -2;
  overflow: hidden;
  border-radius: 48% 48% 18px 18px;
  background: var(--green);
  transform: rotate(2deg);
  box-shadow: 0 40px 70px rgba(6, 61, 43, .2);
}

.court-lines::before,
.court-lines::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, .62);
}

.court-lines::before { inset: 46px 36px; }
.court-lines::after { width: 46%; top: 46px; bottom: 46px; left: 27%; border-top: 0; border-bottom: 0; }

.phone {
  width: min(340px, 72vw);
  min-height: 570px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 48px;
  background: #e9eee7;
  box-shadow: 0 32px 68px rgba(4, 34, 24, .36), inset 0 0 0 1px rgba(16, 37, 27, .15);
  transform: rotate(-4deg);
}

.phone-top {
  position: absolute;
  z-index: 3;
  width: 104px;
  height: 25px;
  margin: 9px 0 0 108px;
  border-radius: 999px;
  background: #07120d;
}

.phone-screen {
  min-height: 546px;
  overflow: hidden;
  padding: 42px 20px 20px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 242, 56, .3), transparent 180px),
    var(--paper);
}

.app-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #dce5db; color: var(--forest); font-size: 9px; font-weight: 800; }
.screen-kicker { margin-bottom: 7px; color: var(--green); font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.phone-screen h2 { margin: 0 0 14px; font-size: 29px; line-height: 1.02; letter-spacing: -.045em; }
.plan-stats { display: flex; gap: 6px; margin-bottom: 17px; }
.plan-stats span { padding: 5px 8px; border-radius: 99px; background: #e5ebe3; color: #526158; font-size: 8px; font-weight: 750; }

.session-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 16px;
  background: var(--forest);
  color: white;
}

.session-card small,
.exercise-row small { display: block; opacity: .68; font-size: 8px; font-weight: 650; }
.session-card strong { display: block; margin-top: 2px; font-size: 15px; }
.session-arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lime); color: var(--forest); }

.exercise-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 13px 2px;
  border-bottom: 1px solid #dae0d8;
}

.exercise-row > span { color: var(--green); font-family: var(--serif); font-size: 17px; }
.exercise-row strong { display: block; margin-bottom: 2px; font-size: 11px; }

.floating-note {
  position: absolute;
  z-index: 3;
  min-width: 178px;
  padding: 13px 15px;
  border: 1px solid rgba(6, 61, 43, .13);
  border-radius: 14px;
  background: rgba(251, 252, 247, .94);
  box-shadow: 0 15px 38px rgba(6, 61, 43, .17);
  backdrop-filter: blur(12px);
}

.floating-note strong,
.floating-note span { display: block; }
.floating-note strong { color: var(--green); font-size: 12px; }
.floating-note span { margin-top: 2px; color: var(--ink-soft); font-size: 9px; }
.note-one { top: 10%; right: -2%; animation: drift 5s ease-in-out infinite; }
.note-two { bottom: 10%; left: -4%; animation: drift 5s 1.2s ease-in-out infinite; }

@keyframes drift { 50% { transform: translateY(-8px); } }

.proof-strip {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip > * { margin: 0; padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-strip > *:first-child { padding-left: 0; }
.proof-strip > *:last-child { border-right: 0; }
.proof-strip p { color: var(--ink-soft); font-family: var(--serif); font-size: 17px; }
.proof-strip p strong { color: var(--ink); }
.proof-strip div { display: flex; gap: 9px; align-items: center; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.proof-strip div span { color: var(--green); font-family: var(--serif); font-size: 18px; font-weight: 500; }

.process { padding-block: 130px; }
.section-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; margin-bottom: 72px; }
.section-heading .eyebrow { margin-top: 12px; }
.section-heading h2,
.privacy-promise h2 { margin: 0; font-size: clamp(45px, 5vw, 72px); line-height: .98; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.steps article { min-height: 300px; padding: 28px 32px 22px; border-top: 1px solid var(--ink); border-right: 1px solid var(--line); }
.steps article:first-child { padding-left: 0; }
.steps article:last-child { border-right: 0; }
.step-number { display: block; margin-bottom: 74px; color: var(--green); font-family: var(--serif); font-size: 20px; }
.steps h3 { max-width: 260px; margin-bottom: 16px; font-size: 20px; line-height: 1.2; letter-spacing: -.025em; }
.steps p { max-width: 310px; color: var(--ink-soft); font-size: 14px; }

.manifesto {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(50px, 8vw, 120px);
  padding: 110px max(40px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    var(--forest);
  background-size: 64px 64px;
  color: white;
}

.eyebrow.light { color: var(--lime); }
.manifesto h2 { margin-bottom: 28px; font-size: clamp(48px, 6vw, 78px); line-height: .94; }
.manifesto-copy > p:not(.eyebrow) { max-width: 510px; color: #bed0c5; font-size: 17px; }
.light-link { display: inline-block; margin-top: 22px; color: var(--lime); }
.quality-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .22); border-left: 1px solid rgba(255, 255, 255, .22); }
.quality-grid article { min-height: 250px; padding: 28px; border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.quality-icon { display: block; margin-bottom: 56px; color: var(--lime); font-family: var(--serif); font-size: 30px; }
.quality-grid h3 { margin-bottom: 10px; font-size: 18px; }
.quality-grid p { margin-bottom: 0; color: #aebfb5; font-size: 13px; }

.privacy-promise {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(50px, 10vw, 150px);
  align-items: center;
  padding-block: 130px;
}

.privacy-promise > div:last-child > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 22px; color: var(--ink-soft); font-size: 17px; }
.privacy-orbit { position: relative; width: min(310px, 72vw); aspect-ratio: 1; margin-inline: auto; border: 1px solid var(--line); border-radius: 50%; }
.privacy-orbit::before,
.privacy-orbit::after { content: ""; position: absolute; inset: 17%; border: 1px solid var(--line); border-radius: 50%; }
.privacy-orbit::after { inset: 34%; border-color: var(--green); background: var(--green); }
.privacy-orbit span::before,
.privacy-orbit span::after { content: ""; position: absolute; z-index: 2; background: var(--lime); }
.privacy-orbit span::before { width: 2px; height: 24%; top: 38%; left: calc(50% - 1px); }
.privacy-orbit span::after { height: 2px; width: 24%; left: 38%; top: calc(50% - 1px); }

.final-cta {
  display: grid;
  place-items: center;
  padding: 105px 24px 90px;
  text-align: center;
  color: white;
  background: var(--green);
}

.final-cta h2 { max-width: 900px; margin-bottom: 38px; font-size: clamp(48px, 7vw, 86px); line-height: .92; }
.button.lime { background: var(--lime); color: var(--forest); }
.button.lime .apple { color: var(--forest); }
.fine-print { margin: 28px 0 0; color: rgba(255, 255, 255, .68); font-size: 11px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px 40px;
  align-items: center;
  padding-block: 48px 34px;
}

.site-footer p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.footer-brand { grid-row: span 2; }
.copyright { grid-column: 2 / 4; padding-top: 20px; border-top: 1px solid var(--line); }

/* Legal and support pages */
.legal-page { background: var(--paper); }
.legal-page .site-header { width: min(980px, calc(100% - 40px)); }
.legal-shell { width: min(980px, calc(100% - 40px)); padding-block: 84px 110px; }
.legal-header { max-width: 760px; padding-bottom: 54px; border-bottom: 1px solid var(--line); }
.legal-header h1 { margin-bottom: 20px; font-size: clamp(54px, 8vw, 90px); line-height: .92; }
.legal-header .lede { font-size: 18px; }
.legal-meta { margin-top: 20px; color: var(--green); font-size: 12px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.legal-content { max-width: 760px; margin-left: auto; padding-top: 30px; }
.legal-content section { display: grid; grid-template-columns: 220px 1fr; gap: 38px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.legal-content h2 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -.025em; }
.legal-content p,
.legal-content li { color: var(--ink-soft); font-size: 15px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { margin: 0; padding-left: 20px; }
.contact-card { padding: 22px; border-left: 4px solid var(--lime); background: var(--cream); }
.contact-card a { color: var(--green); font-weight: 800; }
.legal-footer { width: min(980px, calc(100% - 40px)); margin-inline: auto; padding: 28px 0 42px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; }

@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { width: min(640px, 100%); margin-inline: auto; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > *:first-child { padding-left: 24px; }
  .proof-strip > *:nth-child(2) { border-right: 0; }
  .proof-strip > *:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading,
  .manifesto,
  .privacy-promise { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps article { min-height: 0; padding: 28px 0 36px; border-right: 0; }
  .step-number { margin-bottom: 32px; }
  .privacy-orbit { width: 230px; }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .proof-strip,
  .process,
  .privacy-promise,
  .site-footer,
  .legal-shell,
  .legal-page .site-header,
  .legal-footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 70px; }
  .header-cta { padding: 8px 14px; }
  .hero { min-height: auto; padding-block: 52px 70px; }
  h1 { font-size: clamp(54px, 18vw, 74px); }
  .hero-visual { min-height: 520px; }
  .court-lines { inset-inline: -14px; }
  .phone { min-height: 500px; transform: rotate(-2deg) scale(.88); }
  .phone-screen { min-height: 476px; }
  .note-one { right: -8px; }
  .note-two { left: -8px; }
  .proof-strip { width: 100%; grid-template-columns: 1fr; }
  .proof-strip > * { padding-left: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > *:last-child { border-bottom: 0; }
  .process { padding-block: 90px; }
  .section-heading { gap: 20px; margin-bottom: 46px; }
  .manifesto { padding: 82px 20px; }
  .quality-grid { grid-template-columns: 1fr; }
  .quality-grid article { min-height: 210px; }
  .privacy-promise { padding-block: 90px; }
  .final-cta { padding-inline: 18px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-brand { grid-row: auto; }
  .copyright { grid-column: auto; }
  .legal-shell { padding-block: 60px 84px; }
  .legal-content section { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
