:root {
  --ink: #17042f;
  --ink-soft: #6d6679;
  --surface: #fbfaff;
  --surface-strong: rgba(255, 255, 255, 0.89);
  --purple: #7b2cff;
  --violet: #a536ef;
  --pink: #ed36b7;
  --orange: #ff8a3d;
  --line: rgba(100, 65, 143, 0.13);
  --shadow: 0 24px 70px rgba(63, 35, 102, 0.12);
  --shadow-soft: 0 12px 36px rgba(63, 35, 102, 0.1);
  --gradient: linear-gradient(105deg, #7b2cff 4%, #b12ff1 42%, #f132b7 70%, #ff8b3d 100%);
  --header-x: clamp(30px, 5vw, 78px);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: #f4f0fa;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(235, 224, 255, 0.72), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(255, 225, 239, 0.68), transparent 32%),
    #f4f0fa;
  font-family: "SF Pro Text", "SF Pro Display", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg {
  display: block;
}

.ui-icon {
  width: 1em;
  height: 1em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

::selection {
  color: white;
  background: #9d35ef;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: white;
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 29px;
  left: var(--header-x);
  right: var(--header-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.brand {
  width: clamp(118px, 10vw, 152px);
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(1.07) contrast(1.02);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 52px);
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled .primary-nav {
  border-color: rgba(89, 52, 133, 0.08);
  background: rgba(255, 255, 255, 0.57);
  box-shadow: 0 8px 28px rgba(68, 35, 109, 0.08);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.primary-nav a {
  position: relative;
  color: #2c203d;
  font-size: 0.86rem;
  font-weight: 560;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient);
  opacity: 0;
  transform: translate(-50%, 5px) scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.primary-nav .nav-mobile-cta {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 690;
  letter-spacing: -0.015em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(131, 48, 255, 0.34);
  outline-offset: 3px;
}

.button--header {
  justify-self: end;
  min-height: 44px;
  padding-inline: 22px;
  border-radius: 999px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 12px 28px rgba(146, 46, 228, 0.2);
  font-size: 0.88rem;
}

.button--primary {
  min-width: 166px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 14px 32px rgba(145, 42, 224, 0.23);
}

.button--primary:hover {
  box-shadow: 0 18px 38px rgba(145, 42, 224, 0.31);
}

.button--secondary {
  min-width: 190px;
  border-color: rgba(113, 62, 174, 0.2);
  color: #56357a;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button--secondary:hover {
  border-color: rgba(113, 62, 174, 0.36);
  background: rgba(255, 255, 255, 0.72);
}

.button__icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: -12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.05rem;
  font-weight: 500;
}

.button__icon .ui-icon {
  width: 16px;
  height: 16px;
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #8550c4;
}

.play-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.scene {
  min-height: 100svh;
  padding: 12px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.scene-shell {
  position: relative;
  min-height: calc(100svh - 24px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(107, 71, 151, 0.09);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.58) 38%, transparent 72%),
    linear-gradient(145deg, #fcfbff 0%, #f7f3fb 54%, #f8f2f8 100%);
  box-shadow: 0 14px 42px rgba(59, 34, 93, 0.1);
}

.scene-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.76), transparent 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 55%);
}

.scene-shell--background::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--scene-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.003);
}

.scene-grid {
  position: relative;
  z-index: 2;
  width: min(1360px, calc(100% - clamp(48px, 7vw, 112px)));
  min-height: calc(100svh - 24px);
  margin: 0 auto;
  padding-top: clamp(104px, 11vh, 132px);
  padding-bottom: clamp(44px, 6vh, 68px);
  align-items: center;
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.82);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
}

