:root {
  color-scheme: light;
  --ink: #171623;
  --ink-soft: #363348;
  --muted: #6f6b7d;
  --line: #e9e4dc;
  --surface: #ffffff;
  --cream: #fffaf2;
  --cream-deep: #f8eddd;
  --violet: #6251e8;
  --violet-dark: #4432c0;
  --violet-soft: #ece9ff;
  --green: #2fba73;
  --green-dark: #16774a;
  --green-soft: #e1f7eb;
  --orange: #ff774d;
  --orange-dark: #bd4726;
  --orange-soft: #ffeadf;
  --yellow: #f3c64f;
  --yellow-soft: #fff5c9;
  --shadow: 0 30px 80px rgba(47, 39, 82, 0.16);
  --shadow-soft: 0 18px 45px rgba(47, 39, 82, 0.08);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  color: #ffffff;
  background: var(--violet);
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

h3 {
  font-size: 1.35rem;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(98, 81, 232, 0.45);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -64px;
  left: 18px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 750;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(233, 228, 220, 0.78);
  background: rgba(255, 250, 242, 0.84);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 76px;
  margin: 0 auto;
  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: 1.08rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px 12px 12px 5px;
  color: #ffffff;
  background:
    radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.75) 0 8%, transparent 9%),
    linear-gradient(145deg, var(--violet), var(--orange));
  box-shadow: 0 10px 24px rgba(98, 81, 232, 0.24);
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links > a:not(.nav-cta) {
  padding: 8px 0;
}

.nav-links > a:hover,
.nav-links > a[aria-current="page"] {
  color: var(--violet-dark);
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(98, 81, 232, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(50, 39, 86, 0.06);
}

.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 0 70px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0)),
    var(--cream);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -12% -35% 24%;
  z-index: -2;
  height: 620px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  transform: rotate(-8deg);
}

.hero-glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-glow-one {
  top: 12%;
  right: 8%;
  width: 420px;
  height: 420px;
  background: rgba(98, 81, 232, 0.16);
}

.hero-glow-two {
  right: 28%;
  bottom: -100px;
  width: 360px;
  height: 360px;
  background: rgba(255, 119, 77, 0.14);
}

.hero-inner,
.container,
.signal-inner,
.reward-note-inner,
.cta-inner,
.footer-inner,
.footer-bottom {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 38px 0;
}

.eyebrow,
.section-kicker,
.cta-kicker {
  color: var(--violet-dark);
  font-size: 0.79rem;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(4rem, 7vw, 6.65rem);
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: var(--violet);
}

.hero-lede {
  max-width: 580px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 1.18rem;
  line-height: 1.6;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--ink);
  box-shadow: 0 15px 34px rgba(23, 22, 35, 0.2);
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(23, 22, 35, 0.25);
}

.button-secondary {
  border-color: rgba(23, 22, 35, 0.13);
  background: rgba(255, 255, 255, 0.58);
}

.availability {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 650;
}

.availability span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 186, 115, 0.14);
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(98, 81, 232, 0.22);
  border-radius: 50%;
}

.orbit-one {
  inset: 42px 18px 24px 54px;
  transform: rotate(10deg);
}

.orbit-two {
  inset: 128px 82px 94px 18px;
  border-color: rgba(255, 119, 77, 0.26);
  transform: rotate(-8deg);
}

.phone-shell {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 304px;
  height: 604px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50px;
  background: #171621;
  box-shadow: 0 42px 86px rgba(45, 35, 83, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translateX(-44%) rotate(4deg);
}

.phone-speaker {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 3;
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #171621;
  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 42px 18px 20px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 90% 4%, rgba(98, 81, 232, 0.11), transparent 26%),
    #ffffff;
}

.phone-topline,
.goal-line,
.week-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-topline {
  font-size: 1rem;
  font-weight: 860;
}

.today-label {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--violet-dark);
  background: var(--violet-soft);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.progress-ring {
  width: 208px;
  height: 208px;
  margin: 30px auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--violet) 0 282deg, #eeeaf2 282deg 360deg);
  box-shadow: 0 12px 28px rgba(98, 81, 232, 0.14);
}

