/* ============================================================
   HORA HEALTH — LANDING PAGE STYLES
   Table of contents:
   1.  Fonts (self-hosted)
   2.  Reset & base
   3.  Design tokens (custom properties)
   4.  Typography utilities
   5.  Layout helpers
   6.  Buttons & pills
   7.  Nav
   8.  Hero
   9.  Marquee ticker
   10. Problem / "measure" section
   11. How it works — phone showcase
   12. For her
   13. For him
   14. Built with real people
   15. Waitlist
   16. Footer
   17. Privacy page
   18. Scroll-reveal + motion
   19. Reduced motion
   20. Responsive breakpoints
   ============================================================ */

/* ---------- 1. Fonts ---------- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/fraunces-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/fraunces-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/instrument-sans-italic.woff2') format('woff2');
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; }

/* clip (not hidden): overflow-x:hidden makes body a scroll container, which kills
   position:sticky for the phone showcase. clip guards overflow without that side effect. */
html, body { overflow-x: hidden; overflow-x: clip; }

body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--green-ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 700px) {
  body { font-size: 17px; }
}

:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Design tokens ---------- */
:root {
  --green-deep:   #00332A;
  --green-ink:    #04211C;
  --green-bright: #20D46D;
  --mint:         #AAFFD0;
  --mint-soft:    #DFF5E6;
  --cream:        #F5F0E8;
  --cream-warm:   #EFE7DA;
  --terracotta:   #BF8363;
  --teal:         #256161;
  --white:        #FFFFFF;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --ease-out-editorial: cubic-bezier(.22,.61,.36,1);
  --radius-card: 28px;
  --radius-pill: 999px;
}

/* ---------- 4. Typography utilities ---------- */
h1, h2, h3, .h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 480;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--green-ink);
}

h1, .h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1.02; }
h2, .h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; }
h3, .h3 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; }

h1 em, h2 em, h3 em, .pull-quote em { font-style: italic; font-weight: 480; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow--mint { color: var(--mint); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  color: var(--green-ink);
  opacity: 0.85;
}

.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255,255,255,.75); }

/* Dark bands: element-level heading colors must not win over section context */
.showcase h1, .showcase h2, .showcase h3,
.section--him h1, .section--him h2, .section--him h3,
.waitlist-card h1, .waitlist-card h2, .waitlist-card h3,
.footer h1, .footer h2, .footer h3 { color: var(--white); }
.showcase .pull-quote, .section--him .pull-quote, .waitlist-card .pull-quote { color: var(--white); }

.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--green-ink);
}

