/* PupMarks marketing site
   Apple-inspired redesign: big type, calm surfaces, scroll-driven motion. */

:root {
  --ink: #16202e;
  --muted: #667485;
  --paper: #ffffff;
  --field: #f1f4f8;
  --field-soft: #f7f9fc;
  --line: #e1e7ee;
  --blue: #2d5a87;
  --blue-dark: #1e3a5c;
  --sky: #2e8bd6;
  --gold: #f2b33d;
  --coral: #f2705a;
  --lilac: #7e6fae;
  --sage: #5f8b67;
  --shadow: 0 24px 70px rgba(20, 35, 59, 0.12);
  --shadow-soft: 0 14px 40px rgba(20, 35, 59, 0.08);
  --radius: 32px;
  --shell: min(1180px, calc(100vw - 48px));
  --ease-out: cubic-bezier(0.22, 0.61, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, "SF Pro Display", BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--paper);
  background: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus-visible {
  top: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============ Header ============ */

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  border-color: rgba(22, 32, 46, 0.07);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 34px rgba(20, 35, 59, 0.06);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand img {
  border-radius: 12px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font: inherit;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 9px 14px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 640;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(22, 32, 46, 0.05);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding: 10px 18px;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 10px 26px rgba(45, 90, 135, 0.32);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease, background 0.2s ease;
}

.site-nav .nav-cta:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(22, 32, 46, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 2px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

/* ============ Shared type ============ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.eyebrow-light {
  color: #9cc3e8;
}

.eyebrow-light span {
  background: #9cc3e8;
}

.section {
  padding: 140px 0;
}

.section-heading {
  max-width: 730px;
  margin: 0 auto 72px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2,
.cta-card h2 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

/* ============ Reveal system ============ */

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

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

/* ============ Hero ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 120px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.hero-glow-one {
  top: -180px;
  left: 50%;
  width: 860px;
  height: 620px;
  background: radial-gradient(circle, rgba(46, 139, 214, 0.16), transparent 65%);
  transform: translateX(-50%);
}

.hero-glow-two {
  top: 260px;
  right: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242, 179, 61, 0.14), transparent 65%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  justify-content: center;
  animation: hero-rise 0.9s var(--ease-out) both;
}

.hero-title {
  margin: 0;
  font-size: clamp(58px, 9.6vw, 118px);
  font-weight: 800;
  letter-spacing: -4.5px;
  line-height: 0.98;
}

.hero-title .hw {
  display: inline-block;
  animation: hero-rise 1s var(--ease-out) both;
  animation-delay: calc(0.08s + var(--i) * 0.09s);
}

.hero-title .hw-0 { --i: 0; }
.hero-title .hw-1 { --i: 1; }
.hero-title .hw-2 { --i: 2; }

.hero-title em {
  position: relative;
  color: var(--blue);
  font-style: italic;
}

.hero-spot {
  position: relative;
}

.hero-spot::after {
  position: absolute;
  right: -0.06em;
  bottom: -0.12em;
  left: 0.02em;
  height: 0.11em;
  border-radius: 999px 45% 999px 55%;
  background: var(--yellow);
  content: "";
  transform: rotate(-1.5deg) scaleX(0);
  transform-origin: left center;
  animation: hero-underline 0.7s 0.65s var(--ease-out) forwards;
}

.hero-title-break {
  display: block;
}

.hero-lede {
  max-width: 560px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.6;
  animation: hero-rise 1s var(--ease-out) 0.45s both;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  animation: hero-rise 1s var(--ease-out) 0.55s both;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 15px;
  border: 1px solid rgba(22, 32, 46, 0.1);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.platform-badge:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.platform-badge[aria-disabled="true"],
.store-download[aria-disabled="true"] {
  cursor: default;
}

.platform-badge[aria-disabled="true"]:hover,
.store-download[aria-disabled="true"]:hover {
  transform: none;
}

.platform-badge svg {
  width: auto;
  height: 22px;
  flex: 0 0 auto;
  fill: var(--ink);
}

/* Apple's mark reads optically larger than the Play triangle at equal box
   height, so trim it slightly to match cap height beside the label. */
.platform-badge .apple-mark {
  height: 21px;
}

.platform-badge small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.platform-badge span:last-child {
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.hero-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  animation: hero-rise 1s var(--ease-out) 0.65s both;
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 30px;
  max-width: 1020px;
  margin: 64px auto 0;
  padding: 0 24px;
  animation: hero-rise 1.1s var(--ease-out) 0.7s both;
}

.hero-phone {
  position: relative;
  width: min(330px, 76vw);
  padding: 15px;
  border-radius: 56px;
  background: #101828;
  box-shadow: 0 50px 110px rgba(16, 24, 40, 0.35);
  animation: hero-device-float 6.5s ease-in-out infinite;
}

.hero-phone .phone-screen {
  overflow: hidden;
  border-radius: 42px;
  background: #0d1522;
}

.hero-phone img {
  width: 100%;
}

.floating-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 90px;
  padding: 13px 20px 13px 13px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  text-align: left;
  animation: hero-card-float 5.4s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  font-size: 14px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.floating-card > img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
}

.float-right {
  margin-bottom: 190px;
  animation-delay: -2.7s;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  place-items: center;
}

.card-icon-blue {
  background: #e5eef7;
}

.card-icon svg {
  width: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-width: 1.9;
}

.mini-heart {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--coral);
  background: #fdeae6;
  font-size: 12px;
  place-items: center;
}

.hero-proof {
  position: relative;
  z-index: 2;
  display: grid;
  margin-top: 84px;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(4, 1fr);
}

.hero-proof p {
  margin: 0;
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  text-align: left;
}

.hero-proof p:first-child {
  padding-left: 0;
}

.hero-proof p:last-child {
  padding-right: 0;
  border-right: 0;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  margin-bottom: 5px;
  font-size: 14px;
  letter-spacing: -0.2px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(46px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-underline {
  to {
    transform: rotate(-1.5deg) scaleX(1);
  }
}

@keyframes hero-device-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -10px;
  }
}

@keyframes hero-card-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

/* ============ Story (the quote) ============ */

.story {
  position: relative;
  background: var(--blue-dark);
}

.story-track {
  height: 210vh;
}

.story-frame {
  position: sticky;
  top: 0;
  display: grid;
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
  place-items: center;
}

.story-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.16);
  will-change: transform;
}

