/* Puuull site stylesheet. Palette sampled from the app icon and the app's accent blue. */
:root {
  --lime: #bbef4a;        /* icon blob */
  --lime-soft: #f1fbd9;
  --lime-deep: #4c8a12;   /* lime family, readable on white (text-safe) */
  --charcoal: #343338;    /* icon outline/face */
  --charcoal-2: #23232a;
  --blue: #0088ff;        /* iOS accent blue sampled from the app */
  --blue-text: #006fd6;   /* blue for small text on white (4.95:1) */
  --white: #ffffff;
  --gray: #5d5d66;
  --line: #e7e7ea;

  --page-bg: var(--white);
  --ink: var(--charcoal);
  --muted: var(--gray);
  --link: var(--blue-text);
  --hero-bg: var(--white);
  --hero-ink: var(--charcoal);
  --hero-muted: var(--gray);
  --hero-accent: var(--lime-deep);
  --hero-mark: var(--lime);
  --stage-bg: transparent;
  --circle: var(--lime);
  --btn-bg: var(--lime);
  --btn-ink: var(--charcoal);
  --eyebrow: var(--lime-deep);
  --nav-ink: var(--charcoal);
  --nav-border: var(--line);
  --num: var(--blue);
  --feature-bg: var(--white);
  --feature-border: var(--line);
  --band-bg: #f6f7f8;
  --privacy-bg: var(--charcoal);
  --privacy-ink: #f3f3f5;
  --privacy-muted: #c7c7cf;
  --privacy-accent: var(--lime);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page-bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.shell { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- Header + hero ---------- */
.top { background: var(--hero-bg); color: var(--hero-ink); }
.nav { display: flex; justify-content: space-between; align-items: center; height: 76px;
  border-bottom: 1px solid var(--nav-border); color: var(--nav-ink); }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand img { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 4px 14px #0000001f; }
.nav-actions { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav-actions a { opacity: .85; }
.nav-actions a:hover { opacity: 1; }
.nav-actions a.store-link { opacity: 1; background: var(--btn-bg); color: var(--btn-ink);
  border-radius: 999px; padding: 8px 16px; }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-block: 64px 80px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 26px; box-shadow: 0 12px 30px #00000026; }
.eyebrow { margin: 0 0 18px; color: var(--eyebrow); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
.hero .eyebrow { color: var(--hero-eyebrow, var(--hero-ink)); opacity: .9; }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); line-height: .98; letter-spacing: -.045em; font-weight: 800; color: var(--hero-ink); }
.hero h1 em { font-style: normal; color: var(--hero-accent);
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--hero-mark) 55%, transparent) 62%); }
.hero-lede { max-width: 580px; margin: 26px 0 30px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; color: var(--hero-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: 14px; color: var(--hero-muted); }
.store-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff;
  border: 1px solid #ffffff33; border-radius: 12px; padding: 10px 20px 10px 16px; box-shadow: 0 10px 24px #00000033; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 11px; }
.store-badge strong { font-size: 21px; font-weight: 600; }
.btn { display: inline-flex; align-items: center; border-radius: 999px; padding: 14px 22px; font-weight: 700;
  background: var(--btn-bg); color: var(--btn-ink); }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 22px; padding-block: 10px; }
.phone-stage:before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%;
  background: var(--circle); top: 50%; left: 50%; transform: translate(-50%, -50%); }