.gradient-text {
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-copy h2,
.hero-copy h1 {
  margin: 0;
  color: #100218;
  font-family: "SF Pro Display", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-copy h2 {
  font-size: clamp(3.15rem, 4.35vw, 4.35rem);
}

.section-copy > p {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.65;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.card-header h3,
.card-header span {
  display: block;
}

.card-header h3 {
  margin: 0 0 3px;
  color: #1f1530;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}

.card-header span {
  color: #8a8194;
  font-size: 0.72rem;
}

.icon-button {
  border: 0;
  background: transparent;
  color: #8a8194;
  letter-spacing: 0.08em;
}

.icon-button .ui-icon {
  width: 18px;
  height: 18px;
}

/* Scene 1 — opening */
.hero-shell {
  background:
    radial-gradient(circle at 66% 21%, rgba(248, 240, 255, 0.86), transparent 32%),
    radial-gradient(circle at 26% 78%, rgba(239, 228, 255, 0.76), transparent 39%),
    linear-gradient(135deg, #fdfcff 0%, #faf8ff 46%, #f8f4fb 100%);
}

.ambient {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.ambient--one {
  width: 540px;
  height: 540px;
  left: 31%;
  bottom: -390px;
  background: radial-gradient(circle, rgba(211, 183, 255, 0.26), transparent 69%);
}

.ambient--two {
  width: 380px;
  height: 380px;
  right: 8%;
  top: -230px;
  background: radial-gradient(circle, rgba(255, 216, 236, 0.31), transparent 70%);
}

.hero-copy {
  position: absolute;
  z-index: 3;
  top: clamp(122px, 17vh, 162px);
  left: clamp(38px, 5vw, 78px);
  width: min(49%, 700px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  color: #7b35d2;
  font-weight: 720;
  text-transform: uppercase;
}

.eyebrow__number {
  display: inline-grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(123, 52, 210, 0.25);
  border-radius: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.55);
}

.eyebrow__label {
  font-size: 0.86rem;
  letter-spacing: 0.11em;
}

.hero-copy h1 {
  font-size: clamp(4.25rem, 6.25vw, 6.35rem);
  line-height: 0.94;
}

.hero-description {
  margin: 27px 0 0;
  color: #62596f;
  font-size: clamp(1.01rem, 1.35vw, 1.22rem);
  line-height: 1.63;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  margin-top: 31px;
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: clamp(66px, 8vh, 84px);
  right: -1px;
  width: min(55%, 780px);
  height: min(72vh, 670px);
  overflow: hidden;
  border-radius: 110px 0 0 100px;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  transform: scale(1.015);
  filter: saturate(1.03) contrast(1.01);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-art::before {
  inset: 0 auto 0 0;
  width: 23%;
  background: linear-gradient(90deg, #fbf9ff 0%, rgba(251, 249, 255, 0.88) 18%, transparent 100%);
}

.hero-art::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 21%;
  background: linear-gradient(0deg, #f8f4fb 0%, rgba(248, 244, 251, 0.88) 13%, transparent 100%);
}

.kpi-bar {
  position: absolute;
  z-index: 5;
  left: clamp(38px, 5vw, 78px);
  bottom: clamp(34px, 5vh, 54px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(74%, 1040px);
  min-height: 106px;
  padding: 18px 25px;
  border-radius: 19px;
}

.kpi {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
}

.kpi + .kpi {
  border-left: 1px solid rgba(93, 62, 132, 0.08);
}

.kpi strong,
.kpi span {
  display: block;
}

.kpi strong {
  color: #352743;
  font-size: 1.42rem;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.kpi span {
  margin-top: 1px;
  color: #777080;
  font-size: 0.76rem;
  white-space: nowrap;
}

.progress-ring {
  --progress: 78;
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: conic-gradient(#7c2cff 0 calc(var(--progress) * 1%), #ef39b7 calc(var(--progress) * 1%) calc((var(--progress) + 9) * 1%), #ff9946 calc((var(--progress) + 9) * 1%) calc((var(--progress) + 14) * 1%), rgba(132, 76, 187, 0.12) 0);
  box-shadow: inset 0 0 0 1px rgba(126, 65, 175, 0.07);
}

.progress-ring::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
}

.progress-ring span {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.kpi-icon {
  width: 43px;
  height: 43px;
}

.kpi-progress-icon {
  width: 43px;
  height: 43px;
  color: #7b32ef;
  transform: rotate(-90deg);
}

.kpi-progress-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.kpi-icon--orange {
  color: #ff6f37;
}

.kpi-icon--pink {
  color: #ed3ca9;
}

.kpi-icon--sun {
  width: 47px;
  color: #ff9d36;
}

.kpi-icon--green {
  color: #35a75b;
}

/* Scene 2 — focus */
.focus-layout {
  display: grid;
  grid-template-columns: minmax(245px, 0.82fr) minmax(390px, 1.2fr) minmax(255px, 0.84fr);
  gap: clamp(24px, 2.8vw, 46px);
}

.focus-copy {
  align-self: center;
}

.mini-card-stack {
  display: grid;
  gap: 15px;
  width: min(245px, 100%);
  margin-top: 34px;
}

.mini-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding: 20px 20px 20px 22px;
  border-radius: 17px;
}

.mini-stat span,
.mini-stat strong {
  display: block;
}

.mini-stat span {
  color: #716a79;
  font-size: 0.78rem;
  font-weight: 620;
}

.mini-stat strong {
  margin-top: 8px;
  color: #2c2234;
  font-size: 1.65rem;
  letter-spacing: -0.04em;
}

.mini-stat small {
  color: #5f5868;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0;
}

.progress-ring--small {
  width: 46px;
  height: 46px;
}

.mini-stat__icon {
  width: 43px;
  height: 43px;
  color: var(--orange);
}

.day-card {
  align-self: center;
  min-height: 578px;
  padding: 28px 29px 22px;
  border-radius: 21px;
}

.week-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin: 24px -4px 20px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(100, 65, 143, 0.1);
}

.week-strip span {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 52px;
  border-radius: 11px;
  color: #4c4554;
  font-size: 0.75rem;
  font-weight: 650;
}

.week-strip small {
  display: block;
  color: #978da2;
  font-size: 0.63rem;
  font-weight: 650;
}

.week-strip .is-selected {
  color: white;
  background: linear-gradient(145deg, #a53cf0, #6d2ff9);
  box-shadow: 0 8px 17px rgba(120, 48, 237, 0.23);
}

.week-strip .is-selected small {
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
}

.timeline-row {
  display: grid;
  grid-template-columns: 66px 18px 1fr 24px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid rgba(102, 70, 137, 0.08);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row time {
  color: #85808a;
  font-size: 0.68rem;
  font-weight: 600;
}

.timeline-row i {
  position: relative;
  width: 10px;
  height: 10px;
  border: 2px solid #bbb1c7;
  border-radius: 50%;
}

.timeline-row i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 1px;
  height: 66px;
  background: rgba(116, 83, 150, 0.12);
  transform: translateX(-50%);
}

.timeline-row:last-child i::after {
  display: none;
}

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

.timeline-row div strong {
  color: #2a2232;
  font-size: 0.78rem;
}

.timeline-row div span {
  margin-top: 2px;
  color: #8a8391;
  font-size: 0.65rem;
}

.timeline-row > b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid #beb3c8;
  border-radius: 50%;
  color: #7c3ff1;
  font-size: 0.64rem;
  font-weight: 700;
}

.timeline-row > b .ui-icon {
  width: 12px;
  height: 12px;
}

.timeline-row.is-complete i {
  border-color: #78a940;
  background: #94c953;
}

.timeline-row.is-complete > b {
  color: #739c3d;
  border-color: rgba(113, 156, 61, 0.44);
  background: rgba(147, 201, 83, 0.12);
}

.timeline-row.is-active i {
  border-color: #7d36f2;
  box-shadow: 0 0 0 4px rgba(124, 54, 242, 0.1);
}

.focus-side {
  display: grid;
  align-content: center;
  gap: 18px;
}

.focus-card,
.momentum-card {
  border-radius: 20px;
}

.focus-card {
  padding: 24px 24px 22px;
}

.focus-card h3 {
  margin: 0;
  font-size: 0.95rem;
}

.focus-card > span {
  display: block;
  margin-top: 5px;
  color: #8c8496;
  font-size: 0.7rem;
}

.thin-progress {
  overflow: hidden;
  height: 4px;
  margin: 16px 0 12px;
  border-radius: 999px;
  background: rgba(112, 66, 160, 0.12);
}

.thin-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.check-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr 14px;
  align-items: center;
  min-height: 43px;
  color: #514959;
  font-size: 0.74rem;
}

.check-list li > span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(104, 73, 140, 0.22);
  border-radius: 50%;
  color: white;
  font-size: 0.65rem;
}

.check-list li.checked > span {
  border-color: transparent;
  background: linear-gradient(145deg, #ad3eed, #6f32f7);
}

.check-list b {
  color: #7c7386;
  font-size: 1rem;
}

.check-list li > span .ui-icon {
  width: 12px;
  height: 12px;
}

.check-list b .ui-icon {
  width: 14px;
  height: 14px;
}

.momentum-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px;
}

.momentum-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  color: #f06b42;
  background:
    radial-gradient(circle at 70% 22%, rgba(255, 255, 255, 0.88), transparent 30%),
    linear-gradient(145deg, rgba(255, 151, 76, 0.24), rgba(175, 61, 239, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.momentum-card__visual .ui-icon {
  width: 23px;
  height: 23px;
}

.momentum-card strong,
.momentum-card span {
  display: block;
}

.momentum-card strong {
  color: #33263d;
  font-size: 1rem;
  line-height: 1.25;
}

.momentum-card span {
  margin-top: 8px;
  color: #7d7586;
  font-size: 0.72rem;
  line-height: 1.45;
}

/* Scene 3 — workouts */
.workout-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(330px, 0.96fr) minmax(255px, 0.82fr);
  gap: clamp(26px, 3.8vw, 62px);
}

.workout-copy {
  align-self: center;
}

.feature-list {
  display: grid;
  gap: 5px;
  width: min(285px, 100%);
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 7px 9px;
  border-radius: 14px;
  transition: background 180ms ease, transform 180ms ease;
}

.feature-list li:hover {
  background: rgba(255, 255, 255, 0.46);
  transform: translateX(3px);
}

.feature-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 6px 16px rgba(66, 39, 97, 0.08);
}

.feature-icon--purple { color: #8033f3; }
.feature-icon--pink { color: #ec3cad; }
.feature-icon--orange { color: #ff7f3e; }
.feature-icon--indigo { color: #6350e7; }

.feature-icon .ui-icon {
  width: 19px;
  height: 19px;
}

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

.feature-list strong {
  color: #31263b;
  font-size: 0.82rem;
}

.feature-list small {
  margin-top: 2px;
  color: #817989;
  font-size: 0.68rem;
}

.phone {
  position: relative;
  align-self: center;
  justify-self: center;
  width: min(350px, 100%);
  height: min(69vh, 650px);
  min-height: 570px;
  padding: 30px 20px 24px;
  overflow: hidden;
  border: 9px solid #232028;
  border-radius: 48px;
  color: #241b2c;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 252, 0.97));
  box-shadow: 0 25px 55px rgba(40, 25, 58, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transform: rotate(-0.7deg);
}

.phone__speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 105px;
  height: 26px;
  border-radius: 999px;
  background: #161419;
  transform: translateX(-50%);
}

.phone__status,
.phone__title,
.phone__tabs {
  display: flex;
  align-items: center;
}

.phone__status {
  justify-content: space-between;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 700;
}

.phone__status-icons {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.phone__status-icons .ui-icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}

.phone__title {
  justify-content: space-between;
  margin-top: 17px;
}

.phone__control {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
}

.phone__control .ui-icon {
  width: 17px;
  height: 17px;
}

.phone__title strong {
  font-size: 0.93rem;
}

.phone__tabs {
  justify-content: center;
  gap: 30px;
  margin: 14px -20px 0;
  border-bottom: 1px solid rgba(86, 56, 120, 0.1);
  color: #8b8493;
  font-size: 0.66rem;
}

.phone__tabs span {
  position: relative;
  padding: 0 0 10px;
}

.phone__tabs .active {
  color: #7a31e8;
  font-weight: 700;
}

.phone__tabs .active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #8734ed;
}

.workout-hero-card {
  position: relative;
  min-height: 126px;
  margin-top: 16px;
  padding: 18px;
  overflow: hidden;
  border-radius: 16px;
  color: white;
  background: linear-gradient(120deg, #31215d 0%, #1d1830 55%, #484067 100%);
  box-shadow: 0 11px 24px rgba(38, 24, 69, 0.22);
}

.workout-hero-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -44px;
  width: 150px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 91, 237, 0.46), transparent 65%);
}

.workout-hero-card span,
.workout-hero-card small {
  position: relative;
  z-index: 2;
  display: block;
}

.workout-hero-card span {
  font-size: 0.83rem;
  font-weight: 700;
}

.workout-hero-card small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.62rem;
}

.workout-hero-card .preview-start {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 15px;
  min-width: 62px;
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(100deg, #a844f0, #7631fa);
  font-size: 0.62rem;
  font-weight: 700;
}

.workout-figure {
  position: absolute;
  right: 13px;
  bottom: 0;
  width: 95px;
  height: 108px;
  opacity: 0.66;
  background:
    radial-gradient(circle at 54% 14%, rgba(255, 255, 255, 0.42) 0 6px, transparent 7px),
    linear-gradient(70deg, transparent 41%, rgba(255, 255, 255, 0.27) 42% 48%, transparent 49%) 27px 24px / 42px 74px no-repeat,
    linear-gradient(-68deg, transparent 42%, rgba(255, 255, 255, 0.22) 43% 49%, transparent 50%) 48px 29px / 42px 68px no-repeat;
}

.phone h4 {
  margin: 18px 0 8px;
  font-size: 0.72rem;
}

.exercise-list {
  display: grid;
}

.exercise-list > div {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  min-height: 55px;
  border-bottom: 1px solid rgba(85, 58, 118, 0.08);
}

.exercise-thumb {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
  color: #4c4057;
  background: #ece8ef;
  font-size: 0.65rem;
}

.exercise-thumb .ui-icon {
  width: 14px;
  height: 14px;
}

.exercise-list strong {
  font-size: 0.67rem;
}

.exercise-list small {
  color: #7f7787;
  font-size: 0.62rem;
}

.phone__home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: #302d32;
  transform: translateX(-50%);
}

.recovery-stack {
  display: grid;
  align-content: center;
  gap: 20px;
}

.recovery-card,
.sleep-card {
  border-radius: 20px;
}

.recovery-card {
  padding: 25px;
  text-align: center;
}

.recovery-card h3 {
  margin: 0 0 19px;
  text-align: left;
  font-size: 0.88rem;
}

.score-ring {
  display: grid;
  place-items: center;
  align-content: center;
  width: 128px;
  height: 128px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.98) 0 59%, transparent 60%),
    conic-gradient(#6f2ffa 0 82%, rgba(119, 65, 163, 0.11) 82% 100%);
  box-shadow: 0 11px 25px rgba(112, 47, 225, 0.13);
}

.score-ring strong,
.score-ring span {
  display: block;
}

.score-ring strong {
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.score-ring span {
  margin-top: 2px;
  color: #7d7486;
  font-size: 0.65rem;
}

.recovery-card p {
  margin: 16px 0 0;
  color: #7b7483;
  font-size: 0.71rem;
}

.recovery-card p b {
  color: #3f3448;
}

.sleep-card {
  padding: 21px 22px 17px;
}

.sleep-card header,
.sleep-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sleep-card header span,
.sleep-card header strong {
  display: block;
}

.sleep-card header span {
  color: #7d7586;
  font-size: 0.72rem;
}

.sleep-card header strong {
  margin-top: 4px;
  font-size: 1.2rem;
}

.sleep-card header > b {
  color: #7b7084;
  font-size: 1.35rem;
}

.sleep-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 78px;
  margin: 17px 0 7px;
}

.sleep-bars i {
  flex: 1;
  min-height: 12px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #a740ee, #6f2ff7);
  opacity: 0.9;
}

.sleep-card footer {
  color: #938b9a;
  font-size: 0.58rem;
}

/* Scene 4 — money */
.money-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(430px, 1.27fr) minmax(240px, 0.76fr);
  gap: clamp(26px, 3.5vw, 58px);
}

.money-copy {
  align-self: center;
}

.money-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 31px;
}

.money-mini {
  position: relative;
  min-height: 180px;
  padding: 20px;
  border-radius: 18px;
}

.money-mini span,
.money-mini strong,
.money-mini small {
  display: block;
}

.money-mini > span {
  color: #77707f;
  font-size: 0.7rem;
  font-weight: 650;
}

.money-mini strong {
  margin-top: 7px;
  font-size: 1.42rem;
  letter-spacing: -0.04em;
}

.money-mini small {
  margin-top: 2px;
  color: #8e8696;
  font-size: 0.61rem;
}

.donut {
  position: absolute;
  bottom: 17px;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0 53%, transparent 55%),
    conic-gradient(#ff9a36 0 24%, #ec39b6 24% 58%, #7931f7 58% 82%, rgba(120, 77, 163, 0.1) 82% 100%);
  transform: translateX(-50%);
}

.sparkline {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  width: calc(100% - 28px);
  height: 58px;
  color: #7b31f4;
}

.spending-card {
  align-self: center;
  min-height: 600px;
  padding: 27px 29px 24px;
  border-radius: 22px;
}

.spending-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 22px;
}

.spending-total strong {
  font-size: 2.15rem;
  letter-spacing: -0.05em;
}

.spending-total span {
  color: #776e80;
  font-size: 0.78rem;
}

.spending-chart {
  width: 100%;
  height: 175px;
  margin-top: 5px;
}

.chart-grid {
  fill: none;
  stroke: rgba(112, 82, 144, 0.1);
  stroke-width: 1;
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: -9px;
  color: #938b9a;
  font-size: 0.58rem;
}

.spending-card h4 {
  margin: 20px 0 8px;
  font-size: 0.75rem;
}

.category-list {
  display: grid;
}

.category-list > div {
  display: grid;
  grid-template-columns: 12px 76px 1fr 72px;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid rgba(101, 68, 136, 0.08);
}

.category-list > div:last-child {
  border-bottom: 0;
}

.category-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.category-dot--pink { background: #ec3db6; }
.category-dot--orange { background: #ff962f; }
.category-dot--green { background: #8ebf4f; }
.category-dot--gray { background: #77717e; }

.category-list strong {
  font-size: 0.66rem;
}

.category-list i {
  position: relative;
  display: block;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(97, 69, 126, 0.1);
}

.category-list i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient);
}

.category-list small {
  color: #746d7b;
  font-size: 0.58rem;
  text-align: right;
}

.insight-card {
  align-self: center;
  min-height: 280px;
  padding: 28px;
  border-radius: 21px;
}

.insight-card > span {
  color: #7c7484;
  font-size: 0.72rem;
}

.insight-card p {
  margin: 23px 0 27px;
  color: #34293e;
  font-size: clamp(1.12rem, 1.5vw, 1.36rem);
  font-weight: 570;
  line-height: 1.47;
  letter-spacing: -0.035em;
}

.insight-card a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 37px;
  padding: 0 15px;
  border: 1px solid rgba(125, 54, 213, 0.19);
  border-radius: 10px;
  color: #7a36db;
  font-size: 0.68rem;
  font-weight: 700;
}

.insight-card a b .ui-icon {
  width: 14px;
  height: 14px;
}

/* Scene 5 — progress */
.progress-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(500px, 1.5fr) minmax(230px, 0.72fr);
  gap: clamp(25px, 3.3vw, 52px);
}

.progress-copy {
  align-self: center;
}

.review-card {
  align-self: center;
  min-height: 500px;
  padding: 27px 30px 20px;
  border-radius: 22px;
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 25px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(101, 70, 136, 0.09);
}

.review-metrics span,
.review-metrics strong,
.review-metrics small {
  display: block;
}

.review-metrics span {
  color: #7f7787;
  font-size: 0.62rem;
}

.review-metrics strong {
  margin-top: 6px;
  font-size: 1.12rem;
  letter-spacing: -0.04em;
}

.review-metrics small {
  margin-top: 2px;
  color: #98909f;
  font-size: 0.57rem;
}

.mood-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 21px;
}

.mood-header h4 {
  margin: 0 0 4px;
  font-size: 0.86rem;
}

.mood-header span {
  color: #8b8392;
  font-size: 0.64rem;
}

.mood-header b {
  color: #7d7484;
  font-size: 1.3rem;
}

.mood-chart {
  margin-top: 8px;
}

.mood-chart svg {
  width: 100%;
  height: 150px;
  overflow: visible;
}

.mood-chart text {
  fill: rgba(95, 55, 70, 0.54);
  font-size: 9px;
}

.weekday-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-top: -9px;
  color: #8f8796;
  font-size: 0.58rem;
  text-align: center;
}

.wins-stack {
  display: grid;
  align-content: center;
  gap: 18px;
}

.wins-card,
.next-card {
  border-radius: 19px;
}

.wins-card {
  padding: 24px;
}

.wins-card h3 {
  margin: 0 0 14px;
  font-size: 0.88rem;
}

.wins-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wins-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 57px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(96, 67, 130, 0.07);
}

