/* ═══════════════════════════════════════════════════════════
   НЯНЯ-Мэтч — warm family landing
   Telegram Mini App promotional site
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --sand: #f6efe6;
  --sand-deep: #ede4d8;
  --sand-muted: #e4d9cb;
  --ink: #1f1a17;
  --ink-soft: #4a433d;
  --ink-muted: #6b635c;
  --coral: #e07a5f;
  --coral-deep: #c8654c;
  --coral-light: #eba894;
  --coral-pale: rgba(224, 122, 95, 0.12);
  --teal: #3d7a75;
  --teal-deep: #2f615d;
  --teal-light: #5a9a94;
  --teal-pale: rgba(61, 122, 117, 0.1);
  --blush: #f3e8e2;
  --blush-deep: #e8d8cf;
  --paper: #fffdf9;
  --white: #ffffff;

  /* Lines & shadows */
  --line: rgba(31, 26, 23, 0.1);
  --line-strong: rgba(31, 26, 23, 0.16);
  --shadow-soft: 0 12px 40px rgba(31, 26, 23, 0.08);
  --shadow-medium: 0 20px 60px rgba(31, 26, 23, 0.12);
  --shadow-lift: 0 28px 80px rgba(31, 26, 23, 0.14);

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Layout */
  --nav-h: 72px;
  --max: 1180px;
  --container: min(var(--max), calc(100% - 2.5rem));
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  /* Section rhythm */
  --section-pad: clamp(4.5rem, 10vw, 7rem);
  --section-gap: clamp(2rem, 5vw, 3.5rem);
}

/* ── Reset & base ── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand);
  background-image:
    radial-gradient(ellipse 120% 80% at 0% 0%, rgba(224, 122, 95, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 20%, rgba(61, 122, 117, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

body.is-desktop {
  cursor: default;
}

main {
  overflow-x: clip;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--coral);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
}

strong {
  font-weight: 700;
}

::selection {
  background: rgba(224, 122, 95, 0.22);
  color: var(--ink);
}

/* Paper grain overlay on body via pseudo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Focus ── */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__links a:focus-visible,
.mobile-menu a:focus-visible,
.faq__list summary:focus-visible,
.compare__range:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.nav__burger:focus-visible {
  border-radius: var(--radius-sm);
}

/* ── Utilities ── */

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

.wrap {
  width: var(--container);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--section-gap);
}

.section-head .section-lead {
  margin-top: 1rem;
}

.section-lead {
  max-width: 52ch;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.8vw, 1.06rem);
  line-height: 1.75;
}

.prose p {
  margin: 0;
}

.prose a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s;
}

.prose a:hover {
  color: var(--teal-deep);
}

/* ── Skip link ── */

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10002;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow-medium);
  transform: translateY(calc(-100% - 1.5rem));
  transition: transform 0.22s var(--ease-out);
}

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

/* ── Scroll progress ── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 10001;
  background: rgba(31, 26, 23, 0.06);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
  transition: width 0.08s linear;
}

/* ── Loader ── */

.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: var(--sand);
  transition:
    opacity 0.65s var(--ease-out),
    visibility 0.65s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__mark {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  animation: loaderBreath 1.4s ease-in-out infinite;
}

.loader__mark::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin: 0.85rem auto 0;
  background: linear-gradient(90deg, transparent, var(--coral), transparent);
  animation: loaderLine 1.4s ease-in-out infinite;
}

