:root {
  --ink: #1d222b;
  --ink-2: #343d4c;
  --muted: #667386;
  --soft: #f5f9ff;
  --white: #ffffff;
  --night: #05080d;
  --night-2: #0a0e14;
  --night-3: #111722;
  --line: rgba(29, 34, 43, 0.1);
  --line-dark: rgba(255, 255, 255, 0.1);
  --blue: #00b4ff;
  --blue-2: #2563eb;
  --cyan: #52d6ff;
  --green: #4fdb9b;
  --yellow: #ffbf62;
  --purple: #8f7cff;
  --pink: #ff5caf;
  --max: 1260px;
  --shadow-soft: 0 24px 70px rgba(27, 52, 89, 0.16);
  --shadow-hard: 0 34px 90px rgba(4, 12, 28, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef7ff;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 9%, rgba(0, 180, 255, 0.17), transparent 24rem),
    radial-gradient(circle at 16% 34%, rgba(79, 219, 155, 0.13), transparent 22rem),
    radial-gradient(circle at 88% 28%, rgba(255, 191, 98, 0.13), transparent 24rem),
    linear-gradient(180deg, #edf7ff 0%, #fbfdff 29%, #ffffff 48%, #f6faff 100%);
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', sans-serif;
  line-height: 1.45;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 95, 160, 0.046) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 95, 160, 0.046) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 0%, transparent 56%);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    conic-gradient(from 230deg at 50% 18%, transparent, rgba(0, 180, 255, 0.18), rgba(79, 219, 155, 0.18), rgba(255, 191, 98, 0.12), rgba(143, 124, 255, 0.12), transparent);
  filter: blur(36px);
  opacity: 0.82;
  transform: translateY(-20%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: var(--night);
  color: var(--white);
  font-weight: 800;
}

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

.site-nav,
.hero,
.signal-section,
.analytics-showcase,
.scroll-story,
.more-section,
.stack-section,
.faq-section,
.privacy-section,
.ready-section,
.site-footer {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
  position: relative;
}

.site-nav {
  z-index: 20;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 0.8rem 0;
}

.brand-link,
.footer-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
}

.brand-logo {
  width: 118px;
  height: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.25rem;
  border: 1px solid rgba(29, 34, 43, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(30, 57, 91, 0.1);
  backdrop-filter: blur(18px);
}

.nav-links a,
.nav-login,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links a {
  padding: 0 0.88rem;
  color: rgba(29, 34, 43, 0.78);
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(244, 248, 255, 0.9);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.nav-login {
  color: var(--ink-2);
}

.button {
  border: 1px solid transparent;
  padding: 0 1.05rem;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #020304, #111722 48%, #06365a);
  box-shadow: 0 14px 32px rgba(4, 12, 28, 0.26);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(29, 34, 43, 0.1);
  box-shadow: 0 12px 26px rgba(30, 57, 91, 0.1);
}

.button.small {
  min-height: 38px;
}

.hero {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3.8rem);
  padding: clamp(1rem, 2vw, 1.6rem) 0 5rem;
}

.hero-copy {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.hero-copy h1,
.section-header h2,
.analytics-copy h2,
.story-copy h2,
.assistant-intro h2,
.more-copy h2,
.faq-copy h2,
.privacy-section h2,
.ready-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.hero-copy h1 span {
  display: block;
}

.mobile-line {
  display: none !important;
}

.hero-copy p,
.section-header p,
.analytics-copy p,
.story-copy p,
.assistant-intro p,
.more-copy p,
.faq-copy p,
.privacy-section p,
.ready-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.hero-copy p {
  max-width: 640px;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.hero-stage {
  --scroll-shift: 0px;
  min-height: clamp(590px, 58vw, 730px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-radius: 42px;
  background:
    linear-gradient(110deg, rgba(0, 180, 255, 0.16), transparent 28%),
    linear-gradient(245deg, rgba(79, 219, 155, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(238, 247, 255, 0.78) 47%, rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--scroll-shift));
}

.hero-stage::before,
.hero-stage::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.hero-stage::before {
  inset: 8% -10% auto;
  height: 36%;
  background:
    linear-gradient(100deg, transparent 0%, rgba(0, 180, 255, 0.18) 28%, rgba(79, 219, 155, 0.17) 49%, rgba(255, 191, 98, 0.12) 65%, transparent 100%);
  transform: rotate(-6deg);
  filter: blur(18px);
}

.hero-stage::after {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.86));
}

.signal-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.78;
}

.signal-lines path {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 12 16;
  animation: signal-flow 4.8s linear infinite;
}

.signal-lines path:nth-child(1) { stroke: rgba(0, 180, 255, 0.44); }
.signal-lines path:nth-child(2) { stroke: rgba(79, 219, 155, 0.4); animation-delay: -1.2s; }
.signal-lines path:nth-child(3) { stroke: rgba(255, 191, 98, 0.35); animation-delay: -2.3s; }
.signal-lines path:nth-child(4) { stroke: rgba(37, 99, 235, 0.34); animation-delay: -3.2s; }

.integration-node {
  position: absolute;
  z-index: 7;
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.74rem 0.86rem;
  border: 1px solid rgba(29, 34, 43, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(27, 52, 89, 0.16);
  backdrop-filter: blur(16px);
  animation: node-float 5.2s ease-in-out infinite;
}

.integration-node img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
}

img[src$="whoop.png"] {
  border-radius: 999px;
  clip-path: circle(49% at 50% 50%);
  image-rendering: auto;
}

.integration-node span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.node-whoop {
  top: 13%;
  left: 10%;
}

.node-whoop span {
  color: #117a5c;
}

.node-strava {
  top: 17%;
  right: 9%;
  animation-delay: -1.2s;
}

.node-apple {
  bottom: 15%;
  left: 9%;
  animation-delay: -2.2s;
}

.node-calendar {
  right: 8%;
  bottom: 18%;
  animation-delay: -3.1s;
}

.decision-card {
  position: absolute;
  z-index: 8;
  top: 2.8rem;
  left: 50%;
  width: min(348px, 74%);
  min-height: 238px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.58rem;
  padding: 1.15rem;
  color: var(--white);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 62%, rgba(0, 180, 255, 0.16), transparent 55%),
    linear-gradient(145deg, rgba(5, 8, 13, 0.94), rgba(17, 23, 34, 0.9) 52%, rgba(6, 54, 90, 0.9));
  box-shadow: 0 34px 100px rgba(4, 12, 28, 0.36);
  transform: translateX(-50%) translateY(-8px);
}

.decision-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.decision-mark img {
  width: 38px;
  height: 38px;
}

.decision-card > span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.decision-card h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.85rem, 5vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.decision-card p {
  max-width: 29ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.48;
}

.decision-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.decision-pills span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.62rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.72rem;
  font-weight: 800;
}