.wins-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.win-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 5px 14px rgba(57, 35, 84, 0.08);
}

.win-icon--blue { color: #4797f0; }
.win-icon--green { color: #8bbb45; }
.win-icon--orange { color: #ff8a35; }

.win-icon .ui-icon {
  width: 17px;
  height: 17px;
}

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

.wins-card strong {
  font-size: 0.7rem;
}

.wins-card small {
  margin-top: 2px;
  color: #8b8392;
  font-size: 0.59rem;
}

.next-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 188px;
  padding: 21px 22px;
}

.next-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.next-card__header strong,
.next-card__header span {
  display: block;
}

.next-card__header strong {
  font-size: 0.78rem;
}

.next-card__header > div > span {
  margin-top: 4px;
  color: #8b8392;
  font-size: 0.61rem;
}

.next-plan-list {
  display: grid;
  align-content: start;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.next-plan-list li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 8px;
  border: 1px solid rgba(110, 69, 155, 0.07);
  border-radius: 11px;
  color: #51455d;
  background: rgba(255, 255, 255, 0.46);
  font-size: 0.62rem;
  font-weight: 620;
}

.next-plan-list .ui-icon {
  width: 15px;
  height: 15px;
  color: #7b36e6;
}

.next-plan-list li:nth-child(2) .ui-icon {
  color: #ef6f40;
}

.next-plan-list li:nth-child(3) .ui-icon {
  color: #35a75b;
}

.next-card .preview-arrow {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(118, 56, 198, 0.17);
  border-radius: 50%;
  color: #7a35dc;
  background: rgba(255, 255, 255, 0.57);
}

.next-card .preview-arrow .ui-icon {
  width: 16px;
  height: 16px;
}

/* Scene 6 — privacy / closing CTA */
.privacy-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(510px, 1.28fr);
  gap: clamp(55px, 8vw, 130px);
}

.privacy-copy {
  align-self: center;
  max-width: 430px;
}

.privacy-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 32px;
}