.story-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 21, 34, 0.34), rgba(13, 21, 34, 0.14) 40%, rgba(13, 21, 34, 0.62)),
    radial-gradient(ellipse at 50% 78%, rgba(13, 21, 34, 0.5), transparent 62%);
}

.story-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 28px;
  color: var(--paper);
  text-align: center;
}

.story-copy > img {
  margin: 0 auto 26px;
  filter: drop-shadow(0 10px 24px rgba(13, 21, 34, 0.45));
}

.story-copy blockquote {
  margin: 0;
  font-size: clamp(36px, 6.4vw, 76px);
  font-weight: 800;
  letter-spacing: -2.8px;
  line-height: 1.04;
  text-shadow: 0 4px 34px rgba(13, 21, 34, 0.55);
}

.story-copy > p {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.6;
  text-shadow: 0 2px 18px rgba(13, 21, 34, 0.5);
}

.story-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99px;
  background: rgba(13, 21, 34, 0.42);
  font-size: 13px;
  font-weight: 640;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.story-chip span {
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--gold);
  color: #4d3505;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

[data-story-line] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-story-line].is-on {
  opacity: 1;
  transform: translateY(0);
}

/* ============ PupMark mock cards (shared) ============ */

.pupmark-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 300px;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(138, 90, 0, 0.1);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.pupmark-mock img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}

.pupmark-mock small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pupmark-mock strong {
  display: block;
  font-size: 13.5px;
  letter-spacing: -0.2px;
}

.pupmark-mock-one {
  transform: rotate(-2deg) translateX(-16px);
}

.pupmark-mock-two {
  transform: rotate(2deg) translateX(16px);
}

/* ============ Showcase (pinned phone) ============ */

.showcase-layout {
  display: grid;
  align-items: start;
  margin-bottom: 0;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: clamp(40px, 6vw, 110px);
}