.shot { position: relative; width: 230px; border-radius: 34px; border: 6px solid var(--charcoal-2);
  background: #fff; overflow: hidden; box-shadow: 0 26px 60px #00000033; }
.shot img { width: 100%; }
.shot.tilt { width: 210px; transform: rotate(4deg) translateY(-24px); }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.narrow { max-width: 640px; }
.section h2, .privacy h2, .closing h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.section-heading p:last-child, .section-copy { margin-top: 20px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features article { background: var(--feature-bg); border: 1px solid var(--feature-border); border-radius: 20px; padding: 28px;
  border-top: 5px solid var(--lime); }
.features article > span { color: var(--num); font-weight: 800; font-size: 13px; letter-spacing: .1em; }
.features h3 { margin: 12px 0 8px; font-size: 21px; letter-spacing: -.01em; }
.features p { margin: 0; color: var(--muted); line-height: 1.65; }
.science-wrap { background: var(--band-bg); }
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 10px 4px 26px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 220px; scroll-snap-align: start; }
.gallery .shot { width: 220px; }
.gallery figcaption { margin-top: 12px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.watch-row { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.watch { width: 230px; border-radius: 52px; border: 12px solid var(--charcoal-2); overflow: hidden; background: #000;
  box-shadow: 0 0 0 6px var(--lime), 0 26px 60px #00000033; }

/* ---------- Privacy ---------- */
.privacy { background: var(--privacy-bg); color: var(--privacy-ink); }
.privacy-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; padding-block: 90px; }
.privacy .eyebrow { color: var(--privacy-accent); }
.privacy p:not(.eyebrow) { color: var(--privacy-muted); font-size: 18px; line-height: 1.7; max-width: 620px; }
.privacy-orbit { display: grid; place-items: center; min-height: 420px; position: relative; }
.privacy-orbit:before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed #ffffff33; }
.phone { position: relative; z-index: 1; width: 200px; height: 380px; border-radius: 40px; background: var(--white);
  border: 6px solid var(--lime); color: var(--charcoal); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.phone img { width: 74px; border-radius: 18px; margin-bottom: 20px; }
.phone span { font-size: 52px; font-weight: 800; line-height: 1; }
.phone small { margin-top: 8px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.privacy-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.privacy-tags span { border-radius: 999px; padding: 9px 14px; font-size: 13px; font-weight: 700; background: var(--lime); color: var(--charcoal); }

/* ---------- Closing + footer ---------- */
.closing { text-align: center; padding-block: 100px 110px; }
.closing > img { width: 72px; border-radius: 18px; margin: 0 auto 26px; }
.closing h2 em { font-style: normal; color: var(--lime-deep); }
.closing p { max-width: 560px; margin: 22px auto 30px; font-size: 18px; color: var(--muted); }
.help-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 26px; font-size: 15px; font-weight: 600; }
.help-links a, footer a { color: var(--link); }
.help-links a:hover, footer a:hover { text-decoration: underline; }
footer { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; min-height: 110px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .brand { font-size: 16px; color: var(--ink); }
footer .brand img { width: 32px; height: 32px; }
footer > p { text-align: center; margin: 0; }
footer > small { justify-self: end; }

/* ---------- Responsive ---------- */
@media (width <= 820px) {
  .nav-actions a:not(.store-link) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; text-align: center; }
  .hero-icon { margin-inline: auto; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .phone-stage:before { width: 300px; height: 300px; }
  .shot { width: 165px; } .shot.tilt { width: 150px; }
  .features { grid-template-columns: 1fr; }
  .watch-row, .privacy-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; }
  .privacy-tags { justify-content: center; }
  .section { padding-block: 70px; }
  footer { grid-template-columns: 1fr; text-align: center; padding-block: 28px; }
  footer .brand, footer > small { justify-self: center; }
}
@media (width <= 520px) {
  .shell { width: min(100% - 28px, 1180px); }
  .privacy-orbit:before { width: 300px; height: 300px; }
}

/* ===== Scheme W: all-white, minimal, colour only as small accents ===== */
[data-scheme="W"] {
  --hero-bg: #ffffff; --hero-ink: var(--charcoal); --hero-muted: var(--gray);
  --hero-accent: var(--charcoal); --circle: transparent;
  --btn-bg: var(--lime); --btn-ink: var(--charcoal);
  --eyebrow: var(--gray); --hero-eyebrow: var(--gray);
  --nav-border: transparent; --num: var(--gray);
  --feature-bg: #ffffff; --feature-border: var(--line);
  --band-bg: #ffffff; --privacy-bg: #ffffff; --privacy-ink: var(--charcoal);
  --privacy-muted: var(--gray); --privacy-accent: var(--gray);
}
[data-scheme="W"] .nav { height: 88px; border-bottom: 0; }
[data-scheme="W"] .nav-actions { gap: 34px; font-weight: 500; }
[data-scheme="W"] .nav-actions a.store-link { font-weight: 600; }
[data-scheme="W"] .hero { padding-block: 104px 128px; gap: 88px; }
[data-scheme="W"] .hero-icon { width: 80px; height: 80px; border-radius: 18px; box-shadow: 0 6px 18px #00000014; margin-bottom: 36px; }
[data-scheme="W"] .eyebrow { letter-spacing: .14em; font-weight: 600; }
[data-scheme="W"] .hero h1 { font-size: clamp(42px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 700; }
[data-scheme="W"] .hero h1 em { background: linear-gradient(transparent 88%, var(--lime) 88% 96%, transparent 96%); }
[data-scheme="W"] .hero-lede { margin: 32px 0 40px; line-height: 1.7; }
[data-scheme="W"] .btn { font-weight: 600; padding: 15px 24px; }
[data-scheme="W"] .phone-stage:before { display: none; }
[data-scheme="W"] .shot { border-width: 5px; box-shadow: 0 18px 50px #0000001a; }
[data-scheme="W"] .shot.tilt { transform: translateY(-28px); }
[data-scheme="W"] .section { padding-block: 136px; }
[data-scheme="W"] main > .section:first-child, [data-scheme="W"] main > section:first-of-type { border-top: 1px solid var(--line); }
[data-scheme="W"] .section-heading { margin-bottom: 64px; }
[data-scheme="W"] .section h2, [data-scheme="W"] .privacy h2, [data-scheme="W"] .closing h2 { font-weight: 700; letter-spacing: -.03em; }
[data-scheme="W"] .features { gap: 28px; }
[data-scheme="W"] .features article { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: none; }
[data-scheme="W"] .features article > span { font-weight: 600; }
[data-scheme="W"] .watch { border-width: 10px; box-shadow: 0 18px 50px #0000001f; }
[data-scheme="W"] .privacy { border-top: 1px solid var(--line); }
[data-scheme="W"] .privacy-inner { padding-block: 136px; gap: 110px; }
[data-scheme="W"] .privacy-orbit:before { border: 1px solid var(--line); }
[data-scheme="W"] .phone { border: 1px solid var(--line); box-shadow: 0 18px 50px #00000012; }
[data-scheme="W"] .privacy-tags span { background: #fff; border: 1px solid var(--line); color: var(--charcoal); font-weight: 600; }
[data-scheme="W"] .closing { padding-block: 136px 150px; border-top: 1px solid var(--line); }
[data-scheme="W"] .closing h2 em { color: var(--charcoal); background: linear-gradient(transparent 88%, var(--lime) 88% 96%, transparent 96%); }
@media (width <= 820px) {
  [data-scheme="W"] .hero { padding-block: 56px 80px; gap: 48px; }
  [data-scheme="W"] .section, [data-scheme="W"] .privacy-inner { padding-block: 88px; }
  [data-scheme="W"] .closing { padding-block: 88px 96px; }
  [data-scheme="W"] .shot.tilt { transform: translateY(-16px); }
}

/* ---------- Animated hero logo (static img first, video swapped in after load) ---------- */
.hero-logo { display: block; position: relative; overflow: hidden; background: #fff; isolation: isolate; }
.hero-logo img, .hero-logo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-logo video { opacity: 0; transition: opacity .25s ease; }
.hero-logo.is-animated video { opacity: 1; }
.hero-logo.is-animated img { opacity: 0; transition: opacity .25s ease .05s; }
@media (prefers-reduced-motion: reduce) { .hero-logo video { display: none; } .hero-logo.is-animated img { opacity: 1; } }