.privacy-features article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}

.privacy-features article > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #7a34ed;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 7px 17px rgba(76, 39, 111, 0.08);
}

.privacy-features article > span .ui-icon {
  width: 19px;
  height: 19px;
}

.privacy-features strong,
.privacy-features small {
  display: block;
}

.privacy-features strong {
  color: #31273a;
  font-size: 0.74rem;
}

.privacy-features small {
  margin-top: 2px;
  color: #8b8492;
  font-size: 0.61rem;
}

.compliance-row {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 31px;
  padding: 11px 16px;
  border: 1px solid rgba(112, 66, 159, 0.14);
  border-radius: 11px;
  color: #756c7e;
  background: rgba(255, 255, 255, 0.38);
  font-size: 0.59rem;
  white-space: nowrap;
}

.compliance-row i {
  width: 1px;
  height: 11px;
  margin: 0 12px;
  background: rgba(106, 71, 143, 0.2);
}

.closing-stack {
  align-self: center;
  display: grid;
  gap: 22px;
  width: min(610px, 100%);
}

.apps-card,
.cta-card {
  border-radius: 22px;
}

.apps-card {
  padding: 25px 27px;
}

.apps-card h3 {
  margin: 0 0 18px;
  font-size: 0.86rem;
}

.app-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 11px;
}