@keyframes loaderBreath {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loaderLine {
  0%,
  100% {
    transform: scaleX(0.4);
    opacity: 0.4;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* ── Cursor glow (desktop only, subtle) ── */

.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 8998;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(224, 122, 95, 0.06) 0%,
    rgba(61, 122, 117, 0.03) 35%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.45s;
}

body.is-desktop .cursor-glow {
  opacity: 1;
}

/* ── Navigation ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition:
    background 0.35s var(--ease-smooth),
    backdrop-filter 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.nav.is-scrolled {
  background: rgba(246, 239, 230, 0.88);
  backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(31, 26, 23, 0.04);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  transition: opacity 0.2s;
}

.nav__brand:hover {
  opacity: 0.82;
}

.nav__brand img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(31, 26, 23, 0.1);
}

.nav__brand span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: rgba(255, 253, 249, 0.96);
  transition: color 0.3s;
}

.nav.is-scrolled .nav__brand span {
  color: var(--ink);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 253, 249, 0.82);
  transition: color 0.3s;
}

.nav.is-scrolled .nav__links {
  color: var(--ink-soft);
}

.nav__links a {
  position: relative;
  transition: color 0.25s;
}

.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:not(.nav__cta):hover {
  color: var(--paper);
}

.nav.is-scrolled .nav__links a:not(.nav__cta):hover {
  color: var(--ink);
}

.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta {
  display: none;
  padding: 0.58rem 1.05rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--paper);
  background: var(--coral);
  transition:
    background 0.25s,
    transform 0.3s var(--ease-out),
    box-shadow 0.25s;
}

.nav.is-scrolled .nav__cta {
  background: var(--ink);
}

.nav__cta:hover {
  background: var(--coral-deep);
  box-shadow: 0 8px 24px rgba(224, 122, 95, 0.25);
}

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.nav__burger:hover {
  background: rgba(31, 26, 23, 0.05);
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 253, 249, 0.92);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease-out),
    opacity 0.3s,
    background 0.3s;
}

.nav.is-scrolled .nav__burger span {
  background: var(--ink);
}

.nav__burger.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav__burger.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* ── Mobile menu ── */

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 190;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.5rem 1.25rem 2rem;
  background: rgba(246, 239, 230, 0.97);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s,
    transform 0.35s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a:not(.mobile-menu__cta) {
  padding: 0.85rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}

.mobile-menu a:not(.mobile-menu__cta):hover {
  color: var(--coral);
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
  background: var(--coral);
  box-shadow: 0 12px 32px rgba(224, 122, 95, 0.28);
  transition:
    background 0.25s,
    transform 0.3s var(--ease-out);
}

.mobile-menu__cta:hover {
  background: var(--coral-deep);
}

@media (min-width: 900px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }

  .nav__burger,
  .mobile-menu {
    display: none !important;
  }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.45rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: center;
  transition:
    background 0.28s,
    color 0.28s,
    border-color 0.28s,
    box-shadow 0.28s,
    transform 0.3s var(--ease-out);
  will-change: transform;
}

.btn--primary {
  color: var(--paper);
  background: var(--coral);
  box-shadow: 0 10px 32px rgba(224, 122, 95, 0.28);
}

.btn--primary:hover {
  background: var(--coral-deep);
  box-shadow: 0 14px 40px rgba(224, 122, 95, 0.35);
}

.btn--ghost {
  color: inherit;
  background: rgba(255, 253, 249, 0.12);
  border: 1.5px solid rgba(255, 253, 249, 0.35);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 253, 249, 0.22);
  border-color: rgba(255, 253, 249, 0.55);
}

.btn--dark {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 10px 32px rgba(31, 26, 23, 0.2);
}

.btn--dark:hover {
  background: var(--teal-deep);
  box-shadow: 0 14px 40px rgba(61, 122, 117, 0.28);
}

.magnetic {
  will-change: transform;
}

/* Light-context button overrides (non-hero sections) */
.about .btn--ghost,
.specs .btn--ghost,
.path .btn--ghost,
.match .btn--ghost,
.faq .btn--ghost {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line-strong);
  backdrop-filter: none;
}

.about .btn--ghost:hover,
.specs .btn--ghost:hover,
.path .btn--ghost:hover,
.match .btn--ghost:hover,
.faq .btn--ghost:hover {
  border-color: var(--coral);
  background: var(--blush);
}

/* ── Device mockup ── */

.device {
  position: relative;
  width: min(280px, 72vw);
}

.device__bezel {
  position: relative;
  z-index: 2;
  padding: 10px;
  border-radius: 32px;
  background: linear-gradient(165deg, #3d3834 0%, #1f1a17 45%, #14110f 100%);
  border: 1px solid rgba(255, 253, 249, 0.12);
  box-shadow:
    0 40px 80px rgba(31, 26, 23, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}

.device__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 4;
  width: 72px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #14110f;
}

.device__screen {
  position: relative;
  padding: 2.75rem 1rem 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, #fffdf9 0%, #f6efe6 100%);
  min-height: 220px;
}

.device__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.device__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.device__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.device__tags li {
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--blush);
  border: 1px solid var(--line);
}

