/* ==========================================================================
   Gaurava marketing site
   Design read: premium-consumer health/wellness landing, calm color-block
   story (navy / cream / coral / periwinkle), brush-script accent.
   Dials: VARIANCE 7 / MOTION 5 / DENSITY 3.

   Locks
   - Accent: ONE accent, coral (--coral), used for every interactive accent.
     Periwinkle and coral-bg are section block backgrounds (Color Block Story),
     never random accents.
   - Shape: pill for interactive (buttons, chips, badges), 22px for panels/cards,
     device keeps its own bezel radius. Documented and followed everywhere.
   - Theme: deliberate Color Block Story (the brand's App Store signature).
     Every block carries cream text on dark/colored blocks, ink text on cream.
   ========================================================================== */

/* ---- Fonts (self-hosted variable, brand-matched) ----------------------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/Caveat.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --navy:       #1b2336;
  --navy-700:   #161d2e;
  --navy-600:   #232c44;
  --navy-500:   #2c3754;
  --cream:      #f5efdf;
  --cream-200:  #efe7d2;
  --cream-300:  #e7ddc4;
  --coral:      #f26a50;   /* the one accent */
  --coral-deep: #dc5340;   /* coral block bg (contrast-tuned) */
  --peri:       #8b7bff;   /* periwinkle block bg */
  --peri-deep:  #7b6bf2;
  --teal:       #2c7a6b;   /* app green, used inside light cards only */
  --ink:        #1b2336;
  --ink-soft:   #4a5266;

  --r-card: 22px;
  --r-sm:   14px;
  --r-pill: 999px;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 148px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 30px 60px -30px rgba(12, 16, 26, 0.55);
  --shadow-card: 0 18px 40px -24px rgba(12, 16, 26, 0.35);
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--navy);
  color: var(--cream);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---- Type -------------------------------------------------------------- */
.display {
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 6.2vw, 4.3rem);
  margin: 0;
}
.script {
  font-family: "Caveat", "Inter", cursive;
  font-weight: 700;
  color: var(--coral);
  letter-spacing: 0;
  line-height: 0.95;
  display: inline-block;
}
.eyebrow {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.7;
  margin: 0 0 0.9rem;
}
.lead { font-size: clamp(1.06rem, 1.7vw, 1.28rem); line-height: 1.5; opacity: 0.9; max-width: 34ch; }
.muted { opacity: 0.72; }

/* squiggle accent */
.squiggle {
  color: var(--coral);
  width: clamp(110px, 16vw, 190px);
  height: auto;
  display: block;
}
.squiggle path {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  transition: stroke-dashoffset 1.1s var(--ease) 0.25s;
}
.reveal.in .squiggle path,
.squiggle.draw path { stroke-dashoffset: 0; }

/* ---- Buttons / badges / chips ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--cream) 28%, transparent);
  color: var(--cream);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); border-color: color-mix(in srgb, var(--cream) 45%, transparent); }

/* "Coming soon" store badge (honest placeholder, not a live link) */
.badge-store {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--cream);
  color: var(--ink);
  padding: 0.7rem 1.15rem;
  border-radius: 16px;       /* store-badge shape exception, documented */
  box-shadow: var(--shadow-card);
}
.badge-store .apple { width: 22px; height: 22px; fill: var(--ink); }
.badge-store .small { font-size: 0.66rem; line-height: 1; opacity: 0.7; font-weight: 600; letter-spacing: 0.02em; }
.badge-store .big { font-size: 1.06rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.badge-store .col { display: flex; flex-direction: column; gap: 2px; }

.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.92rem; font-weight: 600;
  background: color-mix(in srgb, var(--cream) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent);
}
.chip .icon { color: var(--coral); font-size: 1.1rem; }

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: color-mix(in srgb, var(--cream) 12%, transparent);
  background: color-mix(in srgb, var(--navy) 90%, transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-weight: 500; opacity: 0.82; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: inline-flex; align-items: center; gap: 0.5rem; }