.progress-center {
  width: 158px;
  height: 158px;
  display: grid;
  place-content: center;
  justify-items: center;
  border-radius: 50%;
  background: #ffffff;
  text-align: center;
}

.shoe-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 10px 10px 10px 3px;
  color: #ffffff;
  background: var(--orange);
  font-size: 0.84rem;
  font-weight: 900;
}

.progress-center strong {
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.055em;
}

.progress-center small {
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

.goal-line {
  margin-bottom: 14px;
  padding: 0 3px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.goal-line strong {
  color: var(--green-dark);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.metric-row > div {
  min-height: 64px;
  display: grid;
  place-content: center;
  justify-items: center;
  border: 1px solid #edeaf0;
  border-radius: 15px;
  background: #fbfafc;
}

.metric-row strong {
  font-size: 1rem;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}

.week-card {
  margin-top: 13px;
  padding: 14px;
  border: 1px solid #edeaf0;
  border-radius: 18px;
  background: #ffffff;
}

.week-head {
  font-size: 0.73rem;
}

.week-head span {
  color: var(--green-dark);
  font-size: 0.64rem;
  font-weight: 800;
}

.bars {
  height: 68px;
  margin-top: 12px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 7px;
}

.bars i {
  width: 100%;
  height: var(--bar);
  border-radius: 7px 7px 3px 3px;
  background: #dcd7f4;
}

.bars i.active {
  background: linear-gradient(180deg, var(--orange), var(--violet));
}

.float-card {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.float-card-streak {
  top: 96px;
  left: -10px;
  transform: rotate(-4deg);
}

.float-card-goal {
  right: -8px;
  bottom: 106px;
  transform: rotate(3deg);
}

.float-icon {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: #ffffff;
  background: var(--green);
  font-weight: 900;
}

.float-card-goal .float-icon {
  background: var(--orange);
}

.float-card strong,
.float-card small {
  display: block;
}

.float-card strong {
  font-size: 0.84rem;
}

.float-card small {
  color: var(--muted);
  font-size: 0.7rem;
}

.signal-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

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

.signal-inner > div {
  min-height: 120px;
  display: grid;
  align-content: center;
  padding: 20px 28px;
  border-left: 1px solid var(--line);
}

.signal-inner > div:last-child {
  border-right: 1px solid var(--line);
}

.signal-inner strong,
.signal-inner span {
  display: block;
}

.signal-inner strong {
  color: var(--ink);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.signal-inner span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.section {
  padding: 118px 0;
}

.section-soft {
  background:
    radial-gradient(circle at 90% 20%, rgba(47, 186, 115, 0.12), transparent 29%),
    var(--cream);
}

.section-head {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-kicker {
  margin-bottom: 13px;
}

.section-copy {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.feature {
  grid-column: span 4;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.feature-large {
  grid-column: span 8;
}

.feature-violet {
  background:
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, 0.28), transparent 25%),
    var(--violet-soft);
}

.feature-green {
  background: var(--green-soft);
}

.feature-orange {
  background: var(--orange-soft);
}

.feature-yellow {
  background: var(--yellow-soft);
}

.feature-ink {
  color: #ffffff;
  background:
    radial-gradient(circle at 90% 10%, rgba(98, 81, 232, 0.55), transparent 34%),
    var(--ink);
}

.feature-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  border: 1px solid rgba(23, 22, 35, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 860;
}

.feature-ink .feature-number {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
}

.feature h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.feature p {
  max-width: 640px;
  margin-top: 14px;
  color: var(--ink-soft);
}

.feature-ink p {
  color: rgba(255, 255, 255, 0.74);
}

.rhythm-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: 82px;
  align-items: start;
}

.rhythm-copy {
  position: sticky;
  top: 120px;
}

.rhythm-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.rhythm-steps li {
  min-height: 156px;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px;
  border: 1px solid rgba(233, 228, 220, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(47, 39, 82, 0.05);
}

.rhythm-steps > li > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: var(--violet);
  font-weight: 900;
}

.rhythm-steps li:nth-child(2) > span {
  background: var(--green);
}

.rhythm-steps li:nth-child(3) > span {
  background: var(--orange);
}

.rhythm-steps p {
  margin-top: 9px;
  color: var(--muted);
}

.privacy-section {
  color: #ffffff;
  background:
    radial-gradient(circle at 10% 100%, rgba(255, 119, 77, 0.2), transparent 30%),
    radial-gradient(circle at 96% 8%, rgba(98, 81, 232, 0.48), transparent 32%),
    var(--ink);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.16fr);
  gap: 70px;
  align-items: center;
}

.privacy-section .section-kicker {
  color: #bfb6ff;
}

.privacy-section .section-copy {
  color: rgba(255, 255, 255, 0.7);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: #ffffff;
  font-weight: 820;
}

.text-link span {
  font-size: 1.3rem;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.privacy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.privacy-cards article {
  min-height: 215px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.privacy-cards article:last-child {
  grid-column: 1 / -1;
  min-height: 170px;
}

.privacy-dot {
  width: 15px;
  height: 15px;
  display: block;
  margin-bottom: 48px;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.07);
}

.privacy-cards article:last-child .privacy-dot {
  margin-bottom: 28px;
}

.dot-violet {
  background: #8e7fff;
}

.dot-green {
  background: #55da96;
}

.dot-orange {
  background: #ff8b67;
}

.privacy-cards p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

.reward-note {
  padding: 36px 0;
  background: var(--yellow-soft);
}

.reward-note-inner {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: center;
  padding: 38px 42px;
  border: 1px solid rgba(159, 120, 22, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
}

.reward-symbol {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 26px 26px 26px 8px;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 16px 30px rgba(189, 71, 38, 0.2);
  font-size: 2rem;
}

.reward-note h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.reward-note p:last-child {
  max-width: 870px;
  margin-top: 13px;
  color: var(--ink-soft);
}

.reward-note a {
  color: var(--violet-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band {
  padding: 96px 0;
  color: #ffffff;
  background: var(--violet);
}

.cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.cta-kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.cta-band h2 {
  max-width: 720px;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.cta-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.button-light {
  color: var(--violet-dark);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(28, 18, 97, 0.2);
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.site-footer {
  padding: 62px 0 28px;
  color: #ffffff;
  background: #111019;
}

.footer-inner {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  color: #ffffff;
}

.footer-inner > div:first-child > p {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
}

.footer-links {
  max-width: 590px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 680;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.43);
  font-size: 0.82rem;
}

/* Legal pages */

.legal-hero {
  padding: 152px 0 78px;
  background:
    radial-gradient(circle at 86% 18%, rgba(98, 81, 232, 0.15), transparent 26%),
    radial-gradient(circle at 12% 92%, rgba(255, 119, 77, 0.12), transparent 24%),
    var(--cream);
}

.legal-hero h1 {
  font-size: clamp(3.6rem, 7vw, 6.3rem);
}

.legal-hero > .container > p:not(.eyebrow) {
  max-width: 800px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.14rem;
}

.meta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  padding: 8px 13px;
  border: 1px solid rgba(98, 81, 232, 0.15);
  border-radius: 999px;
  color: var(--violet-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 760;
}

.legal-layout {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  padding: 76px 0 118px;
}

.legal-nav {
  position: sticky;
  top: 110px;
  align-self: start;
  display: grid;
  gap: 5px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
}

.legal-nav a {
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.legal-nav a:hover,
.legal-nav a:focus {
  color: var(--violet-dark);
  background: var(--violet-soft);
}

.legal-content {
  min-width: 0;
}

.legal-content section {
  padding: 0 0 44px;
  scroll-margin-top: 106px;
}

.legal-content section + section {
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
}

.legal-content p + p,
.legal-content ul + p,
.legal-content p + ul {
  margin-top: 16px;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.3rem;
}

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

.legal-content a {
  color: var(--violet-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.legal-footer {
  margin-top: 0;
}

@media (max-width: 1050px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
    gap: 20px;
  }

  .float-card-streak {
    left: 8px;
  }

  .float-card-goal {
    right: 0;
  }

  .signal-inner > div {
    padding: 20px;
  }

  .privacy-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
    gap: 44px;
  }

  .cta-inner {
    display: grid;
    align-items: start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-bottom: 84px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    max-width: 720px;
    padding-bottom: 10px;
  }

  .hero-visual {
    min-height: 650px;
    margin-top: 20px;
  }

  .phone-shell {
    left: 50%;
    transform: translateX(-50%) rotate(3deg);
  }

  .float-card-streak {
    left: calc(50% - 245px);
  }

  .float-card-goal {
    right: calc(50% - 260px);
  }

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

  .signal-inner > div:nth-child(3) {
    border-top: 1px solid var(--line);
  }

  .signal-inner > div:nth-child(4) {
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .feature,
  .feature-large {
    grid-column: span 6;
  }

  .rhythm-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rhythm-copy {
    position: static;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .nav {
    min-height: 68px;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-links {
    gap: 0;
  }

  .nav-cta {
    padding: 9px 14px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 15vw, 5.7rem);
  }

  .hero-lede {
    font-size: 1.04rem;
  }

  .section {
    padding: 86px 0;
  }

  .feature,
  .feature-large {
    grid-column: 1 / -1;
    min-height: 265px;
  }

  .rhythm-steps li {
    grid-template-columns: 46px 1fr;
    padding: 23px;
  }

  .rhythm-steps > li > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .privacy-cards {
    grid-template-columns: 1fr;
  }

  .privacy-cards article:last-child {
    grid-column: auto;
    min-height: 215px;
  }

  .privacy-cards article:last-child .privacy-dot {
    margin-bottom: 48px;
  }

  .reward-note-inner {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .cta-band {
    padding: 78px 0;
  }

  .footer-inner,
  .footer-bottom {
    display: grid;
  }

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

  .legal-hero {
    padding: 126px 0 62px;
  }

  .legal-layout {
    padding: 52px 0 86px;
  }

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

@media (max-width: 560px) {
  .hero-inner,
  .container,
  .signal-inner,
  .reward-note-inner,
  .cta-inner,
  .footer-inner,
  .footer-bottom,
  .legal-layout,
  .nav {
    width: min(calc(100% - 28px), var(--max));
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 580px;
    margin-inline: -8px;
    transform: scale(0.92);
    transform-origin: top center;
  }

  .phone-shell {
    width: 284px;
    height: 570px;
  }

  .progress-ring {
    width: 190px;
    height: 190px;
  }

  .progress-center {
    width: 144px;
    height: 144px;
  }

  .float-card {
    min-width: 174px;
    padding: 13px 14px;
  }

  .float-card-streak {
    top: 92px;
    left: 0;
  }

  .float-card-goal {
    right: 0;
    bottom: 70px;
  }

  .signal-inner {
    grid-template-columns: 1fr;
  }

  .signal-inner > div,
  .signal-inner > div:nth-child(3),
  .signal-inner > div:nth-child(4) {
    min-height: 96px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-inner > div:last-child {
    border-bottom: 0;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .feature {
    padding: 25px;
    border-radius: 23px;
  }

  .feature-number {
    margin-bottom: 38px;
  }

  .rhythm-steps li {
    grid-template-columns: 1fr;
  }

  .privacy-cards article,
  .privacy-cards article:last-child {
    min-height: 190px;
  }

  .privacy-dot,
  .privacy-cards article:last-child .privacy-dot {
    margin-bottom: 32px;
  }

  .reward-symbol {
    width: 66px;
    height: 66px;
  }

  .legal-nav {
    display: flex;
    overflow-x: auto;
    padding: 12px;
    scrollbar-width: thin;
  }

  .legal-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .legal-content section {
    padding-bottom: 34px;
  }

  .legal-content section + section {
    padding-top: 34px;
  }
}

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

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

@media print {
  .site-header,
  .legal-nav,
  .site-footer,
  .skip-link {
    display: none;
  }

  .legal-hero {
    padding: 24px 0 34px;
    background: #ffffff;
  }

  .legal-layout {
    width: 100%;
    display: block;
    padding: 24px 0;
  }

  .legal-content section {
    break-inside: avoid;
  }

  .legal-content a {
    color: inherit;
  }
}
