/* ============================================================
   GROUNDED — marketing site
   Rubber-hose comic system built on the app's Grounded palette
   (warm cream paper + moss green + clay, ink outlines,
   hard "sticker" shadows — mirrors DesignSystem.swift)
   ============================================================ */

:root {
  /* palette — from SharedColors.swift (light mode) */
  --paper: #F4E7C2;
  --cream: #FFFBF0;
  --surface: #FFFBF0;
  --surface-alt: #FBF2D8;
  --ink: #211D15;
  --moss: #51701F;
  --moss-deep: #36501A;
  --leaf: #A8C060;
  --moss-soft: #DDE6BE;
  --leaf-soft: #CBD99A;
  --clay: #D89A4F;
  --clay-deep: #B5762F;
  --clay-soft: #F1DBB6;
  --danger: #BE4326;
  --danger-soft: #F0D2C5;
  --border: #D9C9A0;
  --subtitle: #4A4438;
  --neutral: #847A66;

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  /* motion */
  --pop: cubic-bezier(.34, 1.56, .64, 1);
  --snap: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; }
strong { font-weight: 700; }

::selection { background: var(--clay); color: var(--ink); }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 10px 18px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { left: 8px; }

/* paper grain overlay */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  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'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045;
  mix-blend-mode: multiply;
}

/* ---------- layout ---------- */
.container { max-width: 1140px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 780px; }
.section { padding-block: clamp(4rem, 9vw, 7rem); }

/* ---------- typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 14px;
}
.eyebrow--clay { color: var(--clay-deep); }

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 18px;
}
.section__sub {
  font-size: 1.1rem;
  color: var(--subtitle);
  max-width: 56ch;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
}

.svg-mono { font-family: var(--font-mono); font-weight: 700; font-size: 14px; fill: var(--ink); }
.svg-mono--cream { fill: var(--cream); }
.svg-mono--moss { fill: var(--moss); font-size: 20px; }

/* rubber-hose "boing" — squash & stretch on hover.
   Uses individual scale/rotate props so it composes with translate lifts. */
@keyframes jelly {
  0%   { scale: 1 1; }
  30%  { scale: 1.06 .92; }
  55%  { scale: .96 1.06; }
  75%  { scale: 1.02 .98; }
  100% { scale: 1 1; }
}
@keyframes icon-swing {
  0%   { rotate: 0deg;    scale: 1; }
  35%  { rotate: -18deg;  scale: 1.25 1.05; }
  65%  { rotate: 2deg;    scale: 1.02 1.18; }
  100% { rotate: -8deg;   scale: 1.12; }
}

/* hand-drawn wobble radius */
.wobble { border-radius: 22px 18px 24px 16px / 18px 24px 16px 22px; }

/* ---------- buttons (sticker system, mirrors StickerButtonStyle) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 1rem;
  padding: .8em 1.5em;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: translate .18s var(--pop), rotate .18s var(--pop), box-shadow .18s var(--pop), background .15s;
  will-change: translate, scale;
}
.btn:hover { translate: 0 -3px; rotate: -1.5deg; box-shadow: 0 8px 0 var(--ink); animation: jelly .45s var(--snap); }
.btn:active { translate: 0 4px; rotate: 0deg; box-shadow: 0 1px 0 var(--ink); animation: none; }
.btn--moss { background: var(--moss); color: var(--cream); }
.btn--moss:hover { background: var(--moss-deep); }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 0 5px 0 var(--clay); }
.btn--ink:hover { box-shadow: 0 7px 0 var(--clay); }
.btn--ink:active { box-shadow: 0 1px 0 var(--clay); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--cream); }
.btn--deny { background: var(--danger-soft); color: var(--danger); }
.btn--deny:hover { background: var(--danger); color: var(--cream); }
.btn--sm { font-size: .9rem; padding: .55em 1.1em; box-shadow: 0 4px 0 var(--clay); }
.btn--block { width: 100%; }

/* App Store badge */
.btn-appstore {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--cream);
  border: 3px solid var(--ink); border-radius: 16px;
  padding: 10px 22px 12px 18px;
  text-decoration: none;
  box-shadow: 0 6px 0 var(--clay);
  transition: translate .18s var(--pop), rotate .18s var(--pop), box-shadow .18s var(--pop);
  will-change: translate, scale;
}
.btn-appstore:hover { translate: 0 -3px; rotate: -1.5deg; box-shadow: 0 9px 0 var(--clay); animation: jelly .45s var(--snap); }
.btn-appstore:hover .btn-appstore__apple { animation: icon-swing .55s var(--snap) forwards; }
.btn-appstore:active { translate: 0 5px; rotate: 0deg; box-shadow: 0 1px 0 var(--clay); animation: none; }
.btn-appstore__apple { width: 30px; height: 30px; flex: none; transform-origin: center; }
.btn-appstore__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-appstore__text small { font-size: .72rem; font-weight: 600; opacity: .85; }
.btn-appstore__text strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .01em; }
.btn-appstore--lg { padding: 13px 28px 15px 22px; }
.btn-appstore--lg .btn-appstore__text strong { font-size: 1.55rem; }

