/* Pistak.io Pro landing page — marketing/parallax prototype */
:root {
  color-scheme: dark;
  --page-max: 1200px;
  --gutter: clamp(16px, 3vw, 28px);
  --hero-top: clamp(92px, 11vw, 140px);
  --section-y: clamp(72px, 9vw, 128px);
  --glass: rgba(10, 29, 18, 0.58);
  --glass-strong: rgba(10, 29, 18, 0.78);
  --glass-soft: rgba(108, 199, 164, 0.10);
  --mint-glow: rgba(108, 199, 164, 0.32);
  --mint-glow-strong: rgba(108, 199, 164, 0.56);
  --ink: #f0f9f6;
  --ink-soft: rgba(251, 255, 241, 0.88);
  --ink-muted: rgba(229, 255, 238, 0.68);
  --line: rgba(127, 255, 194, 0.22);
  --line-strong: rgba(216, 255, 143, 0.46);
  --accent-high: var(--theme-accentHigh, #d8ff8f);
  --accent-high-2: var(--theme-accent, #7fffc2);
  --accent-warm: var(--theme-accentWarm, #f5c45c);
  --accent-ink: var(--theme-accentInk, #021004);
  --subtitle-strong: rgba(251, 255, 241, 0.94);
  --subtitle-soft: rgba(229, 255, 238, 0.84);
  --shadow-deep: 0 30px 90px rgba(0, 0, 0, 0.34);
  --shadow-glass: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 74% -10%, rgba(108, 199, 164, 0.22), transparent 62%),
    radial-gradient(700px 500px at 8% 12%, rgba(143, 188, 143, 0.14), transparent 56%),
    linear-gradient(180deg, #051108 0%, #0f241a 44%, #07140d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.18) 0 1px, transparent 1.8px),
    radial-gradient(circle at 72% 14%, rgba(244,185,66,.48) 0 1px, transparent 1.8px),
    radial-gradient(circle at 84% 38%, rgba(108,199,164,.25) 0 1px, transparent 1.8px),
    radial-gradient(circle at 48% 70%, rgba(255,255,255,.14) 0 1px, transparent 1.8px),
    radial-gradient(circle at 12% 82%, rgba(108,199,164,.20) 0 1px, transparent 1.8px);
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10% -26% -10%;
  height: 46vh;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(60% 90% at 30% 100%, rgba(108, 199, 164, .12), transparent 70%),
    radial-gradient(60% 80% at 72% 100%, rgba(46, 90, 64, .34), transparent 70%);
  filter: blur(16px);
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(var(--page-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-high);
  color: var(--accent-ink);
  z-index: 100;
  transform: translateY(-150%);
  transition: transform var(--dur-quick) var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0; left: 0; right: 0;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(5, 17, 8, .86), rgba(5, 17, 8, .56));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(108, 199, 164, .10);
  transition: transform var(--dur-medium) var(--ease-out), background var(--dur-medium) var(--ease-out);
}
.site-header.scrolled {
  background: rgba(5, 17, 8, .82);
  box-shadow: 0 10px 36px rgba(0,0,0,.18);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(108, 199, 164, .16));
}
.brand strong { color: rgba(240,249,246,.66); font-weight: 500; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.5vw, 24px);
  color: var(--subtitle-soft);
  font-size: 0.94rem;
}
.nav-menu > a:not(.btn) {
  position: relative;
  padding: 10px 0;
}
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-high), var(--accent-high-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-medium) var(--ease-out);
}
.nav-menu > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(108,199,164,.08);
  color: var(--ink);
}
.nav-toggle span:not(.sr-only) {
  width: 18px; height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--dur-quick) var(--ease-out),
    box-shadow var(--dur-medium) var(--ease-out),
    border-color var(--dur-medium) var(--ease-out),
    background var(--dur-medium) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible {
  outline: 2px solid var(--accent-high);
  outline-offset: 3px;
}
.btn-small {
  min-height: 40px;
  padding-inline: 16px;
  font-size: 0.9rem;
}
.btn-primary {
  color: var(--accent-ink);
  background:
    radial-gradient(circle at 20% 18%, rgba(255,255,255,.74), transparent 28%),
    linear-gradient(135deg, var(--accent-high) 0%, #a7ff9f 38%, var(--accent-high-2) 100%);
  border-color: rgba(251,255,241,.38);
  box-shadow:
    0 14px 46px rgba(127,255,194,.28),
    0 0 0 1px rgba(216,255,143,.12),
    inset 0 1px 0 rgba(255,255,255,.58);
}
.btn-primary:hover {
  box-shadow:
    0 20px 58px rgba(127,255,194,.40),
    0 0 0 1px rgba(216,255,143,.20),
    inset 0 1px 0 rgba(255,255,255,.68);
}
.btn-secondary, .btn-ghost {
  color: var(--subtitle-strong);
  background:
    linear-gradient(180deg, rgba(216,255,143,.13), rgba(127,255,194,.07));
  border-color: rgba(216,255,143,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.btn-secondary:hover, .btn-ghost:hover {
  color: #ffffff;
  border-color: rgba(216,255,143,.64);
  background:
    linear-gradient(180deg, rgba(216,255,143,.20), rgba(127,255,194,.13));
  box-shadow: 0 14px 34px rgba(127,255,194,.12), inset 0 1px 0 rgba(255,255,255,.10);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: var(--hero-top) 0 clamp(38px, 7vw, 82px);
  min-height: 100vh;
  display: grid;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
}
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-high);
  text-transform: uppercase;
  letter-spacing: var(--tracking-kicker);
  font-size: var(--fs-kicker);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(216,255,143,.38);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(180deg, rgba(216,255,143,.13), rgba(127,255,194,.06));
  box-shadow:
    0 10px 28px rgba(127,255,194,.10),
    inset 0 1px 0 rgba(251,255,241,.12);
  text-shadow: 0 0 20px rgba(216,255,143,.22);
}
.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent-high);
  box-shadow: 0 0 0 7px rgba(216,255,143,.14), 0 0 28px rgba(216,255,143,.70), 0 0 46px rgba(127,255,194,.30);
}
h1 {
  color: var(--ink);
  font-size: clamp(3.05rem, 7vw, 6.8rem);
  line-height: .93;
  text-wrap: balance;
}
.hero-lead {
  margin-top: 24px;
  max-width: 58ch;
  color: var(--subtitle-strong);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.proof-row span {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(108, 199, 164, .07);
  padding: 9px 13px;
  color: var(--subtitle-soft);
  font-size: .9rem;
}

.hero-visual {
  position: relative;
  min-height: min(650px, 68vw);
  display: grid;
  place-items: center;
  perspective: 1400px;
}
.product-frame {
  width: min(100%, 740px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  transform-style: preserve-3d;
  transition: transform .18s linear;
}
.product-frame img {
  width: 100%;

  object-fit: cover;
  object-position: center;
  opacity: .94;
  transform: scale(1.02);
}
.halo {
  position: absolute;
  inset: 13% 5% 8% 9%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(108,199,164,.26), transparent 62%);
  filter: blur(22px);
}
.orb {
  position: absolute;
  border-radius: 999px;
  z-index: -1;
  filter: blur(2px);
  opacity: .75;
}
.orb-a {
  width: 280px; height: 280px;
  left: -120px; top: 14%;
  background: radial-gradient(circle, rgba(143,188,143,.20), transparent 64%);
}
.orb-b {
  width: 360px; height: 360px;
  right: -180px; bottom: 4%;
  background: radial-gradient(circle, rgba(108,199,164,.16), transparent 66%);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(108, 199, 164, .18);
  border-radius: 22px;
  background: rgba(5, 17, 8, .66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-glass);
  color: var(--ink);
}
.float-card p { color: var(--ink-muted); font-size: .82rem; line-height: 1.35; }
.float-card strong { font-size: .96rem; }
.icon-bubble {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 15px;
  color: var(--accent-high);
  background: rgba(108, 199, 164, .12);
}
.feed-card { left: -2%; top: 17%; }
.sleep-card { right: -2%; top: 7%; }
.ai-card { right: 4%; bottom: 12%; min-width: 270px; }
.ai-card img {
  width: 42px; height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(108,199,164,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.trust-strip span {
  padding: 18px 16px;
  text-align: center;
  color: var(--subtitle-soft);
  background: rgba(5, 17, 8, .48);
  font-size: .92rem;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.soft-section {
  background:
    radial-gradient(900px 580px at 20% 6%, rgba(108,199,164,.11), transparent 58%),
    linear-gradient(180deg, rgba(5,17,8,0), rgba(8,21,13,.84) 15%, rgba(8,21,13,.70) 84%, rgba(5,17,8,0));
}
.section-heading {
  max-width: 760px;
  text-align: center;
  margin-bottom: clamp(34px, 5vw, 58px);
}
.section-heading h2,
.ai-copy h2,
.story-sticky h2,
.faq-layout h2,
.final-card h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4.4vw, 4rem);

  line-height: .96;
  text-wrap: balance;
}
.section-heading p:not(.eyebrow),
.ai-copy p:not(.eyebrow),
.story-sticky p:not(.eyebrow),
.faq-layout p,
.final-card p {
  margin-top: 16px;
  color: var(--subtitle-strong);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.feature-grid, .trust-grid, .quote-grid, .pricing-grid {
  display: grid;
  gap: 18px;
}
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.feature-card, .trust-card, .quote-card, .price-card, .step-card, .garvis-panel, .final-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(108,199,164,.10), rgba(5,17,8,.52));
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(18px);
}
.feature-card {
  padding: clamp(24px, 3vw, 34px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.feature-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 18px;
  margin-bottom: 26px;
  color: var(--accent-high);
  background: rgba(216,255,143,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.feature-card h3, .trust-card h3 {
  color: var(--ink);
  font-size: 1.35rem;

}
.feature-card p, .trust-card p, .price-copy {
  margin-top: 12px;
  color: var(--subtitle-soft);
}
.feature-card ul, .price-card ul {
  display: grid;
  gap: 11px;
  margin-top: auto;
  padding-top: 28px;
}
.feature-card li, .price-card li {
  position: relative;
  padding-left: 24px;
  color: var(--subtitle-soft);
  font-size: .94rem;
}
.feature-card li::before, .price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-high);
  box-shadow: 0 0 0 5px rgba(216,255,143,.11);
}

.parallax-story {
  overflow: clip;
}
.story-layout {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}
.story-sticky {
  position: sticky;
  top: 110px;
  min-height: 650px;
}
.mini-phone {
  width: min(340px, 88vw);
  height: 640px;
  margin-top: 38px;
  border-radius: 54px;
  padding: 14px;
  border: 1px solid rgba(108,199,164,.22);
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(5,17,8,.86));
  box-shadow: var(--shadow-deep);
}
.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 42%, rgba(108,199,164,.42), transparent 24%),
    radial-gradient(circle at 90% 18%, rgba(108,199,164,.18), transparent 34%),
    linear-gradient(180deg, #0f241a, #051108);
  border: 1px solid rgba(108,199,164,.12);
}
.phone-top {
  position: absolute;
}
.pill-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
}
.pill-row span, .baby-chip {
  border-radius: var(--radius-pill);
  padding: 8px 13px;
  background: rgba(216,255,143,.12);
  color: var(--subtitle-soft);
  font-size: .82rem;
}
.baby-chip {
  display: inline-flex;
  margin: 28px 0 0 28px;
}
.plus-button {
  position: absolute;
  left: 50%; top: 50%;
  translate: -50% -50%;
  width: 114px; height: 114px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 56px;
  color: #051108;
  background: radial-gradient(circle at 28% 18%, #d0ece0, #6cc7a4 76%);
  box-shadow: 0 0 62px rgba(108,199,164,.42);
}
.bottom-nav {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  height: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  border-radius: 24px;
  background: rgba(5,17,8,.56);
  border: 1px solid var(--line);
}
.bottom-nav span {
  width: 22px; height: 22px;
  margin: auto;
  border-radius: 8px;
  background: rgba(108,199,164,.28);
}
.story-steps {
  display: grid;
  gap: 22px;
}
.step-card {
  padding: clamp(24px, 3.5vw, 40px);
  min-height: 300px;
}
.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(216,255,143,.12);
  color: var(--accent-high);
  margin-bottom: 22px;
  font-weight: 800;
}
.step-card h3 {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 1.04;

}
.step-card p { margin-top: 16px; color: var(--subtitle-soft); }