.dashboard-device {
  position: relative;
  z-index: 6;
  width: min(940px, 92%);
  margin-top: 15.8rem;
  padding: 1.1rem;
  border-radius: 34px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(0, 180, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #0d1524, #05080d);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-hard);
  transform: perspective(1200px) rotateX(5deg);
}

.device-topbar,
.dashboard-lower,
.panel-head,
.works-with,
.works-with div {
  display: flex;
  align-items: center;
}

.device-topbar {
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.8rem 1rem;
}

.device-topbar div {
  display: grid;
  gap: 0.18rem;
}

.device-topbar span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.device-topbar strong {
  font-size: 1.1rem;
}

.device-topbar small,
.panel-head span {
  border: 1px solid rgba(0, 180, 255, 0.24);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  color: var(--cyan);
  background: rgba(0, 180, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
}

.dashboard-rings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.78rem;
}

.metric-ring {
  min-height: 232px;
  display: grid;
  justify-items: center;
  align-content: space-between;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(105, 174, 254, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(17, 26, 43, 0.95), rgba(9, 15, 27, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-label {
  color: #9badc8;
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-ring small {
  min-height: 1.1rem;
  color: #b7c4d8;
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.real-orb {
  --orb-stop: 56%;
  --orb-end: 72%;
  --orb-color: #69aefe;
  --orb-glow: rgba(105, 174, 254, 0.24);
  --orb-core-glow: rgba(105, 174, 254, 0.12);
  position: relative;
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 999px;
}

.real-orb.small {
  width: 112px;
  height: 112px;
}

.real-orb.sleep {
  --orb-color: #8f7cff;
  --orb-glow: rgba(143, 124, 255, 0.24);
  --orb-core-glow: rgba(143, 124, 255, 0.14);
}

.real-orb.recovery {
  --orb-color: #4fdb9b;
  --orb-glow: rgba(79, 219, 155, 0.24);
  --orb-core-glow: rgba(79, 219, 155, 0.14);
}

.real-orb.strain {
  --orb-color: #69aefe;
  --orb-glow: rgba(105, 174, 254, 0.24);
  --orb-core-glow: rgba(105, 174, 254, 0.12);
}

.orb-ring-base,
.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  -webkit-mask: radial-gradient(circle, transparent 61%, #000 62.5%);
  mask: radial-gradient(circle, transparent 61%, #000 62.5%);
}

.orb-ring-base {
  background: conic-gradient(from 220deg, rgba(40, 56, 83, 0.96), rgba(28, 42, 65, 0.92));
}

.orb-ring {
  background: conic-gradient(
    from 220deg,
    var(--orb-color) 0 var(--orb-stop),
    color-mix(in srgb, var(--orb-color) 78%, #ffffff 8%) var(--orb-stop) var(--orb-end),
    transparent var(--orb-end) 100%
  );
  filter:
    drop-shadow(0 0 8px color-mix(in srgb, var(--orb-glow) 80%, transparent))
    drop-shadow(0 0 18px color-mix(in srgb, var(--orb-glow) 54%, transparent));
  animation: ring-pop 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.orb-core {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 32%, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012) 28%, rgba(8, 14, 24, 0.98) 68%),
    linear-gradient(180deg, #111d31, #0a1321);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -8px 16px rgba(0, 0, 0, 0.28);
}

.real-orb.small .orb-core {
  width: 82px;
  height: 82px;
}

.orb-core::before {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: radial-gradient(circle, color-mix(in srgb, var(--orb-core-glow) 100%, transparent), transparent 72%);
  opacity: 0.7;
}

.orb-core strong {
  position: relative;
  z-index: 1;
  color: #f5f8ff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.real-orb.small .orb-core strong {
  font-size: 1.35rem;
}

.daily-outlook {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.78rem;
  padding: 0.88rem 1rem;
  border: 1px solid rgba(0, 180, 255, 0.22);
  border-radius: 22px;
  color: var(--white);
  text-align: left;
  background: linear-gradient(110deg, rgba(0, 180, 255, 0.13), rgba(17, 26, 43, 0.74));
  cursor: pointer;
}

.outlook-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(24, 33, 48, 0.9);
  border: 1px solid rgba(0, 180, 255, 0.2);
  box-shadow: 0 0 26px rgba(0, 180, 255, 0.2);
}

.outlook-icon svg {
  width: 25px;
  height: 25px;
}

.outlook-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outlook-copy {
  display: grid;
  gap: 0.12rem;
}

.daily-outlook small {
  color: #91a5c1;
  font-size: 0.76rem;
  font-weight: 800;
}

.daily-outlook strong {
  color: var(--white);
  font-size: 0.96rem;
}

.daily-outlook b {
  color: var(--cyan);
  font-size: 0.8rem;
}

.dashboard-lower {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0.78rem;
  margin-top: 0.78rem;
}

.dashboard-lower section {
  min-height: 124px;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(17, 26, 43, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-head {
  justify-content: space-between;
  gap: 0.7rem;
}

.panel-head h3 {
  margin: 0;
  font-size: 0.96rem;
}

.dashboard-lower p {
  margin: 0;
  color: #a8b7cc;
  font-size: 0.86rem;
  line-height: 1.5;
}

.load-bars {
  height: 74px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
}

.load-bars i {
  display: block;
  height: var(--h);
  min-height: 8px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-2));
  animation: bar-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.load-bars i:nth-child(2) { animation-delay: 70ms; }
.load-bars i:nth-child(3) { animation-delay: 140ms; }
.load-bars i:nth-child(4) { animation-delay: 210ms; }
.load-bars i:nth-child(5) { animation-delay: 280ms; }
.load-bars i:nth-child(6) { animation-delay: 350ms; }
.load-bars i:nth-child(7) { animation-delay: 420ms; }

.works-with {
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem 0 0;
}

.works-with > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.works-with div {
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.works-with img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(27, 52, 89, 0.12));
}

.works-with img[src$="oura-icon.svg"],
.signal-section {
  padding: 4.8rem 0 5.2rem;
}

.section-header {
  max-width: 660px;
  margin: 0 auto 2.2rem;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
}

.section-header h2,
.story-copy h2,
.more-copy h2,
.privacy-section h2,
.ready-section h2 {
  font-size: clamp(2.3rem, 4.3vw, 4.25rem);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.web-panel {
  min-height: 420px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.8rem;
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
  overflow: hidden;
  border: 1px solid rgba(29, 34, 43, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.strain-panel {
  background: linear-gradient(180deg, #edf5ff, #fff2ef);
}

.sleep-panel {
  background: linear-gradient(180deg, #edf1ff, #e9f0ff);
}

.recovery-panel {
  background: linear-gradient(180deg, #ebfbff, #effff2);
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.panel-top h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1;
}

.panel-top span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 0.74rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.web-panel p {
  max-width: 31ch;
  margin: 0;
  color: var(--ink-2);
  line-height: 1.48;
}

.line-chart {
  align-self: end;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.66);
}

.line-chart path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 7;
  stroke-dasharray: 560;
  stroke-dashoffset: 560;
  animation: chart-draw 1.5s ease forwards;
}

.line-chart path:first-child {
  stroke: #ff8a2d;
}

.line-chart path:last-child {
  stroke: rgba(0, 180, 255, 0.78);
  animation-delay: 180ms;
}

.sleep-web {
  position: relative;
  align-self: end;
  min-height: 250px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.7rem;
  padding: 1.25rem;
  border-radius: 26px;
  background: linear-gradient(180deg, #0d1524, #05080d);
}

.sleep-web i {
  display: block;
  height: var(--h);
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #69aefe, #8f7cff);
  animation: bar-rise 950ms ease both;
}

.sleep-web i:nth-child(3n) {
  background: linear-gradient(180deg, #52d6ff, #2563eb);
}

.sleep-web i:nth-child(4n) {
  background: linear-gradient(180deg, #ffbf62, #ff8a2d);
}

.sleep-web-orb {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
}

.guidance-list {
  align-self: end;
  display: grid;
  gap: 0.7rem;
}

.guidance-list div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 34, 43, 0.06);
}

.guidance-list strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.guidance-list span {
  color: var(--ink);
  font-weight: 800;
}

.analytics-showcase {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.43fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.4rem, 4vw, 4.2rem);
  margin-block: 0 5rem;
  padding: clamp(2rem, 4vw, 3.8rem);
  border-radius: 38px;
  color: var(--ink);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(232, 248, 255, 0.96), rgba(245, 250, 255, 0.98) 45%, rgba(235, 255, 247, 0.9)),
    #f4fbff;
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: var(--shadow-soft);
}

.analytics-copy {
  min-width: 0;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.analytics-copy > *,
.analytics-card-head > *,
.analytics-metric-strip > * {
  min-width: 0;
}

.analytics-copy h2 {
  color: var(--ink);
  font-size: clamp(2.2rem, 3.6vw, 3.65rem);
  line-height: 1.02;
}

.analytics-copy p {
  max-width: 32rem;
  color: var(--muted);
}

.analytics-stage {
  --scroll-shift: 0px;
  min-width: 0;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 48vw, 690px);
  position: relative;
  transform: translateY(var(--scroll-shift));
}

.analytics-stage::before {
  content: '';
  position: absolute;
  inset: 9% 4% 4% 8%;
  border-radius: 46px;
  background:
    linear-gradient(135deg, rgba(0, 180, 255, 0.12), rgba(79, 219, 155, 0.16));
  filter: blur(12px);
  opacity: 0.76;
}

.analytics-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 0.14rem;
  min-width: 142px;
  padding: 0.88rem 1rem;
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: 0 20px 46px rgba(36, 66, 103, 0.16);
  backdrop-filter: blur(18px);
  animation: node-float 6.5s ease-in-out infinite;
}

.analytics-chip b {
  font-size: 0.95rem;
  line-height: 1.1;
}

.analytics-chip small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
}

.chip-average {
  top: -0.4rem;
  left: 5%;
}

.chip-range {
  top: 12%;
  right: 1%;
  animation-delay: -1.6s;
}

.chip-change {
  left: 3%;
  bottom: 4%;
  animation-delay: -3.1s;
}

.chip-window {
  right: 8%;
  bottom: 2%;
  animation-delay: -4.4s;
}

.analytics-browser {
  min-width: 0;
  width: min(910px, 92%);
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(17, 27, 45, 0.98), rgba(9, 15, 27, 0.98));
  border: 1px solid rgba(146, 168, 205, 0.18);
  box-shadow:
    0 34px 80px rgba(5, 12, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  margin-top: 1.8rem;
  transform: rotate(-1.15deg);
}

.analytics-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 1.8vw, 1.25rem) clamp(1rem, 2vw, 1.45rem);
}

.analytics-card-head span,
.analytics-metric-strip span,
.recovery-stat-row span {
  color: #a7b3c6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analytics-card-head h3 {
  margin: 0.24rem 0 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1;
}

.analytics-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.analytics-tabs span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.78rem;
  border-radius: 999px;
  color: #9ca8b9;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(154, 176, 211, 0.16);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.analytics-tabs .active {
  color: #3ab7ff;
  border-color: rgba(0, 180, 255, 0.72);
  background: rgba(0, 180, 255, 0.11);
}

.analytics-tabs.compact span {
  width: 40px;
  padding: 0;
}

.analytics-metric-strip {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.9rem, 3vw, 2.4rem);
  margin: 0 clamp(1rem, 2vw, 1.45rem) 0.75rem;
  padding: clamp(0.9rem, 1.8vw, 1.1rem);
  border-radius: 20px;
  background: rgba(19, 30, 50, 0.62);
  border: 1px solid rgba(146, 168, 205, 0.13);
}

.analytics-metric-strip strong,
.recovery-stat-row strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1;
}

.analytics-metric-strip b,
.recovery-stat-row b {
  max-width: 100%;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 0.68rem;
  padding: 0 0.74rem;
  border-radius: 999px;
  color: #58ffc8;
  background: rgba(22, 197, 145, 0.13);
  border: 1px solid rgba(22, 197, 145, 0.3);
  font-size: 0.8rem;
}

.analytics-metric-strip p {
  align-self: center;
  margin: 0;
  color: #a4afc0;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.65;
}

.trend-chart {
  min-width: 0;
  position: relative;
  margin: 0 clamp(1rem, 2vw, 1.45rem) clamp(1rem, 2vw, 1.45rem);
  padding: clamp(0.8rem, 1.5vw, 1rem);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(10, 16, 27, 0.72);
  border: 1px solid rgba(146, 168, 205, 0.14);
}

.range-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e9eef7;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.range-label::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: rgba(191, 201, 216, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.hrv-chart svg {
  display: block;
  width: 100%;
  min-height: 300px;
}

.hrv-chart .mobile-trend-svg {
  display: none;
}

.chart-grid line {
  stroke: rgba(156, 174, 203, 0.12);
  stroke-width: 1;
}

.range-band {
  fill: rgba(177, 188, 204, 0.2);
}

.trend-fill {
  fill: rgba(82, 214, 255, 0.13);
}

.trend-line {
  fill: none;
  stroke: #52d6ff;
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  animation: trend-glow 2.8s ease-in-out infinite alternate;
}

.last-dot {
  fill: rgba(82, 214, 255, 0.14);
  stroke: #52d6ff;
  stroke-width: 3;
}

.hrv-chart text {
  fill: #a4afc0;
  font-size: 18px;
  font-weight: 800;
}

.hrv-chart .last-value {
  fill: #ffffff;
  font-size: 22px;
}

.analytics-recovery-card {
  display: grid;
}

.recovery-stat-row {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
  padding: 0 clamp(1rem, 2.2vw, 1.55rem) 1rem;
}

.recovery-stat-row > div {
  min-height: 96px;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(19, 30, 50, 0.74);
  border: 1px solid rgba(146, 168, 205, 0.15);
}

.recovery-stat-row > div:first-child {
  min-height: 110px;
}

.recovery-stat-row small {
  display: block;
  margin-top: 0.5rem;
  color: #9ca8b9;
  font-weight: 700;
}

.recovery-bars {
  min-width: 0;
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-columns: repeat(30, minmax(7px, 1fr));
  align-items: end;
  gap: clamp(0.24rem, 0.7vw, 0.62rem);
  margin: 0 clamp(1rem, 2.2vw, 1.55rem) clamp(1rem, 2.2vw, 1.55rem);
  padding: 4.8rem 2rem 3rem 6.6rem;
  border-radius: 22px;
  background:
    linear-gradient(rgba(156, 174, 203, 0.1) 1px, transparent 1px) 0 4.25rem / 100% 33.333%,
    rgba(10, 16, 27, 0.72);
  border: 1px solid rgba(146, 168, 205, 0.14);
}

.recovery-bars::before {
  content: '';
  position: absolute;
  left: 6.55rem;
  right: 2rem;
  top: calc(4.8rem + 34%);
  border-top: 3px dashed rgba(239, 244, 250, 0.75);
}

.recovery-bars i {
  height: var(--h);
  min-height: 9px;
  border-radius: 8px;
  background: var(--bar-color);
  box-shadow: 0 0 16px color-mix(in srgb, var(--bar-color) 30%, transparent);
  animation: bar-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.recovery-bars .green {
  --bar-color: #27ff10;
}

.recovery-bars .yellow {
  --bar-color: #ffd21e;
}

.recovery-bars .red {
  --bar-color: #ff2d51;
}

.recovery-bars .axis {
  position: absolute;
  left: 2.25rem;
  color: currentColor;
  font-size: 1.18rem;
  font-weight: 900;
}

.recovery-bars .high {
  top: 3.6rem;
  color: #27ff10;
}

.recovery-bars .mid {
  top: 37%;
  color: #ffd21e;
}

.recovery-bars .low {
  top: 66%;
  color: #ff2d78;
}

.recovery-bars .zero {
  bottom: 2.8rem;
  color: #ff2d78;
}

.avg-pill {
  position: absolute;
  left: 5rem;
  top: calc(4.8rem + 31%);
  z-index: 1;
  min-width: 92px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--ink);
  background: #ffffff;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.scroll-story {
  display: grid;
  grid-template-columns: 0.55fr 1.2fr;
  gap: clamp(1.4rem, 4vw, 4.4rem);
  align-items: start;
  margin-block: 1rem 5rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 34px;
  background:
    linear-gradient(135deg, #e9efff, #f7edff 42%, #e6fbff);
  box-shadow: var(--shadow-soft);
}

.story-copy {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
}

.story-steps {
  display: grid;
  gap: 0.8rem;
}

.story-steps article {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(29, 34, 43, 0.06);
}

.story-steps span {
  color: var(--blue-2);
  font-size: 0.8rem;
  font-weight: 800;
}

.story-steps h3 {
  margin: 0;
  color: var(--ink);
}

.story-steps p {
  margin: 0;
  color: var(--muted);
}

.story-board {
  --scroll-shift: 0px;
  grid-column: 2;
  min-height: 470px;
  position: relative;
  transform: translateY(var(--scroll-shift));
}

.weekly-review-card,
.calendar-card,
.analytics-card {
  position: absolute;
  border: 1px solid rgba(29, 34, 43, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 22px 54px rgba(44, 68, 94, 0.16);
  backdrop-filter: blur(16px);
}

.weekly-review-card {
  inset: 9% 18% auto 0;
  min-height: 290px;
  padding: 1.25rem;
  display: grid;
  gap: 0.75rem;
}

.calendar-card {
  top: 0;
  right: 0;
  width: 42%;
  min-height: 215px;
  padding: 1rem;
}

.analytics-card {
  right: 6%;
  bottom: 4%;
  width: 44%;
  min-height: 205px;
  padding: 1rem;
}

.weekly-review-card > span,
.calendar-card > span,
.analytics-card > span {
  color: var(--blue-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.weekly-review-card h3 {
  max-width: 16ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
}

.review-stack {
  display: grid;
  gap: 0.5rem;
}

.review-stack p {
  margin: 0;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  background: #f2f6ff;
  color: var(--muted);
  font-size: 0.86rem;
}

.review-stack strong {
  display: block;
  color: var(--ink);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.46rem;
  margin-top: 0.9rem;
}

.calendar-grid b,
.calendar-grid i {
  min-height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 0.72rem;
}

.calendar-grid b {
  color: var(--muted);
}

.calendar-grid i {
  color: var(--ink);
  background: #eef5ff;
  font-style: normal;
  font-weight: 800;
}

.analytics-card strong {
  display: block;
  margin-top: 0.4rem;
  color: var(--ink);
  font-size: 3.4rem;
  line-height: 1;
}

.load-bars.compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 1rem;
}

.assistant-section {
  width: 100%;
  max-width: none;
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  margin-top: 5rem;
  padding: 6.5rem max(18px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 52% 8%, rgba(0, 180, 255, 0.22), transparent 20rem),
    radial-gradient(circle at 18% 24%, rgba(143, 124, 255, 0.16), transparent 22rem),
    linear-gradient(230deg, rgba(79, 219, 155, 0.09), transparent 32%),
    linear-gradient(180deg, #161d28, #10151e 54%, #171a21);
}

.assistant-intro {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.assistant-modes {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(84px, 1fr));
  gap: 0.65rem;
}

.assistant-modes span {
  min-height: 60px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.88rem;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.assistant-modes span:first-child {
  color: var(--cyan);
  border-color: rgba(0, 180, 255, 0.24);
  background: rgba(0, 180, 255, 0.12);
}

.assistant-intro h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  line-height: 0.92;
}

.assistant-intro p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.02rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.assistant-experience {
  --scroll-shift: 0px;
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(1rem, 3vw, 1.4rem);
  align-items: stretch;
  transform: translateY(var(--scroll-shift));
}

.assistant-console {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.1rem;
  min-height: 530px;
  padding: clamp(1rem, 2vw, 1.4rem);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 180, 255, 0.2), transparent 33%),
    linear-gradient(180deg, rgba(13, 21, 36, 0.96), rgba(5, 8, 13, 0.94));
  box-shadow: var(--shadow-hard);
}

.assistant-window-head,
.assistant-window-head span,
.assistant-evidence span {
  display: flex;
  align-items: center;
}

.assistant-window-head {
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 900;
}

.assistant-window-head span {
  gap: 0.58rem;
}

.assistant-window-head img {
  width: 36px;
  height: 36px;
  padding: 0.28rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.assistant-window-head b {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.72rem;
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(0, 180, 255, 0.1);
  border: 1px solid rgba(0, 180, 255, 0.22);
  font-size: 0.74rem;
}

.assistant-thread {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.message {
  width: fit-content;
  max-width: 76%;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  line-height: 1.45;
}

.message.user {
  justify-self: end;
  color: var(--white);
  background: rgba(0, 180, 255, 0.17);
  border: 1px solid rgba(0, 180, 255, 0.3);
}

.message.assistant {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message.assistant strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 1.08rem;
}

.message.assistant p {
  margin: 0;
}

.assistant-evidence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.72rem;
}

.assistant-evidence span {
  min-height: 82px;
  display: grid;
  justify-items: center;
  gap: 0.22rem;
  padding: 0.72rem;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.assistant-evidence img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.assistant-evidence b {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
}

.assistant-evidence strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
}

.assistant-feature-grid {
  display: grid;
  gap: 0.9rem;
}

.assistant-feature-grid article {
  min-height: 160px;
  display: grid;
  align-content: center;
  gap: 0.45rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border-radius: 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 0%, rgba(0, 180, 255, 0.1), transparent 42%),
    #f3f7ff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
}

.assistant-feature-grid article:nth-child(2) {
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 191, 98, 0.14), transparent 44%),
    #fff7f2;
}

.assistant-feature-grid article:nth-child(3) {
  background:
    radial-gradient(circle at 88% 8%, rgba(79, 219, 155, 0.16), transparent 44%),
    #effcf8;
}

.assistant-feature-grid span {
  color: var(--blue-2);
  font-size: 0.76rem;
  font-weight: 900;
}

.assistant-feature-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.03;
}

.assistant-feature-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.more-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: stretch;
  margin-block: 5rem 2rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 34px;
  background:
    radial-gradient(circle at 85% 12%, rgba(0, 180, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(143, 124, 255, 0.14), transparent 20rem),
    linear-gradient(135deg, #f3f8ff, #ffffff 48%, #eefdf7);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: var(--shadow-soft);
}

.more-copy {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.app-preview {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(128px, auto);
  gap: 0.85rem;
}

.app-preview-row {
  display: grid;
  grid-column: span 3;
  align-content: space-between;
  gap: 1.2rem;
  min-height: 152px;
  padding: 1.05rem;
  border-radius: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: 0 18px 42px rgba(36, 61, 92, 0.09);
}

.app-preview-row.active {
  grid-row: span 2;
  background:
    radial-gradient(circle at 95% 10%, rgba(0, 180, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #eef7ff, #ffffff);
  border-color: rgba(0, 180, 255, 0.16);
}

.app-preview-row.wide {
  grid-column: span 6;
  min-height: 132px;
  background:
    radial-gradient(circle at 92% 0%, rgba(79, 219, 155, 0.14), transparent 42%),
    #ffffff;
}

.app-preview-row span {
  color: var(--blue-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.app-preview-row strong {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.45;
}

.stack-section {
  min-height: 580px;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4.6vw, 4.5rem);
  align-items: center;
  margin-block: 5rem 4rem;
  padding: clamp(1.3rem, 3.5vw, 2.6rem);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 25% 14%, rgba(0, 180, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 78% 82%, rgba(79, 219, 155, 0.18), transparent 24rem),
    linear-gradient(135deg, #edf7ff, #ffffff 46%, #e9fbff);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: var(--shadow-soft);
}

.stack-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border-radius: 28px;
}

.stack-visual::before {
  content: '';
  position: absolute;
  inset: 10% 4% 6%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 40%, rgba(0, 180, 255, 0.24), transparent 34%),
    radial-gradient(circle at 72% 58%, rgba(79, 219, 155, 0.2), transparent 36%);
  filter: blur(28px);
  opacity: 0.9;
  animation: stack-glow-sweep 8s ease-in-out infinite;
}

.stack-rails {
  position: absolute;
  inset: -3% -8% -6% -2%;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.stack-rails path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.44);
  stroke-width: 58;
  stroke-linecap: round;
  opacity: 0.64;
}

.stack-logo-tile {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  width: 66px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: 0 18px 42px rgba(33, 60, 94, 0.16);
  offset-rotate: 0deg;
  offset-path: path('M 520 -68 C 690 86 706 398 536 628');
  animation: stack-logo-orbit 12s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-delay: var(--delay);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-10deg) scale(0.86);
}

.stack-logo-tile img {
  width: 54%;
  height: 54%;
  object-fit: contain;
}

.orbit-lane-2 {
  offset-path: path('M 628 -48 C 808 116 808 422 638 630');
}

.orbit-lane-3 {
  offset-path: path('M 690 -8 C 810 170 800 436 660 622');
}

.stack-browser {
  position: relative;
  z-index: 3;
  justify-self: start;
  width: min(560px, 78%);
  margin-left: clamp(0.4rem, 2vw, 1.5rem);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: 0 34px 90px rgba(27, 52, 89, 0.22);
  backdrop-filter: blur(16px);
  transform: translateZ(0);
}

.stack-browser::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.34) 42%, transparent 62%);
  transform: translateX(-120%);
  animation: stack-panel-sheen 6.5s ease-in-out infinite;
}

.stack-browser-bar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(29, 34, 43, 0.08);
  background: #f3f8ff;
}

.stack-browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d5deea;
}