.device__bar {
  height: 6px;
  border-radius: 3px;
  background: var(--sand-muted);
  overflow: hidden;
}

.device__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}

.device--hero {
  width: min(240px, 52vw);
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  padding: calc(var(--nav-h) + 2rem) 0 4.5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.05);
  animation: heroKenBurns 18s ease-out forwards;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1.03);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      rgba(31, 26, 23, 0.78) 0%,
      rgba(31, 26, 23, 0.52) 38%,
      rgba(31, 26, 23, 0.28) 62%,
      rgba(31, 26, 23, 0.45) 100%
    ),
    linear-gradient(180deg, rgba(31, 26, 23, 0.15) 0%, rgba(31, 26, 23, 0.55) 100%);
}

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

.hero__layout {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--coral-light);
}

.hero__title {
  margin-bottom: 1.15rem;
  font-size: clamp(2.2rem, 6.5vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__title .line--whole {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.hero__title.is-ready .line span,
.hero__title.is-ready .line--whole {
  animation: titleReveal 0.95s var(--ease-out) forwards;
}

.hero__title.is-ready .line--whole {
  animation-delay: 0s;
}

.hero__title.is-ready .line:nth-child(2) span {
  animation-delay: 0.1s;
}

.hero__title .line--whole {
  color: var(--paper);
}

.hero__title .line--accent {
  font-style: italic;
  font-weight: 500;
  font-size: 0.78em;
  color: var(--coral-light);
  margin-top: 0.05em;
}

@keyframes titleReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero__lead {
  max-width: 48ch;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2.1vw, 1.14rem);
  line-height: 1.72;
  color: rgba(255, 253, 249, 0.88);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.25rem;
}

.hero__ticker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 480px;
}

.hero__ticker-item {
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(255, 253, 249, 0.2);
}

.hero__ticker-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.35rem;
  color: var(--paper);
}

.hero__ticker-item span {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(255, 253, 249, 0.68);
}

.hero__stage {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 48vw, 480px);
  perspective: 1200px;
}

.hero__poster {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: min(240px, 50vw);
  margin: 0;
  transform: translateY(-50%) rotate(-4deg);
  filter: drop-shadow(0 24px 48px rgba(31, 26, 23, 0.4));
  animation: posterFloat 7s ease-in-out infinite;
}

.hero__poster img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

@keyframes posterFloat {
  0%,
  100% {
    transform: translateY(-50%) rotate(-4deg);
  }
  50% {
    transform: translateY(calc(-50% - 10px)) rotate(-2deg);
  }
}

.hero__device {
  position: absolute;
  top: 0;
  right: 0;
  width: min(200px, 42vw);
  margin: 0;
  z-index: 4;
  transform: rotate(7deg);
  transform-origin: top right;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.55);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (min-width: 600px) {
  .hero__ticker {
    grid-template-columns: repeat(3, 1fr);
    max-width: 540px;
  }
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero__poster {
    width: min(280px, 42%);
    left: 4%;
  }

  .hero__device {
    width: min(220px, 38%);
    top: 2%;
    right: 2%;
  }
}

@media (min-width: 1200px) {
  .hero__poster {
    width: min(320px, 46%);
  }

  .hero__device {
    width: min(250px, 40%);
  }
}

/* ── TRUST ── */

.trust {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 2.5rem 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1rem;
}

.trust__grid article {
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.trust__grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.4rem;
  color: var(--coral);
}

.trust__grid span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* ── ABOUT ── */

.about {
  padding: var(--section-pad) 0;
}

.about__grid {
  display: grid;
  gap: var(--section-gap);
  align-items: center;
}

.about__visual {
  margin: 0;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}

.about__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 55%,
    rgba(31, 26, 23, 0.12) 100%
  );
  pointer-events: none;
}

.about__visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 4rem;
  }
}

/* ── MANIFESTO ── */

