/*
 * HomiyaHealth static site. Light only. Palette A: teal and warm apricot (owner choice).
 *
 * Colour roles (tokens), used with restraint. A palette is a swap of the :root block below.
 *   --ink      text (deep teal-slate)
 *   --primary  solid buttons (teal, matches the logo)
 *   --brand    emphasis and icons (teal family)
 *   --accent   warmth: label chips, the underline swoosh, blobs, small highlights (apricot)
 *   --cream    page background; --paper (white) for cards and panels
 * Every colour in this file comes from these tokens; don't add raw rgb() or hex below :root.
 *
 * Visual language: bold DM Sans headings with one Newsreader italic word underlined by an
 * apricot swoosh; rounded rectangles (buttons, cards, panels); floating record chips in the
 * hero; soft morphing apricot blobs; the logo's house outline as a pattern in the CTA.
 */

/* ── TOKENS ──────────────────────────────────────────────────────── */
:root {
  color-scheme: light;

  --cream: #f8f6f1;
  --paper: #ffffff;
  --bg: var(--cream);
  --surface: var(--paper);
  --surface-2: #f2efe8;

  --ink: #13252b;
  --ink-2: #1d3840;
  --ink-soft: #4c5a5e;
  --muted: #66726f;

  --primary: #1d6b64;
  --primary-hover: #165852;
  --on-primary: var(--paper);

  --border: #e6e1d6;
  --border-strong: #d5cdbd;

  --brand: #2a8278;
  --brand-deep: #1d6b64;
  --brand-night: #164f4a;
  --brand-soft: #e2f0ed;
  --brand-fade: #eff7f5;

  --accent: #e59a6b;
  --accent-ink: #a4502f;
  --accent-soft: #fde6d6;
  --accent-light: #f7c6a3;

  --warn-soft: #fdf0e4;
  --warn-ink: #7a3d1f;

  /* Tinted chips and tiles: low chroma so colour stays a quiet hint */
  --tint-l: 95%;
  --tint-c: 0.03;
  --tint-ink-l: 38%;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 36px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, var(--ink) 5%, transparent);
  --shadow-md:
    0 1px 2px color-mix(in srgb, var(--ink) 4%, transparent),
    0 16px 36px -22px color-mix(in srgb, var(--brand-night) 35%, transparent);
  --shadow-lg:
    0 2px 6px color-mix(in srgb, var(--ink) 4%, transparent),
    0 40px 80px -40px color-mix(in srgb, var(--brand-night) 40%, transparent);

  --site-pad: clamp(20px, 5vw, 80px);
  --gutter: clamp(12px, 3vw, 40px);
  --max-w: 1180px;
  --nav-h: 72px;

  --serif: 'Newsreader', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Hand-drawn underline, used as a mask so it takes any token colour */
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C42 4 95 2.5 197 6.5' fill='none' stroke='black' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");

  /* Indian textile and doorstep motifs, used as masks so they take token colours */
  --kolam: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='black'%3E%3Ccircle cx='12' cy='12' r='1.7'/%3E%3Ccircle cx='36' cy='12' r='1.7'/%3E%3Ccircle cx='12' cy='36' r='1.7'/%3E%3Ccircle cx='36' cy='36' r='1.7'/%3E%3Ccircle cx='24' cy='24' r='1.7'/%3E%3C/g%3E%3Cpath d='M24 5C31 12 31 12 24 19C17 12 17 12 24 5ZM24 29C31 36 31 36 24 43C17 36 17 36 24 29ZM5 24C12 17 12 17 19 24C12 31 12 31 5 24ZM29 24C36 17 36 17 43 24C36 31 36 31 29 24Z' fill='none' stroke='black' stroke-width='1.2'/%3E%3C/svg%3E");
  --print: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 16'%3E%3Cpath d='M0 8H40' stroke='black' stroke-width='0.8'/%3E%3Cpath d='M20 2.5L25.5 8L20 13.5L14.5 8Z' fill='black'/%3E%3Ccircle cx='20' cy='8' r='1.6' fill='white'/%3E%3Ccircle cx='6' cy='8' r='2.2' fill='black'/%3E%3Ccircle cx='34' cy='8' r='2.2' fill='black'/%3E%3C/svg%3E");

  /* Illustrated family: skin and hair tones */
  --skin-1: #b97f5a;
  --skin-2: #a8714c;
  --skin-3: #c58d68;
  --skin-4: #cf9a74;
  --skin-fair: #e2b896;
  --hair: #2b2321;
  --hair-grey: #d9d5cf;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-1: 160ms;
  --dur-2: 320ms;
  --dur-3: 750ms;
}

/* ── BASE ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
main {
  overflow-x: clip; /* reveal offsets must not widen the page; clip keeps sticky working */
}
main:focus {
  outline: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--accent-light);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 8px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur-1) var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

/* Icons from the inline sprite: <svg class="i"><use href="#i-name" /></svg> */
.i {
  fill: none;
  stroke: currentColor;
  stroke-width: var(--sw, 1.6);
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  overflow: visible;
}
/* Quiet tinted surface for a hue: class="tint" style="--h: 240" */
.tint {
  background: oklch(var(--tint-l) var(--tint-c) var(--h, 240));
  color: oklch(var(--tint-ink-l) 0.08 var(--h, 240));
}

/* ── TYPE ────────────────────────────────────────────────────────── */
.hh-h1,
.hh-h2,
.hh-h3 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.hh-h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hh-h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.hh-h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}
/* The one emphasised word: Newsreader italic in teal */
.hh-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hh-h1 .hh-italic,
.hh-h2 .hh-italic {
  color: var(--brand-deep);
}
/* Label chip above headings: apricot dot + sentence-case text */
.hh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
}
.hh-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}
.hh-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
  line-height: 1.7;
}

