/* ============================================================
   CycleBuddy — site styles
   Design language: monumental, photography-forward, full-bleed
   atmospheric bands (Heart Aerospace structure) + warm rounded
   V4 treatment. Brand orange #F97316. Subtle, professional motion.
   ============================================================ */

:root {
  --orange: #F97316;
  --orange-dark: #E45F08;
  --orange-tint: #FCEBDD;
  --ink: #14181F;
  --ink-soft: #4A5160;
  --muted: #7E8593;
  --cream: #FBF7F2;
  --cream-2: #F4ECE2;
  --line: #EBE2D7;
  --green: #1E9E48;
  --red: #A32D2D;
  --dark: #15171D;
  --dark-2: #1E222B;
  --white: #ffffff;

  --shadow-sm: 0 4px 16px rgba(20, 24, 31, 0.06);
  --shadow-md: 0 20px 50px rgba(20, 24, 31, 0.12);
  --shadow-lg: 0 36px 90px rgba(20, 24, 31, 0.20);
  --shadow-orange: 0 14px 34px rgba(249, 115, 22, 0.4);

  --r-card: 22px;
  --r-pill: 999px;
  --container: 1200px;
  --pad: 40px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --nav-h: 80px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 700px at 12% 8%, #FFF3E9 0%, rgba(255,243,233,0) 55%),
    radial-gradient(1000px 800px at 92% 30%, #F3EAFB 0%, rgba(243,234,251,0) 55%),
    linear-gradient(180deg, #FBF7F2 0%, #F6EFE6 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* ---------- Reusable glass ---------- */
.glass {
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.30);
  box-shadow: 0 8px 32px rgba(20,24,31,0.10), inset 0 1px 0 rgba(255,255,255,0.4);
}

/* ---------- Decorative parallax background ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; will-change: transform; }
.orb--1 { width: 520px; height: 520px; top: 18vh; left: -8%; background: radial-gradient(circle at 30% 30%, #FFB877, rgba(255,184,119,0)); }
.orb--2 { width: 620px; height: 620px; top: 120vh; right: -12%; background: radial-gradient(circle at 50% 50%, #FBD0AE, rgba(251,208,174,0)); }
.orb--3 { width: 460px; height: 460px; top: 230vh; left: 30%; background: radial-gradient(circle at 50% 50%, #D9C7F2, rgba(217,199,242,0)); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 16px 30px; border-radius: var(--r-pill); border: none; cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-orange); }
.btn--primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 20px 42px rgba(249,115,22,0.5); }
.btn--primary:disabled { background: #E7DDD3; color: #B3A99C; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--block { width: 100%; }
.btn--sm { padding: 11px 22px; font-size: 0.95rem; box-shadow: none; }
.btn__icon { display:inline-flex; width:22px; height:22px; background:rgba(255,255,255,.25); border-radius:7px; align-items:center; justify-content:center; }

.link-accent { color: var(--orange); font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(249,115,22,0.35); transition: border-color .2s; }
.link-accent:hover { border-color: var(--orange); }
.link-onlight { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.link-onlight:hover { gap: 12px; }

/* ---------- Eyebrow + badge ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; font-weight: 700;
  color: var(--orange-dark); margin-bottom: 16px;
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--orange); border-radius: 2px; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-weight: 700; font-size: 0.85rem; padding: 8px 16px; border-radius: var(--r-pill);
}
.badge::before { content:""; width:8px; height:8px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 0 rgba(249,115,22,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(249,115,22,.6);} 70%{box-shadow:0 0 0 8px rgba(249,115,22,0);} 100%{box-shadow:0 0 0 0 rgba(249,115,22,0);} }

/* ============================================================
   TOP BAR — fixed, transparent over hero, solid on scroll
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251, 247, 242, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.topbar.is-scrolled { box-shadow: var(--shadow-sm); }
.topbar--transparent { background: transparent; border-bottom-color: transparent; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo__mark { width: 36px; height: 36px; display: inline-block; border-radius: 9px; object-fit: cover; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__word { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo--light .logo__word { color: #fff; }
.topbar__links { display: flex; align-items: center; gap: 30px; }
.topbar__links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem; opacity: .85; transition: opacity .2s, color .2s; }
.topbar__links a:not(.btn):hover { opacity: 1; }
/* transparent state = white text over hero photo */
.topbar--transparent .logo__word,
.topbar--transparent .topbar__links a:not(.btn) { color: #fff; }

/* ============================================================
   HERO — full-bleed photo, monumental headline bottom-left
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, #5b5871 0%, #807d92 32%, #b9b4bf 64%, #efe9e6 100%);
  will-change: transform;
}
.hero__bg::after {
  content: ""; position: absolute; inset: -8% 0;
  background-image: url('../assets/images/Hero.jpg');
  background-size: cover; background-position: 58% 38%;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(30,28,40,0.46) 0%, rgba(30,28,40,0.04) 24%, rgba(20,18,28,0.12) 52%, rgba(15,13,22,0.66) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; padding-top: calc(var(--nav-h) + 24px); }
.hero__text { max-width: 760px; color: #fff; }
.hero__headline {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
  font-weight: 800; line-height: 1.0; letter-spacing: -0.03em;
  margin: 22px 0 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero__subhead { font-size: clamp(1.18rem, 1.8vw, 1.5rem); font-weight: 500; color: #fff; margin: 24px 0 36px; max-width: 560px; line-height: 1.45; text-shadow: 0 2px 20px rgba(0,0,0,0.45); }
.hero__actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: 120px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.section__title em, .hero__headline em { font-style: italic; font-weight: inherit; }
.section__subhead { color: var(--ink-soft); margin-top: 16px; font-size: 1.1rem; }

/* ---------- Sound familiar (illustration cards) ---------- */
.section--familiar { background: transparent; padding-bottom: 184px; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.pain-card {
  position: relative; border-radius: var(--r-card); padding: 28px 30px 30px; min-height: 220px;
  color: var(--ink); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pain-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(20,24,31,0.14), inset 0 1px 0 rgba(255,255,255,0.5); }
.pain-ico { position: absolute; top: 22px; left: 24px; width: 88px; height: 88px; }
.pain-ico svg { width: 100%; height: 100%; overflow: visible; }
.pain-card p { margin-top: auto; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.22; max-width: 26ch; }

/* illustration motion (subtle, looping) */
.ico-bob { animation: icoBob 4.6s ease-in-out infinite; }
@keyframes icoBob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-5px); } }
.ico-shadow { animation: icoShadow 4.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes icoShadow { 0%,100%{ transform: scaleX(1); } 50%{ transform: scaleX(.85); } }
.ico-wobble { animation: icoWobble 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 92%; }
@keyframes icoWobble { 0%,100%{ transform: rotate(-4deg); } 50%{ transform: rotate(4deg); } }
.ico-waves .wv, .ico-breath .wv { animation: icoWave 2.1s ease-in-out infinite; }
.ico-waves .wv2, .ico-breath .wv2 { animation-delay: .35s; }
@keyframes icoWave { 0%,100%{ opacity: .2; } 50%{ opacity: 1; } }
.ico-steam .st { animation: icoSteam 2.6s ease-in-out infinite; transform-box: fill-box; }
.ico-steam .st2 { animation-delay: .55s; }
@keyframes icoSteam { 0%{ opacity: 0; transform: translateY(5px); } 30%{ opacity: .6; } 100%{ opacity: 0; transform: translateY(-9px); } }

/* ---------- What's in the app (phone + bullets) ---------- */
.section--features { background: transparent; }
.app-layout { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: center; }
.app-copy .section__head { margin-bottom: 28px; }
.app-device { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.device {
  position: relative; width: 348px; background: #0F1115; border-radius: 52px; padding: 13px;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.app-device:hover .device {
  transform: translateY(-10px) rotateX(4deg) rotateY(-6deg);
  box-shadow: 0 50px 110px rgba(20,24,31,0.28);
}
.device__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 130px; height: 26px; background: #0F1115; border-radius: 0 0 16px 16px; z-index: 3; }
.device__shot { display: block; width: 100%; border-radius: 36px; }
/* screenshot with animated waveforms overlaid on the Voice-active spots */
.shot { position: relative; border-radius: 38px; overflow: hidden; line-height: 0; }
.shot .device__shot { border-radius: 0; }
.shot-wave { position: absolute; top: 47%; z-index: 2; transform: translate(-50%, -50%) scale(1.5); }
.shot-wave--you { left: 27.2%; }
.shot-wave--partner { left: 73.7%; }
.device-chip {
  position: absolute; top: 60px; left: -16px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,19,26,0.62);
  border: 1px solid rgba(255,255,255,0.20);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 12px 28px rgba(0,0,0,0.30);
  color: #fff; font-weight: 700; font-size: 0.88rem; padding: 9px 15px; border-radius: var(--r-pill);
  animation: floatChip 4s ease-in-out infinite;
}
.device-chip__dot { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }
@keyframes floatChip { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.feature-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--r-card); padding: 22px 26px;
  font-size: 1.1rem; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.check { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: rgba(30,158,72,0.15); position: relative; }
.check::after { content:""; position:absolute; left:11px; top:7px; width:6px; height:12px; border:solid var(--green); border-width:0 2.5px 2.5px 0; transform: rotate(45deg); }
.feature-item--soon { grid-column: 1 / -1; justify-content: space-between; gap: 14px; }
.feature-item--soon > span:first-child { flex: 1; min-width: 0; }
.pill { background: var(--orange-tint); color: var(--orange-dark); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.02em; padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; flex-shrink: 0; }

/* ---------- How it works ---------- */
.section--steps { background: transparent; }
.steps-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.steps { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.step { display: flex; gap: 32px; align-items: center; background: var(--cream); border-radius: var(--r-card); padding: 24px 30px; }
.step__num { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.3rem; font-weight: 800; box-shadow: var(--shadow-orange); }
.step__title { font-size: 1.2rem; font-weight: 800; margin-bottom: 2px; }
.step p { color: var(--ink-soft); }
.steps-device { display: flex; justify-content: center; }

/* phone mock */
.phone { position: relative; width: 300px; background: #0F1115; border-radius: 46px; padding: 12px; box-shadow: var(--shadow-lg); }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 130px; height: 26px; background: #0F1115; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen { position: relative; background: #F7F8FA; border-radius: 36px; overflow: hidden; padding: 18px 18px 22px; min-height: 560px; display: flex; flex-direction: column; }
.app-statusbar { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; font-weight: 700; color: var(--ink); padding: 4px 6px 0; }
.app-statusbar__right { display: flex; align-items: center; gap: 5px; }
.app-statusbar__right .wifi, .app-statusbar__right .batt, .app-statusbar__right .dots { display:inline-block; background: var(--ink); border-radius: 2px; }
.app-statusbar__right .dots { width:16px; height:8px; opacity:.35; border-radius:4px; }
.app-statusbar__right .wifi { width:15px; height:10px; clip-path: polygon(50% 0,100% 60%,50% 100%,0 60%); }
.app-statusbar__right .batt { width:22px; height:11px; border-radius:3px; }
.app-header { text-align: center; padding: 16px 0 18px; border-bottom: 1px solid #EEF0F3; margin: 0 -18px 20px; }
.app-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.app-timer { font-size: 1.15rem; font-weight: 700; color: var(--ink-soft); margin-top: 6px; font-variant-numeric: tabular-nums; }
.app-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rider-card { background:#fff; border:1px solid #EEF0F3; border-radius:18px; padding:20px 10px 16px; text-align:center; box-shadow: 0 6px 18px rgba(20,24,31,0.06); }
.rider-avatar { display:block; width:64px; height:64px; border-radius:50%; margin:0 auto 12px; object-fit:cover; background:#E9ECF1; }
.rider-name { font-weight:800; font-size:1.05rem; letter-spacing:-0.01em; }
.rider-status { display:flex; align-items:center; justify-content:center; gap:6px; color:var(--green); font-weight:700; font-size:0.8rem; margin-top:5px; white-space:nowrap; }
.pulse-dot { width:8px; height:8px; border-radius:50%; background:var(--green); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }
.waveform { display:flex; align-items:flex-end; justify-content:center; gap:3px; height:18px; margin-top:10px; }
.waveform span { width:3px; background:var(--green); border-radius:2px; animation: wave 1s ease-in-out infinite; }
.waveform span:nth-child(1){animation-delay:0s;} .waveform span:nth-child(2){animation-delay:.15s;} .waveform span:nth-child(3){animation-delay:.3s;} .waveform span:nth-child(4){animation-delay:.45s;} .waveform span:nth-child(5){animation-delay:.6s;}
@keyframes wave { 0%,100%{height:4px;} 50%{height:16px;} }
.app-footer { margin-top:auto; padding-top:18px; display:flex; flex-direction:column; gap:12px; }
.app-btn { font:inherit; font-weight:700; font-size:1.02rem; padding:16px; border-radius:18px; border:none; cursor:default; }
.app-btn--primary { background:var(--orange); color:#fff; box-shadow:0 8px 18px rgba(249,115,22,0.28); }
.app-btn--ghost { background:#fff; border:1.5px solid #E6E9ED; color:var(--ink); }

/* ---------- Beta form ---------- */
.section--beta { background: transparent; }
/* split panel: bright photo left, form right; sits crisply above the gradient */
.beta-panel {
  position: relative; z-index: 1; max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid transparent; border-radius: 32px; overflow: hidden;
  /* clean white fill + subtle animated orange gradient border */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(from var(--beta-angle),
      rgba(255,255,255,0.5), rgba(249,115,22,0.5) 110deg, rgba(255,210,170,0.5) 200deg,
      rgba(249,115,22,0.36) 300deg, rgba(255,255,255,0.5) 360deg) border-box;
  box-shadow: 0 44px 90px rgba(20,24,31,0.22), 0 0 26px rgba(249,115,22,0.12);
  animation: betaBorderSpin 9s linear infinite;
  will-change: transform;
  transition: transform .5s var(--ease);
}
.beta-panel__photo {
  position: relative; min-height: 600px;
  background-image: url('../assets/images/wantinBG2.jpg');
  background-size: cover; background-position: 44% center;
  filter: saturate(1.1) contrast(1.03);
}
.beta-panel__form { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
/* "In beta now" tag, restyled for the light form column */
.beta-panel__form .badge {
  align-self: flex-start; margin-bottom: 18px;
  background: var(--orange-tint); border: none; color: var(--orange-dark);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.beta-panel__form .badge::before { background: var(--orange); }
@media (max-width: 760px) {
  .beta-panel { grid-template-columns: 1fr; }
  .beta-panel__photo { min-height: 220px; }
  .beta-panel__form { padding: 38px 28px; }
}

@property --beta-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes betaBorderSpin { to { --beta-angle: 360deg; } }

.beta-card {
  position: relative; max-width: 560px; margin: 0 auto;
  padding: 52px 48px; text-align: center;
  border: 2px solid transparent; border-radius: 28px;
  /* clean white fill + a clearer orange sweep around the border */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    conic-gradient(from var(--beta-angle),
      rgba(255,255,255,0.4), rgba(249,115,22,0.7) 110deg, rgba(255,210,170,0.55) 190deg,
      rgba(249,115,22,0.55) 290deg, rgba(255,255,255,0.4) 360deg) border-box;
  box-shadow: 0 34px 80px rgba(0,0,0,0.5), 0 0 26px rgba(249,115,22,0.2), 0 4px 14px rgba(0,0,0,0.35);
  animation: betaBorderSpin 8s linear infinite;
  will-change: transform;
  transition: transform .5s var(--ease);
}
.beta-card .eyebrow { justify-content: center; }
.beta-lead { color: var(--ink-soft); margin: 14px 0 30px; font-size: 1.08rem; }
.beta-form { display: grid; gap: 18px; text-align: left; }
.field { display: block; }
.field__label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 15px 18px; border: 2px solid var(--line); border-radius: 14px; background: var(--cream); transition: border-color .2s, background .2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field input.invalid, .field textarea.invalid { border-color: var(--red); }
.beta-note { text-align: center; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; margin-top: 14px; }
.field-check {
  display: flex; align-items: flex-start; gap: 13px; cursor: pointer;
  text-align: left; font-size: 1rem; font-weight: 500; color: var(--ink);
  line-height: 1.4; padding: 2px 0;
}
.field-check input {
  width: 24px; height: 24px; flex-shrink: 0; margin: 0; margin-top: 1px;
  accent-color: var(--orange); cursor: pointer;
}
.beta-confirm-state { animation: fadeUp .5s var(--ease) both; }
.confirm-tick { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: rgba(30,158,72,.15); position: relative; margin-bottom: 8px; }
.confirm-tick::after { content:""; position:absolute; left:24px; top:16px; width:12px; height:22px; border:solid var(--green); border-width:0 4px 4px 0; transform: rotate(45deg); }
.confirm-body { color: var(--ink-soft); margin-top: 22px; font-size: 1.02rem; }
.confirm-body--muted { color: var(--muted); font-size: 0.95rem; }
#installLink { margin-top: 8px; }

/* ---------- Waitlist ---------- */
.section--waitlist { background: transparent; text-align: center; }
.waitlist-inner { max-width: 800px; margin: 0 auto; }
.section--waitlist .eyebrow { justify-content: center; }
.waitlist-inner .section__title { margin-bottom: 18px; }
.waitlist-sub { font-size: 1.25rem; color: var(--ink-soft); max-width: 560px; margin: 0 auto 36px; line-height: 1.5; }
.btn--lg { padding: 18px 40px; font-size: 1.15rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #C9CDD6; padding: 120px 0 72px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.footer__nav { display: flex; gap: 38px; flex-wrap: wrap; justify-content: center; }
.footer__nav a { color: #C9CDD6; text-decoration: none; font-weight: 600; font-size: 1rem; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; gap: 28px; }
.footer__social a { color: #868D9D; display: inline-flex; transition: color .2s var(--ease), transform .2s var(--ease); }
.footer__social a:hover { color: var(--orange); transform: translateY(-3px); }
.footer__social svg { width: 23px; height: 23px; }
.footer__copy { color: #767D8B; font-size: 0.92rem; letter-spacing: 0.01em; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.section--contact { min-height: calc(100vh - 220px); display: flex; align-items: center; padding-top: calc(var(--nav-h) + 60px); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.section--contact .container { perspective: 1200px; }
.contact-card {
  max-width: 560px; margin: 0 auto; width: 100%; background: var(--white);
  border-radius: 28px; padding: 52px 48px; box-shadow: var(--shadow-md); text-align: center;
  will-change: transform; transition: transform .5s var(--ease);
}
.contact-card .eyebrow { justify-content: center; }
.contact-card .section__title { margin-bottom: 6px; }
.contact-confirm-state { animation: fadeUp .5s var(--ease) both; }
.contact-confirm-state .btn { margin-top: 8px; }

/* ---------- Thank-you page ---------- */
.section--thanks { min-height: calc(100vh - 220px); display: flex; align-items: center; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px; background: transparent; }
.thanks-card { max-width: 560px; margin: 0 auto; text-align: center; }
/* success tick with a soft halo */
.thanks-card .confirm-tick { margin-bottom: 28px; box-shadow: 0 0 0 10px rgba(30,158,72,0.08); }
.thanks-card .section__title { font-size: clamp(2.6rem, 6vw, 3.8rem); margin-bottom: 16px; }
.thanks-lead { font-size: 1.22rem; color: var(--ink-soft); font-weight: 500; line-height: 1.5; max-width: 460px; margin: 0 auto 40px; }
.thanks-lead strong { color: var(--ink); font-weight: 800; }

/* steps panel — contained, left-aligned, with a connecting timeline */
.thanks-steps-card {
  background: #ffffff; border: 1px solid var(--line); border-radius: 22px;
  padding: 30px 34px 32px; box-shadow: var(--shadow-sm);
  text-align: left; max-width: 460px; margin: 0 auto 36px;
}
.thanks-steps-card .eyebrow { margin-bottom: 22px; }
.thanks-steps { list-style: none; display: grid; gap: 0; }
.thanks-steps li { position: relative; display: flex; align-items: flex-start; gap: 18px; padding-bottom: 22px; }
.thanks-steps li:last-child { padding-bottom: 0; }
/* vertical connector between the number bubbles */
.thanks-steps li:not(:last-child)::before {
  content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px;
  background: var(--orange-tint);
}
.thanks-steps__num {
  position: relative; z-index: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff;
  font-weight: 800; font-size: 0.98rem; box-shadow: var(--shadow-orange);
}
.thanks-steps__txt { padding-top: 5px; font-size: 1.06rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.thanks-note { color: var(--muted); font-size: 0.95rem; margin-bottom: 30px; }

/* ============================================================
   ANIMATION
   ============================================================ */
/* hero entrance */
.hero-enter { opacity: 0; transform: translateY(28px); animation: heroUp .9s var(--ease) forwards; }
.hero-enter:nth-child(1) { animation-delay: .1s; }
.hero-enter:nth-child(2) { animation-delay: .22s; }
.hero-enter:nth-child(3) { animation-delay: .36s; }
.hero-enter:nth-child(4) { animation-delay: .5s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
/* stagger children of grids */
.pain-grid .reveal.is-visible:nth-child(2) { transition-delay: .08s; }
.pain-grid .reveal.is-visible:nth-child(3) { transition-delay: .16s; }
.pain-grid .reveal.is-visible:nth-child(4) { transition-delay: .24s; }
.feature-list .reveal.is-visible:nth-child(n) { transition-delay: calc((var(--i, 0)) * 60ms); }
.steps .reveal.is-visible:nth-child(2) { transition-delay: .1s; }
.steps .reveal.is-visible:nth-child(3) { transition-delay: .2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-enter, .mono-lines .w { opacity: 1 !important; transform: none !important; }
  .mono__pin { height: auto !important; }
  .mono__stage { position: static !important; height: auto !important; min-height: 70vh; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  :root { --pad: 24px; }
  .section { padding: 88px 0; }

  /* showcase sections stack in reading order: title → phone → list */
  .steps-layout, .app-layout { grid-template-columns: 1fr; gap: 28px; }
  .steps-copy, .app-copy { display: contents; }
  .steps-copy .section__head, .app-copy .section__head { order: -2; margin-bottom: 0; text-align: center; }
  .steps-device, .app-device { order: -1; }
  .steps, .feature-list { order: 0; }
  .device { width: 256px; }
}
@media (max-width: 720px) {
  .topbar__links a:not(.btn) { display: none; }
  .topbar__links { gap: 0; }
  .hero__inner { padding-bottom: 48px; }
  .pain-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  /* CTA full width, waitlist link centered beneath it */
  .hero__actions { flex-direction: column; align-items: center; gap: 18px; }
  .btn--primary:not(.btn--sm) { width: 100%; }
  .beta-card, .contact-card { padding: 36px 24px; }
  .device-chip { left: 8px; }
  /* smaller "Sound familiar?" cards — illustration in flow on top, text below */
  .pain-card { min-height: 0; padding: 22px 24px; }
  .pain-ico { position: static; top: auto; left: auto; width: 56px; height: 56px; margin-bottom: 12px; }
  .pain-card p { margin-top: 0; font-size: 1.2rem; }
}