.manifesto {
  position: relative;
  min-height: 180vh;
  background:
    radial-gradient(ellipse 80% 50% at 50% 30%, rgba(224, 122, 95, 0.06) 0%, transparent 60%),
    var(--sand-deep);
}

.manifesto__sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1.5rem;
}

.manifesto__text {
  max-width: 14ch;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.manifesto__text span,
[data-manifesto] span {
  display: inline-block;
  margin: 0 0.1em;
  color: rgba(31, 26, 23, 0.14);
  transition:
    color 0.45s var(--ease-smooth),
    transform 0.45s var(--ease-out);
}

.manifesto__text span.is-lit,
[data-manifesto] span.is-lit {
  color: var(--ink);
}

.manifesto__text span.is-accent.is-lit,
[data-manifesto] span.is-accent.is-lit {
  color: var(--coral);
  font-style: italic;
}

.manifesto__aside {
  max-width: 44ch;
  margin: 2.25rem 0 0;
  line-height: 1.68;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-style: italic;
  color: var(--ink-soft);
}

/* ── SPECS ── */

.specs {
  padding: var(--section-pad) 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.specs__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.specs__grid article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.specs__grid article:last-child {
  border-bottom: none;
}

.specs__grid strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.specs__grid h3 {
  margin-bottom: 0.55rem;
}

.specs__grid p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 42ch;
}

@media (min-width: 640px) {
  .specs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 2.5rem;
  }

  .specs__grid article {
    padding: 0;
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .specs__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── PATH ── */

.path {
  padding: var(--section-pad) 0;
}

.path__steps {
  display: grid;
  gap: 3rem;
  list-style: none;
  counter-reset: path;
}

.path__steps > li {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.path__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--sand-muted);
  letter-spacing: -0.03em;
}

.path__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.path__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.path__steps > li:hover .path__media img {
  transform: scale(1.04);
}

.path__steps h3 {
  margin-bottom: 0.45rem;
}

.path__steps p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 38ch;
}

@media (min-width: 768px) {
  .path__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
  }
}

@media (min-width: 1100px) {
  .path__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .path__media img {
    aspect-ratio: 1;
  }
}

/* ── BLEED ── */

.bleed {
  position: relative;
  overflow: hidden;
}

.bleed__media {
  position: relative;
  height: clamp(280px, 52vw, 520px);
}

.bleed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.bleed__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(31, 26, 23, 0.05) 0%,
    rgba(31, 26, 23, 0.45) 100%
  );
}

.bleed__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.bleed__caption p {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(31, 26, 23, 0.35);
}

/* ── COMPARE ── */

.compare-section {
  padding: var(--section-pad) 0;
  background: var(--sand-deep);
}

.compare {
  position: relative;
  height: min(440px, 72vw);
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lift);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
  isolation: isolate;
}

.compare.is-dragging {
  cursor: ew-resize;
}

.compare.is-dragging * {
  cursor: ew-resize !important;
}

.compare__panel {
  position: absolute;
  inset: 0;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.compare__panel--before {
  z-index: 1;
  background:
    linear-gradient(
      105deg,
      rgba(237, 228, 216, 0.96) 0%,
      rgba(237, 228, 216, 0.88) 40%,
      rgba(228, 217, 203, 0.75) 100%
    );
  color: var(--ink-soft);
}

.compare__panel--after {
  top: 0;
  left: 0;
  z-index: 2;
  width: 52%;
  height: 100%;
  overflow: hidden;
  background:
    linear-gradient(
      105deg,
      rgba(61, 122, 117, 0.12) 0%,
      rgba(246, 239, 230, 0.94) 35%,
      rgba(243, 232, 226, 0.92) 100%
    );
  color: var(--ink);
}

.compare__panel--after > * {
  width: var(--compare-track, 100%);
  max-width: none;
}

.compare__label {
  display: inline-block;
  margin-bottom: 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.compare__panel--before .compare__label {
  color: var(--ink-muted);
}

.compare__panel--after .compare__label {
  color: var(--teal-deep);
}

.compare__panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  max-width: 24rem;
}

.compare__panel li {
  position: relative;
  padding-left: 1.15rem;
  line-height: 1.48;
  font-size: 0.92rem;
}

.compare__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--sand-muted);
}

