:root {
  --ink: #050908;
  --ink-soft: #0b1511;
  --forest: #143326;
  --forest-2: #1f4f3d;
  --exit: #bdf0a1;
  --exit-strong: #d5ffbf;
  --paper: #f5f8ef;
  --muted: #aebcad;
  --line: rgba(213, 255, 191, 0.16);
  --line-dark: rgba(6, 14, 11, 0.12);
  --warning: #ffcc66;
  --radius: 8px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.38);
  color-scheme: dark;
  font-family:
    ui-rounded,
    "SF Pro Rounded",
    "SF Pro Display",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--paper);
}

body::selection {
  background: var(--exit);
  color: var(--ink);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(213, 255, 191, 0.78);
  outline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(5, 9, 8, 0.86), rgba(5, 9, 8, 0.42) 72%, transparent);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 9, 8, 0.88);
  border-bottom: 1px solid rgba(213, 255, 191, 0.10);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(213, 255, 191, 0.14), 0 8px 28px rgba(10, 33, 24, 0.48);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 650;
  color: rgba(245, 248, 239, 0.78);
}

.nav-links a,
.footer-links a,
.secondary-link {
  transition: color 150ms ease;
}

.nav-links a:hover,
.footer-links a:hover,
.secondary-link:hover {
  color: var(--exit-strong);
}

.nav-cta {
  justify-self: end;
  border: 1px solid rgba(213, 255, 191, 0.30);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(213, 255, 191, 0.08);
  color: var(--exit-strong);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: end;
  gap: clamp(28px, 6vw, 80px);
  min-height: 94svh;
  padding: clamp(112px, 15vh, 168px) clamp(20px, 6vw, 72px) clamp(72px, 10vh, 108px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.threshold-scene {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 9, 8, 0.92) 0%, rgba(5, 9, 8, 0.68) 42%, rgba(5, 9, 8, 0.22) 72%, rgba(5, 9, 8, 0.78) 100%),
    linear-gradient(0deg, rgba(5, 9, 8, 0.44), rgba(5, 9, 8, 0.08) 44%, rgba(5, 9, 8, 0.30)),
    url("assets/threshold-phone.png") center / cover no-repeat,
    linear-gradient(110deg, #030605 0%, #07120f 45%, #030605 100%);
}

.threshold-scene::before,
.threshold-scene::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.threshold-scene::before {
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(189, 240, 161, 0.16), transparent 20%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.56), transparent 28%, transparent 74%, rgba(0, 0, 0, 0.72));
}

.threshold-scene::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(5, 9, 8, 0.72), transparent);
}

.hero-content {
  max-width: 860px;
  align-self: center;
}

.hero-icon {
  width: clamp(72px, 8vw, 104px);
  height: clamp(72px, 8vw, 104px);
  margin-bottom: clamp(22px, 4vh, 38px);
  border-radius: 20%;
  box-shadow: 0 0 0 1px rgba(213, 255, 191, 0.18), 0 18px 72px rgba(71, 132, 88, 0.28);
}

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

h1 {
  max-width: 8.8em;
  font-size: clamp(4.2rem, 12vw, 10.8rem);
  line-height: 0.84;
  font-weight: 850;
  letter-spacing: 0;
}

.hero-line {
  max-width: 760px;
  margin-top: clamp(22px, 4vh, 36px);
  color: var(--exit-strong);
  font-size: clamp(1.6rem, 3.7vw, 4.3rem);
  line-height: 0.97;
  font-weight: 820;
}

.hero-copy {
  max-width: 660px;
  margin-top: 22px;
  color: rgba(245, 248, 239, 0.78);
  font-size: clamp(1.04rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  font-weight: 550;
}

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

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 10px 18px 10px 14px;
  border: 1px solid rgba(245, 248, 239, 0.16);
  border-radius: var(--radius);
  background: #f5f8ef;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.32);
}

.app-store-button small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.apple {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--ink);
}

.apple svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.secondary-link {
  font-size: 1rem;
  font-weight: 760;
  color: rgba(245, 248, 239, 0.82);
}

.hero-note {
  max-width: 560px;
  margin-top: 18px;
  color: rgba(245, 248, 239, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
  font-weight: 620;
}

.qr-download {
  display: inline-grid;
  grid-template-columns: 96px minmax(0, 220px);
  align-items: center;
  gap: 16px;
  max-width: min(100%, 360px);
  margin-top: 24px;
  border: 1px solid rgba(213, 255, 191, 0.18);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(5, 9, 8, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
}

.qr-download img {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: var(--radius);
}

.qr-download strong,
.qr-download span {
  display: block;
}

.qr-download strong {
  color: var(--paper);
  font-size: 0.98rem;
  font-weight: 830;
}

.qr-download span {
  margin-top: 5px;
  color: rgba(245, 248, 239, 0.66);
  font-size: 0.84rem;
  line-height: 1.35;
  font-weight: 620;
}

.hero-preview {
  align-self: end;
  justify-self: end;
  width: min(100%, 420px);
  padding-bottom: 7vh;
}

.lock-card {
  border: 1px solid rgba(213, 255, 191, 0.24);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(5, 9, 8, 0.64);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.lock-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: rgba(189, 240, 161, 0.12);
  color: var(--exit);
}

svg {
  width: 1em;
  height: 1em;
}

.lock-icon svg,
.summary-row svg,
.completion-ring svg,
.difference-item svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lock-card p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
  text-transform: uppercase;
}

.lock-card strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lock-card small {
  display: block;
  max-width: 22rem;
  margin-top: 18px;
  color: rgba(245, 248, 239, 0.68);
  font-size: 0.94rem;
  line-height: 1.45;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 42px;
  border: 1px solid rgba(213, 255, 191, 0.32);
  border-radius: 999px;
  opacity: 0.82;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--exit);
  animation: cue 1.8s ease-in-out infinite;
}