.stack-browser-bar strong {
  margin-left: 0.6rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.stack-browser-body {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 0.9rem;
  padding: 1rem;
}

.stack-source-list,
.stack-outlook-card {
  display: grid;
  gap: 0.7rem;
}

.stack-source-list div {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.18rem 0.62rem;
  align-items: center;
  padding: 0.78rem;
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(29, 34, 43, 0.06);
}

.stack-source-list img {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.stack-source-list b {
  color: var(--ink);
  font-size: 0.86rem;
}

.stack-source-list span,
.stack-outlook-card p {
  color: var(--muted);
  font-size: 0.78rem;
}

.stack-outlook-card {
  align-content: space-between;
  padding: 1rem;
  border-radius: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(0, 180, 255, 0.2), transparent 44%),
    linear-gradient(160deg, #101927, #07101b);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stack-outlook-card > span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.stack-outlook-card h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.05;
}

.stack-outlook-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.stack-mini-bars {
  height: 72px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
}

.stack-mini-bars i {
  height: var(--h);
  min-height: 10px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--cyan), var(--blue-2));
  animation: bar-rise 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.stack-copy {
  display: grid;
  gap: 1rem;
  justify-items: start;
}

.section-kicker {
  display: inline-flex;
  width: max-content;
  align-items: center;
  min-height: 34px;
  padding: 0 0.72rem;
  border-radius: 999px;
  color: var(--blue-2);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stack-copy h2 {
  max-width: 10ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.stack-copy p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}

.stack-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.4rem;
}

.stack-points span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.82rem;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 34, 43, 0.08);
  font-size: 0.8rem;
  font-weight: 900;
}