.compare__panel--after li::before {
  background: var(--coral);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  z-index: 4;
  width: 44px;
  transform: translateX(-50%);
  background: transparent;
  cursor: ew-resize;
  touch-action: none;
}

.compare__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: var(--coral);
  box-shadow: 0 0 0 1px rgba(255, 253, 249, 0.5);
  pointer-events: none;
}

.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-sm);
  border: 2px solid var(--coral);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.compare__handle span::before,
.compare__handle span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  transform: translateY(-50%);
}

.compare__handle span::before {
  left: 6px;
  border-right-color: var(--coral);
}

.compare__handle span::after {
  right: 6px;
  border-left-color: var(--coral);
}

.compare__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

/* ── HORIZONTAL RAIL ── */

.rail {
  position: relative;
  padding-bottom: 2rem;
}

.rail__intro {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-pad) 0 1.5rem;
  max-width: 520px;
}

.rail__intro p:last-child {
  margin: 0.85rem 0 0;
  line-height: 1.65;
  color: var(--ink-soft);
}

.rail__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 0.75rem);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding-bottom: 0.5rem;
}

.rail__runway {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.rail__track-wrap {
  padding-left: max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  width: 100%;
}

.rail__track {
  display: flex;
  gap: 1.15rem;
  width: max-content;
  padding-right: 2rem;
  will-change: transform;
}

.rail__card {
  position: relative;
  width: min(320px, 78vw);
  flex-shrink: 0;
  padding: 1.65rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.45s var(--ease-out),
    border-color 0.45s,
    box-shadow 0.45s;
}

.rail__card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 122, 95, 0.28);
  box-shadow: var(--shadow-medium);
}

.rail__card > span {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sand-muted);
  margin-bottom: 0.65rem;
}

.rail__card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.rail__card p {
  margin: 0 0 1.15rem;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.rail__card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

@media (min-width: 768px) {
  .rail__card img {
    max-height: min(48vh, 480px);
    aspect-ratio: auto;
  }
}

@media (max-width: 767px) {
  .rail {
    overflow: hidden;
  }

  .rail__sticky {
    position: relative;
    top: auto;
    height: auto;
    display: block;
    overflow: hidden;
    padding-bottom: 1rem;
  }

  .rail__runway {
    display: none;
  }

  .rail__track-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-right: 1.25rem;
    scrollbar-width: none;
  }

  .rail__track-wrap::-webkit-scrollbar {
    display: none;
  }

  .rail__track {
    transform: none !important;
    padding-bottom: 0.5rem;
  }

  .rail__card {
    scroll-snap-align: start;
  }
}

/* ── MATCH ── */

.match {
  padding: var(--section-pad) 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.match__grid {
  display: grid;
  gap: var(--section-gap);
  align-items: center;
}

.match__visual {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.match__visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.match__list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
}

.match__list li {
  position: relative;
  padding: 1rem 0 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.58;
  color: var(--ink-soft);
}

.match__list li:last-child {
  border-bottom: none;
}

.match__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--coral);
}

.match__list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .match__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

/* ── VOICES ── */

.voices {
  padding: var(--section-pad) 0;
}

.voices__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.voices__grid blockquote {
  margin: 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.voices__grid blockquote:first-child {
  border-top: none;
  padding-top: 0;
}

.voices__grid blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--ink);
}

.voices__grid blockquote p::before {
  content: "\201C";
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.55;
  font-style: normal;
}

.voices__grid cite {
  display: block;
  margin-top: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal);
}

@media (min-width: 768px) {
  .voices__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .voices__grid blockquote {
    padding: 0;
    border-top: none;
  }
}

/* ── NANNIES ── */

.nannies {
  padding: var(--section-pad) 0;
  background:
    linear-gradient(135deg, var(--teal-pale) 0%, transparent 50%),
    var(--blush);
  border-block: 1px solid var(--line);
}

.nannies__band {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.nannies__band h2 {
  margin-bottom: 0.85rem;
}

.nannies__band > div > p {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-soft);
  line-height: 1.7;
}

.nannies__band ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.nannies__band li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.nannies__band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}