@keyframes cue {
  0%, 100% {
    transform: translateY(-5px);
    opacity: 0.5;
  }
  50% {
    transform: translateY(7px);
    opacity: 1;
  }
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.problem-section,
.how-section,
.proof-section,
.difference-section,
.pricing-section {
  border-bottom: 1px solid var(--line);
}

.problem-section {
  background: var(--paper);
  color: var(--ink);
}

.problem-grid,
.difference-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  min-height: 58svh;
  padding: clamp(72px, 10vw, 132px) 0;
}

h2 {
  font-size: clamp(2.6rem, 7vw, 7.2rem);
  line-height: 0.9;
  font-weight: 850;
  letter-spacing: 0;
}

.problem-copy p {
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  line-height: 1.42;
  font-weight: 640;
  color: rgba(5, 9, 8, 0.76);
}

.problem-copy .punch {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  color: var(--ink);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.06;
  font-weight: 850;
}

.how-section {
  background:
    linear-gradient(180deg, rgba(20, 51, 38, 0.82), rgba(5, 9, 8, 0.96)),
    var(--ink);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 6vw, 84px);
  padding-top: clamp(72px, 10vw, 124px);
}

.section-heading p {
  color: rgba(245, 248, 239, 0.72);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
  line-height: 1.44;
  font-weight: 590;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(48px, 8vw, 84px);
  padding-bottom: clamp(72px, 10vw, 124px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.step {
  min-height: 320px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(5, 9, 8, 0.70);
}

.step span {
  display: block;
  color: var(--warning);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
}

.step h3 {
  margin-top: 42px;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 0.98;
  font-weight: 830;
}

.step p {
  margin-top: 18px;
  color: rgba(245, 248, 239, 0.68);
  font-size: 1rem;
  line-height: 1.48;
  font-weight: 540;
}

.proof-section {
  background: #07100d;
}

.proof-heading {
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.86fr);
}

.phone-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 2.6vw, 28px);
  margin-top: clamp(42px, 7vw, 78px);
  padding-bottom: clamp(78px, 10vw, 132px);
}

.phone-frame {
  position: relative;
  aspect-ratio: 0.51;
  min-height: 470px;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, #171e1b, #020403);
  border: 1px solid rgba(245, 248, 239, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.phone-frame:nth-child(2),
.phone-frame:nth-child(4) {
  transform: translateY(34px);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 82px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #050908;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  padding: 52px 18px 18px;
  background: #f9faf7;
  color: #101411;
}

.phone-screen h3 {
  font-size: 1.54rem;
  line-height: 0.98;
  font-weight: 820;
}

.phone-screen p,
.phone-screen small {
  color: rgba(16, 20, 17, 0.58);
  font-weight: 610;
}

.phone-screen p {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.28;
}

.mini-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 10px;
  background:
    linear-gradient(140deg, rgba(0, 0, 0, 0.68) 0 45%, transparent 45%),
    linear-gradient(180deg, var(--exit), #93cf7e);
  box-shadow: inset 0 0 0 6px #15231c;
}

.summary-row,
.goal-choice,
.schedule-card,
.home-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(16, 20, 17, 0.10);
  border-radius: var(--radius);
  background: #eef2eb;
}

.summary-row span {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  color: var(--forest-2);
}

.summary-row strong,
.goal-choice strong,
.schedule-card strong,
.home-row strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.15;
}

.summary-row small,
.goal-choice small,
.schedule-card small,
.home-row small {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  line-height: 1.25;
}

.phone-screen button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--forest-2);
  color: white;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 810;
}

.phone-screen button.ghost {
  margin-top: 9px;
  background: #eef2eb;
  color: #101411;
  box-shadow: inset 0 0 0 1px rgba(16, 20, 17, 0.10);
}

.setup-screen,
.schedule-screen,
.done-screen {
  justify-content: center;
}

.setup-screen h3,
.schedule-screen h3,
.done-screen h3 {
  font-size: 1.9rem;
}

.goal-choice {
  display: block;
  border-color: rgba(31, 79, 61, 0.26);
}

.goal-choice.active {
  color: white;
  background: var(--forest-2);
}

.goal-choice.active small {
  color: rgba(255, 255, 255, 0.72);
}

.slider {
  position: relative;
  height: 6px;
  margin: 24px 4px 10px;
  border-radius: 999px;
  background: rgba(16, 20, 17, 0.12);
}