.faq-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 4.1rem);
  line-height: 1.03;
}

.faq-copy p {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.65;
}

.faq-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 4rem);
  align-items: start;
  margin-block: 4.5rem 5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 180, 255, 0.2), transparent 24rem),
    radial-gradient(circle at 100% 0%, rgba(79, 219, 155, 0.12), transparent 22rem),
    linear-gradient(135deg, #121925, #0b111a 58%, #102624);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-hard);
}

.faq-copy {
  display: grid;
  gap: 0.85rem;
  position: sticky;
  top: 6rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  padding: 1.08rem 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.faq-list summary {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  float: right;
  color: var(--blue-2);
  font-size: 1.1rem;
}

.faq-list details[open] summary::after {
  content: '-';
}

.faq-list p {
  margin: 0.72rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
}

.privacy-section {
  min-height: 350px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  margin-bottom: 5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 15%, rgba(79, 219, 155, 0.2), transparent 42%),
    linear-gradient(220deg, rgba(0, 180, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #17372f, #0f211d);
}

.privacy-section h2 {
  color: var(--white);
}

.privacy-section p {
  max-width: 580px;
  color: rgba(255, 255, 255, 0.74);
}

.privacy-lock {
  width: clamp(116px, 14vw, 150px);
  height: clamp(116px, 14vw, 150px);
  overflow: visible;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.22));
}