.nav-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.92rem;
  background: var(--cream); color: var(--ink);   /* high-contrast; coral kept as the dot only */
}
.nav-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* ---- Sections (color blocks) ------------------------------------------ */
section { position: relative; }
.block { padding-block: var(--section-y); }
.block-navy   { background: var(--navy);      color: var(--cream); }
.block-cream  { background: var(--cream);     color: var(--ink); }
.block-coral  { background: var(--coral-deep); color: var(--cream); }
.block-peri   { background: var(--peri);      color: #fff; }
.block-cream .lead, .block-cream .muted { color: var(--ink-soft); opacity: 1; }
.block-cream .eyebrow { opacity: 0.55; }
/* Mid-tone coral/periwinkle blocks: only LARGE text sits on the color (AA-large);
   all small/detailed copy lives inside light cards. */
.block-coral .lead, .block-peri .lead {
  opacity: 1; font-weight: 500; max-width: 22ch;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.38;
}
/* Accent must stay legible on the colored blocks: coral-on-coral and
   coral-on-periwinkle have almost no luminance contrast, so the emphasis
   adapts to cream/white here (the deck does the same on its coral slide). */
.block-coral .lead, .block-coral .script { color: var(--cream); }
.block-peri  .lead, .block-peri  .script { color: #fff; }

.section-head { max-width: 60ch; }
.section-head .display { margin-bottom: 0.4rem; }

/* ---- Hero -------------------------------------------------------------- */
.hero { padding-top: clamp(48px, 7vw, 84px); padding-bottom: var(--section-y); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 5.2rem); margin: 0 0 0.4rem; }
.hero h1 .script { font-size: clamp(3.6rem, 9vw, 6.4rem); margin-top: 0.1rem; }
.hero .lead { margin: 1.5rem 0 2.1rem; font-size: clamp(1.08rem, 1.7vw, 1.32rem); max-width: 40ch; }
.hero-actions { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.hero-actions .link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; opacity: 0.9;
}
.hero-actions .link .icon { color: var(--coral); transition: transform 0.2s var(--ease); }
.hero-actions .link:hover .icon { transform: translateX(3px); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero .squiggle { position: absolute; left: 2px; top: -14px; }
.hero-star {
  position: absolute; color: var(--coral); width: 30px; right: 8%; top: -6%;
  animation: twinkle 4.5s var(--ease) infinite;
}

/* ---- Device frame (real screenshots, no fake UI) ----------------------- */
/* Real iPhone frame (assets/img/brand/iphone-frame.webp, 1022x2082). The frame's
   screen region is opaque black, so the screenshot is painted ON TOP of it,
   inset to the measured screen rect; the dynamic-island pill sits on top of that. */
.device {
  position: relative;
  width: clamp(220px, 30vw, 322px);
  aspect-ratio: 1022 / 2082;
  filter: drop-shadow(0 32px 46px rgba(11, 15, 24, 0.42));
}
.device .frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.device .screen {
  position: absolute;
  left: 5.088%; top: 2.209%;
  width: 89.824%; height: 95.581%;
  border-radius: 13.73% / 6.33%;
  object-fit: cover; object-position: top center;
  background: #dfe7e2;
}
.device .island {
  position: absolute; top: 2.75%; left: 50%; transform: translateX(-50%);
  width: 25%; height: 2.3%; background: #05070b; border-radius: var(--r-pill); z-index: 3;
}
.device-tilt { transform: rotate(-4deg); }
.float { animation: float 7s ease-in-out infinite; }

/* ---- Trust / value chips ----------------------------------------------- */
.values {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1rem;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent);
}

/* ---- GLP-1 support ------------------------------------------------------- */
.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.82fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
}
.support-copy .lead { max-width: 42ch; margin: 1.2rem 0 0; }
.support-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}
.support-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}
.support-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 48ch;
}
.support-list li {
  display: grid;
  gap: 0.18rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  box-shadow: var(--shadow-card);
}
.support-list strong { color: var(--ink); font-size: 0.98rem; }
.support-list span { color: var(--ink-soft); font-size: 0.95rem; }
.support-art {
  display: flex;
  justify-content: center;
  position: relative;
}
.support-device {
  width: clamp(232px, 29vw, 326px);
  transform: rotate(3deg);
}