.app-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  min-width: 0;
  border: 1px solid rgba(92, 63, 127, 0.08);
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 18px rgba(55, 32, 82, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-tile:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 14px 25px rgba(55, 32, 82, 0.16);
}

.app-tile svg {
  width: 60%;
  height: 60%;
}

.app-tile--health svg {
  fill: #f13b88;
}

.app-tile--strava {
  background: #fc4c02;
}

.app-tile--calendar {
  position: relative;
  overflow: hidden;
  color: #3c6df0;
  font-size: clamp(0.82rem, 1.2vw, 1.1rem);
}

.app-tile--calendar::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(90deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

.app-tile--notion {
  color: #101010;
  font-family: Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
}

.app-tile--notion b {
  display: grid;
  place-items: center;
  width: 62%;
  height: 62%;
  border: 2px solid #111;
  border-radius: 3px;
}

.app-tile--plaid svg {
  width: 56%;
  height: 56%;
  color: #111;
}

.cta-card {
  padding: 30px 34px 32px;
  text-align: center;
}

.cta-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 520;
  letter-spacing: -0.045em;
}

.cta-card p {
  margin: 8px 0 22px;
  color: #7b7284;
  font-size: 0.76rem;
}

.button--wide {
  width: min(100%, 430px);
  margin: 0 auto;
}

/* Scene navigation */
.scene-pagination {
  position: fixed;
  z-index: 95;
  top: 50%;
  right: 25px;
  display: grid;
  gap: 11px;
  transform: translateY(-50%);
}