@media (min-width: 800px) {
  .nannies__band {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
  }
}

/* ── BENTO ── */

.bento {
  padding: var(--section-pad) 0;
}

.bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.bento__item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--paper);
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease-out);
}

.bento__item:hover {
  border-color: rgba(224, 122, 95, 0.25);
  transform: translateY(-2px);
}

.bento__item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.bento__item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--ink-soft);
}

.bento__item--wide {
  background:
    linear-gradient(135deg, var(--blush) 0%, var(--paper) 100%);
}

.bento__item--accent {
  background: linear-gradient(145deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-color: transparent;
  color: var(--paper);
}

.bento__item--accent h3 {
  color: var(--paper);
}

.bento__item--accent p {
  color: rgba(255, 253, 249, 0.82);
}

.bento__item--accent:hover {
  border-color: transparent;
}

@media (min-width: 640px) {
  .bento__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__item--wide {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .bento__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento__item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento__item--accent {
    grid-column: span 1;
  }
}

/* ── FAQ ── */

.faq {
  padding: var(--section-pad) 0;
  background: var(--sand-deep);
}

.faq__list {
  display: grid;
  gap: 0;
  max-width: 720px;
}

.faq__list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq__list details:first-child {
  border-top: 1px solid var(--line-strong);
}

.faq__list summary {
  padding: 1.25rem 2rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s;
}

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

.faq__list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--coral);
  transition: transform 0.3s var(--ease-out);
}

.faq__list details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__list summary:hover {
  color: var(--coral-deep);
}

.faq__list details p {
  margin: 0;
  padding: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* ── FINALE ── */

.finale {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(520px, 85vh, 780px);
  padding: calc(var(--nav-h) + 3rem) 0 clamp(3rem, 6vh, 4rem);
  overflow: hidden;
  color: var(--paper);
}

.finale__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.finale__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.finale__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(31, 26, 23, 0.35) 0%,
      rgba(31, 26, 23, 0.62) 45%,
      rgba(31, 26, 23, 0.82) 100%
    );
}

.finale__content {
  position: relative;
  z-index: 2;
  max-width: 36rem;
}

.finale__content .eyebrow {
  color: var(--coral-light);
}

.finale__content h2 {
  margin-bottom: 0.85rem;
  color: var(--paper);
}

.finale__content > p {
  margin: 0 0 1.75rem;
  max-width: 42ch;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.68;
  color: rgba(255, 253, 249, 0.85);
}

.finale__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.finale__cta .btn {
  font-size: 0.88rem;
}

.finale__cta .btn--primary {
  background: var(--coral);
}

.finale__cta .btn--dark {
  background: rgba(255, 253, 249, 0.12);
  border: 1.5px solid rgba(255, 253, 249, 0.3);
  box-shadow: none;
}

.finale__cta .btn--dark:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ── SUPPORT ── */

.support {
  padding: var(--section-pad) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.support h2 {
  margin-bottom: 1.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  text-align: center;
}

.support__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.support__card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 200px;
  max-width: 360px;
  min-height: 120px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--sand);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.3s var(--ease-out);
}