.showcase-steps {
  display: flex;
  flex-direction: column;
}

.showcase-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 82vh;
  padding: 40px 0;
  opacity: 0.22;
  transition: opacity 0.5s ease;
}

.showcase-step.is-active {
  opacity: 1;
}

.step-kicker {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 99px;
  color: var(--blue);
  background: #e5eef7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.showcase-step h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.05;
}

.showcase-step p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.step-facts {
  max-width: 430px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 32, 46, 0.1);
  color: var(--blue);
  font-size: 19px;
  font-weight: 760;
  letter-spacing: -0.5px;
  line-height: 1.35;
}

.step-facts span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.step-shot {
  display: none;
  margin: 28px 0 0;
}

.showcase-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100dvh;
}

.showcase-phone {
  width: min(340px, 100%);
  padding: 15px;
  border-radius: 56px;
  background: #101828;
  box-shadow: 0 46px 100px rgba(16, 24, 40, 0.32);
}

.showcase-phone .phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  background: #0d1522;
  aspect-ratio: 431 / 936;
}

.showcase-phone .shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.showcase-phone .shot.is-on {
  opacity: 1;
}

.showcase-dots {
  display: flex;
  gap: 8px;
  margin-top: 26px;
}

.showcase-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(22, 32, 46, 0.16);
  transition: background 0.3s ease, transform 0.3s ease;
}

.showcase-dots span.is-on {
  background: var(--blue);
  transform: scale(1.25);
}

.privacy-band {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 46px 48px;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #23446b, var(--blue-dark) 70%);
  color: var(--paper);
}

.privacy-band::before,
.privacy-band::after {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.privacy-band::after {
  top: -180px;
  right: -120px;
  width: 380px;
  height: 380px;
}

.privacy-shield {
  display: grid;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  place-items: center;
}

.privacy-shield svg {
  width: 38px;
  fill: none;
  stroke: #86b5df;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.privacy-head {
  position: relative;
  display: grid;
  align-items: center;
  margin-bottom: 32px;
  grid-template-columns: auto 1fr;
  gap: 24px;
}

.privacy-band h3 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -1px;
}

.privacy-head p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15.5px;
  line-height: 1.6;
}

.privacy-columns {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.privacy-group > strong {
  display: block;
  margin-bottom: 6px;
  color: #9cc3e8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.privacy-option {
  display: grid;
  align-items: start;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 118px 1fr;
  gap: 14px;
}

.privacy-option span {
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 740;
  text-align: center;
  white-space: nowrap;
}

.privacy-option p {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.55;
}

/* ============ Seven-day story ============ */

.week-story {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(145deg, #0f1c2d, var(--blue-dark) 58%, #172b42);
}

.week-glow {
  position: absolute;
  top: -320px;
  left: -180px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 214, 0.28), transparent 67%);
  filter: blur(20px);
  pointer-events: none;
}

.week-layout {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: 700px;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(60px, 8vw, 120px);
}

.week-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(48px, 6.6vw, 78px);
  font-weight: 800;
  letter-spacing: -3.5px;
  line-height: 0.98;
}

.week-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.week-stats {
  display: grid;
  max-width: 560px;
  margin-top: 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  grid-template-columns: repeat(3, 1fr);
}

.week-stats p {
  margin: 0;
  padding: 22px 20px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.week-stats p:not(:first-child) {
  padding-left: 20px;
}

.week-stats p:last-child {
  border-right: 0;
}

.week-stats strong,
.week-stats span {
  display: block;
}

.week-stats strong {
  font-size: 30px;
  letter-spacing: -1.2px;
}

.week-stats span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
}

.week-phone-wrap {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: center;
}

.week-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.week-orbit-one {
  width: 570px;
  height: 570px;
}

.week-orbit-two {
  width: 430px;
  height: 430px;
  border-style: dashed;
}

.week-phone {
  position: relative;
  z-index: 2;
  width: min(320px, 68vw);
  padding: 14px;
  border-radius: 54px;
  background: #0d1522;
  box-shadow: 0 48px 110px rgba(5, 10, 18, 0.48);
  transform: rotate(2deg);
}