.scene-pagination a {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(74, 46, 108, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 2px 8px rgba(54, 31, 80, 0.08);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.scene-pagination a:hover {
  transform: scale(1.22);
}

.scene-pagination a.is-active {
  width: 10px;
  height: 10px;
  border-color: transparent;
  background: var(--gradient);
}

/* Large laptops */
@media (max-width: 1220px) {
  :root {
    --header-x: 42px;
  }

  .scene-grid {
    width: calc(100% - 72px);
  }

  .section-copy h2 {
    font-size: clamp(2.85rem, 4.4vw, 3.65rem);
  }

  .focus-layout,
  .workout-layout,
  .money-layout,
  .progress-layout {
    gap: 24px;
  }

  .day-card {
    min-height: 535px;
    padding-inline: 23px;
  }

  .timeline-row {
    min-height: 69px;
  }

  .timeline-row i::after {
    height: 59px;
  }

  .phone {
    width: 318px;
    min-height: 540px;
  }

  .spending-card {
    min-height: 550px;
    padding-inline: 23px;
  }

  .review-card {
    padding-inline: 24px;
  }

  .kpi {
    padding-inline: 12px;
  }
}

@media (max-width: 1030px) {
  .primary-nav {
    gap: 21px;
  }

  .primary-nav a {
    font-size: 0.78rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.7rem, 7.2vw, 5rem);
  }

  .hero-art {
    width: 51%;
  }

  .kpi-bar {
    width: 78%;
    padding-inline: 15px;
  }

  .kpi strong {
    font-size: 1.2rem;
  }

  .kpi span {
    font-size: 0.66rem;
  }

  .focus-layout {
    grid-template-columns: minmax(210px, 0.72fr) minmax(350px, 1.18fr) minmax(220px, 0.75fr);
  }

  .workout-layout {
    grid-template-columns: minmax(225px, 0.75fr) minmax(300px, 1fr) minmax(220px, 0.73fr);
  }

  .money-layout {
    grid-template-columns: minmax(240px, 0.75fr) minmax(390px, 1.25fr) minmax(210px, 0.68fr);
  }

  .progress-layout {
    grid-template-columns: minmax(225px, 0.72fr) minmax(435px, 1.4fr) minmax(205px, 0.66fr);
  }

  .privacy-layout {
    grid-template-columns: minmax(300px, 0.85fr) minmax(440px, 1.15fr);
    gap: 42px;
  }
}

/* Tablet and mobile: convert scenes into an easy vertical story. */
@media (max-width: 900px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    top: 20px;
    left: 25px;
    right: 25px;
    grid-template-columns: 1fr auto;
    min-height: 50px;
    padding: 5px 7px 5px 12px;
    border: 1px solid rgba(90, 58, 124, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 10px 30px rgba(61, 35, 91, 0.09);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
  }

  .brand {
    width: 120px;
  }

  .primary-nav {
    display: none;
  }

  .button--header {
    min-height: 39px;
    padding-inline: 18px;
    font-size: 0.78rem;
  }

  .scene {
    min-height: auto;
    padding: 8px;
  }

  .scene-shell {
    min-height: auto;
    border-radius: 22px;
  }

  .scene-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: min(690px, calc(100% - 36px));
    min-height: auto;
    gap: 28px;
    padding: 114px 0 58px;
  }

  .section-copy h2 {
    font-size: clamp(3rem, 9.5vw, 4.5rem);
  }

  .section-copy > p {
    font-size: 1rem;
  }

  .hero-shell {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    padding: 118px 26px 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.6rem, 12.4vw, 5.7rem);
  }

  .hero-description br {
    display: none;
  }

  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: calc(100% - 28px);
    height: 500px;
    margin: 18px 14px 0;
    border-radius: 36px;
  }

  .hero-art::before {
    width: 13%;
  }

  .kpi-bar {
    position: relative;
    order: 3;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(2, 1fr);
    width: auto;
    margin: 16px 14px 22px;
  }

  .kpi + .kpi {
    border-left: 0;
  }

  .kpi:nth-child(even) {
    border-left: 1px solid rgba(93, 62, 132, 0.08);
  }

  .kpi:nth-child(n + 3) {
    border-top: 1px solid rgba(93, 62, 132, 0.08);
  }

  .kpi {
    min-height: 76px;
  }

  .focus-layout,
  .workout-layout,
  .money-layout,
  .progress-layout,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .focus-copy,
  .workout-copy,
  .money-copy,
  .progress-copy,
  .privacy-copy {
    max-width: 590px;
  }

  .mini-card-stack,
  .feature-list {
    width: min(420px, 100%);
  }

  .day-card,
  .spending-card,
  .review-card {
    width: 100%;
  }

  .focus-side,
  .recovery-stack,
  .wins-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone {
    width: min(370px, 90vw);
    height: 650px;
  }

  .money-mini-grid {
    width: min(500px, 100%);
  }

  .insight-card {
    width: min(420px, 100%);
    min-height: 230px;
  }

  .privacy-features {
    width: min(520px, 100%);
  }

  .closing-stack {
    width: 100%;
  }

  .scene-pagination {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --header-x: 20px;
  }

  .site-header {
    top: 14px;
    left: 16px;
    right: 16px;
  }

  .brand {
    width: 105px;
  }

  .button--header {
    min-height: 36px;
    padding-inline: 14px;
  }

  .scene {
    padding: 5px;
  }

  .scene-shell {
    border-radius: 18px;
  }

  .scene-grid {
    width: calc(100% - 30px);
    padding-top: 100px;
  }

  .hero-copy {
    padding: 100px 20px 0;
  }

  .eyebrow {
    gap: 12px;
    margin-bottom: 17px;
  }

  .eyebrow__number {
    width: 39px;
    height: 39px;
  }

  .hero-copy h1 {
    font-size: clamp(3.18rem, 14.4vw, 4.55rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button--primary,
  .button--secondary {
    width: 100%;
  }

  .hero-art {
    height: 390px;
  }

  .kpi-bar {
    grid-template-columns: 1fr;
    padding: 10px 18px;
  }

  .kpi:nth-child(even) {
    border-left: 0;
  }

  .kpi:nth-child(n + 2) {
    border-top: 1px solid rgba(93, 62, 132, 0.08);
  }

  .kpi {
    padding-inline: 5px;
  }

  .kpi span {
    font-size: 0.72rem;
  }

  .section-copy h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .focus-side,
  .recovery-stack,
  .wins-stack {
    grid-template-columns: 1fr;
  }

  .day-card,
  .spending-card,
  .review-card {
    padding-inline: 18px;
  }

  .week-strip {
    gap: 2px;
  }

  .timeline-row {
    grid-template-columns: 58px 17px 1fr 22px;
  }

  .phone {
    min-height: 570px;
    height: 610px;
    border-width: 7px;
  }

  .money-mini-grid {
    grid-template-columns: 1fr;
  }

  .review-metrics {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .review-card {
    min-height: auto;
  }

  .mood-chart svg {
    height: 125px;
  }

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

  .privacy-features article:nth-child(3) {
    grid-column: auto;
  }

  .compliance-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    white-space: normal;
  }

  .compliance-row i {
    display: none;
  }

  .app-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-card {
    padding-inline: 22px;
  }
}

/* --------------------------------------------------------------------------
   Full-bleed opening hero
   The supplied master already includes the intended negative space and focal
   artwork. Keep it sharp and make it the complete scene background instead of
   constraining it to a partial-width image panel.
   -------------------------------------------------------------------------- */

.scene--hero .hero-shell {
  isolation: isolate;
  background: #faf8fd;
}

.scene--hero .hero-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  -webkit-mask-image: none;
  mask-image: none;
}

.scene--hero .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  background: transparent;
  image-rendering: auto;
  filter: none;
  transform: none;
}

.scene--hero .hero-art::before {
  content: "";
  position: absolute;
  z-index: 1;
  display: block;
  inset: 0;
  width: auto;
  background:
    linear-gradient(90deg, rgba(250, 248, 253, 0.97) 0%, rgba(250, 248, 253, 0.82) 27%, rgba(250, 248, 253, 0.34) 47%, rgba(250, 248, 253, 0.05) 66%, transparent 78%),
    linear-gradient(180deg, rgba(250, 248, 253, 0.16), transparent 28%, transparent 76%, rgba(250, 248, 253, 0.28));
  pointer-events: none;
}

.scene--hero .hero-art::after {
  content: none;
  display: none;
}