/* ── BUTTONS (rounded rectangles) ───────────────────────────────── */
.hh-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background var(--dur-2) var(--ease-out),
    color var(--dur-1),
    border-color var(--dur-1),
    box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out);
}
.hh-btn:active {
  transform: translateY(1px);
}
.hh-btn--lg {
  min-height: 54px;
  padding: 0 28px;
  border-radius: 16px;
  font-size: 16px;
}
.hh-btn--accent {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--paper) 18%, transparent),
    0 8px 20px -10px color-mix(in srgb, var(--primary) 70%, transparent);
}
.hh-btn--accent:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--paper) 18%, transparent),
    0 14px 28px -12px color-mix(in srgb, var(--primary) 75%, transparent);
}
.hh-btn--ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.hh-btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
  transform: translateY(-2px);
}
.hh-btn--on-accent {
  background: var(--paper);
  color: var(--brand-night);
}
.hh-btn--on-accent:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.hh-btn--ghost-white {
  color: var(--paper);
  border: 1px solid color-mix(in srgb, var(--paper) 45%, transparent);
}
.hh-btn--ghost-white:hover {
  background: color-mix(in srgb, var(--paper) 12%, transparent);
  border-color: var(--paper);
}
.hh-btn--arrow .i {
  transition: transform var(--dur-2) var(--ease-out);
}
.hh-btn--arrow:hover .i {
  transform: translateX(4px);
}

/* ── LAYOUT ──────────────────────────────────────────────────────── */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--site-pad);
}
.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
}
/* Rounded panel: the section's content sits in a large card inside the page width */
.section--alt {
  padding: clamp(16px, 3vw, 40px) 0;
}
/* A section that leads into a panel doesn't need its full bottom padding */
.section:has(+ .section--alt) {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.section--alt > .site-wrap {
  width: min(calc(var(--max-w) + 2 * var(--site-pad)), calc(100% - 2 * var(--gutter)));
  max-width: none;
  padding: clamp(48px, 6vw, 88px) var(--site-pad);
  border-radius: var(--radius-xl);
  background: var(--brand-fade);
}
#faq.section--alt > .site-wrap {
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.section-head {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.section-head .hh-lede {
  margin-top: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__logo {
  border-radius: 22%;
  flex-shrink: 0;
}
.brand__name {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* Wordmark: "homiya" with a heart for the dot of the i, then "health" in italic.
   The visible text is aria-hidden; screen readers get "HomiyaHealth". */
.wm {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.wm__i {
  position: relative;
}
.wm__heart {
  position: absolute;
  left: 50%;
  top: -0.06em;
  width: 0.42em;
  height: 0.38em;
  fill: var(--accent);
  translate: -50% 0;
  transform-origin: 50% 80%;
  transition: scale 0.4s var(--ease-spring);
}
.brand:hover .wm__heart {
  animation: heartbeat 0.9s var(--ease-out);
}
.wm__health {
  margin-left: 0.14em;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--accent-ink);
}
.mock-brand .brand__name {
  font-size: 14px;
}

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--dur-2),
    box-shadow var(--dur-2) var(--ease-out),
    background var(--dur-2);
  view-transition-name: site-nav;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 30px -26px color-mix(in srgb, var(--ink) 45%, transparent);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
}
.nav__brand {
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 999px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition:
    background var(--dur-2) var(--ease-out),
    color var(--dur-1);
}
.nav__link:hover {
  background: var(--brand-fade);
  color: var(--ink);
}
.nav__link.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__signin {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur-1);
}
.nav__signin:hover {
  color: var(--brand-deep);
}
.nav__cta-btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}
.nav__hamburger {
  display: none;
}
/* Mobile menu: grid rows animate open */
.nav__mobile {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows var(--dur-2) var(--ease-out),
    visibility 0s linear var(--dur-2);
}
.nav__mobile.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows var(--dur-2) var(--ease-out),
    visibility 0s;
}
.nav__mobile-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__mobile-inner > :first-child {
  margin-top: 8px;
}
.nav__mobile-inner > :last-child {
  margin-bottom: 18px;
}
.nav__mobile .nav__link {
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    background var(--dur-1);
}
.nav__mobile.is-open .nav__link {
  opacity: 1;
  transform: none;
}
.nav__mobile.is-open .nav__link:nth-child(2) {
  transition-delay: 40ms;
}
.nav__mobile.is-open .nav__link:nth-child(3) {
  transition-delay: 80ms;
}
.nav__mobile.is-open .nav__link:nth-child(4) {
  transition-delay: 120ms;
}
.nav__mobile-cta {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.nav__mobile-cta .hh-btn {
  flex: 1;
}
.burger {
  position: relative;
  display: block;
  width: 20px;
  height: 12px;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform var(--dur-2) var(--ease-out),
    opacity var(--dur-1);
}
.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 5px;
}
.burger span:nth-child(3) {
  top: 10px;
}
[aria-expanded='true'] .burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
[aria-expanded='true'] .burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}
[aria-expanded='true'] .burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Reading progress: a teal-to-apricot bar along the top edge */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 101;
  height: 3px;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(72px, 9vw, 128px) 0 clamp(64px, 8vw, 104px);
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      42% 50% at 12% 18%,
      color-mix(in srgb, var(--brand) 12%, transparent),
      transparent 70%
    ),
    radial-gradient(
      40% 48% at 90% 34%,
      color-mix(in srgb, var(--accent) 22%, transparent),
      transparent 70%
    ),
    radial-gradient(
      60% 40% at 50% 100%,
      color-mix(in srgb, var(--brand) 8%, transparent),
      transparent 70%
    );
}