.week-phone .phone-screen {
  overflow: hidden;
  border-radius: 41px;
  aspect-ratio: 720 / 1566;
}

.week-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.week-days {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 86px;
  display: flex;
  gap: 6px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  background: rgba(12, 23, 38, 0.76);
  box-shadow: 0 20px 48px rgba(3, 8, 15, 0.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.week-days span {
  display: grid;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--coral);
  font-size: 9px;
  font-weight: 800;
  place-items: center;
}

.week-days span:nth-child(2) { background: #d76543; }
.week-days span:nth-child(3) { background: var(--gold); }
.week-days span:nth-child(4) { background: #3f9c75; }
.week-days span:nth-child(5) { background: var(--sky); }
.week-days span:nth-child(6) { background: var(--lilac); }
.week-days span:nth-child(7) { background: var(--sage); }

/* ============ How it works ============ */

.how {
  background: var(--field-soft);
}

.journey {
  position: relative;
  max-width: 1020px;
  margin: 0 auto;
}

.journey-track,
.journey-fill {
  position: absolute;
  z-index: 0;
  top: 10px;
  bottom: 70px;
  left: 50%;
  width: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
}

.journey-track {
  background: repeating-linear-gradient(
    180deg,
    rgba(45, 90, 135, 0.28) 0 7px,
    transparent 7px 17px
  );
}

.journey-fill {
  bottom: auto;
  height: 0%;
  max-height: calc(100% - 80px);
  background: linear-gradient(180deg, var(--sky), var(--blue));
}

.journey-fill::after {
  position: absolute;
  right: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 8px rgba(46, 139, 214, 0.14), 0 0 24px rgba(46, 139, 214, 0.55);
  content: "";
  transform: translateX(50%);
}

.journey-steps {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journey-step {
  position: relative;
  display: grid;
  align-items: center;
  padding: 48px 0;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
}

.journey-copy {
  max-width: 390px;
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: right;
}

.journey-copy h3 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -1px;
}

.journey-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.journey-step .step-number {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  box-shadow: 0 0 0 7px var(--field-soft);
}

.journey-step .step-stamp {
  width: 60px;
  height: 60px;
  border: 3px solid var(--paper);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.stamp-step-icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 2.4px solid var(--paper);
  border-radius: 12px;
  transform: rotate(-7deg);
}

.stamp-plus {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 2px;
  background: var(--paper);
  transform: translate(-50%, -50%);
}

.stamp-plus-horizontal {
  width: 18px;
  height: 2.4px;
}

.stamp-plus-vertical {
  width: 2.4px;
  height: 18px;
}

.journey-visual {
  display: flex;
  align-items: center;
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
}

.journey-step:nth-child(even) .journey-copy {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.journey-step:nth-child(even) .journey-visual {
  grid-column: 1;
  justify-self: end;
}

.journey-step[data-reveal] {
  transform: translate3d(-44px, 0, 0);
}

.journey-step:nth-child(even)[data-reveal] {
  transform: translate3d(44px, 0, 0);
}

.journey-step[data-reveal].is-visible {
  transform: translate3d(0, 0, 0);
}

.journey-mocks {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.journey-mocks .pupmark-mock-one {
  transform: rotate(-1.5deg);
}

.journey-mocks .pupmark-mock-two {
  transform: rotate(1.5deg) translateX(14px);
}

.journey-shot img {
  width: 220px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(2.5deg);
}

.journey-step:nth-child(even) .journey-shot img {
  transform: rotate(-2.5deg);
}

.walk-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 14px 20px;
  border: 1px solid rgba(22, 32, 46, 0.06);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.3px;
}

.rec-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
  animation: rec-pulse 1.6s ease-out infinite;
}

@keyframes rec-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(242, 112, 90, 0.45);
  }
  70% {
    box-shadow: 0 0 0 11px rgba(242, 112, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(242, 112, 90, 0);
  }
}

.journey-end {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.journey-end img {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
}

.pack-row img {
  width: 52px;
  height: 52px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.pack-row img + img {
  margin-left: -14px;
}

.step-number {
  display: inline-grid;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  font-size: 17px;
  font-weight: 800;
  place-items: center;
  opacity: 0;
  transform: scale(0.4);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.4s ease 0.15s;
}

.journey-step.is-visible .step-number {
  opacity: 1;
  transform: scale(1);
}

/* ============ Download / CTA ============ */

.download {
  padding-top: 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6.5vw, 76px) 28px;
  border-radius: 44px;
  background: linear-gradient(165deg, #23446b, var(--blue-dark) 55%, #16293f);
  color: var(--paper);
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -240px;
  left: 50%;
  width: 720px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 139, 214, 0.34), transparent 65%);
  filter: blur(70px);
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-card > *:not(.cta-glow) {
  position: relative;
}

.cta-logo {
  margin: 0 auto 24px;
}

.cta-card .eyebrow {
  justify-content: center;
}

.cta-lede {
  max-width: 520px;
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  line-height: 1.65;
}

.updates-form {
  max-width: 760px;
  margin: 32px auto 0;
}

.updates-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.updates-controls input[type="email"] {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 99px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.updates-controls input[type="email"]:focus-visible {
  border-color: #a8d5ff;
  box-shadow: 0 0 0 4px rgba(156, 195, 232, 0.26);
}

.updates-form .launch-button {
  min-height: 56px;
  margin-top: 0;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.updates-form .launch-button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.updates-consent {
  display: flex;
  max-width: 650px;
  align-items: flex-start;
  gap: 10px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

.updates-consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #9cc3e8;
}

.updates-consent a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.updates-status {
  min-height: 24px;
  margin: 12px auto 0;
  color: #cbe6ff;
  font-size: 13px;
  font-weight: 650;
}

.updates-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}

.launch-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 16px 30px;
  border-radius: 99px;
  color: var(--blue-dark);
  background: var(--paper);
  font-size: 16px;
  font-weight: 780;
  letter-spacing: -0.3px;
  box-shadow: 0 20px 50px rgba(9, 16, 26, 0.4);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}

.launch-button:hover {
  box-shadow: 0 26px 60px rgba(9, 16, 26, 0.5);
  transform: translateY(-2px);
}

.launch-button span {
  transition: transform 0.25s var(--ease-out);
}

.launch-button:hover span {
  transform: translateX(4px);
}

.store-downloads {
  display: flex;
  justify-content: center;
  margin-top: 34px;
  gap: 14px;
  flex-wrap: wrap;
}

.store-download {
  display: inline-flex;
  min-width: 210px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  color: var(--paper);
  background: #07111f;
  box-shadow: 0 18px 42px rgba(6, 13, 23, 0.35);
  text-align: left;
  transition: transform 0.22s var(--ease-out), background 0.22s ease, border-color 0.22s ease;
}

.store-download:hover,
.store-download:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: #02070d;
  transform: translateY(-2px);
}

.store-download > span:last-child,
.store-download small,
.store-download strong {
  display: block;
}

.store-download small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

.store-download strong {
  margin-top: 1px;
  font-size: 20px;
  letter-spacing: -0.4px;
  line-height: 1.15;
}

.store-brand-mark {
  width: auto;
  height: 30px;
  flex: 0 0 auto;
}

.store-downloads .apple-mark {
  height: 29px;
}

.cta-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 38px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 640;
}

.cta-platforms i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--field-soft);
}