/* ---- Split feature ----------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: clamp(28px, 5vw, 80px);
}
.split.reverse .split-art { order: -1; }
.split-art { display: flex; justify-content: center; position: relative; }
.feature-eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 600; opacity: 0.85; margin-bottom: 1rem;
}
.feature-eyebrow .icon { color: var(--coral); font-size: 1.3rem; }
.block-coral .feature-eyebrow .icon, .block-peri .feature-eyebrow .icon { color: var(--cream); }
.feature-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; }
.feature-list .icon { color: var(--coral); font-size: 1.25rem; margin-top: 0.15rem; }
.block-coral .feature-list .icon { color: var(--cream); }

/* ---- Results: dual device showcase ------------------------------------ */
.showcase {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px); align-items: end; justify-items: center;
  margin-top: clamp(40px, 6vw, 64px);
}
.showcase .device:nth-child(1) { transform: rotate(-3deg); }
.showcase .device:nth-child(2) { transform: rotate(3deg); margin-bottom: 6%; }
.showcase figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.showcase figcaption { font-weight: 600; opacity: 0.78; font-size: 0.96rem; }

/* ---- Ecosystem bento --------------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(40px, 6vw, 64px);
}
.tile {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-card);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 1rem;
  overflow: hidden;
}
.tile h3 { margin: 0; font-size: 1.18rem; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.tile-wide { grid-column: 1; grid-row: 1 / span 2; justify-content: space-between; }
.tile-wide img { border-radius: var(--r-sm); box-shadow: var(--shadow-card); }
.tile-quick { grid-column: 2; grid-row: 1; }
.tile-quick img { border-radius: var(--r-sm); }
.tile-watch { grid-column: 2; grid-row: 2; flex-direction: row; align-items: center; gap: 1.1rem; }
.tile-watch img { width: 92px; flex: none; }
.tile .tile-label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.01em; color: var(--ink); }
.tile .tile-label .icon { font-size: 1.1rem; color: var(--coral); }

/* ---- Ecosystem stage: dark app screen + Home Screen widget + Watch Ultra --- */
.eco-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: clamp(44px, 7vw, 84px);
  padding-bottom: clamp(6px, 1.5vw, 18px);
}
.eco-phone { margin: 0; }
.eco-stage .device { width: clamp(168px, 21vw, 244px); }   /* captures bake in the status bar + Dynamic Island, so no .island overlay */
.eco-left  { z-index: 1; margin-right: clamp(-44px, -4.5vw, -20px); }
.eco-left .device  { transform: rotate(-7deg); }
.eco-right { z-index: 2; margin-bottom: clamp(6px, 2vw, 26px); }
.eco-right .device { transform: rotate(4deg); }
.eco-watch {
  --s: 0.5;                          /* unitless scale of the 360x380 watch (a watch is ~0.7x a phone) */
  position: relative; z-index: 3; align-self: flex-end;
  width: calc(360px * var(--s));
  height: calc(380px * var(--s));
  margin: 0 0 clamp(8px, 2vw, 30px) clamp(-26px, -2.6vw, -8px);
}
@media (max-width: 1040px) { .eco-watch { --s: 0.42; } }

