/* ==========================================================================
   Fourfold homepage design system (index.html only).
   The legacy styles.css keeps serving /pikespeak, /support, /privacy, /terms
   and 404, so nothing here may be assumed by those pages and vice versa.
   Palette = the app's own §10 tokens (Colors.xcassets):
   Success green, Health pink, Connections blue, Personal gold, on warm paper.
   Screenshots are shown frameless on purpose: Apple's marketing guidelines
   allow only Apple-provided device bezels, so no CSS phone is drawn anywhere.
   ========================================================================== */

:root {
  --paper: #faf8f4;
  --card: #ffffff;
  --ink: #1c1b19;
  --muted: #6b6760;
  --soft: #8a8579;
  --line: #ece8e1;
  --success: #27bd75;
  --health: #f2598b;
  --connection: #4d7cfe;
  --personal: #f5a623;
  /* Deeper, ink-leaning variants for TEXT on paper: the raw zone colors are
     fill colors in the app and read thin (and fail contrast) as type. */
  --success-deep: #1a8a55;
  --health-deep: #c93e6d;
  --connection-deep: #3a62d6;
  --personal-deep: #b0740e;
  --pond-deep: #0b3438;
  --pond-deep-2: #0d4341;
  --pond-ink: #eaf6f2;
  --pond-mut: #a8cfc4;
  --pond-glow: #7fe0c3;
  --night: #1c1b19;
  --night-ink: #f6f2ea;
  --night-mut: #b9b3a7;
  --night-line: rgba(255, 255, 255, 0.10);
  --radius: 22px;
  --shot-radius: 30px;
  --shadow-soft: 0 2px 6px rgba(28, 27, 25, 0.05), 0 18px 44px rgba(28, 27, 25, 0.09);
  --shadow-shot: 0 2px 6px rgba(28, 27, 25, 0.12), 0 28px 64px rgba(28, 27, 25, 0.24);
  --display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--body);
  background-color: var(--paper);
  /* A whisper of grain so the paper reads as paper, not as a hex value. */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

::selection { background: rgba(77, 124, 254, 0.22); }

h1, h2, h3, .wordmark { font-family: var(--display); letter-spacing: -0.02em; }

a { color: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--connection);
  outline-offset: 3px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Wordmark: "Four" in ink, f/o/l/d in the four zone colors, exactly like
   FourfoldWordmark in the app (f Success, o Connections, l Health, d Personal).
   -------------------------------------------------------------------------- */
.wordmark { font-weight: 800; }
.wordmark .four { color: var(--ink); }
.wordmark .f, .fc .f { color: var(--success); }
.wordmark .o, .fc .o { color: var(--connection); }
.wordmark .l, .fc .l { color: var(--health); }
.wordmark .d, .fc .d { color: var(--personal); }

/* --------------------------------------------------------------------------
   The App Store badge. Apple's own artwork, never restyled, never animated,
   never under 40px tall, with clear space of a quarter of its height.
   -------------------------------------------------------------------------- */
.store-badge { display: inline-block; line-height: 0; padding: 4px; margin: -4px; border-radius: 10px; }
.store-badge img { height: 56px; width: auto; }
.store-badge:focus-visible { outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.84);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(28, 27, 25, 0.06);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 3px rgba(28, 27, 25, 0.2); }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 8px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* --------------------------------------------------------------------------
   Buttons (plain ones; the store badge is above)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(28, 27, 25, 0.25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(28, 27, 25, 0.22); }
.btn-sm { padding: 10px 18px; font-size: 14.5px; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: clip; padding: 76px 0 108px; }
/* The app's own "Four corners" backdrop: one soft radial wash per zone,
   laid out like the app icon (Success TL, Health TR, Connections BL, Personal BR). */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(42% 38% at 12% 8%, rgba(39, 189, 117, 0.12), transparent 70%),
    radial-gradient(42% 38% at 88% 6%, rgba(242, 89, 139, 0.10), transparent 70%),
    radial-gradient(46% 42% at 8% 92%, rgba(77, 124, 254, 0.09), transparent 70%),
    radial-gradient(44% 40% at 92% 90%, rgba(245, 166, 35, 0.11), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  html { scroll-behavior: auto; }
}