@media (max-width: 900px) {
  .scene--hero .hero-shell {
    display: block;
    min-height: max(900px, 100svh);
  }

  .scene--hero .hero-copy {
    position: relative;
    z-index: 3;
    top: auto;
    left: auto;
    width: min(640px, 100%);
    padding: 116px 28px 0;
  }

  .scene--hero .hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .scene--hero .hero-art img {
    object-fit: cover;
    object-position: 67% center;
  }

  .scene--hero .hero-art::before {
    background:
      linear-gradient(180deg, rgba(250, 248, 253, 0.94) 0%, rgba(250, 248, 253, 0.78) 34%, rgba(250, 248, 253, 0.22) 62%, rgba(250, 248, 253, 0.5) 100%),
      linear-gradient(90deg, rgba(250, 248, 253, 0.8) 0%, rgba(250, 248, 253, 0.28) 60%, transparent 100%);
  }

  .scene--hero .kpi-bar {
    position: absolute;
    z-index: 5;
    right: 18px;
    bottom: 28px;
    left: 18px;
    width: auto;
    margin: 0;
  }
}

@media (max-width: 620px) {
  .scene--hero .hero-shell {
    min-height: max(940px, 100svh);
  }

  .scene--hero .hero-copy {
    padding: 104px 20px 0;
  }

  .scene--hero .hero-art img {
    object-position: 70% center;
  }

  .scene--hero .hero-art::before {
    background:
      linear-gradient(180deg, rgba(250, 248, 253, 0.96) 0%, rgba(250, 248, 253, 0.83) 37%, rgba(250, 248, 253, 0.2) 66%, rgba(250, 248, 253, 0.56) 100%),
      linear-gradient(90deg, rgba(250, 248, 253, 0.74) 0%, rgba(250, 248, 253, 0.2) 74%, transparent 100%);
  }

  .scene--hero .kpi-bar {
    right: 12px;
    bottom: 22px;
    left: 12px;
  }
}

@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;
  }

}

.demo-toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  max-width: min(390px, calc(100vw - 48px));
  padding: 14px 17px;
  border: 1px solid rgba(109, 60, 165, 0.13);
  border-radius: 14px;
  color: #2e203c;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 42px rgba(58, 32, 88, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.82rem;
  font-weight: 650;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.demo-toast.is-visible {
  opacity: 1;
  transform: none;
}

/* Fidelity pass: keep the supplied scene artwork visible and the header minimal. */
.scene-shell::after {
  z-index: 0;
}

.scene-shell--background::before {
  z-index: 0;
}

.scene-shell--background::after {
  z-index: 1;
}

.site-header.is-scrolled .primary-nav {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.primary-nav a::after {
  display: none;
}

.scene-pagination {
  display: none;
}

/* Fine-tune the supplied artwork without replacing it. */
.hero-art img {
  object-fit: contain;
  object-position: right top;
  background: #faf7fd;
}

.scene--workouts .scene-shell::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.83) 0%, rgba(255, 255, 255, 0.58) 20%, rgba(255, 255, 255, 0.08) 44%, transparent 58%),
    radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.72), transparent 30%);
}

.scene--workouts .feature-list li {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.scene--progress .scene-shell::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.63) 19%, rgba(255, 255, 255, 0.14) 40%, transparent 54%),
    radial-gradient(circle at 9% 12%, rgba(255, 255, 255, 0.74), transparent 31%);
}

@media (min-width: 1101px) {
  .progress-layout {
    grid-template-columns: minmax(330px, 0.9fr) minmax(520px, 1.48fr) minmax(230px, 0.7fr);
  }

  .progress-copy h2 {
    font-size: clamp(3.25rem, 4.15vw, 4rem);
  }

  .progress-copy .heading-line {
    white-space: nowrap;
  }
}

.scene--workouts .feature-list li {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 22px rgba(69, 40, 101, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 1101px) {
  .progress-copy {
    transform: translateY(-52px);
  }
}

@media (min-width: 1280px) {
  .money-layout {
    grid-template-columns: minmax(360px, 0.95fr) minmax(500px, 1.25fr) minmax(240px, 0.7fr);
  }

  .money-copy h2 {
    font-size: clamp(3.35rem, 4.1vw, 4rem);
  }

  .money-copy .heading-line {
    white-space: nowrap;
  }
}

/* --------------------------------------------------------------------------
   Pro revision — one continuous page, exact supplied artwork, one glass header
   -------------------------------------------------------------------------- */

html {
  scroll-snap-type: none;
  scroll-padding-top: 96px;
}

body {
  overflow-x: hidden;
  background: #faf8fd;
}

.scene {
  position: relative;
  min-height: 100svh;
  padding: 0;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  scroll-margin-top: 0;
}

.scene-shell,
.hero-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.scene-shell::before,
.scene-shell::after,
.scene-shell--background::before,
.scene-shell--background::after {
  content: none;
  display: none;
}

/* These files are byte-for-byte copies of the supplied five scene images. */
.scene-background {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  user-select: none;
  filter: none;
  transform: none;
}

.scene-grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
}

/* One global header. At the top it sits cleanly over the hero; after scrolling
   the entire header drops into a single translucent glass surface. */