/* ---------- custom cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 34px; height: 34px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.cursor.is-on { opacity: 1; }
.cursor svg { width: 100%; height: 100%; transition: transform .18s var(--pop); }
.cursor.is-hover svg { transform: scale(1.35) rotate(-14deg); }
.cursor.is-hover svg path { fill: var(--clay); }
.cursor.is-down svg { transform: scale(.85) rotate(-8deg); }
@media (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor summary { cursor: none; }
}

/* ============================================================ NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  transition: background .25s;
}
.nav.is-scrolled {
  background: var(--cream);
  border-bottom: 3px solid var(--ink);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 16px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__icon {
  width: 36px; height: 36px; flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 24% / 24%;
}
.nav__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em;
  display: inline-block;
}
.nav__logo:hover .nav__name { rotate: -2deg; }
.nav__name { transition: rotate .2s var(--pop); }
.nav__links { display: flex; gap: 26px; }
.nav__links a {
  text-decoration: none; font-weight: 700; font-size: .98rem;
  position: relative; padding-block: 4px;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 3px; background: var(--clay); border-radius: 2px;
  transition: right .25s var(--snap);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav__burger span { width: 24px; height: 3.5px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--pop), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ============================================================ HERO */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero__squiggle { position: relative; display: inline-block; color: var(--moss); }
.hero__squiggle svg {
  position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .22em;
  overflow: visible;
}
.hero__squiggle svg path {
  stroke-dasharray: 460; stroke-dashoffset: 460;
  animation: draw 1s var(--snap) .7s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__sub { font-size: 1.18rem; color: var(--subtitle); max-width: 52ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 18px; }
.hero__micro { font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em; color: var(--neutral); text-transform: uppercase; }

/* hero art — app icon showcase */
.hero__art { position: relative; max-width: 560px; margin-inline: auto; }
.hero-icon {
  position: relative;
  width: min(78%, 340px);
  aspect-ratio: 1;
  margin: 8px auto;
  display: grid; place-items: center;
  animation: icon-bob 5s ease-in-out infinite;
}
@keyframes icon-bob {
  0%, 100% { translate: 0 0; rotate: -3deg; }
  50%      { translate: 0 -12px; rotate: -1deg; }
}
/* iOS squircle approximated with a continuous-corner radius */
.hero-icon__tile {
  position: relative; z-index: 2;
  width: 100%; aspect-ratio: 1;
  border: 5px solid var(--ink);
  border-radius: 24% / 24%;
  overflow: hidden;
  background: var(--cream);
}
.hero-icon__img { width: 100%; height: 100%; object-fit: cover; }
/* tilted "stacked sticker" card behind — depth without a drop shadow */
.hero-icon__back {
  position: absolute; inset: 0; z-index: 1;
  border: 4px solid var(--ink);
  border-radius: 24% / 24%;
  background: var(--clay-soft);
  rotate: 7deg;
}
/* halftone dot puff radiating behind the whole thing */
.hero-icon__halftone {
  position: absolute; inset: -16%; z-index: 0;
  background: radial-gradient(var(--ink) 1.4px, transparent 1.8px) 0 0 / 15px 15px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 78%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 78%);
  opacity: .16;
  animation: icon-spin 60s linear infinite;
}
@keyframes icon-spin { to { rotate: 360deg; } }
/* little stamped "App Store" chip clipped to the corner */
.hero-icon__chip {
  position: absolute; z-index: 3;
  bottom: 7%; right: -6%;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 9px;
  border: 3px solid var(--cream);
  rotate: -5deg;
}