/* Floating record chips: the product itself as the hero's decoration */
.hero__float {
  position: absolute;
  inset: 0;
  max-width: 1400px;
  margin: 0 auto;
}
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  text-align: left;
  translate: calc(var(--px, 0) * var(--depth, 10px)) calc(var(--py, 0) * var(--depth, 10px));
  transition: translate 0.9s var(--ease-out);
  animation:
    chip-in 0.9s var(--ease-out) both,
    bob var(--bob, 6s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--delay, 0.6s), calc(var(--delay, 0.6s) + 0.9s);
}
.float-chip__ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
}
.float-chip__title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}
.float-chip__sub {
  display: block;
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--muted);
}
.float-chip--1 {
  left: 2.5%;
  top: 104px;
  rotate: -5deg;
  --depth: 18px;
  --bob: 6.5s;
  --delay: 0.7s;
}
.float-chip--2 {
  right: 3%;
  top: 150px;
  rotate: 4deg;
  --depth: 26px;
  --bob: 7.5s;
  --delay: 0.85s;
}
.float-chip--3 {
  left: 3%;
  top: 500px;
  rotate: 3deg;
  --depth: 30px;
  --bob: 8s;
  --delay: 1s;
}
.float-chip--4 {
  right: 2.5%;
  top: 450px;
  rotate: -4deg;
  --depth: 14px;
  --bob: 6s;
  --delay: 1.15s;
}
.float-chip--5 {
  right: 6%;
  top: 640px;
  rotate: -2deg;
  --depth: 22px;
  --bob: 7s;
  --delay: 1.3s;
}

.hero__title {
  margin-bottom: 24px;
}
/* The apricot swoosh draws itself under the emphasised word */
.hero__accent {
  position: relative;
  white-space: nowrap;
}
.hero__accent::after {
  content: '';
  position: absolute;
  left: -0.02em;
  right: -0.04em;
  bottom: -0.08em;
  height: 0.2em;
  background: var(--accent);
  -webkit-mask: var(--swoosh) no-repeat center / 100% 100%;
  mask: var(--swoosh) no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0);
  animation: draw-in 1s var(--ease-out) 0.95s forwards;
}
.hero__sub {
  max-width: 56ch;
  margin: 0 auto 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero__kicker .i {
  color: var(--brand);
}

/* Dashboard preview: tilted back, flattens as it scrolls into view */
.hero__stage {
  position: relative;
  max-width: 980px;
  margin: clamp(52px, 7vw, 88px) auto 0;
  perspective: 1800px;
}
.hero__stage::before {
  content: '';
  position: absolute;
  inset: 14% 8% -6%;
  z-index: -1;
  border-radius: 48px;
  background:
    radial-gradient(
      ellipse at 30% 60%,
      color-mix(in srgb, var(--brand) 22%, transparent),
      transparent 65%
    ),
    radial-gradient(
      ellipse at 75% 55%,
      color-mix(in srgb, var(--accent) 30%, transparent),
      transparent 65%
    );
  filter: blur(36px);
}
.hero__tilt {
  transform: rotateX(var(--tilt, 0deg)) scale(var(--tilt-scale, 1));
  transform-origin: 50% 0;
  will-change: transform;
}
.hero__visual {
  margin: 0;
  overflow: hidden;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero__visual-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.hero__dot--r {
  background: var(--accent);
}
.hero__dot--y {
  background: var(--accent-light);
}
.hero__dot--g {
  background: var(--brand);
  opacity: 0.6;
}
.hero__url {
  flex: 1;
  min-width: 0;
  margin: 0 12px;
  padding: 5px 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.hero__mock {
  padding: 20px;
  background: var(--cream);
}

/* Mock dashboard (decorative) */
.mock-dash {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  height: 330px;
}
.mock-sidebar,
.mock-stat,
.mock-panel {
  background: var(--paper);
  border: 1px solid var(--border);
}
.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 12px;
  overflow: hidden;
}
.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 4px 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mock-brand .brand__logo {
  border-radius: 6px;
}
.mock-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ink-soft);
}
.mock-nav--on {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}
.mock-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.mock-stat {
  padding: 10px 12px;
  border-radius: 10px;
}
.mock-stat__val {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-deep);
}
.mock-stat__lab {
  margin-top: 4px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.mock-panel {
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
}
.mock-panel__head {
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
}
.mock-row:last-child {
  border-bottom: 0;
}
.mock-ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex-shrink: 0;
}
.mock-ico--initial {
  border-radius: 999px;
  font-weight: 700;
  font-size: 10px;
}
.mock-row-info {
  flex: 1;
  min-width: 0;
}
.mock-row-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  color: var(--ink);
}
.mock-row-sub {
  margin-top: 1px;
  font-size: 9.5px;
  color: var(--muted);
}
.mock-chip {
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── SAFETY STRIP: a rounded bar, not a band ────────────────────── */
.logostrip {
  padding: 8px 0 0;
}
.logostrip > .site-wrap {
  max-width: calc(var(--max-w) + 2 * var(--site-pad));
}
.logostrip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 26px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.logostrip__label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.logostrip__sep {
  width: 1px;
  height: 20px;
  background: var(--border-strong);
}
.logostrip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
}
.logostrip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.logostrip__item .i {
  color: var(--brand);
}

/* ── FEATURES ────────────────────────────────────────────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.feat-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px 28px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out),
    border-color var(--dur-2);
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
}
/* Warm light under the pointer */
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 0%),
    color-mix(in srgb, var(--accent) 14%, transparent),
    transparent 55%
  );
  opacity: 0;
  transition: opacity var(--dur-2);
}
.feat-card:hover::before {
  opacity: 1;
}
.feat-card__ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  transition: transform 0.6s var(--ease-spring);
}
.feat-card:nth-child(even) .feat-card__ico {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.feat-card:hover .feat-card__ico {
  transform: translateY(-3px) rotate(-6deg);
}
.feat-card__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.feat-card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── EVERY GENERATION: one roof over the whole family ───────────── */
.family__home {
  position: relative;
  margin-top: 48px;
  padding-top: 72px;
}
/* The roof line draws itself over the family (house shape from the logo) */
.family__roof {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 96px;
  overflow: visible;
}
.family__roof path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
/* A heart at the peak of the roof */
.family__heart {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: 0 0 0 5px var(--cream);
  translate: -50% -50%;
}
.js .family__heart {
  scale: 0;
  transition: scale 0.6s var(--ease-spring) 1.6s;
}
.js .family__home.is-in .family__heart {
  scale: 1;
}
.family__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member {
  padding: 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.member__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 22px;
  font-weight: 700;
  box-shadow:
    0 0 0 4px var(--paper),
    0 0 0 5px var(--border);
  transition: transform 0.6s var(--ease-spring);
}
.member:hover .member__avatar {
  transform: rotate(-8deg) scale(1.06);
}
.member__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.member__meta {
  margin: 2px 0 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.member__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.member__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}
.member__item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.member__ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  flex-shrink: 0;
}
.family__note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* ── HOW IT WORKS (inside a teal panel) ─────────────────────────── */
.how__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
/* Dashed path between the step badges; it draws from left to right */
.how__connector {
  position: absolute;
  top: 54px;
  left: 16%;
  right: 16%;
  height: 0;
  border-top: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent);
}
.how__step {
  position: relative;
  z-index: 1;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  text-align: center;
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.how__step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.how__num {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin: 0 auto 18px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--brand-soft);
  transition: transform 0.6s var(--ease-spring);
}
.how__step:hover .how__num {
  transform: rotate(-8deg) scale(1.05);
}
.how__step-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.how__step-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.how__checklist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.how__check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.how__check-ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-primary);
}