.lock-halo {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-linecap: round;
  stroke-width: 2;
}

.lock-shackle,
.lock-keyline {
  fill: none;
  stroke: rgba(255, 255, 255, 0.56);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.lock-body {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.44);
  stroke-width: 6;
}

.lock-key {
  fill: rgba(255, 255, 255, 0.64);
}

.ready-section {
  min-height: 540px;
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 5vw, 5rem);
  margin-bottom: 4rem;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 180, 255, 0.17), transparent 24rem),
    radial-gradient(circle at 94% 80%, rgba(79, 219, 155, 0.2), transparent 22rem),
    linear-gradient(135deg, #eef8ff, #ffffff 48%, #f2fff9);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: var(--shadow-soft);
}

.ready-copy {
  display: grid;
  justify-items: start;
  gap: 0.95rem;
}

.ready-section p {
  max-width: 560px;
}

.ready-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.ready-scene {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-columns: repeat(5, auto);
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 1rem;
  isolation: isolate;
}

.ready-scene::before {
  content: '';
  position: absolute;
  inset: 11% 7% 6%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 46% 46%, rgba(82, 214, 255, 0.22), transparent 38%),
    radial-gradient(circle at 62% 62%, rgba(79, 219, 155, 0.22), transparent 42%);
  filter: blur(26px);
  animation: stack-glow-sweep 8s ease-in-out infinite;
}