/* ---------- phone frame (real screenshots) ---------- */
.phone {
  position: relative; z-index: 2;
  width: 100%;
  aspect-ratio: 1206 / 2622;
  background: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 13% / 6%;
  overflow: hidden;
  box-shadow: 0 7px 0 var(--ink);
}
.phone img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* hero screenshot showcase — floating phone, black border only, no shadow */
.hero-phone {
  position: relative;
  width: min(72%, 268px);
  margin: 8px auto;
  animation: phone-bob 5s ease-in-out infinite;
}
@keyframes phone-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero-phone .phone { box-shadow: none; }
/* two phones fanned into a V — each pivots from its own bottom centre,
   so they share an apex at the bottom and splay apart at the top */
.hero-phone .phone--front,
.hero-phone .phone--back {
  transform-origin: bottom center;
  transition: translate .5s var(--snap), rotate .5s var(--snap);
}
.hero-phone .phone--front { position: relative; z-index: 2; translate: -7% 0; rotate: -11deg; }
.hero-phone .phone--back {
  position: absolute; inset: 0; z-index: 1;
  translate: 7% 0; rotate: 11deg;
}
/* hover: open the V a little wider */
.hero-phone:hover .phone--front { translate: -9% -2%; rotate: -15deg; }
.hero-phone:hover .phone--back { translate: 9% -2%; rotate: 15deg; }

/* floating stickers */
.sticker {
  position: absolute;
  font-family: var(--font-mono); font-weight: 700;
  animation: floaty 4.2s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.sticker--burst {
  top: -4%; right: -2%; width: 118px; height: 118px;
  display: grid; place-items: center; text-align: center;
  font-size: .72rem; line-height: 1.25; color: var(--ink);
}
.sticker--burst svg, .price-card__burst svg { position: absolute; inset: 0; }
.sticker--burst span, .price-card__burst span { position: relative; z-index: 1; }
.sticker__spin { animation: spin 24s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.sticker--tag {
  left: -7%; top: 10%;
  background: var(--ink); color: var(--cream);
  font-size: .72rem; letter-spacing: .06em;
  padding: 8px 14px; border-radius: 10px;
  rotate: -6deg;
  animation-delay: -1.4s;
}
.sticker--bubble {
  right: 0%; bottom: 12%;
  background: var(--cream); border: 3px solid var(--ink);
  font-size: .78rem; padding: 9px 14px;
  border-radius: 14px 14px 14px 3px;
  rotate: 4deg;
  animation-delay: -2.6s;
}
.sticker--bubble em { font-style: normal; color: var(--moss); }

/* ============================================================ MARQUEE */
.marquee {
  background: var(--ink); color: var(--cream);
  padding-block: 14px;
  overflow: hidden;
  rotate: -1deg; scale: 1.02 1;
  border-block: 3px solid var(--ink);
}
.marquee__track {
  display: flex; align-items: center; gap: 28px;
  width: max-content;
  animation: marquee 80s linear infinite;
  font-family: var(--font-mono); font-weight: 700; font-size: .9rem; letter-spacing: .14em;
  white-space: nowrap;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track i { font-style: normal; color: var(--clay); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================ HOW IT WORKS */
.how { position: relative; }
.panels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.panel {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  padding: 22px 22px 64px;
  transition: translate .25s var(--pop), rotate .25s var(--pop);
}
.panel__num {
  position: absolute; top: -14px; left: 18px;
  font-family: var(--font-mono); font-weight: 700; font-size: .7rem; letter-spacing: .14em;
  background: var(--clay); border: 3px solid var(--ink); border-radius: 8px;
  padding: 3px 10px;
}
.panel__art {
  background:
    radial-gradient(rgba(33, 29, 21, .14) 1.2px, transparent 1.6px) 0 0 / 13px 13px,
    var(--surface-alt);
  border: 3px solid var(--ink); border-radius: 12px;
  margin-bottom: 18px; padding: 8px;
}
.panel__art svg { width: 100%; height: auto; aspect-ratio: 300 / 220; }
.panel__hand { transform-box: fill-box; transform-origin: 100% 100%; animation: tap 2.4s ease-in-out infinite; }
@keyframes tap { 0%, 55%, 100% { transform: translate(0, 0); } 70%, 85% { transform: translate(-7px, -7px); } }
.panel__stamp { transform-box: fill-box; transform-origin: 90% 10%; animation: stampit 2.8s ease-in-out infinite; }
@keyframes stampit { 0%, 50%, 100% { transform: rotate(0deg) translate(0,0); } 65%, 80% { transform: rotate(6deg) translate(2px, 9px); } }
.panel__title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; margin-bottom: 8px; }
.panel__body { color: var(--subtitle); font-size: .98rem; }
.panel__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-weight: 700; font-size: .68rem; letter-spacing: .12em;
  text-align: center; padding: 9px 12px;
}

/* squiggle divider */
.divider { height: 26px; margin-block: -2px; }
.divider svg { width: 100%; height: 100%; }

/* ============================================================ FEATURES: SOLO */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.card {
  background: var(--surface);
  border: 3px solid var(--ink); border-radius: 18px;
  padding: 26px 22px;
  transition: translate .25s var(--pop), rotate .25s var(--pop);
}
.card__icon {
  width: 64px; height: 64px; margin-bottom: 16px;
  transform-origin: 50% 80%;
  transition: rotate .3s var(--pop), scale .3s var(--pop);
}
.card:hover .card__icon { animation: icon-swing .6s var(--snap) forwards; }
.card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 8px; }
.card p { color: var(--subtitle); font-size: .95rem; }

/* ============================================================ GUARDIAN */
.guardian { background: var(--surface-alt); border-block: 3px solid var(--ink); position: relative; }
.guardian::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(33, 29, 21, .07) 1.2px, transparent 1.6px) 0 0 / 16px 16px;
}
.guardian__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start;
}
.powers { list-style: none; display: grid; gap: 16px; margin-top: 8px; }
.powers__item {
  background: var(--surface);
  border: 3px solid var(--ink); border-radius: 16px;
  padding: 20px 22px;
  transition: translate .25s var(--pop);
}
.powers__item h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; }
.powers__item p { color: var(--subtitle); font-size: .96rem; }
.powers__item--hero { background: var(--moss-soft); position: relative; padding-top: 30px; }
.powers__badge {
  position: absolute; top: -15px; left: 16px;
  background: var(--moss); color: var(--cream);
  font-family: var(--font-mono); font-weight: 700; font-size: .68rem; letter-spacing: .14em;
  border: 3px solid var(--ink); border-radius: 8px;
  padding: 4px 10px;
  rotate: -2deg;
}