.ai-section {
  background:
    radial-gradient(700px 480px at 72% 18%, rgba(108,199,164,.15), transparent 62%),
    linear-gradient(180deg, transparent, rgba(108,199,164,.04), transparent);
}
.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(380px, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.ai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.garvis-panel {
  padding: clamp(22px, 3vw, 34px);
}
.garvis-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.garvis-head img {
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  background: rgba(108,199,164,.08);
}
.garvis-head strong { display: block; color: var(--ink); }
.garvis-head span { color: var(--ink-muted); font-size: .9rem; }
.garvis-message {
  display: grid;
  gap: 12px;
  padding: 22px 0;
}
.garvis-message p {
  padding: 16px;
  border-radius: 18px;
  background: rgba(108,199,164,.08);
  border: 1px solid rgba(108,199,164,.13);
  color: var(--subtitle-soft);
}
.garvis-message strong { color: var(--accent-high); }
.medical-note {
  border-radius: 18px;
  padding: 14px 16px;
  color: rgba(255,250,224,.88);
  background: rgba(245,196,92,.10);
  border: 1px solid rgba(245,196,92,.34);
  font-size: .86rem;
  line-height: 1.55;
}

.privacy-section {
  background: linear-gradient(180deg, rgba(5,17,8,0), rgba(5,17,8,.45), rgba(5,17,8,0));
}
.trust-grid { grid-template-columns: repeat(3, 1fr); }
.trust-card {
  padding: 28px;
}
.shield {
  width: 52px;
  height: 52px;
  display: block;
  margin-bottom: 22px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, transparent 40%, rgba(108,199,164,.26)),
    rgba(108,199,164,.12);
  position: relative;
}
.shield::before {
  content: "";
  position: absolute;
  inset: 12px 15px 10px;
  clip-path: polygon(50% 0, 90% 18%, 82% 72%, 50% 100%, 18% 72%, 10% 18%);
  background: var(--accent-high);
}