/* ---------- 5. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { position: relative; }
.band { padding: clamp(64px, 10vw, 120px) 0; }
.band--tight { padding: clamp(48px, 7vw, 88px) 0; }
.band--dark { background: var(--green-deep); }
.band--cream-warm { background: var(--cream-warm); }

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}

/* ---------- 6. Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  transition: transform 220ms var(--ease-out-editorial), box-shadow 220ms var(--ease-out-editorial), background 220ms var(--ease-out-editorial);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-deep);
  color: var(--white);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(32,212,109,.25), 0 12px 24px rgba(0,51,42,.25);
}

.btn--invert {
  background: var(--mint);
  color: var(--green-deep);
}
.btn--invert:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(170,255,208,.3), 0 12px 24px rgba(0,0,0,.2);
}

.btn--ghost {
  background: transparent;
  color: var(--green-ink);
  padding: 14px 6px;
  gap: 10px;
}
.btn--ghost .arrow { transition: transform 220ms var(--ease-out-editorial); }
.btn--ghost:hover .arrow { transform: translateX(6px); }

.btn--sm { padding: 10px 20px; font-size: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--green-deep);
}
.link-arrow .arrow { transition: transform 220ms var(--ease-out-editorial); }
.link-arrow:hover .arrow { transform: translateX(6px); }
.on-dark .link-arrow { color: var(--mint); }

/* ---------- 7. Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 260ms var(--ease-out-editorial), backdrop-filter 260ms var(--ease-out-editorial), border-color 260ms var(--ease-out-editorial), padding 260ms var(--ease-out-editorial);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(245,240,232,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(0,51,42,.08);
  padding: 12px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo img { height: 26px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a { opacity: 0.8; transition: opacity 160ms ease; }
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: 24px; }

/* ---------- 8. Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 48px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 900px);
  transform: translate(-50%, -50%);
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}
.hero .container {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero__text { max-width: 620px; }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 46ch; opacity: 0.82; }
.hero__cta-row { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__microline { margin-top: 18px; font-size: 13px; opacity: 0.6; }

.hero__visual { position: relative; height: clamp(360px, 46vw, 620px); }
.hero__frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,51,42,.35);
  will-change: transform;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.floating-card {
  position: absolute;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 20px 40px -12px rgba(0,51,42,.25);
  animation: float-a 6s ease-in-out infinite;
}
.floating-card--a {
  top: -6%;
  left: -10%;
  width: 210px;
}
.floating-card--b {
  bottom: 4%;
  right: -8%;
  width: 220px;
  background: var(--green-deep);
  color: var(--white);
  animation-name: float-b;
}
.floating-card__label { font-size: 12px; font-weight: 600; opacity: 0.7; margin-bottom: 8px; }
.floating-card--b .floating-card__label { opacity: 0.65; color: var(--mint); }
.floating-card__value { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.mini-calendar { display: flex; gap: 5px; margin-bottom: 10px; }
.mini-calendar span {
  width: 22px; height: 30px; border-radius: 7px; background: var(--mint-soft);
}
.mini-calendar span.is-peak { background: var(--mint); }
.mini-calendar span.is-flow { background: #E39285; }
.floating-card__meta { font-size: 12px; opacity: 0.65; }
.mini-progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; margin-top: 4px; }
.mini-progress > span { display: block; height: 100%; width: 78%; background: var(--mint); border-radius: 999px; }

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Hero entrance (JS adds .is-ready to body once staggered) */
.hero__eyebrow, .hero__line, .hero__sub, .hero__cta-row, .hero__microline {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out-editorial), transform 700ms var(--ease-out-editorial);
}
.hero__visual { opacity: 0; transform: scale(.97); transition: opacity 800ms var(--ease-out-editorial) 240ms, transform 800ms var(--ease-out-editorial) 240ms; }
.nav__logo, .nav__right { opacity: 0; transition: opacity 600ms var(--ease-out-editorial); }

body.is-ready .nav__logo, body.is-ready .nav__right { opacity: 1; }
body.is-ready .hero__eyebrow { opacity: 1; transform: none; transition-delay: 60ms; }
body.is-ready .hero__line:nth-child(1) { opacity: 1; transform: none; transition-delay: 120ms; }
body.is-ready .hero__line:nth-child(2) { opacity: 1; transform: none; transition-delay: 180ms; }
body.is-ready .hero__sub { opacity: 1; transform: none; transition-delay: 260ms; }
body.is-ready .hero__cta-row { opacity: 1; transform: none; transition-delay: 340ms; }
body.is-ready .hero__microline { opacity: 1; transform: none; transition-delay: 400ms; }
body.is-ready .hero__visual { opacity: 1; transform: none; }

/* ---------- 9. Marquee ---------- */
.marquee {
  background: var(--green-deep);
  overflow: hidden;
  padding: 17px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll-x 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  color: var(--mint);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.marquee__item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); display: inline-block; opacity: .6; }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 10. Problem / measure section ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pillar-card {
  background: var(--mint-soft);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: transform 260ms var(--ease-out-editorial), box-shadow 260ms var(--ease-out-editorial);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -20px rgba(0,51,42,.25); }
.pillar-card__icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--green-deep); }
.pillar-card h3 { margin-bottom: 8px; }
.pillar-card p { font-size: 15px; opacity: 0.8; }