/* ── PRODUCT FACTS: four tiles ───────────────────────────────────── */
.stats {
  padding: clamp(40px, 5vw, 64px) 0 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--site-pad);
}
.stat-box {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  text-align: left;
}
.stat-box:nth-child(even) {
  background: var(--accent-soft);
  border-color: transparent;
}
.stat-box__val {
  font-size: clamp(40px, 4.2vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--brand-deep);
  font-variant-numeric: tabular-nums;
}
.stat-box__unit {
  margin-left: 0.12em;
  font-size: 0.42em;
  letter-spacing: -0.01em;
}
.stat-box__lab {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* ── SPLIT SECTION ───────────────────────────────────────────────── */
.split {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
/* A soft apricot blob behind the visual that slowly changes shape */
.split::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -6%;
  width: 560px;
  aspect-ratio: 1;
  background: radial-gradient(
    circle at 40% 40%,
    color-mix(in srgb, var(--accent) 34%, transparent),
    color-mix(in srgb, var(--accent-soft) 60%, transparent) 60%,
    transparent 72%
  );
  border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%;
  translate: 0 -50%;
  animation: morph 16s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
.split__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.split__content .hh-eyebrow {
  margin-bottom: 0;
}
.split__body {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.split__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.split__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
}
.split__item-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -4px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.split__visual {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.split__visual-inner {
  padding: 26px;
}
.split__panel {
  margin-bottom: 18px;
}
.split__panel--rule {
  margin-bottom: 0;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.panel-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.rt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  gap: 8px;
}
.rt-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform var(--dur-2) var(--ease-spring);
}
.rt-chip:hover {
  transform: translateY(-2px) rotate(-1deg);
}
.feed__row {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.feed__row:last-child {
  border-bottom: 0;
}
.feed__dot {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  flex-shrink: 0;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.feed__row:first-child .feed__dot {
  animation: pulse 2.6s var(--ease-out) infinite;
}
.feed__text {
  color: var(--ink);
}
.feed__time {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ── OUR PROMISES: a warm panel ─────────────────────────────────── */
.promises > .site-wrap {
  background: color-mix(in srgb, var(--accent-soft) 55%, var(--paper));
}
.promises__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.promises__intro {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.promises__intro .hh-lede {
  margin-top: 16px;
}
.promises__intro a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.promises__sign {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--brand-deep);
}
.promises__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.promise {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.promise:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.promise__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.promise:nth-child(even) .promise__ico {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.promise__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.promise__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── FAQ: cards with a chevron ──────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
  margin: 48px auto 0;
}
.faq__item {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid transparent;
  transition:
    background var(--dur-2),
    border-color var(--dur-2),
    box-shadow var(--dur-2);
}
.faq__item:hover {
  border-color: var(--border-strong);
}
.faq__item[open] {
  background: var(--paper);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow-md);
}
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq__q::-webkit-details-marker {
  display: none;
}
/* Chevron drawn with two borders */
.faq__q::after {
  content: '';
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform var(--dur-2) var(--ease-out);
  color: var(--muted);
}
.faq__item[open] > .faq__q {
  color: var(--brand-deep);
}
.faq__item[open] > .faq__q::after {
  transform: translateY(2px) rotate(-135deg);
  color: var(--brand-deep);
}
.faq__q:focus-visible {
  outline-offset: -2px;
}
.faq__a {
  padding: 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.faq__a p {
  margin: 0;
}
.faq__a a {
  color: var(--brand-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

/* ── CTA: a rounded teal card with the logo's house as a pattern ─── */
.cta {
  padding-top: 0;
}
.cta-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 72px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      50% 70% at 85% 10%,
      color-mix(in srgb, var(--accent) 32%, transparent),
      transparent 70%
    ),
    radial-gradient(
      60% 80% at 10% 100%,
      color-mix(in srgb, var(--brand) 55%, transparent),
      transparent 70%
    ),
    var(--brand-night);
  color: var(--paper);
  text-align: center;
}
.cta__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  opacity: 0.07;
  -webkit-mask: var(--kolam) 0 0 / 64px 64px repeat;
  mask: var(--kolam) 0 0 / 64px 64px repeat;
  animation: drift 40s linear infinite;
}
.cta-section__title {
  margin-bottom: 18px;
  color: var(--paper);
}
.cta-section__title .hh-italic {
  color: var(--accent-light);
}
.cta-section__sub {
  max-width: 46ch;
  margin: 0 auto 36px;
  font-size: 17px;
  color: color-mix(in srgb, var(--paper) 84%, transparent);
}
.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ── WAITLIST (D135): the form inside the teal CTA card ──────────── */
.waitlist {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
/* Without JavaScript the form can't pass the bot check; the email line below it still works */
html:not(.js) .waitlist {
  display: none;
}
.waitlist__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto;
  align-items: end;
  gap: 12px;
}
.waitlist.is-done .waitlist__row {
  display: none;
}
.waitlist__field {
  display: grid;
  gap: 6px;
}
.waitlist__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--paper);
}
.waitlist__opt {
  font-weight: 400;
  color: color-mix(in srgb, var(--paper) 78%, transparent);
}
.waitlist__input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--paper) 35%, transparent);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px; /* no zoom on phones */
  transition:
    border-color var(--dur-1) var(--ease-out),
    box-shadow var(--dur-1) var(--ease-out);
}
.waitlist__input:focus {
  outline: none;
  border-color: var(--accent-light);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-light) 55%, transparent);
}
.waitlist__input[aria-invalid='true'] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 60%, transparent);
}
.waitlist__submit {
  min-height: 52px;
}
.waitlist__submit:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.waitlist__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist__check:not(:empty) {
  margin-top: 12px;
}
.waitlist__status {
  min-height: 1.5em;
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  color: color-mix(in srgb, var(--paper) 90%, transparent);
}
.waitlist__status[data-tone='ok'] {
  font-size: 17px;
  color: var(--paper);
}
.waitlist__status[data-tone='error'] {
  color: var(--accent-light);
}
.waitlist__note {
  max-width: 60ch;
  margin: 14px auto 0;
  font-size: 13.5px;
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
.waitlist__note a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 768px) {
  .waitlist__row {
    grid-template-columns: minmax(0, 1fr);
  }
  .waitlist__submit {
    width: 100%;
  }
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  padding: 24px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__tagline {
  max-width: 30ch;
  margin: 14px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--brand-deep);
}
.footer__col-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer__link {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color var(--dur-1);
}
.footer__link:hover {
  color: var(--brand-deep);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}