.support__card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.support__card--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.support__card img {
  width: auto;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.support__card--dark img {
  filter: brightness(1.05);
}

.support__text {
  margin: 0 auto;
  max-width: 62ch;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ── FOOTER ── */

.footer {
  padding: 3rem 0 2rem;
  background: var(--sand-deep);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__brand img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.footer__brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.footer__brand p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer__support p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-muted);
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer__logos img {
  height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
}

.footer__req {
  padding-top: 2rem;
}

.footer__req h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer__req-title {
  margin: 0 0 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer__req dl {
  display: grid;
  gap: 0.85rem 1.5rem;
  margin: 0 0 1.75rem;
}

.footer__req dt {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.15rem;
}

.footer__req dd {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer__req dd a {
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  transition: color 0.2s;
}

.footer__req dd a:hover {
  color: var(--teal-deep);
}

.footer__req .wide {
  grid-column: 1 / -1;
}

.footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
  }

  .footer__logos img {
    height: 56px;
  }

  .footer__req dl {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .footer__req dl {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Sticky mobile CTA ── */

.sticky-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  transform: translateY(120%);
  opacity: 0;
  transition:
    transform 0.4s var(--ease-out),
    opacity 0.4s var(--ease-out);
}

.sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--paper);
  background: var(--coral);
  box-shadow:
    0 12px 40px rgba(224, 122, 95, 0.35),
    0 0 0 1px rgba(255, 253, 249, 0.15) inset;
  transition: background 0.25s;
}

.sticky-cta a:hover {
  background: var(--coral-deep);
}

@media (min-width: 769px) {
  .sticky-cta {
    display: none !important;
  }
}

/* ── Reveal animations ── */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.85s var(--ease-out),
    transform 0.85s var(--ease-out);
}

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

/* Stagger children in grids when parent reveals */
.trust[data-reveal].is-visible article:nth-child(1) { transition-delay: 0s; }
.trust[data-reveal].is-visible article:nth-child(2) { transition-delay: 0.06s; }
.trust[data-reveal].is-visible article:nth-child(3) { transition-delay: 0.12s; }
.trust[data-reveal].is-visible article:nth-child(4) { transition-delay: 0.18s; }

.trust[data-reveal] article {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}

.trust[data-reveal].is-visible article {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .trust[data-reveal] article {
    opacity: 1;
    transform: none;
  }

  .hero__title .line span,
  .hero__title .line--whole {
    transform: none;
    opacity: 1;
    animation: none;
  }

  .hero__media img {
    transform: none;
    animation: none;
  }

  .hero__poster {
    animation: none;
  }

  .hero__scroll-line {
    animation: none;
  }

  .manifesto__text span,
  [data-manifesto] span {
    color: var(--ink) !important;
  }

  .manifesto__text span.is-accent,
  [data-manifesto] span.is-accent {
    color: var(--coral) !important;
  }

  .cursor-glow {
    display: none;
  }

  .loader__mark {
    animation: none;
  }

  .loader__mark::after {
    animation: none;
  }

  .sticky-cta {
    transform: none;
    opacity: 1;
  }

  .rail__track {
    transform: none !important;
  }

  .path__media img {
    transform: none;
  }
}

/* ── Print ── */

@media print {
  .skip-link,
  .scroll-progress,
  .loader,
  .cursor-glow,
  .nav,
  .mobile-menu,
  .hero__scroll,
  .sticky-cta {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero,
  .finale {
    min-height: auto;
    color: black;
  }

  .hero__veil,
  .hero__grain,
  .finale__veil {
    display: none;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* ── High contrast preference ── */

@media (prefers-contrast: more) {
  :root {
    --line: rgba(31, 26, 23, 0.22);
    --line-strong: rgba(31, 26, 23, 0.35);
  }

  .btn--ghost {
    border-width: 2px;
  }

  .nav.is-scrolled {
    background: var(--sand);
  }
}

/* ── Fine-tuning breakpoints ── */

@media (max-width: 479px) {
  .hero__cta .btn {
    width: 100%;
  }

  .finale__cta .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .compare {
    height: min(480px, 85vw);
  }

  .compare__panel {
    padding: 1.5rem 1.15rem;
  }

  .compare__panel li {
    font-size: 0.85rem;
  }
}

@media (min-width: 1400px) {
  :root {
    --max: 1240px;
  }

  .hero__title {
    font-size: 4.8rem;
  }
}

/* ── Hover capability guard ── */

@media (hover: none) {
  .magnetic {
    transform: none !important;
  }

  .rail__card:hover,
  .bento__item:hover,
  .path__steps > li:hover .path__media img,
  .support__card:hover {
    transform: none;
  }
}

/* ── Dark hero ghost button on light scroll (nav scrolled) ── */

.nav.is-scrolled ~ main .hero .btn--ghost,
.hero .btn--ghost {
  /* stays light on hero — no override needed */
}

/* Section anchor scroll offset for fixed nav */
[id] {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

/* Smooth image loading placeholder */
img[loading="lazy"] {
  background: var(--sand-muted);
}

/* Link underlines in footer requisites area */
.footer__req a:focus-visible {
  outline-color: var(--coral);
}

/* Compare section inner wrap spacing */
.compare-section .section-head {
  text-align: center;
  margin-inline: auto;
}

.compare-section .section-lead {
  margin-inline: auto;
}

/* Rail intro em styling */
.rail__intro h2 em {
  font-style: italic;
  font-weight: 500;
}

/* Path section em */
.path .section-head h2 em {
  color: var(--teal);
}

/* Voices section balance on very wide screens */
@media (min-width: 1200px) {
  .voices__grid {
    max-width: 1100px;
    margin-inline: auto;
  }
}

/* Nannies eyebrow color */
.nannies .eyebrow {
  color: var(--teal-deep);
}

/* Bento section head centering option — left aligned by default via section-head */
.bento .section-head {
  max-width: 680px;
}

/* FAQ open state background subtle */
.faq__list details[open] {
  background: rgba(255, 253, 249, 0.45);
}

.faq__list details[open] summary {
  color: var(--coral-deep);
}

/* Support card image sizing for platform logo */
.support__card:not(.support__card--dark) img {
  max-height: 88px;
}

/* Footer brand link styling if added later */
.footer__brand a {
  color: inherit;
}

/* Hero device screen responsive text */
@media (max-width: 400px) {
  .device__title {
    font-size: 0.9rem;
  }

  .device__tags li {
    font-size: 0.62rem;
  }
}

/* Trust band subtle top shadow when overlapping hero */
.trust {
  box-shadow: 0 -8px 32px rgba(31, 26, 23, 0.04);
}

/* Manifesto section bottom fade */
.manifesto::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--sand-deep));
  pointer-events: none;
}

/* Specs article hover — minimal, no card */
.specs__grid article {
  transition: transform 0.3s var(--ease-out);
}

@media (hover: hover) {
  .specs__grid article:hover {
    transform: translateX(4px);
  }

  .specs__grid article:hover strong {
    color: var(--coral);
  }
}

/* Path number color on hover */
@media (hover: hover) {
  .path__steps > li:hover .path__num {
    color: var(--coral-pale);
    color: var(--coral);
    transition: color 0.3s;
  }
}

/* Match visual subtle frame */
.match__visual::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 8px);
  pointer-events: none;
  z-index: -1;
}