/* demo */
.guardian__demo { position: sticky; top: 110px; }
.demo__hint {
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--clay-deep);
  text-align: center; margin-bottom: 30px;
}
.demo-phone {
  position: relative;
  max-width: 360px; margin-inline: auto;
  background: var(--cream);
  border: 4px solid var(--ink); border-radius: 34px;
  padding: 26px 20px 22px;
}
.demo-badge {
  position: absolute; top: -16px; right: -13px; z-index: 3;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--danger); color: var(--cream);
  border: 3px solid var(--ink); border-radius: 50%;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.1rem;
  animation: badge-bounce 2.4s var(--pop) infinite;
}
@keyframes badge-bounce {
  0%, 50%, 100% { translate: 0 0; scale: 1; }
  60% { translate: 0 -8px; scale: 1.08 .9; }
  72% { translate: 0 0; scale: .94 1.08; }
  84% { translate: 0 -3px; scale: 1; }
}
.demo-phone__head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .14em;
  color: var(--neutral);
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px; margin-bottom: 18px;
}
.demo-card {
  position: relative;
  background: var(--surface-alt);
  border: 3px solid var(--ink); border-radius: 16px;
  padding: 18px;
  transition: transform .2s;
}
.demo-card.is-shake { animation: shake .45s var(--snap); }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px) rotate(-1deg); } 45% { transform: translateX(6px) rotate(1deg); }
  70% { transform: translateX(-4px); } 85% { transform: translateX(3px); }
}
.demo-card.is-pop { animation: cardpop .4s var(--pop); }
@keyframes cardpop { 0% { transform: scale(1); } 40% { transform: scale(1.04) rotate(.5deg); } 100% { transform: scale(1); } }
.demo-card__top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.demo-avatar { width: 48px; height: 48px; flex: none; }
.demo-card__who { font-weight: 800; font-size: 1.02rem; line-height: 1.3; }
.demo-card__what { color: var(--subtitle); font-size: .92rem; line-height: 1.4; }
.demo-card__actions { display: flex; gap: 12px; }
.demo-card__actions .btn { flex: 1; font-size: .95rem; padding: .65em 1em; }