.footer__legal {
  display: flex;
  gap: 22px;
}
.footer__legal a {
  color: var(--ink-soft);
  transition: color var(--dur-1);
}
.footer__legal a:hover {
  color: var(--brand-deep);
}

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition:
    opacity var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out),
    background var(--dur-1);
}
.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  background: var(--primary-hover);
}
.to-top .i {
  transition: transform var(--dur-2) var(--ease-out);
}
.to-top:hover .i {
  transform: translateY(-3px);
}

/* ── LEGAL ───────────────────────────────────────────────────────── */
.legal {
  padding: 48px 0 96px;
}
.legal__layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.legal__wrap {
  max-width: 780px;
}
.legal__toc {
  position: sticky;
  top: calc(var(--nav-h) + 28px);
  padding: 18px 14px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  font-size: 14px;
}
.legal__toc-title {
  margin: 0 0 8px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.legal__toc a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  line-height: 1.35;
  color: var(--muted);
  transition:
    background var(--dur-1),
    color var(--dur-1);
}
.legal__toc a:hover {
  background: var(--cream);
  color: var(--ink);
}
.legal__toc a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-weight: 600;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.crumbs a {
  color: var(--ink-soft);
}
.crumbs a:hover {
  color: var(--brand-deep);
}
.legal__draft {
  margin-bottom: 30px;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--warn-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.legal__draft a {
  color: var(--warn-ink);
  text-decoration: underline;
}
.legal__title {
  margin: 0 0 10px;
}
.legal__updated {
  margin: 0 0 26px;
  font-size: 14px;
  color: var(--muted);
}
.legal__intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.legal__intro a,
.legal__body a {
  color: var(--brand-deep);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.legal__body h2 {
  margin: 44px 0 12px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.legal__body h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}
.legal__body p {
  margin: 0 0 14px;
}
.legal__body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  padding-left: 22px;
  list-style: disc;
}
.legal__body li::marker {
  color: var(--accent);
}
.legal__body strong {
  color: var(--ink);
}
.legal__ph {
  padding: 0 4px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--warn-ink);
  font-weight: 600;
}
.legal__table-wrap {
  overflow-x: auto;
  margin: 10px 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--paper);
}
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.legal__table tr:last-child td {
  border-bottom: 0;
}
.legal__table th {
  background: var(--surface-2);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.legal__table code {
  font-family: var(--mono);
  font-size: 12.5px;
  white-space: nowrap;
  color: var(--ink);
}
.legal__body h2:target,
.legal__body h2.is-flash {
  animation: flash 1.8s var(--ease-out);
  border-radius: 8px;
}

/* ── 404 ─────────────────────────────────────────────────────────── */
.notfound {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(90px, 12vw, 170px) 0;
  text-align: center;
}
.notfound__code {
  margin: 0 0 10px;
  font-size: clamp(88px, 14vw, 170px);
  line-height: 1;
  color: var(--accent);
}
.notfound__sub {
  max-width: 48ch;
  margin: 22px auto 36px;
}
.notfound__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ════════════════════════════════════════════════════════════════════
   MOTION: transform and opacity only; all of it stops under
   prefers-reduced-motion (end of file). Without JS everything shows.
   ════════════════════════════════════════════════════════════════════ */

/* Hero entrance: CSS only, plays before any script */
.enter {
  animation: rise var(--dur-3) var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}
.enter--rise {
  animation-name: rise-big;
  animation-duration: 1.2s;
}
.hero__line {
  display: block;
  overflow: hidden;
  padding: 0 0.08em 0.14em;
  margin: 0 -0.08em -0.14em;
}
.hero__line > span {
  display: inline-block;
  animation: line-up 1s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 110ms + 60ms);
}

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 75ms);
}
.js [data-reveal='left'] {
  transform: translateX(-36px);
}
.js [data-reveal='right'] {
  transform: translateX(36px);
}
.js [data-reveal='pop'] {
  transform: scale(0.86);
  transition-timing-function: var(--ease-spring);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
/* How it works: the dashed path draws across */
.js .how__connector {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.6s var(--ease-in-out) 0.3s;
}
.js .how__grid.is-in .how__connector {
  clip-path: inset(0 0 0 0);
}
/* The family's roof draws itself */
.js .family__roof path {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.8s var(--ease-in-out) 0.2s;
}
.js .family__home.is-in .family__roof path {
  stroke-dashoffset: 0;
}
/* The blob behind split visuals grows in */
.js .split::after {
  opacity: 0;
  scale: 0.7;
  transition:
    opacity 1.2s var(--ease-out),
    scale 1.4s var(--ease-out);
}
.js .split.is-in::after {
  opacity: 1;
  scale: 1;
}

/* Smooth page-to-page transitions */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: var(--ease-out);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes rise-big {
  from {
    opacity: 0;
    transform: translateY(70px) scale(0.96);
  }
}
@keyframes line-up {
  from {
    opacity: 0;
    transform: translateY(105%);
  }
}
@keyframes draw-in {
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes chip-in {
  from {
    opacity: 0;
    scale: 0.8;
  }
}
@keyframes bob {
  from {
    transform: translateY(-7px);
  }
  to {
    transform: translateY(7px);
  }
}
@keyframes morph {
  0% {
    border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%;
    rotate: 0deg;
  }
  50% {
    border-radius: 58% 42% 40% 60% / 56% 60% 40% 44%;
  }
  100% {
    border-radius: 40% 60% 52% 48% / 60% 42% 58% 40%;
    rotate: 25deg;
  }
}
@keyframes drift {
  to {
    -webkit-mask-position: 64px 64px;
    mask-position: 64px 64px;
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent);
  }
  70%,
  100% {
    box-shadow: 0 0 0 9px color-mix(in srgb, var(--brand) 0%, transparent);
  }
}
@keyframes spin {
  to {
    rotate: 1turn;
  }
}
@keyframes heartbeat {
  0%,
  100% {
    scale: 1;
  }
  30% {
    scale: 1.35;
  }
  55% {
    scale: 0.95;
  }
  75% {
    scale: 1.15;
  }
}
@keyframes flash {
  from {
    background: var(--accent-soft);
  }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .hero__float {
    display: none;
  }
}
@media (max-width: 1080px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .family__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 960px) {
  .legal__layout {
    grid-template-columns: 1fr;
  }
  .legal__toc {
    display: none;
  }
}
@media (min-width: 901px) {
  .nav__mobile {
    display: none;
  }
}
@media (max-width: 900px) {
  .promises__layout {
    grid-template-columns: 1fr;
  }
  .promises__intro {
    position: static;
  }
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__inner {
    justify-content: space-between;
  }
  .nav__hamburger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--border);
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split::after {
    display: none;
  }
  .how__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how__connector {
    display: none;
  }
  .how__step {
    display: flex;
    gap: 18px;
    text-align: left;
  }
  .how__num {
    margin: 0;
    flex-shrink: 0;
  }
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__stage::before {
    display: none;
  }
  .logostrip__inner {
    border-radius: var(--radius-lg);
  }
}
@media (max-width: 768px) {
  .hero {
    text-align: left;
  }
  .hero__actions {
    justify-content: flex-start;
  }
  .hero__sub {
    margin-left: 0;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .feat-card {
    padding: 24px 22px;
  }
  .mock-dash {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mock-sidebar {
    display: none;
  }
  .mock-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mock-panels {
    grid-template-columns: 1fr;
  }
  .split__visual-inner {
    padding: 18px;
  }
  .section--alt > .site-wrap {
    border-radius: var(--radius-lg);
    padding-left: 20px;
    padding-right: 20px;
  }
  .cta-section {
    border-radius: var(--radius-lg);
  }
}
@media (max-width: 480px) {
  .family__grid,
  .promises__grid {
    grid-template-columns: 1fr;
  }
  .family__roof,
  .family__heart {
    display: none;
  }
  .family__home {
    padding-top: 0;
  }
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .logostrip__sep {
    display: none;
  }
  .logostrip__label {
    white-space: normal;
    text-align: center;
  }
  .hero__mock {
    padding: 12px;
  }
  .hero__visual {
    border-radius: 16px;
  }
  .hero__url {
    margin: 0 4px;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat-box {
    padding: 20px 16px;
  }
  .stat-box__val {
    font-size: 38px;
  }
}
@media (hover: none) {
  .feat-card::before {
    display: none;
  }
}
@media (pointer: coarse) {
  .footer__link,
  .footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .footer__links {
    gap: 0;
  }
}

/* ════════════════════════════════════════════════════════════════════
   INDIAN AND FAMILY TOUCHES
   ════════════════════════════════════════════════════════════════════ */

/* Hindi tagline (Noto Sans Devanagari, subset to its own letters) */
.hero__hindi,
.footer__hindi {
  font-family: 'Noto Sans Devanagari', var(--sans);
  font-weight: 500;
}
.hero__hindi {
  margin: -8px 0 22px;
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--accent-ink);
}
.footer__hindi {
  margin: 4px 0 0;
  font-size: 15px;
  color: var(--accent-ink);
}

/* Illustrated avatars */
.member__avatar {
  overflow: hidden;
}
.member__avatar svg {
  width: 100%;
  height: 100%;
}
.av-skin {
  fill: var(--skin, var(--skin-1));
}
.av-ink {
  fill: var(--ink);
}
.av-line,
.av-glass,
.av-collar {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.av-line {
  stroke: var(--ink);
  stroke-width: 1.3;
}
.av-line--thick {
  stroke-width: 2;
}
.av-glass {
  stroke: var(--ink);
  stroke-width: 1;
}
.av-collar {
  stroke: var(--paper);
  stroke-width: 1.5;
}
.av-hair {
  fill: var(--hair);
}
.av-hair-grey {
  fill: var(--hair-grey);
}
.av-saree {
  fill: var(--accent);
}
.av-kurta {
  fill: var(--brand);
}
.av-dupatta {
  fill: var(--accent-light);
}
.av-tee {
  fill: var(--brand-soft);
}

/* ── Sound familiar? The file bag sorts itself ─────────────────── */
.story__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-deep);
}
.sorter {
  position: relative;
  height: 420px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.sorter__bag {
  position: absolute;
  left: 5%;
  top: 130px;
  width: 38%;
  height: 250px;
  transition:
    opacity 0.8s var(--ease-out),
    translate 0.8s var(--ease-out);
}
.sorter__bag-body {
  fill: color-mix(in srgb, var(--accent-soft) 70%, var(--paper));
  stroke: var(--accent);
  stroke-width: 2;
}
.sorter__bag-handle,
.sorter__bag-fold {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
}
.sorter__bag-fold {
  stroke-dasharray: 4 6;
}
/* Final state (and the no-JS state): a tidy list on the right */
.paper {
  position: absolute;
  left: 47%;
  width: 49%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transform-origin: 0 0;
  transition:
    transform 1.1s var(--ease-out),
    box-shadow 0.6s;
  transition-delay: calc(var(--n) * 120ms);
}
.paper--1 {
  --n: 0;
  top: 32px;
}
.paper--2 {
  --n: 1;
  top: 120px;
}
.paper--3 {
  --n: 2;
  top: 208px;
}
.paper--4 {
  --n: 3;
  top: 296px;
}
.paper__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}
.paper__text {
  flex: 1;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}
.paper__text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.paper__check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-primary);
  transition:
    scale 0.5s var(--ease-spring),
    opacity 0.3s;
  transition-delay: calc(var(--n) * 120ms + 0.9s);
}
.sorter__replay {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition:
    color var(--dur-1),
    border-color var(--dur-1);
}
.sorter__replay:hover {
  color: var(--brand-deep);
  border-color: var(--brand);
}
.sorter__replay .i {
  rotate: -90deg;
}
/* Before: papers piled in the bag (only with JS, which then sorts them) */
.js .sorter:not(.is-in) .paper {
  box-shadow: var(--shadow-sm);
  transition-delay: 0s;
}
.js .sorter:not(.is-in) .paper--1 {
  transform: translate(-82%, 190px) rotate(-13deg) scale(0.62);
}
.js .sorter:not(.is-in) .paper--2 {
  transform: translate(-76%, 112px) rotate(9deg) scale(0.62);
}
.js .sorter:not(.is-in) .paper--3 {
  transform: translate(-86%, 48px) rotate(-4deg) scale(0.62);
}
.js .sorter:not(.is-in) .paper--4 {
  transform: translate(-74%, -18px) rotate(12deg) scale(0.62);
}
.js .sorter:not(.is-in) .paper__check {
  scale: 0;
  opacity: 0;
  transition-delay: 0s;
}
.js .sorter.is-in .sorter__bag {
  opacity: 0.35;
  translate: 0 12px;
}