/* ---- Apple Watch Ultra frame: adapted from picturepan2/devices.css (MIT). --- */
.awu {
  position: absolute; top: 0; left: 0; height: 380px; width: 360px;
  transform: scale(var(--s)); transform-origin: top left;
  filter: drop-shadow(0 18px 30px rgba(8, 10, 16, 0.45));
}
.awu-frame {
  background: #0d0d0d; border-radius: 92px;
  box-shadow: inset 0 0 12px 1px rgba(13,13,13,.75), inset 0 0 0 6px #d6ccc2, inset 0 0 0 12px #d6ccc2;
  height: 380px; margin: 0 20px; padding: 38px; position: relative; width: 320px;
}
.awu-frame::before {
  border: 1px solid #f5f2f0; border-radius: 80px;
  box-shadow: 0 0 6px rgba(13,13,13,.2), inset 0 0 4px 1px #f5f2f0, inset 0 0 0 10px #d6ccc2;
  content: ""; height: 356px; left: 12px; position: absolute; top: 12px; width: 296px;
}
.awu-screen {
  border: 2px solid #121212; border-radius: 62px; height: 304px; width: 244px;
  position: relative; overflow: hidden;
  background: radial-gradient(130% 90% at 50% -8%, #181b21 0%, #07080b 74%);
}
.awu-crown {
  background: radial-gradient(circle at center, #d6ccc2 50%, #ebe6e1 85%, #a38c76 100%);
  border-radius: 4px 4px 4px 4px/8px 4px 4px 8px;
  box-shadow: inset 0 0 16px 1px rgba(13,13,13,.5), -8px 0 4px rgba(13,13,13,.2), inset 4px 0 4px rgba(13,13,13,.2);
  height: 214px; margin-top: -107px; position: absolute; right: 4px; top: 50%; width: 18px; z-index: 1;
}
.awu-crown::before {
  border-radius: 8px 4px 4px 8px/32px 4px 4px 32px; box-shadow: -10px 0 8px rgba(13,13,13,.2);
  content: ""; height: 194px; margin-top: -97px; position: absolute; right: 8px; top: 50%; width: 12px;
}
.awu-btns {
  background: #d6ccc2; border-left: 1px solid #4c4033; border-radius: 8px 6px 6px 8px/20px 6px 6px 20px;
  box-shadow: inset 8px 0 8px 0 #5c4d3e, inset -2px 0 6px #a38c76;
  height: 72px; position: absolute; right: 1px; top: 108px; width: 24px; z-index: 9;
}
.awu-btns::after {
  background: #d6ccc2; border-radius: 2px 4px 4px 2px/20px 8px 8px 20px;
  box-shadow: inset -2px 0 2px 0 #6b5948, inset -6px 0 18px #a38c76;
  content: ""; height: 78px; position: absolute; right: 0; top: -4px; width: 6px;
}
.awu-btns::before {
  background: #d6ccc2; border-radius: 20%;
  box-shadow: 0 -30px rgba(163,140,118,.5),0 -27px #d6ccc2,0 -25px #89735c,0 -21px rgba(163,140,118,.5),0 -18px #d6ccc2,0 -16px #89735c,0 -12px rgba(163,140,118,.5),0 -9px #d6ccc2,0 -7px #89735c,0 -3px rgba(163,140,118,.5),0 0 #d6ccc2,0 2px #89735c,0 6px rgba(163,140,118,.5),0 9px #d6ccc2,0 11px #89735c,0 15px rgba(163,140,118,.5),0 18px #d6ccc2,0 20px #89735c,0 24px rgba(163,140,118,.5),0 27px #d6ccc2,0 29px #89735c;
  content: ""; height: 3px; margin-top: -2px; position: absolute; right: 2px; top: 50%; width: 16px; z-index: 9;
}
.awu-stripe {
  background: #e0d9d1; border-radius: 2px 8px 8px 2px; box-shadow: 0 14px 0 #d6ccc2, 0 28px 0 #d6ccc2;
  height: 10px; left: 19px; position: absolute; top: 98px; width: 4px; z-index: 1;
}
.awu-power {
  background: #d6ccc2; border-radius: 2px 4px 4px 2px/2px 8px 8px 2px; box-shadow: inset 0 0 2px 1px #a38c76;
  height: 72px; position: absolute; right: 1px; top: 212px; width: 4px;
}
.awu-action {   /* the Ultra's orange Action button */
  background: #f18f42; border: 1px solid #a7500c; border-radius: 2px 4px 4px 2px/2px 8px 8px 2px;
  box-shadow: inset 0 0 1px 1px #ef812a;
  height: 106px; left: 19px; position: absolute; top: 162px; width: 4px; z-index: 1;
}

/* ---- Watch screen UI (native 244x304; scaled by the .awu transform) -------- */
.wu-screen { position: absolute; inset: 0; padding: 24px 24px 20px; display: flex; flex-direction: column; color: #fff; }
.wu-bar { display: flex; align-items: center; justify-content: space-between; font-size: 18px; color: #e9e9ec; font-weight: 600; }
.wu-dots { width: 4px; height: 4px; border-radius: 50%; background: #b9bdc6; box-shadow: 0 7px 0 #b9bdc6; }
.wu-track { margin-top: 18px; color: #7fd1ad; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; font-size: 15px; }
.wu-hero { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; line-height: 1; }
.wu-hero b { font-size: 62px; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.wu-hero span { font-size: 28px; font-weight: 600; color: #c4c8d0; }
.wu-next { margin-top: 7px; color: #969cb0; font-size: 17px; }
.wu-dose {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
  background: #191c23; border: 1px solid rgba(255,255,255,0.06); border-radius: 999px;
  padding: 12px 16px; font-size: 17px; color: #aeb3bf;
}
.wu-dose .icon { color: #e3935b; font-size: 22px; }
.wu-dose strong { margin-left: auto; color: #fff; font-weight: 700; }
.wu-log {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 13px;
  background: #7fd1ad; color: #06281d; border-radius: 999px; padding: 14px 0; font-weight: 800; font-size: 20px;
}
.wu-log .icon { font-size: 22px; }
.wu-updated { margin-top: 12px; color: #676d7c; font-size: 15px; }

@media (max-width: 760px) {
  .eco-stage { flex-direction: column; align-items: center; gap: 30px; padding-bottom: 0; }
  .eco-left, .eco-right, .eco-watch { margin: 0; }
  .eco-left .device, .eco-right .device { transform: none; width: clamp(200px, 62vw, 268px); }
  .eco-watch { --s: 0.58; align-self: center; }
}

/* ---- Private / manifesto ----------------------------------------------- */
.manifesto { text-align: center; max-width: 720px; margin-inline: auto; }
.manifesto .squiggle { margin: 1.1rem auto 0; }
.privacy-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 32px);
  margin-top: clamp(40px, 6vw, 60px);
}
.ppoint { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.ppoint .ring {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--coral) 14%, transparent);
  color: var(--coral); font-size: 1.6rem;
}
.ppoint h3 { margin: 0; font-size: 1.1rem; }
.ppoint p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; max-width: 28ch; }

/* ---- FAQ --------------------------------------------------------------- */
.faq { max-width: 780px; margin: clamp(36px,5vw,52px) auto 0; }
.faq details {
  border-top: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  padding: 0.4rem 0;
}
.faq details:last-child { border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0.2rem; font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--coral); transition: transform 0.25s var(--ease); font-size: 1.4rem; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 0.2rem 1.2rem; opacity: 0.82; max-width: 62ch; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy-700); color: var(--cream); padding-block: clamp(56px, 7vw, 88px) 2.4rem; }
.footer-cta { text-align: center; max-width: 640px; margin: 0 auto clamp(48px,6vw,72px); }
.footer-cta .display { margin-bottom: 1.4rem; }
.footer-cta .badge-store { margin-top: 0.4rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.2rem; padding-top: 2rem; border-top: 1px solid color-mix(in srgb, var(--cream) 12%, transparent); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { opacity: 0.78; font-weight: 500; }
.footer-links a:hover { opacity: 1; }
.footer-meta { opacity: 0.6; font-size: 0.9rem; }
.footer-brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; }
.footer-brand img { width: 26px; height: 26px; border-radius: 8px; }

/* ---- Reveal (MOTION 5, IntersectionObserver) --------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); opacity: 0.9; } 50% { transform: scale(1.25) rotate(18deg); opacity: 1; } }

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .hero-star { animation: none; }
  .squiggle path { stroke-dashoffset: 0; transition: none; }
  .btn, .nav-pill { transition: none; }
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { order: -1; }
  .hero .squiggle { position: static; margin-bottom: 0.4rem; }
  .split, .bento, .privacy-points, .support-grid { grid-template-columns: 1fr; }
  .split.reverse .split-art { order: 0; }
  .bento { grid-template-rows: none; }
  .tile-wide, .tile-quick, .tile-watch { grid-column: 1; grid-row: auto; }
  .nav-links { display: none; }
  .support-device { transform: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .showcase { grid-template-columns: 1fr; gap: 30px; }
  .showcase .device:nth-child(1), .showcase .device:nth-child(2) { transform: none; margin: 0; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .hero-actions { gap: 0.9rem; }
}

/* ==========================================================================
   Reading pages (privacy.gaurava.app / support.gaurava.app)
   Same design system, calm cream reading surface. Served cross-origin from
   the gaurava-web worker, so this file is referenced from those pages too.
   ========================================================================== */
:root { --coral-ink: #b5402a; }  /* darker coral: AA-legible for links/small text on cream */

.legal { background: var(--cream); color: var(--ink); padding-block: clamp(40px, 6vw, 76px) clamp(48px, 7vw, 88px); }
.legal-wrap { max-width: 820px; margin-inline: auto; padding-inline: var(--gutter); }
.legal-head { margin-bottom: clamp(24px, 4vw, 38px); }
.legal .kicker {
  color: var(--coral-ink); text-transform: uppercase; letter-spacing: 0.12em;
  font-weight: 700; font-size: 0.78rem; opacity: 1; margin: 0 0 0.7rem;
}
.legal h1 { font-size: clamp(2.2rem, 5.4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
.legal .lead { color: var(--ink-soft); opacity: 1; max-width: 64ch; margin-top: 1rem; font-size: clamp(1.02rem, 1.5vw, 1.18rem); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chip-soft {
  font-size: 0.8rem; font-weight: 600; color: var(--ink-soft);
  background: #fff; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  border-radius: var(--r-pill); padding: 0.4rem 0.85rem;
}
.chip-soft.ok { color: #176d5d; }  /* the app's clinical green, AA on white */

.legal section { margin-top: clamp(22px, 3vw, 34px); }
.legal h2 { font-size: clamp(1.15rem, 1.9vw, 1.35rem); letter-spacing: -0.01em; margin: 0 0 0.5rem; }
.legal h3 { font-size: 1.04rem; margin: 0 0 0.35rem; }
.legal p { color: var(--ink-soft); margin: 0 0 0.9rem; max-width: 70ch; }
.legal ul { margin: 0 0 0.9rem; padding-left: 1.2rem; max-width: 70ch; color: var(--ink-soft); }
.legal li { margin: 0.4rem 0; }
.legal a { color: var(--coral-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 500; }
.legal a:hover { color: var(--coral-deep); }
.legal .strong { font-weight: 700; color: var(--ink); }

.legal-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  padding: 0.2rem 1.4rem; margin: 1rem 0;
}
.summary-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  border-left: 4px solid var(--coral); padding: 1.2rem 1.5rem; margin-top: 0.4rem;
}
.summary-card .strong { display: block; margin-bottom: 0.4rem; }
.summary-card p { margin: 0; }

.legal .squiggle { margin: 1.1rem 0 0; }

.qa { padding: 1.1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); }
.qa:last-child { border-bottom: none; }
.qa p { margin: 0; }

.legal table { width: 100%; border-collapse: collapse; margin: 0.6rem 0; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.legal th { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.legal td { color: var(--ink-soft); }

.contact-card {
  background: #fff; border-radius: var(--r-card); box-shadow: var(--shadow-card);
  border-left: 4px solid #176d5d; padding: 1.3rem 1.5rem;
}
.contact-card .email { font-size: 1.2rem; font-weight: 700; }
.contact-card .email a { font-weight: 700; }

.header-back {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 500; opacity: 0.82;
}
.header-back:hover { opacity: 1; }

/* ---- launch notify form (email capture) ---- */
.notify { margin: 0.4rem 0 1.4rem; max-width: 30rem; }
.notify-center { margin-inline: auto; }
.notify-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.notify-input {
  flex: 1 1 12rem; min-width: 0;
  padding: 0.85rem 1.05rem;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff; font: inherit; font-size: 1rem;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.notify-input::placeholder { color: rgba(255, 255, 255, 0.55); }
.notify-input:focus-visible {
  outline: 2px solid var(--coral); outline-offset: 2px;
  background: rgba(255, 255, 255, 0.14); border-color: transparent;
}
.notify-btn {
  flex: 0 0 auto; cursor: pointer; border: 0;
  padding: 0.85rem 1.4rem; border-radius: var(--r-pill);
  background: var(--coral); color: #fff;
  font: inherit; font-weight: 700; font-size: 1rem;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.notify-btn:hover { background: var(--coral-deep); transform: translateY(-1px); }
.notify-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.notify-note { margin: 0.6rem 0 0; font-size: 0.8rem; opacity: 0.72; }
.notify-center .notify-note { text-align: center; }
.notify-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify.is-done .notify-row { display: none; }
.notify.is-done .notify-note { opacity: 1; font-size: 0.98rem; font-weight: 600; }