.ready-logo {
  position: relative;
  z-index: 3;
  width: clamp(48px, 5vw, 66px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: 0 16px 34px rgba(38, 65, 96, 0.13);
  animation: ready-drift 6.4s ease-in-out infinite;
}

.ready-logo img {
  width: 56%;
  height: 56%;
  object-fit: contain;
}

.logo-whoop { animation-delay: -1.2s; }
.logo-strava { animation-delay: -2.4s; }
.logo-health { animation-delay: -3.6s; }
.logo-calendar { animation-delay: -4.8s; }
.logo-garmin { animation-delay: -5.4s; }

.ready-card {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  width: min(500px, 100%);
  display: grid;
  gap: 0.9rem;
  padding: clamp(1.15rem, 2.6vw, 1.65rem);
  border-radius: 30px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 14%, rgba(0, 180, 255, 0.22), transparent 42%),
    linear-gradient(160deg, #111925, #07101b);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 92px rgba(4, 12, 28, 0.28);
}

.ready-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ready-card-head img {
  width: 38px;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.ready-card h3 {
  max-width: 12ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 3.7vw, 3.55rem);
  line-height: 0.96;
}

.ready-card p {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.66);
}

.ready-signal-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.ready-signal-row span {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.ready-signal-row b {
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.ready-signal-row small {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 800;
}

.athleteos-integration-logo {
  width: 74% !important;
  height: auto !important;
  border-radius: 0;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  color: var(--ink);
  border-top: 1px solid rgba(29, 34, 43, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 4vw, 3.4rem);
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.footer-brand p {
  max-width: 290px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.54rem;
}

.site-footer h2 {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(29, 34, 43, 0.08);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-credit {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-credit span {
  color: #ef123f;
  font-size: 0.95em;
}

.footer-credit-name {
  color: var(--muted) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.about-page {
  background:
    radial-gradient(circle at 50% 8%, rgba(0, 180, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 85% 31%, rgba(79, 219, 155, 0.12), transparent 23rem),
    linear-gradient(180deg, #edf7ff 0%, #ffffff 42%, #f6faff 100%);
}

.about-hero,
.founder-letter,
.about-beliefs,
.about-system,
.about-cta {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
  position: relative;
}

.about-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: 4rem 0 6rem;
}

.about-hero-copy {
  display: grid;
  gap: 1.1rem;
}

.about-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 7.2vw, 7.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.about-hero-copy p,
.about-founder-card p,
.letter-body p,
.about-section-head p,
.about-system-copy p,
.about-loop p,
.about-cta p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.7;
}

.about-founder-card {
  --scroll-shift: 0px;
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 180, 255, 0.18), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(245, 250, 255, 0.82));
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--scroll-shift));
}

.about-founder-card img {
  width: 70px;
  height: 70px;
  padding: 0.55rem;
  border-radius: 18px;
  background: #ffffff;
  object-fit: contain;
  box-shadow: 0 18px 38px rgba(33, 60, 94, 0.13);
}

.about-founder-card span,
.letter-heading span,
.belief-grid span,
.about-loop span {
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-founder-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.5vw, 3.3rem);
  line-height: 1;
}

.founder-letter {
  display: grid;
  grid-template-columns: minmax(260px, 0.52fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 6vw, 5rem);
  align-items: start;
  padding: 6rem 0;
  border-top: 1px solid rgba(29, 34, 43, 0.08);
}

.letter-heading {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 0.8rem;
}

.letter-heading h2,
.about-section-head h2,
.about-system-copy h2,
.about-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.3rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.letter-body {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: var(--shadow-soft);
}

.letter-body p {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.letter-signature {
  margin-top: 0.6rem !important;
  color: var(--ink) !important;
  font-weight: 900;
}

.about-beliefs {
  display: grid;
  gap: 2rem;
  padding: 4.5rem 0 5rem;
}

.about-section-head {
  max-width: 760px;
  display: grid;
  gap: 0.8rem;
}

.belief-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.belief-grid article {
  min-height: 330px;
  display: grid;
  align-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 0%, rgba(0, 180, 255, 0.12), transparent 42%),
    #ffffff;
  border: 1px solid rgba(29, 34, 43, 0.08);
  box-shadow: 0 22px 54px rgba(44, 68, 94, 0.12);
}

.belief-grid article:nth-child(2) {
  background:
    radial-gradient(circle at 88% 0%, rgba(79, 219, 155, 0.14), transparent 42%),
    #ffffff;
}

.belief-grid article:nth-child(3) {
  background:
    radial-gradient(circle at 88% 0%, rgba(143, 124, 255, 0.12), transparent 42%),
    #ffffff;
}

.belief-grid h3 {
  max-width: 12ch;
  margin: auto 0 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1;
}

.belief-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.about-system {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 5vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 180, 255, 0.2), transparent 28rem),
    linear-gradient(135deg, #101722, #06121b 55%, #102c2a);
  box-shadow: var(--shadow-hard);
}