.pricing-section {
  background:
    radial-gradient(900px 620px at 50% 10%, rgba(108,199,164,.14), transparent 60%);
}
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}
.price-card.featured {
  border-color: rgba(216,255,143,.55);
  background:
    radial-gradient(350px 220px at 50% 0%, rgba(216,255,143,.24), transparent 70%),
    linear-gradient(180deg, rgba(127,255,194,.15), rgba(5,17,8,.60));
  transform: translateY(-12px);
}
.plan {
  color: var(--accent-high);
  font-weight: 800;

  text-transform: uppercase;
  font-size: .85rem;
}
.plan span {
  margin-left: 8px;
  display: inline-flex;
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  color: #051108;
  background: var(--accent-high);
  letter-spacing: 0;
  text-transform: none;
  font-size: .72rem;
}
.price-card h3 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  letter-spacing: -.06em;
  line-height: .95;
}
.price-card small {
  font-size: .95rem;
  color: var(--ink-muted);
  letter-spacing: 0;
}
.price-card .btn {
  margin-top: auto;
  width: 100%;
}
.pricing-note {
  color: var(--ink-muted);
  text-align: center;
  margin-top: 18px;
}

.quote-grid { grid-template-columns: repeat(3, 1fr); }
.quote-card {
  padding: 28px;
}
.quote-card p {
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.65;
}
.quote-card cite {
  display: block;
  margin-top: 22px;
  color: var(--accent-high);
  font-style: normal;
  font-weight: 700;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.faq-list {
  display: grid;
  gap: 14px;
}
details {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(108,199,164,.07);
  overflow: hidden;
}
summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 800;
  min-height: 64px;
}
details p {
  padding: 0 22px 22px;
  color: var(--subtitle-soft);
}