.stamp {
  position: absolute; inset: 0; display: grid; place-items: center;
  pointer-events: none;
}
.stamp span {
  font-family: var(--font-mono); font-weight: 700; font-size: 1.7rem; letter-spacing: .1em;
  color: var(--moss); border: 5px solid var(--moss); border-radius: 10px;
  padding: 6px 18px;
  background: rgba(255, 251, 240, .82);
  rotate: -14deg;
  animation: stampin .35s var(--pop) both;
}
.stamp.stamp--deny span { color: var(--danger); border-color: var(--danger); }
@keyframes stampin {
  0% { transform: scale(2.4); opacity: 0; }
  60% { transform: scale(.92); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.demo-status {
  font-family: var(--font-mono); font-weight: 400; font-size: .8rem;
  color: var(--neutral); text-align: center;
  margin-top: 16px; min-height: 2.6em;
}
.demo-next {
  display: block; margin: 4px auto 0;
  font-family: var(--font-mono); font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  color: var(--moss); text-decoration: underline; cursor: pointer;
}
.demo-next:hover { color: var(--moss-deep); }
.demo__caption {
  text-align: center; font-size: .88rem; color: var(--neutral);
  margin-top: 22px; font-style: italic;
}
.confetti-star {
  position: absolute; z-index: 5; pointer-events: none;
  font-size: 1.2rem; line-height: 1;
}

/* ============================================================ SCREENSHOTS (auto-scroll strip) */
.screens-strip {
  background: var(--surface); border-block: 3px solid var(--ink);
  padding-block: clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.screens-strip__head { text-align: center; max-width: 640px; margin: 0 auto; }
.screens-strip__head .section__sub { margin-inline: auto; margin-bottom: 0; }

.phones-marquee { width: 100%; overflow: hidden; margin-top: clamp(2rem, 4vw, 3rem); }
.phones-track {
  display: flex; width: max-content;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding: 14px 0;
  animation: phones-scroll 48s linear infinite;
}
/* moving right to left; -50% = exactly one set, so the loop is seamless */
@keyframes phones-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.phones-marquee:hover .phones-track { animation-play-state: paused; }

.phone-card { flex: 0 0 auto; margin: 0; text-align: center; width: min(64vw, 270px); }
.phone-card .phone { width: 100%; margin-bottom: 16px; box-shadow: none; transition: scale .25s var(--pop); }
.phones-marquee:hover .phone-card:hover .phone { scale: 1.04; }
.phone-card figcaption {
  font-family: var(--font-mono); font-weight: 700; font-size: .82rem;
  letter-spacing: .03em; color: var(--subtitle);
}

/* ============================================================ VERSUS */
.versus__table {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  border: 3px solid var(--ink); border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
}
.versus__cell { padding: 18px 20px; border-top: 3px solid var(--ink); font-size: .96rem; }
.versus__corner, .versus__head { border-top: none; }
.versus__head {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  background: var(--surface-alt);
  display: flex; align-items: center; gap: 8px;
}
.versus__head svg { width: 22px; height: 22px; }
.versus__head--g { background: var(--moss-soft); }
.versus__label { font-weight: 800; font-size: .92rem; background: var(--surface-alt); }
.versus__no { color: var(--subtitle); position: relative; }
.versus__no::before { content: "✗  "; color: var(--danger); font-weight: 800; }
.versus__yes { background: var(--moss-soft); font-weight: 600; }
.versus__yes::before { content: "✓  "; color: var(--moss); font-weight: 800; }

/* ============================================================ PRIVACY BAND */
.privacy-band {
  background: var(--moss); color: var(--cream);
  border-block: 3px solid var(--ink);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  position: relative;
}
.privacy-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(rgba(255, 251, 240, .12) 1.2px, transparent 1.6px) 0 0 / 16px 16px;
}
.privacy-band__title {
  position: relative;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.privacy-band__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.privacy-band__item { text-align: center; }
.privacy-band__item svg { width: 64px; height: 64px; margin: 0 auto 14px; }
.privacy-band__item h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 8px; }
.privacy-band__item p { font-size: .94rem; color: var(--moss-soft); }

/* ============================================================ PRICING */
.pricing__cards {
  display: grid; grid-template-columns: 1fr 1.08fr;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.price-card {
  position: relative;
  background: var(--surface);
  border: 3px solid var(--ink);
  padding: 32px 30px;
  transition: translate .25s var(--pop), rotate .25s var(--pop);
}
.price-card--premium { background: var(--moss-soft); }
.price-card__tier {
  font-family: var(--font-mono); font-weight: 700; font-size: .85rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--moss-deep); margin-bottom: 10px;
}
.price-card__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price-card__amount {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1;
}
.price-card__per { font-family: var(--font-mono); font-weight: 700; font-size: .85rem; color: var(--neutral); }
.price-card__annualnote {
  font-size: .92rem; color: var(--subtitle); line-height: 1.7;
  margin-bottom: 18px;
}
.price-card__save {
  display: inline-block; vertical-align: middle;
  margin-right: 8px;
  background: var(--clay); color: var(--ink);
  font-family: var(--font-mono); font-weight: 700; font-size: .7rem;
  letter-spacing: .08em;
  padding: 3px 9px; border-radius: 7px;
  border: 2.5px solid var(--ink);
}
.price-card__blurb { color: var(--subtitle); font-size: .98rem; margin-bottom: 20px; }
.price-card__list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.price-card__list li { padding-left: 30px; position: relative; font-size: .98rem; }
.price-card__list li::before {
  content: "✓"; position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--leaf); border: 2.5px solid var(--ink); border-radius: 7px;
  font-size: .75rem; font-weight: 800;
}
.price-card__fine { font-size: .78rem; color: var(--neutral); margin-top: 12px; }
.price-card__burst {
  position: absolute; top: -36px; right: -22px;
  width: 116px; height: 116px;
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-weight: 700; font-size: .7rem; line-height: 1.3;
  rotate: 10deg;
  z-index: 2;
}
.pricing__pair {
  display: flex; align-items: center; gap: 18px;
  background: var(--clay-soft);
  border: 3px solid var(--ink); border-radius: 18px;
  padding: 18px 24px;
  margin-top: clamp(1.8rem, 3vw, 2.6rem);
}
.pricing__pair svg { width: 72px; height: 45px; flex: none; }
.pricing__pair p { font-size: 1rem; }

/* ============================================================ FAQ */
.faq__list { display: grid; gap: 0; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--surface); }
.faq__item { border-top: 3px solid var(--ink); }
.faq__item:first-child { border-top: none; }
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.18rem;
  padding: 22px 26px;
  cursor: pointer;
  transition: background .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--surface-alt); }