.measure-quote {
  margin-top: 40px;
  background: var(--white);
  border-radius: 32px;
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.measure-quote__img { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; }
.measure-quote__img img { width: 100%; height: 100%; object-fit: cover; }
.measure-quote p.pull-quote { margin-bottom: 14px; }
.measure-quote .attribution { font-size: 15px; opacity: 0.75; }

/* ---------- 11. How it works — phone showcase ---------- */
.showcase {
  background: var(--green-deep);
  color: var(--white);
  /* clip, not hidden: an overflow:hidden ancestor disables position:sticky for the phone frame */
  overflow: clip;
}
.showcase__header { text-align: center; max-width: 640px; margin: 0 auto 72px; }
.showcase__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(32px, 6vw, 96px);
}
.showcase__phone-col { position: relative; }
.phone-frame {
  position: sticky;
  top: 14vh;
  height: min(64vh, 620px);
  /* width wraps the screen; the 640/1391 ratio lives on the screen itself so the
     bezel padding doesn't skew it and object-fit:cover never crops the screenshot */
  width: fit-content;
  margin: 0 auto;
  border-radius: 42px;
  background: #0B0B0B;
  padding: 12px;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.55);
}
.phone-frame__screen {
  position: relative;
  height: 100%;
  aspect-ratio: 640 / 1391;
  border-radius: 30px;
  overflow: hidden;
  background: var(--cream);
}
.phone-frame__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 250ms ease, transform 250ms ease;
}
.phone-frame__screen img.is-active { opacity: 1; transform: scale(1); }
.phone-frame__reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

.showcase__steps { display: flex; flex-direction: column; }
.showcase-step {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.35;
  transition: opacity 400ms var(--ease-out-editorial);
}
.showcase-step.is-active { opacity: 1; }
.showcase-step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--mint);
  margin-bottom: 14px;
}
.showcase-step h3 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.showcase-step p { color: rgba(255,255,255,.75); max-width: 44ch; font-size: 16px; }
.showcase-step__mobile-img { display: none; }

/* ---------- 12. For her ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--reverse .split__visual { order: -1; }

.checklist { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; }
.checklist .check-icon { flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; color: var(--green-deep); }
.on-dark .checklist .check-icon,
.section--him .checklist .check-icon,
.showcase .checklist .check-icon { color: var(--mint); }

.her__visual, .him__visual {
  position: relative;
  height: clamp(360px, 40vw, 540px);
}
.her__visual .arch-photo, .him__visual .arch-photo {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 0 0 / 32% 32% 0 0;
  overflow: hidden;
}
.her__visual .arch-photo img, .him__visual .arch-photo img { width: 100%; height: 100%; object-fit: cover; }
/* the man's face sits in the left third of him-portrait.webp */
.him__visual .arch-photo img { object-position: 28% center; }

.phone-tilt {
  position: absolute;
  width: 56%;
  left: 50%;
  top: 50%;
  border-radius: 34px;
  background: #0B0B0B;
  padding: 9px;
  box-shadow: 0 40px 70px -20px rgba(0,0,0,.4);
}
/* height wraps the image at its natural 640/1391 ratio — no cover-crop of screenshot margins */
.phone-tilt__screen { width: 100%; border-radius: 24px; overflow: hidden; }
.phone-tilt__screen img { display: block; width: 100%; height: auto; }
/* pushed outward until the phone just reaches the page gutter at ~1000px wide —
   further and it bleeds past the viewport edge on narrow desktops */
.her__visual .phone-tilt { transform: translate(9%, -50%) rotate(-3deg); }
.him__visual .phone-tilt { transform: translate(-109%, -50%) rotate(3deg); }
.him__visual .arch-photo { left: auto; right: 0; width: 78%; }

.her__cta, .him__cta { margin-top: 28px; }

/* ---------- 13. For him (dark full-bleed) ---------- */
.section--him { background: var(--green-deep); color: var(--white); }

