:root {
  --background: #F7F2EA;
  --surface: #FFFCF6;
  --text-main: #1F2523;
  --text-secondary: #66736E;
  --border: #E3DAD0;
  --primary: #1F6F66;
  --primary-dark: #164D45;
  --accent: #F1A14A;
  --shadow-soft: 0 22px 70px rgba(31, 37, 35, 0.1);
  --shadow-hard: 0 34px 100px rgba(22, 77, 69, 0.24);
  --radius: 28px;
  --radius-control: 18px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--background);
  color: var(--text-main);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text-main);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  letter-spacing: 0;
}

body.home {
  overflow-x: hidden;
  background: var(--primary-dark);
}

body.home::before {
  display: none;
}

.home main {
  background: var(--background);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 33, 31, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 33, 31, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 78%);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(227, 218, 208, 0.74);
  border-radius: 24px;
  background: rgba(255, 252, 246, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 54px rgba(24, 33, 31, 0.1);
}

.home .site-header {
  position: absolute;
  inset: 0 0 auto;
  color: var(--primary-dark);
  border-color: rgba(255, 252, 246, 0.24);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.9), rgba(247, 242, 234, 0.78));
  box-shadow: 0 18px 56px rgba(10, 37, 33, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.home .brand {
  color: var(--primary-dark);
}

.home .brand-subtitle {
  color: rgba(22, 77, 69, 0.72);
}

.home .nav {
  padding: 0;
  border: 0;
  border-radius: 0;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.home .nav a {
  color: rgba(22, 77, 69, 0.78);
}

.home .nav a:hover {
  color: var(--primary-dark);
  background: rgba(255, 252, 246, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(15, 47, 43, 0.12);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-weight: 850;
  font-size: 18px;
}

.brand-subtitle {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(227, 218, 208, 0.86);
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(24, 33, 31, 0.06);
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-weight: 780;
  font-size: 14px;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--primary-dark);
  background: rgba(31, 111, 102, 0.1);
  transform: translateY(-1px);
}

.mobile-menu {
  position: relative;
  display: none;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(241, 161, 74, 0.22);
  border-radius: 16px;
  background: rgba(241, 161, 74, 0.14);
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-dark);
}

.menu-toggle span:not(.sr-only) + span:not(.sr-only) {
  margin-top: 4px;
}

.mobile-menu[open] .menu-toggle span:not(.sr-only):nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu[open] .menu-toggle span:not(.sr-only):nth-child(3) {
  opacity: 0;
}

.mobile-menu[open] .menu-toggle span:not(.sr-only):nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid rgba(227, 218, 208, 0.82);
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 22px 58px rgba(24, 33, 31, 0.16);
}

.mobile-nav a {
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 820;
  text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: rgba(241, 161, 74, 0.16);
}

.hero {
  position: relative;
  min-height: 760px;
  margin-top: 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--surface);
  background:
    linear-gradient(112deg, rgba(22, 77, 69, 1) 0%, rgba(22, 77, 69, 0.98) 58%, rgba(31, 111, 102, 0.92) 100%),
    var(--primary-dark);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 300px;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 92%, rgba(247, 242, 234, 0.92) 0%, rgba(247, 242, 234, 0.54) 30%, rgba(247, 242, 234, 0) 58%),
    linear-gradient(180deg, rgba(247, 242, 234, 0) 0%, rgba(247, 242, 234, 0.16) 36%, rgba(247, 242, 234, 0.72) 74%, var(--background) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(440px, 0.92fr);
  gap: clamp(44px, 7vw, 112px);
  align-items: center;
  min-height: 760px;
  padding: 132px 0 74px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px 0 16px;
  border: 1px solid rgba(255, 252, 246, 0.14);
  border-radius: var(--radius-control);
  color: var(--surface);
  background: rgba(31, 37, 35, 0.92);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.store-status svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-status span {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.store-status small {
  color: rgba(255, 252, 246, 0.72);
  font-size: 11px;
  font-weight: 760;
}

.store-status strong {
  color: var(--surface);
  font-size: 22px;
  font-weight: 850;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-top: 32px;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1 {
  margin-top: 10px;
  font-size: clamp(68px, 8.4vw, 122px);
  font-weight: 930;
  line-height: 0.88;
}

h2 {
  font-size: clamp(38px, 6vw, 82px);
  font-weight: 920;
  line-height: 0.92;
}

h3 {
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 890;
  line-height: 1;
}

.hero-lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255, 252, 246, 0.82);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 620;
  line-height: 1.34;
}

.hero-product {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 560px;
}

.app-showcase {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: 660px;
}

.app-showcase::before {
  content: "";
  position: absolute;
  inset: 118px 36px 96px 132px;
  border-radius: 999px;
  background: rgba(31, 111, 102, 0.24);
  filter: blur(48px);
}

.app-screen {
  position: absolute;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.22));
}