.footer-top {
  display: grid;
  padding: 64px 0 44px;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  align-items: flex-start;
}

.footer-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* ============ 404 ============ */

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 30px;
  background: var(--field);
  place-items: center;
}

.error-card {
  max-width: 560px;
  padding: 54px;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-card img {
  width: 90px;
  margin: 0 auto 20px;
}

.error-card h1 {
  margin: 0 0 12px;
  font-size: 42px;
  letter-spacing: -2px;
}

.error-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.error-card a {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 99px;
  color: var(--paper);
  background: var(--blue);
  font-size: 13px;
  font-weight: 740;
}

/* ============ Responsive ============ */

@media (max-width: 1080px) {
  .showcase-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .showcase-phone {
    width: min(300px, 100%);
  }
}

@media (max-width: 900px) {
  .section {
    padding: 100px 0;
  }

  .section-heading {
    margin-bottom: 52px;
  }

  .privacy-band {
    padding: 32px 26px;
  }

  .privacy-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .privacy-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .week-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .week-copy {
    max-width: 700px;
  }

  .week-phone-wrap {
    min-height: 620px;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-stage {
    gap: 16px;
  }

  .floating-card {
    display: none;
  }

  .showcase-layout {
    display: block;
    margin-bottom: 0;
  }

  .showcase-sticky {
    display: none;
  }

  .showcase-step {
    align-items: center;
    min-height: 0;
    padding: 34px 0;
    opacity: 0.34;
    text-align: center;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.5s ease, transform 0.6s var(--ease-out);
  }

  .showcase-step.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .showcase-step .step-kicker {
    align-self: center;
  }

  .showcase-step p {
    width: min(100%, 430px);
  }

  .showcase-step .step-facts {
    margin: 20px auto 0;
  }

  .step-shot {
    display: block;
    margin: 28px auto 0;
  }

  .step-shot img {
    width: min(300px, 82vw);
    border-radius: 30px;
    box-shadow: var(--shadow);
    opacity: 0.45;
    transform: translate3d(0, 18px, 0) scale(0.965);
    transition: opacity 0.5s ease, transform 0.65s var(--ease-out);
  }

  .showcase-step.is-active .step-shot img {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .journey-track,
  .journey-fill {
    left: 23px;
    bottom: 36px;
  }

  .journey-fill {
    bottom: auto;
    max-height: calc(100% - 46px);
  }

  .journey-step {
    padding: 30px 0;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 0 20px;
  }

  .journey-step .step-number {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    box-shadow: 0 0 0 6px var(--field-soft);
  }

  .journey-step .step-stamp {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
  }

  .stamp-step-icon {
    width: 25px;
    height: 25px;
    border-radius: 9px;
  }

  .stamp-plus-horizontal {
    width: 14px;
  }

  .stamp-plus-vertical {
    height: 14px;
  }

  .journey-copy,
  .journey-step:nth-child(even) .journey-copy {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
  }

  .journey-visual,
  .journey-step:nth-child(even) .journey-visual {
    margin-top: 18px;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .journey-step[data-reveal],
  .journey-step:nth-child(even)[data-reveal] {
    transform: translate3d(0, 30px, 0);
  }

  .journey-end {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: start;
  }

  .journey-end img {
    max-width: none;
    justify-self: center;
  }

  .story-track {
    height: 190vh;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) and (max-width: 900px) {
  .hero-stage {
    width: min(100%, 720px);
  }

  .floating-card {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    margin-bottom: 0;
    padding: 10px 13px 10px 10px;
    border-radius: 16px;
  }

  .hero-stage > .floating-card:first-child {
    top: 15%;
    left: 10px;
  }

  .hero-stage > .float-right {
    right: 10px;
    bottom: 17%;
  }

  .floating-card strong {
    font-size: 12px;
  }

  .floating-card > img,
  .floating-card .card-icon {
    width: 38px;
    height: 38px;
  }

  .mini-heart {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: block;
  }

  .nav-open .menu-button span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-button span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - 92px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid rgba(22, 32, 46, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 70px rgba(20, 35, 59, 0.18);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  }

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

  .site-nav a {
    padding: 13px 14px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 720;
    letter-spacing: -0.3px;
    color: var(--ink);
  }

  .site-nav a:hover {
    background: var(--field-soft);
  }

  .site-nav .nav-cta {
    margin-top: 6px;
    margin-left: 0;
    padding: 13px 14px;
    font-size: 16px;
    letter-spacing: -0.3px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-title {
    letter-spacing: -2.8px;
  }

  .hero-proof {
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-proof p,
  .hero-proof p:first-child,
  .hero-proof p:last-child {
    padding: 18px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .hero-proof p:nth-child(even) {
    border-right: 0;
  }

  .hero-proof p:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .week-copy h2 {
    font-size: clamp(44px, 14vw, 62px);
    letter-spacing: -2.4px;
  }

  .week-copy > p:not(.eyebrow) {
    font-size: 16px;
  }

  .week-stats strong {
    font-size: 24px;
  }

  .week-stats span {
    font-size: 9px;
  }

  .week-phone-wrap {
    min-height: 540px;
  }

  .week-orbit-one {
    width: 410px;
    height: 410px;
  }

  .week-orbit-two {
    width: 320px;
    height: 320px;
  }

  .week-phone {
    width: min(250px, 70vw);
  }

  .week-days {
    right: -6px;
    bottom: 42px;
  }

  .week-days span {
    width: 22px;
    height: 22px;
  }

  .section-heading h2,
  .cta-card h2 {
    letter-spacing: -2px;
  }

  .pupmark-mock-one {
    transform: rotate(-2deg) translateX(-6px);
  }

  .pupmark-mock-two {
    transform: rotate(2deg) translateX(6px);
  }

  .story-copy blockquote {
    letter-spacing: -1.6px;
  }

  .cta-card {
    border-radius: 32px;
  }

  .store-downloads {
    align-items: stretch;
    flex-direction: column;
  }

  .store-download {
    width: min(100%, 300px);
    margin: 0 auto;
  }

  .updates-controls {
    grid-template-columns: 1fr;
  }

  .updates-form .launch-button {
    justify-content: center;
    white-space: normal;
  }

  .error-card {
    padding: 38px 24px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============ Reduced motion ============ */

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

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

  [data-reveal],
  [data-story-line] {
    opacity: 1;
    transform: none;
  }

  .story-track {
    height: auto;
  }

  .story-frame {
    position: static;
    min-height: 80vh;
    height: auto;
    padding: 120px 0;
  }

  .story-media {
    transform: none;
  }

  .showcase-step {
    opacity: 1;
    transform: none;
  }

  .step-shot img {
    opacity: 1;
    transform: none;
  }

  .journey-fill::after {
    display: none;
  }

}

/* Optional website analytics controls. */
.analytics-choice { position: fixed; z-index: 1000; bottom: 16px; left: 16px; right: 16px; max-width: 580px; padding: 20px; border: 1px solid #b9cbd2; border-radius: 20px; background: #fffdf7; color: #163a50; box-shadow: 0 8px 32px #163a5026; }
.analytics-choice p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.analytics-choice div { display: flex; flex-wrap: wrap; gap: 10px; }
.analytics-choice button, .analytics-settings { font: inherit; cursor: pointer; border: 1px solid #163a50; border-radius: 12px; padding: 10px 14px; background: #fffdf7; color: #163a50; }
.analytics-choice button:first-child { background: #163a50; color: white; }
.analytics-settings { font-size: 12px; }

/* Honor the device theme without recoloring product screenshots or photos. */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #edf3fa;
    --muted: #b0bdcd;
    --paper: #142131;
    --field: #1b2b3e;
    --field-soft: #0e1825;
    --line: #36485c;
    --blue: #a1cdf6;
    --sky: #83c7ff;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.2);
  }

  html { color-scheme: dark; }

  .site-header,
  .site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(14, 24, 37, 0.95);
  }

  .menu-button,
  .floating-card {
    border-color: var(--line);
    background: var(--field);
  }

  .site-nav a:hover { background: var(--field); }
  .site-nav .nav-cta:hover { color: #fff; }

  .skip-link,
  .story-copy,
  .privacy-band,
  .week-story,
  .cta-card,
  .updates-consent a,
  .store-download {
    color: #edf3fa;
  }

  .card-icon-blue,
  .step-kicker { background: #233d57; }
  .mini-heart { background: #482e30; }
  .showcase-dots span { background: var(--line); }
  .showcase-dots span.is-on { background: var(--blue); }

  .updates-controls input[type="email"] {
    border-color: var(--line);
    background: var(--field-soft);
    color: var(--ink);
  }
  .updates-controls input[type="email"]::placeholder { color: var(--muted); }
  .launch-button { background: var(--blue); color: #142131; }

  .analytics-choice,
  .analytics-choice button,
  .analytics-settings {
    border-color: var(--line);
    background: var(--field);
    color: var(--ink);
  }
  .analytics-choice button:first-child {
    background: var(--blue);
    color: #142131;
  }

  @media (max-width: 820px) {
    .site-nav { border-color: var(--line); background: var(--paper); }
  }
}