.faq__plus { position: relative; width: 26px; height: 26px; flex: none; }
.faq__plus::before, .faq__plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--pop);
}
.faq__plus::before { left: 50%; top: 0; bottom: 0; width: 4px; translate: -50% 0; }
.faq__plus::after { top: 50%; left: 0; right: 0; height: 4px; translate: 0 -50%; }
.faq__item[open] .faq__plus::before { transform: rotate(90deg) scaleY(0); }
.faq__item[open] .faq__plus::after { transform: rotate(180deg); }
.faq__a { padding: 0 26px 24px; color: var(--subtitle); max-width: 64ch; }
.faq__a a { color: var(--moss); font-weight: 700; }
.faq__item[open] .faq__a { animation: faqin .35s var(--snap); }
@keyframes faqin { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

/* ============================================================ CTA BAND */
.cta-band { padding: clamp(2rem, 5vw, 4rem) 24px clamp(5rem, 9vw, 7rem); }
.cta-band__inner {
  position: relative;
  background: var(--clay-soft);
  border: 3px solid var(--ink); border-radius: 28px;
  text-align: center;
  padding: clamp(3rem, 6vw, 4.5rem) 24px;
  background-image: radial-gradient(rgba(33, 29, 21, .08) 1.2px, transparent 1.6px);
  background-size: 15px 15px;
}
.cta-band__icon {
  width: 96px; height: auto; aspect-ratio: 120 / 130;
  margin: 0 auto 18px; overflow: visible;
  transform-origin: 50% 10%;
  animation: pendulum 3.6s ease-in-out infinite;
}
@keyframes pendulum { 0%, 100% { rotate: -5deg; } 50% { rotate: 5deg; } }
.cta-band__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.cta-band__sub { color: var(--subtitle); margin-bottom: 28px; font-size: 1.08rem; }

/* ============================================================ LEGAL PAGES */
.legal-page { overflow-x: hidden; }
.legal-page .container { width: 100%; }
html.js .legal-page .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.legal-hero {
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(.75rem, 2vw, 1.5rem);
  background:
    radial-gradient(rgba(33, 29, 21, .08) 1.1px, transparent 1.5px) 0 0 / 18px 18px,
    var(--paper);
}
.legal-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: .98;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}
.legal-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--moss-deep);
  background: var(--moss-soft);
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 8px 12px;
  margin-bottom: 22px;
}
.legal-hero__intro {
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  color: var(--subtitle);
  max-width: 62ch;
  overflow-wrap: break-word;
}
.legal-content,
.legal-content.section { padding-block: clamp(.75rem, 2vw, 1.5rem) clamp(4rem, 7vw, 6rem); }
.legal-card {
  background: var(--surface);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 8px 0 var(--ink);
  padding: clamp(1.35rem, 4vw, 3rem);
  max-width: 100%;
}
.legal-card > * + * { margin-top: 1rem; }
.legal-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.38rem, 3vw, 1.85rem);
  line-height: 1.1;
  margin-top: clamp(2.1rem, 4vw, 3rem);
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  color: var(--subtitle);
  font-size: 1rem;
  overflow-wrap: break-word;
}
.legal-card strong { color: var(--ink); }
.legal-card a {
  color: var(--moss-deep);
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legal-card ul {
  display: grid;
  gap: .65rem;
  padding-left: 1.2rem;
}
.legal-card li::marker { color: var(--clay-deep); }

/* ============================================================ FOOTER */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 2px solid rgba(255, 251, 240, .18);
}
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; display: block; margin-bottom: 12px; }
.footer__brand p { font-size: .92rem; color: rgba(255, 251, 240, .65); max-width: 30ch; }
.footer__col h4 {
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--clay); margin-bottom: 14px;
}
.footer__col a {
  display: block; text-decoration: none; font-size: .95rem;
  color: rgba(255, 251, 240, .85);
  padding-block: 5px;
  transition: color .15s, translate .15s;
}
.footer__col a:hover { color: var(--leaf); translate: 3px 0; }
.footer__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  padding-top: 1.6rem;
  font-size: .8rem; color: rgba(255, 251, 240, .5);
}