.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 900px) {
  .hero { padding: 44px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 1px 4px rgba(28, 27, 25, 0.06);
}
.badge b { color: var(--ink); font-weight: 700; }
.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(39, 189, 117, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(39, 189, 117, 0); }
  100% { box-shadow: 0 0 0 0 rgba(39, 189, 117, 0); }
}
@media (prefers-reduced-motion: reduce) { .badge .dot { animation: none; } }
@media (max-width: 480px) { .badge b { display: none; } }

.hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--success-deep); }

.hero .sub { margin-top: 22px; max-width: 540px; font-size: 18.5px; color: var(--muted); }
.hero .sub strong { font-weight: 700; }
.wz-g { color: var(--success-deep); }
.wz-p { color: var(--health-deep); }
.wz-b { color: var(--connection-deep); }
.wz-a { color: var(--personal-deep); }

.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.link-more {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(28, 27, 25, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.link-more:hover { border-color: var(--ink); }

.terms { margin-top: 18px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.facts { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--soft); letter-spacing: 0.01em; }
.facts .sep { margin: 0 7px; opacity: 0.55; }

/* Frameless screenshot treatment, shared by every shot on the page. */
.shot {
  border-radius: var(--shot-radius);
  box-shadow: var(--shadow-shot);
  outline: 1px solid rgba(28, 27, 25, 0.08);
  outline-offset: -1px;
}

/* The hero's before/after: two shots stacked, one fades over the other. */
.hero-shot { position: relative; display: flex; justify-content: center; }
.hero-shot::before {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(50% 50% at 30% 25%, rgba(39, 189, 117, 0.16), transparent 70%),
    radial-gradient(50% 50% at 75% 30%, rgba(242, 89, 139, 0.14), transparent 70%),
    radial-gradient(55% 55% at 30% 80%, rgba(77, 124, 254, 0.13), transparent 70%),
    radial-gradient(50% 50% at 78% 80%, rgba(245, 166, 35, 0.13), transparent 70%);
  filter: blur(42px);
}
.swap {
  position: relative;
  width: min(372px, 80vw);
  aspect-ratio: 780 / 1695;
  margin: 0 0 34px;
  cursor: pointer;
  border-radius: var(--shot-radius);
}
.swap .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
.js .swap .shot-b { opacity: 0; }
.js .swap.is-b .shot-b { opacity: 1; }
.swap figcaption {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(28, 27, 25, 0.10);
  white-space: nowrap;
}
.swap .cap {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.3s ease, color 0.3s ease;
}
.swap .cap-b { background: var(--ink); color: #fff; }
.js .swap:not(.is-b) .cap-b { background: transparent; color: var(--muted); }
.js .swap:not(.is-b) .cap-a { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { .swap .shot { transition: none; } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: 108px 0; }
@media (max-width: 760px) { .section { padding: 76px 0; } }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.eyebrow.e-g { color: var(--success-deep); }
.eyebrow.e-p { color: var(--health-deep); }
.eyebrow.e-b { color: var(--connection-deep); }
.eyebrow.e-a { color: var(--personal-deep); }
.section h2 {
  margin-top: 12px;
  font-size: clamp(31px, 4.8vw, 50px);
  line-height: 1.1;
  font-weight: 800;
  max-width: 760px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section .lede { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 660px; }
.section .lede strong { color: var(--ink); font-weight: 650; }
.center { text-align: center; }
.center h2, .center .lede { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------------------
   The problem: a dark beat right after the airy hero
   -------------------------------------------------------------------------- */
.problem { background: var(--night); color: var(--night-ink); position: relative; overflow: clip; }
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 45% at 90% 0%, rgba(245, 166, 35, 0.10), transparent 70%),
    radial-gradient(50% 45% at 5% 100%, rgba(77, 124, 254, 0.08), transparent 70%);
}
.problem .wrap { position: relative; }
.problem .eyebrow { color: var(--personal); }
.problem h2 { color: #fff; }
.problem h2 .accent { color: var(--personal); }
.problem .lede { color: var(--night-mut); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }
.pain {
  border: 1px solid var(--night-line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius);
  padding: 26px 24px 26px;
}
.pain-n { font-family: var(--display); font-size: 12.5px; letter-spacing: 0.18em; color: var(--soft); }
.pain h3 { font-size: 21px; line-height: 1.25; margin-top: 14px; color: #fff; font-weight: 700; }
.pain p { color: var(--night-mut); font-size: 15px; margin-top: 10px; }
.turn {
  margin-top: 48px;
  font-family: var(--display);
  font-size: clamp(20px, 2.7vw, 27px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--night-mut);
  max-width: 780px;
}
.turn strong { color: #fff; }

/* --------------------------------------------------------------------------
   The idea: four zones, the picker, the math
   -------------------------------------------------------------------------- */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 860px) { .zones { grid-template-columns: repeat(2, 1fr); } }
/* Zone tiles borrow the app's own board language: a soft wash of the zone
   color, the zone name in its deep tone, everything else calm ink. */
.zone {
  --z: var(--success);
  --z-deep: var(--success-deep);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  background: color-mix(in srgb, var(--z) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--z) 24%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 3px rgba(28, 27, 25, 0.04);
}
.zone:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.zone .glyph { margin-bottom: auto; color: var(--z-deep); }
.zone .glyph .icon { width: 24px; height: 24px; }
.zone h3 { font-size: 18px; font-weight: 700; color: var(--z-deep); margin-top: 14px; }
.zone p { font-size: 14px; color: var(--muted); }
.z-health { --z: var(--health); --z-deep: var(--health-deep); }
.z-connection { --z: var(--connection); --z-deep: var(--connection-deep); }
.z-personal { --z: var(--personal); --z-deep: var(--personal-deep); }

.picker {
  margin-top: 60px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 36px 30px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 8px 40px;
  align-items: center;
}
.picker h3 { font-size: clamp(22px, 2.6vw, 27px); font-weight: 700; margin-top: 10px; line-height: 1.2; }
.picker-sub { font-size: 15.5px; color: var(--muted); margin-top: 8px; }
.picker-zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.pz {
  --z: var(--success);
  --z-deep: var(--success-deep);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1px;
  border: 1.5px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  padding: 14px 16px 13px;
  cursor: pointer;
  font-family: var(--body);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.pz::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
  margin-bottom: 9px;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.pz small { font-weight: 500; font-size: 13px; color: var(--muted); }
.pz:hover { border-color: color-mix(in srgb, var(--z) 55%, var(--line)); }
.pz:active { transform: scale(0.985); }
.pz[aria-pressed="true"] { border-color: var(--z); background: color-mix(in srgb, var(--z) 10%, #fff); }
.pz[aria-pressed="true"]::before { background: var(--z); box-shadow: 0 0 0 3px color-mix(in srgb, var(--z) 22%, transparent); }
.pz-p { --z: var(--health); --z-deep: var(--health-deep); }
.pz-b { --z: var(--connection); --z-deep: var(--connection-deep); }
.pz-a { --z: var(--personal); --z-deep: var(--personal-deep); }
.picker-out { text-align: center; border-left: 1px solid var(--line); padding: 8px 0 8px 40px; }
.mult-n {
  display: block;
  font-family: var(--display);
  font-size: clamp(60px, 8vw, 88px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--soft);
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mult-n.m2 { color: var(--ink); }
.mult-n.m3 { color: var(--success-deep); }
.mult-n.m4 { color: var(--success); transform: scale(1.06); }
.mult-l { display: block; margin-top: 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; color: var(--soft); }
.mult-say { margin-top: 16px; font-size: 16px; color: var(--muted); min-height: 4.2em; }
.picker-foot { grid-column: 1 / -1; font-size: 13.5px; color: var(--soft); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .picker { grid-template-columns: 1fr; padding: 26px 20px 22px; gap: 22px; }
  .picker-out { border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .mult-say { min-height: 0; }
  .picker-foot { margin-top: 4px; }
}
@media (max-width: 420px) { .picker-zones { grid-template-columns: 1fr; } }

.versus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; margin-top: 44px; }
@media (max-width: 820px) {
  .versus { grid-template-columns: 1fr; }
  .versus .vs { justify-self: center; }
}
.week-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-soft);
}
.week-card.winner { border: 1.5px solid rgba(39, 189, 117, 0.55); }
.week-card .tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 11px;
  margin-bottom: 14px;
}
.week-card.winner .tag { background: rgba(39, 189, 117, 0.14); color: var(--success-deep); }
.week-card.loser .tag { background: rgba(28, 27, 25, 0.06); color: var(--muted); }
.week-card h3 { font-size: 20px; font-weight: 700; }
.week-card .bars { display: grid; gap: 7px; margin: 18px 0 16px; }
.bar { height: 12px; border-radius: 999px; background: var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 999px; display: block; }
.bar .b-g { background: var(--success); }
.bar .b-p { background: var(--health); }
.bar .b-b { background: var(--connection); }
.bar .b-a { background: var(--personal); }
.week-card .math { font-size: 15px; color: var(--muted); }
.week-card .math b { font-family: var(--display); font-size: 22px; color: var(--ink); }
.week-card.winner .math b { color: var(--success-deep); }
.versus .vs {
  align-self: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--soft);
  padding: 4px 2px;
}
.footnote { margin-top: 22px; font-size: 14.5px; color: var(--soft); max-width: 660px; }

/* --------------------------------------------------------------------------
   Gentle: the promises and the progress shot
   -------------------------------------------------------------------------- */
.gentle { padding-top: 0; }
.gentle-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .gentle-grid { grid-template-columns: 1fr; gap: 48px; } }
.accent-a { color: var(--personal-deep); }
.promises { list-style: none; margin-top: 30px; display: grid; gap: 14px; max-width: 560px; }
.promises li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: var(--muted); line-height: 1.5; }
.promises li > span { flex: 1; min-width: 0; }
.promises li::before {
  content: "";
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--success) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--success) 40%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a8a55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}
.promises b { color: var(--ink); }
.quote-line {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 3px solid var(--health);
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 520px;
}
.shot-col { display: flex; justify-content: center; }
.shot-col .shot { width: min(360px, 80vw); }

/* --------------------------------------------------------------------------
   Pond section (dark teal)
   -------------------------------------------------------------------------- */
.pond {
  background: linear-gradient(180deg, var(--pond-deep), var(--pond-deep-2));
  color: var(--pond-ink);
  overflow: clip;
  position: relative;
}
.pond::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 80% 10%, rgba(127, 224, 195, 0.10), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(77, 124, 254, 0.10), transparent 70%);
  pointer-events: none;
}
.pond .wrap { position: relative; }
.pond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .pond-grid { grid-template-columns: 1fr; } }
.pond .eyebrow { color: var(--pond-glow); }
.pond h2 { color: #fff; }
.accent-glow { color: var(--pond-glow); }
.pond .lede { color: var(--pond-mut); }
.pond .lede strong { color: #fff; }
.pond-points { margin-top: 30px; display: grid; gap: 16px; }
.pond-point { display: flex; gap: 14px; align-items: flex-start; }
.pond-point .ico {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(127, 224, 195, 0.10);
  border: 1px solid rgba(127, 224, 195, 0.22);
  color: var(--pond-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pond-point .ico .icon { width: 20px; height: 20px; stroke-width: 1.6; }
.pond-point h4 { font-size: 16.5px; font-weight: 700; color: #fff; }
.pond-point p { font-size: 14.5px; color: var(--pond-mut); margin-top: 2px; }
.pond-shots { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.pond-shots .shot { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4), 0 34px 80px rgba(0, 0, 0, 0.5); outline-color: rgba(255, 255, 255, 0.10); }
.pond-shots .shot-day { width: min(372px, 80vw); }
.pond-shots .shot-night {
  position: absolute;
  right: -2%;
  bottom: 0;
  width: min(212px, 48vw);
  border-radius: 24px;
  transform: rotate(5deg);
}
@media (max-width: 900px) {
  .pond-shots .shot-night { width: min(176px, 44vw); right: 0; }
}

/* --------------------------------------------------------------------------
   Feature cards
   -------------------------------------------------------------------------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(28, 27, 25, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .art { position: relative; overflow: hidden; }
.card .art img, .card .art video { width: 100%; transition: transform 0.4s ease; }
.card:hover .art img, .card:hover .art video { transform: scale(1.025); }
.card .body { padding: 22px 24px 26px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card .body p { font-size: 14.5px; color: var(--muted); margin-top: 7px; }
.card .glyph {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card .glyph .icon { width: 21px; height: 21px; }
.g-green { background: rgba(39, 189, 117, 0.11); color: var(--success-deep); }
.g-pink { background: rgba(242, 89, 139, 0.11); color: var(--health-deep); }
.g-blue { background: rgba(77, 124, 254, 0.11); color: var(--connection-deep); }
.card.plain .body { padding-top: 26px; }
.card .art.crop { max-height: 300px; }
.card .art.crop img, .card .art.crop video { object-fit: cover; object-position: top; height: 300px; }

/* --------------------------------------------------------------------------
   Proof: one honest quote and the founder
   -------------------------------------------------------------------------- */
.proof { padding-top: 0; }
.testimonial { max-width: 840px; margin: 0 auto; text-align: center; }
.testimonial blockquote {
  font-family: var(--display);
  font-size: clamp(21px, 3.1vw, 31px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.testimonial figcaption {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.testimonial .mark { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 18px; height: 18px; }
.testimonial .mark i { border-radius: 3px; display: block; }
.q-g { background: var(--success); } .q-p { background: var(--health); } .q-b { background: var(--connection); } .q-a { background: var(--personal); }
.founder {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 760px;
  margin: 60px auto 0;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.founder .mark { flex: none; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 4px rgba(28, 27, 25, 0.18); }
.founder p { font-size: 16.5px; color: var(--muted); }
.founder p strong { color: var(--ink); }
.founder a { color: var(--connection-deep); text-decoration: none; font-weight: 600; }
.founder a:hover { text-decoration: underline; }
@media (max-width: 520px) { .founder { flex-direction: column; padding: 22px; } }

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */
.pricing { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px auto 40px; max-width: 900px; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; max-width: 420px; } }
.plan {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  background: var(--paper);
}
.plan.best { border: 1.5px solid var(--success); background: #fff; box-shadow: var(--shadow-soft); }
.plan .tag {
  position: absolute;
  top: -13px;
  left: 22px;
  background: rgba(39, 189, 117, 0.16);
  color: var(--success-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  border: 1px solid #fff;
}
.plan b { display: block; font-family: var(--display); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.plan > span { display: block; color: var(--muted); font-weight: 600; margin-top: 8px; }
.plan p { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.fine { font-size: 13.5px; color: var(--soft); margin: 24px auto 0; max-width: 720px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 22px;
  margin-bottom: 10px;
  transition: box-shadow 0.15s ease;
}
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  color: var(--soft);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; font-size: 15.5px; color: var(--muted); max-width: 640px; }
.faq .a a { color: var(--connection-deep); }

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */
.cta-final { padding: 20px 0 110px; }
.cta-card {
  position: relative;
  overflow: clip;
  border-radius: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  padding: 76px 32px;
  text-align: center;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 52% at 6% 10%, rgba(39, 189, 117, 0.10), transparent 70%),
    radial-gradient(40% 52% at 94% 10%, rgba(242, 89, 139, 0.08), transparent 70%),
    radial-gradient(44% 56% at 8% 95%, rgba(77, 124, 254, 0.08), transparent 70%),
    radial-gradient(42% 54% at 94% 92%, rgba(245, 166, 35, 0.09), transparent 70%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
@media (max-width: 640px) { .cta-card { padding: 52px 22px 44px; } }
.cta-card h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.cta-card .lede { margin: 14px auto 0; max-width: 520px; }
.cta-card .store-badge { margin-top: 30px; }
.cta-card .facts { margin-top: 18px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--muted); font-size: 14.5px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 20px; }
.footer-links { display: flex; gap: 20px; margin-left: auto; }
.footer-links a { text-decoration: none; color: var(--muted); font-weight: 600; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { width: 100%; margin-top: 10px; color: var(--soft); }
.legal { width: 100%; font-size: 12.5px; color: var(--soft); max-width: 720px; }
@media (max-width: 640px) { .footer-links { margin-left: 0; } }

/* --------------------------------------------------------------------------
   Sticky store bar (phones only)
   -------------------------------------------------------------------------- */
.stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(250, 248, 244, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line);
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
}
.stickybar.show { transform: none; }
@media (min-width: 761px) { .stickybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
.stickybar-inner { display: flex; align-items: center; gap: 12px; }
.stickybar .wordmark { font-size: 18px; }
.stickybar .txt { margin-left: auto; font-size: 14px; font-weight: 600; color: var(--muted); }
.stickybar .store-badge img { height: 40px; }
/* Keep the last section clear of the bar on phones. */
@media (max-width: 760px) { .site-footer { padding-bottom: 96px; } }

/* --------------------------------------------------------------------------
   Scroll reveal: hidden-until-scrolled only when JS runs (html.js).
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.d1.in { transition-delay: 0.08s; }
.reveal.d2.in { transition-delay: 0.16s; }
.reveal.d3.in { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.in { transition: none; }
}