/* ── Kolam divider: dots, then the looping lines draw around them ── */
.kolam {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--site-pad);
}
.kolam svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.kolam__line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.kolam__line--b {
  stroke: var(--brand);
  opacity: 0.55;
}
.kolam__dots circle {
  fill: var(--brand-deep);
}
.js .kolam .kolam__line {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.2s var(--ease-in-out) 0.3s;
}
.js .kolam .kolam__line--b {
  transition-delay: 0.7s;
}
.js .kolam.is-in .kolam__line {
  stroke-dashoffset: 0;
}
.js .kolam .kolam__dots circle {
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.js .kolam.is-in .kolam__dots circle {
  opacity: 1;
}
.js .kolam.is-in .kolam__dots circle:nth-child(2n) {
  transition-delay: 0.12s;
}

/* ── Family chat ────────────────────────────────────────────────── */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 520px;
  margin: 28px auto 0;
}
.bubble {
  position: relative;
  max-width: 78%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
}
.bubble__who {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 700;
}
.bubble--left {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: var(--paper);
  border: 1px solid var(--border);
  color: var(--ink);
}
.bubble--left .bubble__who {
  color: var(--accent-ink);
}
.bubble--right {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--primary);
  color: var(--on-primary);
}
.bubble--right .bubble__who {
  color: var(--accent-light);
}
.bubble--right .bubble__body {
  position: relative;
  display: block;
}
.bubble__typing {
  display: none;
}
/* With JS: Dadi asks, Papa types, then answers */
.js .chat .bubble {
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 0.5s var(--ease-out),
    translate 0.5s var(--ease-out);
}
.js .chat.is-in .bubble {
  opacity: 1;
  translate: 0 0;
}
.js .chat .bubble--right {
  transition-delay: 0.9s;
}
/* Typing dots sit over the reply, then crossfade into it (opacity only, works everywhere) */
.js .chat .bubble__typing {
  position: absolute;
  left: 0;
  top: 50%;
  display: inline-flex;
  gap: 4px;
  translate: 0 -50%;
}
.bubble__typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.6;
  animation: typing 1s var(--ease-in-out) infinite;
}
.bubble__typing span:nth-child(2) {
  animation-delay: 0.15s;
}
.bubble__typing span:nth-child(3) {
  animation-delay: 0.3s;
}
.js .chat .bubble__text {
  opacity: 0;
}
.js .chat.is-in .bubble__typing {
  animation: fade-out 0.3s var(--ease-out) 2.2s forwards;
}
.js .chat.is-in .bubble__text {
  animation: fade-in 0.4s var(--ease-out) 2.3s forwards;
}