/* ---------- 14. Built with real people ---------- */
.built { text-align: center; }
.built__body { max-width: 60ch; margin: 18px auto 0; }
.chip-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.chip {
  background: var(--mint-soft);
  color: var(--green-deep);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- 15. Waitlist ---------- */
.waitlist-card {
  background: var(--green-deep);
  color: var(--white);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 72px);
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.waitlist-card__line { margin: 18px auto 0; max-width: 46ch; }
.waitlist-embed {
  margin-top: 40px;
  background: rgba(255,255,255,.08);
  border-radius: 24px;
  padding: 14px;
}
.waitlist-fallback { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.waitlist-fallback a { text-decoration: underline; color: var(--mint); }

/* ---------- 16. Footer ---------- */
.footer { background: var(--green-deep); color: var(--white); padding: 64px 0 28px; }
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer__logo img { height: 24px; width: auto; }
.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background 180ms ease;
}
.footer__social a:hover { background: rgba(255,255,255,.18); }
.footer__social svg { width: 18px; height: 18px; }
.footer__middle { padding: 32px 0; font-family: var(--serif); font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: var(--mint); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer__bottom-left { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--mint); }
.footer__disclaimer { max-width: 640px; }

/* ---------- 17. Privacy page ---------- */
.privacy-main { padding-top: 140px; padding-bottom: 100px; }
.privacy-doc { max-width: 720px; margin: 0 auto; }
.privacy-doc h1 { margin-bottom: 8px; }
.privacy-doc .privacy-updated { opacity: 0.6; font-size: 14px; margin-bottom: 48px; }
.privacy-doc h2 { margin-top: 52px; margin-bottom: 16px; font-size: clamp(1.5rem, 3vw, 2rem); }
.privacy-doc h3 { margin-top: 32px; margin-bottom: 12px; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.privacy-doc p { margin-bottom: 18px; opacity: 0.88; }
.privacy-doc ul { margin: 0 0 18px 0; padding-left: 22px; list-style: disc; }
.privacy-doc li { margin-bottom: 10px; opacity: 0.88; }
.privacy-doc a { text-decoration: underline; }

/* ---------- 18. Scroll-reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-out-editorial), transform 600ms var(--ease-out-editorial);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .floating-card { animation: none; }
  .hero__frame { transform: none !important; }
  [data-reveal] { transition-duration: 1ms; }
  .hero__eyebrow, .hero__line, .hero__sub, .hero__cta-row, .hero__microline, .hero__visual, .nav__logo, .nav__right {
    transition-duration: 1ms;
  }
  .phone-frame__screen img { transition: none; }
  .showcase-step { transition: none; }
}

/* ---------- 20. Responsive ---------- */
/* below 1240px the container loses its outer margin, so the pushed-out phone would
   clip on the viewport edge — trim it slightly to keep the tilted corner inside the gutter */
@media (max-width: 1240px) {
  .phone-tilt { width: 52%; }
}

@media (max-width: 1080px) {
  .showcase__grid { grid-template-columns: 1fr; }
  .showcase__phone-col { display: none; }
  .showcase-step { min-height: 0; opacity: 1; padding: 0 0 56px; }
  .showcase-step__mobile-img {
    display: block;
    width: 60vw;
    max-width: 280px;
    margin: 0 auto 28px;
    border-radius: 34px;
    background: #0B0B0B;
    padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
  }
  .showcase-step__mobile-img img { display: block; width: 100%; height: auto; border-radius: 24px; }
  .showcase-step .container { text-align: center; }
  .showcase-step p { margin: 0 auto; }
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__visual { height: 88vw; max-height: 480px; margin-top: 40px; }
  .hero__text { max-width: none; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split .split__visual, .split--reverse .split__visual { order: -1; }
  .her__visual, .him__visual { height: 84vw; max-height: 490px; }
  .him__visual .arch-photo { left: 0; right: auto; width: 100%; }
  /* size the phone off the viewport so it stays inside the 84vw-tall visual
     instead of burying the photo and the text below it */
  .phone-tilt { width: min(34vw, 205px); top: auto; bottom: 3%; }
  .her__visual .phone-tilt { left: auto; right: 3%; transform: rotate(-3deg); }
  .him__visual .phone-tilt { left: 3%; right: auto; transform: rotate(3deg); }

  .pillars { grid-template-columns: 1fr 1fr; }
  .measure-quote { grid-template-columns: 1fr; }
  .measure-quote__img { max-width: 220px; margin: 0 auto; }

  .nav__links { display: none; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .floating-card--a { width: 168px; left: -4%; top: -8%; padding: 12px 14px; }
  .floating-card--b { width: 180px; right: -4%; padding: 12px 14px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { width: 100%; }
  .waitlist-embed { padding: 8px; }
}