.final-cta {
  padding: clamp(42px, 8vw, 100px) 0;
}
.final-card {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background:
    radial-gradient(500px 280px at 84% 10%, rgba(108,199,164,.22), transparent 70%),
    linear-gradient(135deg, rgba(108,199,164,.14), rgba(5,17,8,.68));
}
.final-card .btn {
  flex: 0 0 auto;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 36px;
  color: var(--ink-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}
.footer p { color: var(--ink-muted); font-size: .9rem; }
.footer nav {
  display: flex;
  gap: 18px;
  font-size: .9rem;
}
.footer a:hover { color: var(--accent-high); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid, .ai-layout, .story-layout, .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 800px;
    text-align: center;
    margin-inline: auto;
  }
  .hero-actions, .proof-row {
    justify-content: center;
  }
  .hero-visual {
    min-height: auto;
    padding: 10px 0 50px;
  }
  .product-frame {
    width: min(820px, 100%);
  }
  .feed-card { left: 2%; top: 8%; }
  .sleep-card { right: 2%; top: 4%; }
  .ai-card { right: 3%; bottom: 0; }
  .story-sticky {
    position: relative;
    top: 0;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
    align-items: center;
  }
  .mini-phone {
    height: 520px;
    width: 280px;
    margin-top: 0;
  }
  .feature-grid, .pricing-grid, .trust-grid, .quote-grid {
    grid-template-columns: 1fr 1fr;
  }
  .price-card.featured { transform: none; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter);
    right: var(--gutter);
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(5,17,8,.92);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-deep);
    transform-origin: top right;
    transform: scale(.96) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur-medium) var(--ease-out), transform var(--dur-medium) var(--ease-out);
  }
  .nav-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
  }
  .nav-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-menu .btn {
    width: 100%;
    margin-top: 8px;
  }
  h1 { font-size: clamp(2.95rem, 14vw, 5rem); }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .feature-grid, .pricing-grid, .trust-grid, .quote-grid {
    grid-template-columns: 1fr;
  }
  .feature-card { min-height: auto; }
  .story-sticky {
    grid-template-columns: 1fr;
  }
  .mini-phone {
    display: none;
  }
  .final-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .hero { min-height: auto; }
  .hero-actions .btn { width: 100%; }
  .product-frame { border-radius: 24px; }
  .float-card {
    position: relative;
    inset: auto !important;
    width: 100%;
    margin-top: 10px;
  }
  .hero-visual {
    display: block;
  }
  .trust-strip { grid-template-columns: 1fr; }
  .section-heading { text-align: left; }
  .price-card, .feature-card, .trust-card, .quote-card, .step-card, .garvis-panel {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  [data-parallax] { transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