.match__visual {
  position: relative;
}

/* Bleed caption responsive width */
@media (min-width: 768px) {
  .bleed__caption p {
    max-width: 22ch;
    font-size: 2.4rem;
  }
}

/* Compare handle focus ring via range focus */
.compare__range:focus-visible ~ .compare__handle span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* Loader z-index above grain */
.loader {
  z-index: 10000;
}

/* Ensure mobile menu hidden attribute respected */
.mobile-menu[hidden]:not(.is-open) {
  display: none !important;
}

/* Nav inner max width alignment */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero brand emphasis */
.hero__brand {
  text-shadow: 0 2px 20px rgba(31, 26, 23, 0.25);
}

/* Device hero shadow warmth */
.device--hero .device__bezel {
  box-shadow:
    0 36px 72px rgba(31, 26, 23, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Finale content padding on mobile */
@media (max-width: 599px) {
  .finale__content {
    padding-bottom: 1rem;
  }

  .support__logos {
    flex-direction: column;
    align-items: center;
  }

  .support__card {
    width: 100%;
    max-width: 100%;
  }
}

/* Sticky CTA safe area for notched phones */
@supports (padding: max(0px)) {
  .sticky-cta {
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

/* Rail card number font variant */
.rail__card > span {
  font-variant-numeric: tabular-nums;
}

/* About section h2 spacing */
.about h2 {
  margin-bottom: 1.25rem;
}

/* Match section h2 spacing */
.match h2 {
  margin-bottom: 0.25rem;
}

/* Voices section head */
.voices .section-head {
  max-width: 560px;
}

/* Path section head */
.path .section-head {
  max-width: 580px;
  margin-bottom: calc(var(--section-gap) + 0.5rem);
}

/* Compare dragging state handle emphasis */
.compare.is-dragging .compare__handle::before {
  width: 4px;
  background: var(--coral-deep);
}

.compare.is-dragging .compare__handle span {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: var(--coral-deep);
}

/* End of stylesheet */