.site-header {
  top: 0;
  left: 0;
  right: 0;
  min-height: 88px;
  padding: 0 var(--header-x);
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  transition:
    top 260ms cubic-bezier(.2,.75,.2,1),
    left 260ms cubic-bezier(.2,.75,.2,1),
    right 260ms cubic-bezier(.2,.75,.2,1),
    min-height 260ms cubic-bezier(.2,.75,.2,1),
    padding 260ms cubic-bezier(.2,.75,.2,1),
    border-color 220ms ease,
    border-radius 260ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  top: 14px;
  left: clamp(14px, 3vw, 44px);
  right: clamp(14px, 3vw, 44px);
  min-height: 66px;
  padding: 7px 10px 7px 17px;
  border-color: rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 48px rgba(61, 34, 92, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.site-header.is-scrolled .brand {
  width: clamp(112px, 9vw, 137px);
}

.site-header .primary-nav,
.site-header.is-scrolled .primary-nav {
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header .brand img {
  filter: none;
}

/* The hero uses the cocoon crop from the exact supplied reference image. The
   crop contains artwork only; every word, button and KPI remains live HTML. */
.ambient {
  display: none;
}

.hero-copy {
  top: clamp(154px, 20vh, 190px);
}

.hero-art {
  top: 58px;
  right: 0;
  width: min(57vw, 820px);
  height: calc(100% - 58px);
  overflow: visible;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 100%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  background: transparent;
  filter: none;
  transform: none;
}

.hero-art::before,
.hero-art::after {
  content: none;
  display: none;
}

.kpi-bar {
  bottom: clamp(34px, 5vh, 52px);
}

/* The blurred treatment is intentionally limited to UI glass surfaces, never
   applied to the supplied background images themselves. */
.glass-card {
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
}

/* App Store badge treatment reserved for a verified listing after launch approval. */
.app-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 178px;
  margin-top: 14px;
  padding: 8px 15px 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: #fff;
  background: #17151a;
  box-shadow: 0 9px 22px rgba(27, 20, 34, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.app-store-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(27, 20, 34, 0.24);
}

.app-store-link svg {
  width: 24px;
  height: 29px;
  fill: currentColor;
}

.app-store-link span,
.app-store-link small,
.app-store-link strong {
  display: block;
  text-align: left;
}

.app-store-link small {
  font-size: 0.56rem;
  font-weight: 520;
  line-height: 1;
}

.app-store-link strong {
  margin-top: 2px;
  font-size: 1rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Keep the supplied artwork framed correctly at common desktop aspect ratios. */
.scene--focus .scene-background { object-position: center center; }
.scene--workouts .scene-background { object-position: center center; }
.scene--money .scene-background { object-position: center center; }
.scene--progress .scene-background { object-position: center center; }
.scene--privacy .scene-background { object-position: center center; }

@media (max-width: 900px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
    min-height: 74px;
    padding: 8px 15px 8px 20px;
    border: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-header.is-scrolled {
    top: 10px;
    left: 10px;
    right: 10px;
    min-height: 58px;
    padding: 6px 7px 6px 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.64);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
  }

  .scene {
    min-height: auto;
    padding: 0;
  }

  .scene-shell,
  .hero-shell {
    min-height: auto;
    border-radius: 0;
  }

  .scene-grid {
    width: min(690px, calc(100% - 36px));
    min-height: auto;
    padding-top: 112px;
    padding-bottom: 70px;
  }

  .hero-copy {
    padding-top: 112px;
  }

  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    order: 2;
    width: 100%;
    height: min(72vw, 520px);
    margin: 8px 0 0;
    overflow: hidden;
    border-radius: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 100%);
  }

  .hero-art img {
    object-fit: contain;
    object-position: right center;
  }

  .kpi-bar {
    margin: 8px 18px 28px;
  }

  .scene-background {
    object-fit: cover;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 0;
    left: 0;
    right: 0;
  }

  .scene,
  .scene-shell {
    padding: 0;
    border-radius: 0;
  }

  .hero-copy {
    padding: 94px 20px 0;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 14vw, 4.3rem);
  }

  .hero-art {
    height: 390px;
  }

  .kpi-bar {
    margin-inline: 12px;
  }

  .app-store-link {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header * {
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Approved launch-preparation corrections
   Preserve the supplied six-scene art direction while keeping navigation,
   source imagery, and alpha-stage claims accurate and accessible.
   -------------------------------------------------------------------------- */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(92, 57, 132, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 22px rgba(61, 34, 92, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 17px;
  height: 1.5px;
  border-radius: 999px;
  background: #30223e;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Header geometry stays fixed. Scrolling changes material only, preventing the
   visible jump caused by moving and shrinking the entire header. */
.site-header,
.site-header.is-scrolled {
  top: 14px;
  left: clamp(14px, 3vw, 44px);
  right: clamp(14px, 3vw, 44px);
  min-height: 66px;
  padding: 7px 10px 7px 17px;
  border-radius: 22px;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 32px rgba(61, 34, 92, 0.04);
  backdrop-filter: blur(10px) saturate(1.08);
  -webkit-backdrop-filter: blur(10px) saturate(1.08);
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 48px rgba(61, 34, 92, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.site-header .brand,
.site-header.is-scrolled .brand {
  width: clamp(118px, 9vw, 137px);
}

.primary-nav a {
  border-radius: 8px;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: #762be4;
}

/* The supplied 1672 × 941 master is shown directly, with no blur, transform,
   or CSS enlargement beyond half its intrinsic width at desktop size. */
.hero-art {
  width: min(55vw, 836px);
}

.hero-art img {
  object-fit: contain;
  object-position: right center;
  image-rendering: auto;
  filter: none;
  transform: none;
}

.scene--workouts .feature-list li {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.43));
  box-shadow: 0 10px 28px rgba(69, 40, 101, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(1.14);
  -webkit-backdrop-filter: blur(20px) saturate(1.14);
}

.scene--workouts .feature-list li:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
}

.scene--workouts .feature-list small {
  color: var(--ink-soft);
}

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px !important;
  font-size: 0.82rem !important;
}

.policy-links a {
  color: #6f2bd6;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(111, 43, 214, 0.3);
  text-underline-offset: 4px;
}

.apps-card__note {
  max-width: 480px;
  margin: 8px auto 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: center;
}

.app-row--planned {
  grid-template-columns: repeat(2, 54px);
  justify-content: center;
}

.launch-note {
  display: block;
  margin-top: 14px;
  color: #7a7183;
  font-size: 0.7rem;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px 36px;
  padding: 30px clamp(24px, 5vw, 72px) 34px;
  border-top: 1px solid rgba(100, 65, 143, 0.1);
  color: #4f455a;
  background: #faf8fd;
}

.site-footer__brand {
  color: #24132f;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 22px;
  font-size: 0.78rem;
}

.site-footer nav a:hover {
  color: #742bdc;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer small {
  grid-column: 1 / -1;
  color: #817889;
  font-size: 0.7rem;
}

@media (max-width: 900px) {
  .site-header,
  .site-header.is-scrolled {
    top: 10px;
    left: 10px;
    right: 10px;
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 6px 7px 6px 13px;
    border-radius: 18px;
  }

  .site-header .brand,
  .site-header.is-scrolled .brand {
    width: 112px;
  }

  .button--header {
    display: none;
  }

  .js .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .primary-nav,
  .site-header .primary-nav,
  .site-header.is-scrolled .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 50px rgba(61, 34, 92, 0.16);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
  }

  .js .site-header .primary-nav:not(.is-open),
  .js .site-header.is-scrolled .primary-nav:not(.is-open) {
    display: none;
  }

  .js .site-header .primary-nav.is-open,
  .js .site-header.is-scrolled .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .hero-art {
    width: 100%;
    max-width: 836px;
  }

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

  .site-footer nav {
    justify-content: flex-start;
  }

  .site-footer small {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-header.is-scrolled {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .site-footer {
    padding-inline: 20px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