/* ── Price and payment notes ────────────────────────────────────── */
.stats__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  max-width: var(--max-w);
  margin: 22px auto 0;
  padding: 0 var(--site-pad);
}
.stats__notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.stats__notes .i {
  color: var(--accent-ink);
}

/* ── Far from home ──────────────────────────────────────────────── */
.away__map {
  position: relative;
  height: 340px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      60% 70% at 20% 80%,
      color-mix(in srgb, var(--brand) 10%, transparent),
      transparent 70%
    ),
    radial-gradient(
      60% 70% at 85% 80%,
      color-mix(in srgb, var(--accent) 18%, transparent),
      transparent 70%
    ),
    var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
/* Arc and dot share one fixed box, so the dot's path matches the drawn arc exactly */
.away__route {
  position: absolute;
  left: 50%;
  top: 40px;
  width: 400px;
  height: 220px;
  translate: -50% 0;
}
.away__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.away__arc path {
  fill: none;
  stroke: color-mix(in srgb, var(--brand) 50%, transparent);
  stroke-width: 2;
  stroke-dasharray: 0.012 0.012;
  vector-effect: non-scaling-stroke;
}
/* A dot travels the arc from home to you, again and again */
.away__plane {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 25%, transparent);
  offset-path: path('M60 170C120 30 280 30 340 170');
  offset-rotate: 0deg;
  animation: travel 4.5s var(--ease-in-out) infinite;
}
.place {
  position: absolute;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--muted);
}
.place strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.place__ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.place--home {
  left: 6%;
}
.place--you {
  right: 6%;
}
.place--you .place__ico {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.away__toast {
  position: absolute;
  top: 26px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  translate: -50% 0;
  animation: bob 6s var(--ease-in-out) infinite alternate;
}
.away__toast strong {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
}
.away__toast-ico {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

/* ── Moments that matter ────────────────────────────────────────── */
.moments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.moment {
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  transition:
    transform var(--dur-2) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out);
}
.moment:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.moment__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
}
.moment__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.moment__body {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ── Block-print band (Jaipur-style) above the footer ───────────── */
.print-band {
  height: 16px;
  margin-bottom: 40px;
  background: linear-gradient(90deg, var(--brand), var(--accent) 50%, var(--brand));
  opacity: 0.55;
  -webkit-mask: var(--print) 0 0 / 40px 16px repeat-x;
  mask: var(--print) 0 0 / 40px 16px repeat-x;
}

@keyframes typing {
  0%,
  100% {
    translate: 0 0;
    opacity: 0.4;
  }
  50% {
    translate: 0 -3px;
    opacity: 1;
  }
}
@keyframes fade-out {
  to {
    opacity: 0;
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
@keyframes travel {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@media (max-width: 1080px) {
  .moments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 900px) {
  .away .split__content {
    order: -1;
  }
}
@media (max-width: 600px) {
  /* Small screens: no pile, just the sorted list */
  .sorter {
    height: auto;
    padding: 18px 18px 64px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .sorter__bag {
    display: none;
  }
  .paper,
  .js .sorter:not(.is-in) .paper--1,
  .js .sorter:not(.is-in) .paper--2,
  .js .sorter:not(.is-in) .paper--3,
  .js .sorter:not(.is-in) .paper--4 {
    position: static;
    width: 100%;
    transform: none;
  }
  .js .sorter:not(.is-in) .paper {
    opacity: 0;
  }
  .paper {
    transition: opacity 0.6s var(--ease-out) calc(var(--n) * 120ms);
  }
  .away__map {
    height: 300px;
  }
  .away__toast {
    top: 18px;
  }
  .place {
    bottom: 22px;
  }
  .place--home {
    left: 4%;
  }
  .place--you {
    right: 4%;
  }
  .moments__grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .sorter:not(.is-in) .paper {
    transform: none;
    opacity: 1;
  }
  .js .sorter .paper__check {
    scale: 1;
    opacity: 1;
  }
  .js .kolam .kolam__line {
    stroke-dashoffset: 0;
  }
  .js .kolam .kolam__dots circle,
  .js .chat .bubble {
    opacity: 1;
    translate: 0 0;
  }
  .js .chat .bubble__typing {
    display: none;
  }
  .js .chat .bubble__text {
    opacity: 1;
  }
  .away__plane {
    display: none;
  }
}

/* ── A NOTE FROM THE FOUNDER ───────────────────────────────────── */
.founder__card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.founder__portrait {
  position: relative;
  width: 220px;
  aspect-ratio: 1;
  margin: 0 auto;
}
.founder__svg {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 999px;
  background: var(--brand-soft);
  overflow: hidden;
}
/* A dashed apricot ring turns slowly around the portrait */
.founder__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px dashed color-mix(in srgb, var(--accent) 70%, transparent);
  animation: spin 40s linear infinite;
}
.fd-skin {
  fill: var(--skin-fair);
}
.fd-hair,
.fd-beard {
  fill: var(--hair);
}
.fd-hair-shine {
  fill: none;
  stroke: color-mix(in srgb, var(--paper) 22%, transparent);
  stroke-width: 3;
  stroke-linecap: round;
}
.fd-shirt {
  fill: var(--brand);
}
.fd-collar,
.fd-mouth,
.fd-brow,
.fd-glass {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fd-collar {
  stroke: var(--paper);
  stroke-width: 3;
}
.fd-mouth {
  stroke: var(--skin-2);
  stroke-width: 2.6;
}
.fd-brow {
  stroke: var(--hair);
  stroke-width: 3;
}
.fd-eye {
  fill: var(--ink);
}
.fd-glass {
  stroke: var(--ink);
  stroke-width: 2.6;
}
.founder__body .hh-eyebrow {
  margin-bottom: 14px;
}
.founder__title {
  font-size: clamp(28px, 3vw, 40px);
}
.founder__quote {
  position: relative;
  margin: 18px 0 22px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.founder__quote p {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.65;
  color: var(--ink);
}
.founder__sign {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* The name as a signature, with the same apricot swoosh as the hero */
.founder__name {
  position: relative;
  align-self: flex-start;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 34px;
  line-height: 1.1;
  color: var(--brand-deep);
}
.founder__name::after {
  content: '';
  position: absolute;
  left: 0;
  right: -6px;
  bottom: -4px;
  height: 8px;
  background: var(--accent);
  -webkit-mask: var(--swoosh) no-repeat center / 100% 100%;
  mask: var(--swoosh) no-repeat center / 100% 100%;
}
.founder__role {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 760px) {
  .founder__card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .founder__portrait {
    width: 150px;
    margin: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .founder__ring {
    animation: none;
  }
}

/* ── REDUCED MOTION ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .js .split::after {
    opacity: 1;
    scale: 1;
  }
  .js .how__connector {
    clip-path: none;
  }
  .js .family__roof path {
    stroke-dashoffset: 0;
  }
  .js .family__heart {
    scale: 1;
  }
  .hero__tilt {
    transform: none;
  }
  .float-chip {
    translate: none;
  }
  .split::after,
  .cta__pattern,
  .float-chip {
    animation: none;
  }
  .hero__accent::after {
    clip-path: none;
  }
  @view-transition {
    navigation: none;
  }
}

/* ── PRINT ───────────────────────────────────────────────────────── */
@media print {
  body {
    background: #fff;
  }
  .nav,
  .progress,
  .to-top,
  .hero__bg,
  .cta__pattern,
  .legal__toc,
  .skip-link {
    display: none !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .hero__tilt {
    transform: none;
  }
}