/* ============================================================ REVEAL */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: opacity .6s var(--snap) var(--d, 0s), transform .6s var(--pop) var(--d, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: translateY(0) scale(1); }

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub, .hero__title { margin-inline: auto; }
  .hero__actions, .hero__micro { justify-content: center; text-align: center; }
  .hero__art { max-width: 460px; margin: 3.5rem auto 2.5rem; }
  /* the V is symmetric, so it self-centers; just shrink it a touch so the
     fanned tops don't get clipped on narrow screens */
  .hero-phone { width: min(56%, 220px); }
  .panels { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .guardian__grid { grid-template-columns: 1fr; }
  .guardian__demo { position: static; margin-top: 4rem; }
  .pricing__cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .privacy-band__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .versus__table { grid-template-columns: 1fr 1fr; }
  .versus__corner { display: none; }
  .versus__cell { padding: 14px 16px; }
  .versus__label {
    grid-column: 1 / -1;
    border-top: 3px solid var(--ink);
  }
  .versus__no, .versus__yes { border-top: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--ink);
    display: none;
    padding: 10px 24px 18px;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding-block: 12px; font-size: 1.1rem; }
  .nav__burger { display: flex; }
  .nav__cta .btn { display: none; }
}

@media (max-width: 720px) {
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .sticker--burst { width: 92px; height: 92px; font-size: .6rem; top: -2%; right: 0; }
  .sticker--tag { left: 0; top: 0; }
  .pricing__pair { flex-direction: column; text-align: center; }
  .price-card__burst { top: -30px; right: -8px; width: 96px; height: 96px; font-size: .62rem; }
  .legal-hero { padding-block: 1.25rem .75rem; }
  .legal-hero__title { font-size: clamp(2rem, 10vw, 2.45rem); }
  .legal-hero__intro { font-size: 1rem; }
  .legal-hero__meta { align-items: flex-start; font-size: .74rem; }
  .legal-card { border-radius: 16px; box-shadow: 0 5px 0 var(--ink); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; }
}

/* ============================================================ REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .phones-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .cursor { display: none; }
}