.about-system-copy {
  display: grid;
  gap: 1rem;
}

.about-system-copy h2 {
  color: var(--white);
}

.about-system-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.about-loop {
  display: grid;
  gap: 0.9rem;
}

.about-loop article {
  display: grid;
  gap: 0.34rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-loop strong {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1;
}

.about-loop p {
  color: rgba(255, 255, 255, 0.62);
}

.about-cta {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin-bottom: 4rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 34px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 180, 255, 0.16), transparent 25rem),
    linear-gradient(135deg, #eef8ff, #ffffff 52%, #f2fff9);
  border: 1px solid rgba(29, 34, 43, 0.07);
  box-shadow: var(--shadow-soft);
}

.about-cta p {
  max-width: 660px;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
}

.landing-ready [data-reveal] {
  opacity: 0.78;
  transform: translateY(18px);
}

.landing-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 620ms ease,
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-ready [data-parallax].is-visible {
  transform: translateY(var(--scroll-shift, 0));
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes stack-logo-orbit {
  0% {
    offset-distance: -8%;
    transform: translate(-50%, -50%) rotate(-12deg) scale(0.82);
    opacity: 0;
  }
  9% {
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) rotate(6deg) scale(1);
  }
  86% {
    opacity: 1;
  }
  100% {
    offset-distance: 108%;
    transform: translate(-50%, -50%) rotate(14deg) scale(0.9);
    opacity: 0;
  }
}

@keyframes stack-glow-sweep {
  0%,
  100% {
    transform: translate3d(-2%, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.05);
  }
}