.app-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.app-screen-main {
  z-index: 3;
  inset: 0 auto auto 25%;
  width: min(350px, 54%);
  transform: rotate(-1.2deg);
}

.app-screen-side {
  z-index: 2;
  width: min(245px, 37%);
  opacity: 0.95;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, 0.2));
}

.app-screen-side.top {
  top: 10px;
  right: 2%;
  transform: rotate(4deg);
}

.app-screen-side.bottom {
  right: -2%;
  bottom: 0;
  transform: rotate(-3deg);
}

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

.cta,
.email-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 880;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta:active,
.email-button:active {
  transform: translateY(1px) scale(0.99);
}

.primary-cta,
.email-button,
.cta {
  color: var(--surface);
  background: var(--accent);
  box-shadow: 0 16px 38px rgba(241, 161, 74, 0.26);
}

.primary-cta:hover,
.email-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 46px rgba(241, 161, 74, 0.34);
}

.ghost-cta {
  color: var(--surface);
  border-color: rgba(255, 253, 248, 0.22);
  background: rgba(255, 253, 248, 0.08);
  box-shadow: none;
}

.ghost-cta.light {
  color: var(--primary-dark);
  border-color: rgba(22, 77, 69, 0.18);
  background: rgba(255, 252, 246, 0.74);
}

.intro-band {
  position: relative;
  z-index: 4;
  margin-top: -34px;
  padding: 0 0 76px;
  background: transparent;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat-row div {
  padding: 20px 22px;
  border: 1px solid rgba(227, 218, 208, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.78);
}

.stat-row div + div {
  border-left: 1px solid rgba(227, 218, 208, 0.74);
}

.stat-row strong {
  display: block;
  color: var(--primary-dark);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 920;
  line-height: 1;
}

.stat-row span {
  display: block;
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 760;
  text-transform: uppercase;
}

.feature-section,
.routine-section {
  padding: 88px 0;
  background: var(--background);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 52px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  margin-top: 12px;
  color: var(--text-main);
}

.section-head p,
.routine-copy p,
.program-panel p,
.final-cta p {
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
}

.section-head p {
  max-width: 520px;
}

.program-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(360px, 0.88fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.program-layout::before {
  content: "";
  position: absolute;
  inset: 18% 14% 12% 42%;
  z-index: 0;
  border-radius: 999px;
  background: rgba(227, 218, 208, 0.72);
  filter: blur(54px);
  pointer-events: none;
}

.program-panel,
.program-media {
  position: relative;
  z-index: 1;
}

.program-panel {
  min-height: auto;
  padding: clamp(30px, 4.8vw, 52px);
  border-radius: var(--radius);
}

.dark-panel {
  color: var(--surface);
  background:
    linear-gradient(135deg, rgba(31, 111, 102, 0.98), rgba(22, 77, 69, 1)),
    var(--primary-dark);
  box-shadow: var(--shadow-hard);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--surface);
  background: rgba(255, 252, 246, 0.12);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.program-panel p {
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.74);
}

.check-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 252, 246, 0.18);
}

.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 252, 246, 0.18);
  color: rgba(255, 252, 246, 0.88);
  background: transparent;
  font-weight: 780;
}