.slider span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 64%;
  border-radius: inherit;
  background: var(--forest-2);
}

.schedule-card {
  justify-content: space-between;
  margin-top: 26px;
}

.toggle {
  position: relative;
  flex: 0 0 46px;
  height: 28px;
  border-radius: 999px;
  background: var(--forest-2);
}

.toggle::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: white;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-top: 16px;
}

.days span {
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: var(--radius);
  background: var(--forest-2);
  color: white;
  font-size: 0.76rem;
  font-weight: 820;
}

.home-row {
  display: block;
  margin-top: 16px;
}

.done-screen {
  align-items: center;
  text-align: center;
}

.completion-ring {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(31, 79, 61, 0.12);
  box-shadow: inset 0 0 0 1px rgba(31, 79, 61, 0.18);
}

.completion-ring span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: var(--forest-2);
  color: white;
  font-size: 2.5rem;
}

.done-screen button {
  margin-top: 28px;
}

.done-screen button.ghost {
  margin-top: 9px;
}

.difference-section {
  background: var(--paper);
  color: var(--ink);
}

.difference-list {
  border-top: 1px solid var(--line-dark);
}

.difference-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.difference-item span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(31, 79, 61, 0.10);
  color: var(--forest-2);
}

.difference-item p {
  color: rgba(5, 9, 8, 0.72);
  font-size: 1.02rem;
  line-height: 1.46;
  font-weight: 570;
}

.difference-item strong {
  color: var(--ink);
}

.pricing-section {
  background:
    radial-gradient(circle at 80% 10%, rgba(189, 240, 161, 0.18), transparent 26%),
    linear-gradient(180deg, #07100d, #050908);
}

.pricing-copy p {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(245, 248, 239, 0.70);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.46;
  font-weight: 560;
}

.price-panel {
  border: 1px solid rgba(213, 255, 191, 0.20);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  background: rgba(245, 248, 239, 0.06);
  box-shadow: var(--shadow);
}

.price-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-header strong {
  font-size: 1.2rem;
  line-height: 1.2;
}

.price-header span {
  color: var(--exit-strong);
  font-size: 1.5rem;
  font-weight: 850;
  white-space: nowrap;
}

.price-panel ul {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
  color: rgba(245, 248, 239, 0.76);
  font-weight: 640;
}

.price-panel li {
  position: relative;
  padding-left: 26px;
}

.price-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--exit);
}

.price-note {
  margin: -2px 0 24px;
  color: rgba(245, 248, 239, 0.62);
  font-size: 0.86rem;
  line-height: 1.45;
}

.wide {
  justify-content: center;
  width: 100%;
}

.site-footer {
  background: #030605;
  color: rgba(245, 248, 239, 0.70);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer-brand {
  color: var(--paper);
}

.site-footer p {
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 730;
  color: rgba(245, 248, 239, 0.76);
}

.legal-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 16% 12%, rgba(189, 240, 161, 0.12), transparent 28%),
    linear-gradient(140deg, #050908 0%, #0b1511 48%, #050908 100%);
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 72px;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 48px);
  background: rgba(11, 21, 17, 0.78);
  box-shadow: var(--shadow);
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--exit);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-card h1 {
  margin: 0 0 24px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 0.95;
}

.legal-card h2 {
  margin: 32px 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.legal-card p {
  margin: 0;
  color: rgba(245, 248, 239, 0.76);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 22px;
  color: rgba(245, 248, 239, 0.76);
  line-height: 1.7;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: rgba(245, 248, 239, 0.76);
  line-height: 1.6;
}

.legal-card li::marker {
  color: var(--exit);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.legal-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 16px;
  color: var(--paper);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(245, 248, 239, 0.06);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: 100svh;
  }

  .hero-preview {
    justify-self: start;
    padding-bottom: 0;
  }

  .section-heading,
  .problem-grid,
  .difference-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps,
  .phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-frame:nth-child(2),
  .phone-frame:nth-child(4) {
    transform: none;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

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

  .nav-cta {
    padding: 10px 13px;
  }

  .hero {
    min-height: 100svh;
    padding: 92px 18px 58px;
  }

  h1 {
    font-size: clamp(3.6rem, 21vw, 6.4rem);
  }

  .hero-line {
    font-size: clamp(1.55rem, 9vw, 3rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .app-store-button {
    width: 100%;
    justify-content: center;
  }

  .secondary-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
  }

  .qr-download {
    display: none;
  }

  .hero-preview {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  h2 {
    font-size: clamp(2.5rem, 14vw, 4.6rem);
  }

  .problem-grid,
  .difference-grid,
  .pricing-grid {
    min-height: auto;
    padding: 72px 0;
  }

  .section-heading {
    padding-top: 72px;
  }

  .steps,
  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .steps {
    padding-bottom: 72px;
  }

  .step {
    min-height: 246px;
  }

  .phone-gallery {
    padding-bottom: 72px;
  }

  .phone-frame {
    width: min(310px, 100%);
    min-height: 560px;
    margin: 0 auto;
  }

  .price-header {
    display: grid;
  }

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

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