@keyframes stack-panel-sheen {
  0%,
  48% {
    transform: translateX(-120%);
  }
  72%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes ready-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }
  50% {
    transform: translate3d(0, -12px, 0) rotate(3deg);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes bar-rise {
  from {
    transform: scaleY(0.15);
    transform-origin: bottom;
    opacity: 0.48;
  }
  to {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

@keyframes chart-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes trend-glow {
  from {
    filter: drop-shadow(0 0 0 rgba(82, 214, 255, 0));
  }

  to {
    filter: drop-shadow(0 0 10px rgba(82, 214, 255, 0.34));
  }
}

@keyframes ring-pop {
  from {
    opacity: 0.5;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .landing-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .stack-logo-tile {
    animation: none;
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero-stage {
    min-height: 780px;
  }

  .node-whoop {
    top: 9%;
    left: 4%;
  }

  .node-strava {
    top: 10%;
    right: 4%;
  }

  .node-apple {
    bottom: 8%;
    left: 4%;
  }

  .node-calendar {
    right: 4%;
    bottom: 9%;
  }

  .decision-card {
    top: 3rem;
  }

  .dashboard-device {
    margin-top: 16.4rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .nav-links {
    order: 3;
    grid-column: 1 / -1;
  }

  .nav-actions {
    justify-self: end;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 11vw, 5.4rem);
  }

  .hero-stage {
    min-height: 980px;
  }

  .integration-node {
    min-width: 150px;
  }

  .node-whoop {
    top: 6%;
    left: 5%;
  }

  .node-strava {
    top: 6%;
    right: 5%;
  }

  .node-apple {
    bottom: 5%;
    left: 5%;
  }

  .node-calendar {
    right: 5%;
    bottom: 5%;
  }

  .decision-card {
    top: 9rem;
  }

  .dashboard-device {
    margin-top: 24.8rem;
    transform: none;
  }

  .dashboard-rings,
  .signal-grid,
  .scroll-story,
  .assistant-experience,
  .more-section,
  .stack-section,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .analytics-showcase,
  .analytics-metric-strip,
  .recovery-stat-row {
    grid-template-columns: 1fr;
  }

  .analytics-copy {
    max-width: 640px;
  }

  .metric-ring {
    min-height: 190px;
  }

  .dashboard-lower {
    grid-template-columns: 1fr;
  }

  .story-copy {
    position: static;
  }

  .faq-copy {
    position: static;
  }

  .story-board {
    grid-column: auto;
    min-height: auto;
    display: grid;
    gap: 1rem;
  }

  .weekly-review-card,
  .calendar-card,
  .analytics-card {
    position: relative;
    inset: auto;
    width: auto;
  }
}

@media (max-width: 680px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main {
    overflow: hidden;
  }

  .site-nav,
  .hero,
  .signal-section,
  .analytics-showcase,
  .scroll-story,
  .more-section,
  .stack-section,
  .faq-section,
  .privacy-section,
  .ready-section,
  .site-footer {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .site-nav {
    min-height: 64px;
  }

  .brand-logo {
    width: 106px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    padding-inline: 0.74rem;
  }

  .nav-links a[href="#faq"],
  .nav-links a[href="#privacy"],
  .nav-links a[href$="#privacy"] {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .hero {
    padding-bottom: 3rem;
  }

  .hero-copy h1 {
    max-width: 8em;
    font-size: clamp(2.55rem, 10.5vw, 3.05rem);
    line-height: 1.03;
  }

  .desktop-line {
    display: none !important;
  }

  .mobile-line {
    display: block !important;
  }

  .hero-copy p {
    max-width: 24ch;
  }

  .hero-stage {
    margin-top: 1.8rem;
    min-height: 1120px;
    border-radius: 28px;
  }

  .integration-node {
    width: calc(50% - 18px);
    min-width: 0;
    padding: 0.62rem;
  }

  .integration-node span {
    font-size: 0.74rem;
  }

  .integration-node img {
    width: 30px;
    height: 30px;
  }

  .node-whoop,
  .node-strava {
    top: 3.5%;
  }

  .decision-card {
    top: 8.8rem;
    width: calc(100% - 48px);
  }

  .decision-card h2 {
    font-size: clamp(2.6rem, 12.5vw, 3.55rem);
  }

  .decision-card p {
    max-width: 24ch;
    font-size: 0.94rem;
  }

  .decision-pills {
    gap: 0.34rem;
  }

  .decision-pills span {
    padding-inline: 0.52rem;
    font-size: 0.68rem;
  }

  .dashboard-device {
    width: calc(100% - 20px);
    margin-top: 26rem;
    padding: 0.75rem;
    border-radius: 26px;
  }

  .device-topbar,
  .daily-outlook {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .device-topbar {
    display: grid;
  }

  .real-orb {
    width: 132px;
    height: 132px;
  }

  .orb-core {
    width: 98px;
    height: 98px;
  }

  .orb-core strong {
    font-size: 1.75rem;
  }

  .works-with {
    display: grid;
    justify-items: center;
  }

  .works-with div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
  }

  .web-panel {
    min-height: 340px;
  }

  .assistant-section {
    padding: 4.2rem 12px;
  }

  .assistant-modes {
    width: min(100%, 320px);
    gap: 0.42rem;
  }

  .assistant-modes span {
    min-height: 48px;
    border-radius: 15px;
    font-size: 0.78rem;
  }

  .assistant-intro h2 {
    max-width: 9ch;
    font-size: clamp(2.9rem, 13vw, 4rem);
  }

  .assistant-intro p {
    max-width: 31ch;
    font-size: 0.98rem;
  }

  .assistant-experience {
    grid-template-columns: 1fr;
  }

  .assistant-console {
    min-height: auto;
    border-radius: 26px;
  }

  .message {
    max-width: 100%;
  }

  .assistant-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assistant-feature-grid article {
    min-height: 136px;
    border-radius: 22px;
  }

  .more-section {
    padding: 1rem;
    border-radius: 28px;
  }

  .stack-section {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    min-height: auto;
    padding: 1rem;
    border-radius: 28px;
  }

  .stack-copy {
    order: -1;
  }

  .stack-copy h2 {
    max-width: 8ch;
    font-size: clamp(2.45rem, 10vw, 3.4rem);
  }

  .stack-visual {
    min-height: 610px;
  }

  .stack-browser {
    width: 100%;
    margin-left: 0;
  }

  .stack-browser-body {
    grid-template-columns: 1fr;
  }

  .stack-logo-tile {
    z-index: 2;
    width: 52px;
    border-radius: 15px;
    offset-path: path('M 318 -32 C 148 88 126 358 268 646');
  }

  .orbit-lane-2 {
    offset-path: path('M 386 -22 C 234 126 212 370 330 650');
  }

  .orbit-lane-3 {
    offset-path: path('M 452 10 C 314 160 310 392 410 638');
  }

  .app-preview {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .app-preview-row {
    grid-template-columns: 1fr;
    grid-column: auto;
    grid-row: auto;
    gap: 0.3rem;
    min-height: 104px;
    padding: 0.95rem;
  }

  .app-preview-row.active,
  .app-preview-row.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .faq-section {
    padding: 1rem;
    border-radius: 28px;
    margin-bottom: 4rem;
  }

  .faq-copy h2 {
    font-size: clamp(2rem, 8.4vw, 2.8rem);
  }

  .faq-list details {
    padding: 0.92rem 1rem;
  }

  .analytics-showcase {
    gap: 1.15rem;
    padding: 1rem;
    border-radius: 30px;
  }

  .analytics-copy {
    gap: 0.7rem;
    padding-inline: 0.2rem;
  }

  .analytics-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.05rem, 8.2vw, 2.62rem);
    line-height: 1.04;
  }

  .analytics-copy p {
    max-width: 100%;
    font-size: 0.98rem;
    overflow-wrap: anywhere;
  }

  .analytics-stage {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .analytics-stage::before {
    inset: 12% 0 7%;
    border-radius: 32px;
    filter: blur(10px);
  }

  .analytics-chip {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
    padding: 0.72rem 0.74rem;
    border-radius: 16px;
    animation: none;
  }

  .analytics-chip b {
    font-size: 0.82rem;
  }

  .analytics-chip small {
    font-size: 0.66rem;
  }

  .analytics-browser {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 26px;
    margin-top: 0;
    transform: none;
  }

  .analytics-card-head {
    display: grid;
    gap: 0.8rem;
  }

  .analytics-tabs {
    justify-content: flex-start;
    gap: 0.4rem;
  }

  .analytics-tabs span {
    min-height: 34px;
    padding-inline: 0.62rem;
    font-size: 0.74rem;
  }

  .analytics-tabs.compact span {
    width: 38px;
  }

  .analytics-metric-strip {
    grid-template-columns: 1fr;
    margin: 0 0.72rem 0.8rem;
    padding: 0.9rem;
  }

  .analytics-metric-strip p,
  .story-copy p,
  .story-steps p,
  .review-stack p,
  .daily-outlook h3,
  .plan-card p {
    overflow-wrap: anywhere;
  }

  .analytics-metric-strip strong,
  .recovery-stat-row strong {
    font-size: 2.05rem;
  }

  .trend-chart {
    overflow: hidden;
    margin: 0.72rem;
    padding: 0.75rem;
  }

  .hrv-chart svg {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 235px;
  }

  .hrv-chart .desktop-trend-svg {
    display: none;
  }

  .hrv-chart .mobile-trend-svg {
    display: block;
  }

  .range-label {
    top: 0.78rem;
    right: 0.78rem;
    font-size: 0.68rem;
  }

  .recovery-bars {
    min-height: 268px;
    grid-template-columns: repeat(30, minmax(3px, 1fr));
    gap: 0.12rem;
    margin: 0 0.72rem 0.72rem;
    padding: 4.25rem 0.56rem 2.55rem 3.75rem;
    overflow: hidden;
  }

  .recovery-bars::before {
    left: 3.75rem;
    right: 0.56rem;
    top: calc(4.25rem + 34%);
  }

  .recovery-bars .axis {
    left: 0.62rem;
    font-size: 0.86rem;
  }

  .recovery-bars .high {
    top: 3.28rem;
  }

  .recovery-bars .zero {
    bottom: 2.42rem;
  }

  .recovery-bars i {
    border-radius: 5px;
  }

  .avg-pill {
    left: 2.68rem;
    top: calc(4.25rem + 31%);
    min-width: 72px;
    min-height: 32px;
    font-size: 0.76rem;
  }

  .message {
    max-width: 92%;
  }

  .more-section {
    padding-block: 4rem;
  }

  .about-hero,
  .founder-letter,
  .about-beliefs,
  .about-system,
  .about-cta {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .about-hero,
  .founder-letter,
  .belief-grid,
  .about-system {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: auto;
    padding: 2.8rem 0 4rem;
  }

  .about-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
  }

  .about-founder-card {
    border-radius: 24px;
  }

  .founder-letter {
    padding: 4rem 0;
  }

  .letter-heading {
    position: static;
  }

  .letter-heading h2,
  .about-section-head h2,
  .about-system-copy h2,
  .about-cta h2 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  .belief-grid article {
    min-height: 230px;
  }

  .about-system {
    min-height: auto;
    padding: 1.2rem;
    border-radius: 28px;
  }

  .about-cta {
    padding: 1.5rem 1rem;
  }

  .privacy-section {
    grid-template-columns: 1fr;
    min-height: 320px;
    justify-items: center;
    text-align: center;
  }

  .ready-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 1.2rem;
    border-radius: 28px;
  }

  .ready-copy {
    justify-items: center;
    text-align: center;
  }

  .ready-actions {
    justify-content: center;
  }

  .ready-scene {
    width: 100%;
    min-height: auto;
    grid-template-columns: repeat(5, auto);
    gap: 0.5rem;
  }

  .ready-card {
    width: 100%;
  }

  .ready-logo {
    width: 48px;
    border-radius: 16px;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-stage {
    min-height: 1180px;
  }

  .integration-node {
    width: calc(50% - 14px);
    gap: 0.42rem;
  }

  .decision-pills span {
    font-size: 0.68rem;
  }

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