.check-list li:first-child {
  color: rgba(255, 252, 246, 0.88);
  background: transparent;
  border-color: rgba(255, 252, 246, 0.18);
}

.program-media {
  display: grid;
  min-height: auto;
}

.program-media.single {
  grid-template-columns: 1fr;
}

.program-media figure {
  margin: 0;
}

.program-photo {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.program-photo img {
  width: min(360px, 100%);
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 44px rgba(31, 37, 35, 0.14));
}

.program-photo {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 0;
}

.screens-section {
  padding: 96px 0 110px;
  color: var(--surface);
  background: var(--primary-dark);
}

.compact-head {
  align-items: start;
  margin-bottom: 38px;
}

.compact-head h2 {
  color: var(--surface);
}

.compact-head p {
  color: rgba(255, 253, 248, 0.72);
}

.screen-showcase {
  display: grid;
  grid-template-columns: minmax(230px, 0.55fr) minmax(280px, 0.72fr) minmax(180px, 0.38fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: end;
}

.tour-copy {
  align-self: center;
  padding-bottom: 40px;
}

.tour-copy h3 {
  max-width: 360px;
  color: var(--surface);
  font-size: clamp(34px, 4.2vw, 62px);
}

.tour-copy p {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 252, 246, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.tour-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 252, 246, 0.18);
}

.tour-list span {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 252, 246, 0.18);
  color: rgba(255, 252, 246, 0.84);
  font-weight: 820;
}

.tour-phone {
  margin: 0;
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, 0.28));
}

.tour-phone img {
  width: 100%;
}

.tour-phone-main {
  width: min(420px, 100%);
  justify-self: center;
}

.tour-stack {
  display: grid;
  gap: 22px;
  align-self: center;
}

.tour-stack .tour-phone {
  width: min(220px, 100%);
}

.tour-stack .tour-phone:first-child {
  transform: translateX(-10px);
}

.tour-stack .tour-phone:last-child {
  transform: translateX(18px);
}

.routine-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.routine-copy h2 {
  margin-top: 12px;
}

.routine-copy p {
  margin-top: 24px;
}

.routine-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.routine-photo {
  min-height: 420px;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.routine-photo img {
  width: min(390px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(31, 37, 35, 0.14));
}

.routine-photo {
  display: grid;
  place-items: center;
  padding: 18px;
}

.routine-grid {
  display: grid;
  gap: 12px;
}

.routine-grid article {
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(227, 218, 208, 0.92);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 45px rgba(24, 33, 31, 0.06);
}

.routine-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 940;
}

.routine-grid h3 {
  color: var(--text-main);
  font-size: 25px;
}

.routine-grid p {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.final-cta {
  overflow: hidden;
  padding: 96px 0 148px;
  background: var(--surface);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(190px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
}

.final-cta img {
  max-height: 360px;
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(24, 33, 31, 0.18));
}

.final-cta h2 {
  max-width: 860px;
  margin-top: 12px;
}

.final-cta p {
  max-width: 660px;
  margin-top: 22px;
}

.page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 46px 0 90px;
}

.page-nav {
  position: sticky;
  top: 24px;
  padding: 10px;
  border: 1px solid rgba(227, 218, 208, 0.86);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.86);
  backdrop-filter: blur(16px);
}

.page-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 780;
  text-decoration: none;
}

.page-nav a:hover {
  color: var(--primary-dark);
  background: rgba(31, 111, 102, 0.1);
}

.document {
  padding: clamp(28px, 6vw, 62px);
  border: 1px solid rgba(227, 218, 208, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 252, 246, 0.94);
  box-shadow: var(--shadow-soft);
}

.document-header {
  margin-bottom: 42px;
}

.document-header h1 {
  color: var(--text-main);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
}

.date {
  margin: 14px 0 0;
  color: var(--text-secondary);
  font-weight: 760;
}

.document section {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.document p,
.document li {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.document ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.support-card {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  padding: 28px;
  border-radius: var(--radius);
  color: var(--surface);
  background: var(--primary-dark);
}

.support-card p {
  margin: 0;
  color: rgba(255, 253, 248, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0 46px;
  border-top: 1px solid rgba(221, 214, 205, 0.88);
  color: var(--text-secondary);
  font-size: 14px;
}

.home .site-footer {
  border-top-color: rgba(255, 252, 246, 0.14);
  color: rgba(255, 252, 246, 0.68);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--primary-dark);
  font-weight: 780;
  text-decoration: none;
}

.home .footer-links a {
  color: rgba(255, 252, 246, 0.82);
}

.home .footer-links a:hover {
  color: var(--surface);
}

@media (prefers-reduced-motion: no-preference) {
  .app-screen-main {
    animation: heroDrift 7s ease-in-out infinite;
  }

  .store-status {
    animation: statusPulse 3.6s ease-in-out infinite;
  }
}

@keyframes heroDrift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes statusPulse {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 0 rgba(31, 111, 102, 0);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 0 32px rgba(31, 111, 102, 0.18);
  }
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 760px);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 122px 0 78px;
  }

  .hero-product {
    min-height: auto;
    order: 2;
    display: block;
  }

  .app-showcase {
    min-height: 590px;
  }

  .section-head,
  .program-layout,
  .routine-section,
  .screen-showcase,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .screen-showcase {
    gap: 34px;
  }

  .tour-copy {
    padding-bottom: 0;
  }

  .tour-copy h3,
  .tour-copy p {
    max-width: 620px;
  }

  .tour-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
  }

  .tour-list span {
    border-top: 1px solid rgba(255, 252, 246, 0.18);
  }

  .tour-phone-main {
    width: min(360px, 72vw);
  }

  .tour-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: center;
  }

  .tour-stack .tour-phone,
  .tour-stack .tour-phone:first-child,
  .tour-stack .tour-phone:last-child {
    width: min(240px, 48vw);
    transform: none;
  }

  .program-panel,
  .program-media,
  .program-photo,
  .routine-photo {
    min-height: auto;
  }

  .program-layout::before {
    inset: 38% 6% 4% 16%;
  }

  .routine-layout {
    grid-template-columns: 1fr;
  }

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

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

  .page-nav {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    margin-top: 12px;
    padding: 12px;
    border-radius: 22px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    margin-top: 0;
  }

  .hero-grid {
    padding-top: 140px;
    padding-bottom: 52px;
    gap: 34px;
  }

  h1 {
    font-size: clamp(70px, 23vw, 112px);
  }

  .hero-lede {
    max-width: 28rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .cta {
    flex: 1 1 170px;
  }

  .hero-product {
    min-height: auto;
  }

  .app-showcase {
    min-height: 520px;
  }

  .app-screen-main {
    inset: 8px auto auto 7%;
    width: 54%;
  }

  .app-screen-side {
    width: 34%;
    border-radius: 18px;
  }

  .app-screen-side.top {
    top: 34px;
    right: 0;
  }

  .app-screen-side.bottom {
    right: 4%;
    bottom: 10px;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .stat-row div + div {
    border-left: 1px solid rgba(227, 218, 208, 0.74);
    border-top: 1px solid rgba(227, 218, 208, 0.74);
  }

  .feature-section,
  .routine-section,
  .screens-section,
  .final-cta {
    padding: 64px 0;
  }

  .final-cta {
    padding-bottom: 104px;
  }

  .section-head {
    gap: 22px;
  }

  .program-layout {
    gap: 34px;
  }

  .program-panel {
    padding: 30px 24px;
  }

  .program-photo img {
    width: min(300px, 88vw);
  }

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

  .tour-list {
    grid-template-columns: 1fr 1fr;
  }

  .tour-phone-main {
    width: min(310px, 82vw);
  }

  .tour-stack {
    gap: 12px;
  }

  .tour-stack .tour-phone,
  .tour-stack .tour-phone:first-child,
  .tour-stack .tour-phone:last-child {
    width: min(190px, 44vw);
  }

  .routine-grid article {
    min-height: auto;
  }

  .routine-grid span {
    margin-bottom: 44px;
  }

}
