/* ============================================================
   Movemark website — styles.css
   ------------------------------------------------------------
   Token values are lifted verbatim from the app's tokens.css so
   brand colour is pixel-identical between marketing and product.
   The only scale differences are:
     • Typography: app uses 16–34px, web uses up to 104px for hero
     • Shadows: app uses 2–6px offsets, web bumps to 6–10px for
       billboard presence
     • Section padding: generous, Duolingo-style slabs
   ============================================================ */

@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Google Sans';
  src: url('fonts/GoogleSans-Italic.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Colour — verbatim from movemate-app/src/tokens.css */
  --mm-amber:       #E9A932;
  --mm-amber-deep:  #C48A20;
  --mm-amber-soft:  #F5CE76;
  --mm-cream:       #FBEFD4;
  --mm-butter:      #FFE29A;
  --mm-tomato:      #E34A3A;
  --mm-tomato-deep: #B83324;
  --mm-tomato-soft: #F6B8AF;
  --mm-sky:         #4CC4D6;
  --mm-sky-soft:    #BFEAF1;
  --mm-sun:         #FFD54A;
  --mm-ink:         #1F1A14;
  --mm-ink-2:       #3A3024;
  --mm-mute:        #7A6B55;
  --mm-line:        #E8DDC3;
  --mm-paper:       #FFF8E7;
  --mm-white:       #FFFDF5;

  /* Aliases */
  --bg:   var(--mm-paper);
  --ink:  var(--mm-ink);
  --fg2:  var(--mm-ink-2);
  --fg3:  var(--mm-mute);

  /* Signature offset-shadow system — same language as app, scaled up */
  --pop-sm:  2px 2px 0 0 var(--ink);
  --pop:     4px 4px 0 0 var(--ink);
  --pop-md:  6px 6px 0 0 var(--ink);
  --pop-lg:  8px 8px 0 0 var(--ink);

  /* Easing (signature from app) */
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  /* Fonts */
  --font-sans:    'Google Sans', 'Nunito', system-ui, -apple-system, sans-serif;
  --font-display: 'Google Sans', 'Nunito', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* clear the sticky nav on anchor scroll */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* ------------------------------------------------------------
   Layout primitives
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}

.section--paper { background: var(--mm-paper); }
.section--cream { background: var(--mm-cream); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.section--amber { background: var(--mm-amber); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); color: var(--ink); }
.section--ink   { background: var(--ink); color: var(--mm-paper); border-top: 3px solid var(--ink); }

/* Soft noise overlay for depth — matches the subtle grain used on some
   app surfaces. Kept barely-visible on purpose; any more reads as dirt. */
.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.section--ink::before { mix-blend-mode: screen; opacity: 0.15; }

/* ------------------------------------------------------------
   Typography helpers — billboard scale for hero, tight stack
   for section heads.
------------------------------------------------------------ */
.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.display--small {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: -0.03em;
}
.display__mark {
  display: inline-block;
  background: var(--mm-butter);
  border: 3px solid var(--ink);
  box-shadow: var(--pop-md);
  padding: 0.04em 0.2em;
  border-radius: 12px;
  transform: rotate(-1.8deg);
  margin: 0 0.05em;
}

.h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}
.h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--fg2);
  max-width: 36ch;
  line-height: 1.5;
}
.lede--light { color: rgba(255, 248, 231, 0.88); max-width: 46ch; }
.lede-sec {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--fg2);
  max-width: 58ch;
  line-height: 1.55;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-tomato-deep);
  margin-bottom: 14px;
}
.eyebrow--tomato { color: var(--mm-tomato-deep); }

.sec-head {
  max-width: 720px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* ------------------------------------------------------------
   Pill — used for "Free for 7 days" eyebrow above hero headline.
------------------------------------------------------------ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mm-white);
  box-shadow: var(--pop-sm);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.pill--tomato .pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mm-tomato);
  box-shadow: 0 0 0 2px var(--ink);
}

/* ------------------------------------------------------------
   Buttons — neo-brutalist offset-shadow language; primary is
   tomato-on-ink, cream is the soft secondary.
------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  border: 2px solid var(--ink);
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 14px; border-radius: 12px; box-shadow: var(--pop-sm); }
.btn--lg { padding: 16px 26px; font-size: 18px; box-shadow: var(--pop-md); }
.btn--full { width: 100%; }

.btn--primary { background: var(--mm-tomato); color: var(--mm-white); }
.btn--cream   { background: var(--mm-white); color: var(--ink); }
.btn--amber   { background: var(--mm-amber); color: var(--ink); }

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--ink);
}
.btn--sm:hover { box-shadow: 4px 4px 0 0 var(--ink); }
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--ink);
}

/* ------------------------------------------------------------
   Top nav — sticky, cream background, ink border bottom. Mirrors
   the app's TopNav exactly so the brand continuity is total.
------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(255, 248, 231, 0.7);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 2px solid transparent;
  transition: background 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.nav--scrolled {
  background: rgba(255, 248, 231, 0.94);
  border-bottom-color: var(--ink);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Shared default (44px) — the footer reuses this class at the base
     size. Top-nav override sits below and scales everything up 20%. */
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--mm-amber);
  box-shadow: var(--pop-sm);
  overflow: hidden;
}
.nav__mark img { width: 36px; height: 36px; object-fit: contain; transform: translateY(2px); }
.nav__word {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-left: 10px;
}

/* Top-left logo — 20% larger than the shared base (used in the footer).
   44→53 tile, 12→14 radius, 36→43 image, 22→26 wordmark. */
.nav .nav__mark { width: 53px; height: 53px; border-radius: 14px; }
.nav .nav__mark img { width: 43px; height: 43px; }
.nav .nav__word { font-size: 26px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg2);
  position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--ink);
  transition: right 180ms var(--ease-out);
}
.nav__links a:hover::after { right: 0; }

.nav__actions { display: flex; gap: 10px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
}

/* ------------------------------------------------------------
   Hero — asymmetric grid. Copy left, mascot-on-slab right.
------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(56px, 7vw, 112px) 24px clamp(56px, 6vw, 96px);
  background:
    radial-gradient(900px 500px at 10% -10%, var(--mm-amber-soft) 0%, transparent 60%),
    radial-gradient(700px 400px at 110% 20%, var(--mm-tomato-soft) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}

.hero__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero__copy { max-width: 640px; }
.hero__copy .lede { margin-top: 24px; }
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Store-badge lockups (App Store / Play). Ink on cream, matches the rest. */
.hero__stores {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--mm-white);
  color: var(--ink);
  box-shadow: var(--pop-sm);
  transition: transform 120ms var(--ease-out), box-shadow 120ms var(--ease-out);
}
.store:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 0 var(--ink); }
.store__small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; opacity: 0.75; line-height: 1; }
.store__big { font-size: 16px; font-weight: 800; line-height: 1.1; margin-top: 2px; }
.store--light {
  background: transparent;
  color: var(--mm-paper);
  border-color: var(--mm-paper);
  box-shadow: 3px 3px 0 0 var(--mm-amber);
}
.store--light:hover { box-shadow: 5px 5px 0 0 var(--mm-amber); }

/* Mascot slab — tilted amber card behind Mark, with floating UI chips. */
.hero__mascot {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slab {
  position: absolute;
  width: 480px;
  max-width: 90%;
  aspect-ratio: 1;
  background: var(--mm-amber);
  border: 3px solid var(--ink);
  border-radius: 32px;
  box-shadow: var(--pop-lg);
  transform: rotate(-4deg);
}
.hero__slab::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(31, 26, 20, 0.25);
  border-radius: 24px;
}
.hero__mark {
  position: relative;
  width: clamp(320px, 40vw, 520px);
  height: auto;
  z-index: 2;
  /* hero-bob (not mark-bob) — the hero uses a 20px-shifted variant so
     Mark sits lower on the amber slab. Tips + closer keep the original
     mark-bob below. */
  animation: hero-bob 5.5s var(--ease-out) infinite;
  filter: drop-shadow(8px 12px 0 var(--ink));
  /* PNG has a square margin — drop-shadow would show a rectangle.
     The source is a transparent-bg illustration so drop-shadow traces
     the mascot silhouette only. */
}
@keyframes hero-bob {
  /* Rest position is +20px so Mark sits slightly lower on the amber slab
     (feet closer to the bottom edge). Bob amplitude unchanged at 14px —
     peak is 20-14 = 6px. */
  0%, 100% { transform: translateY(20px) rotate(-0.5deg); }
  50%      { transform: translateY(6px) rotate(1.5deg); }
}
@keyframes mark-bob {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%      { transform: translateY(-14px) rotate(1.5deg); }
}

/* Floating UI chips that orbit the mascot. Directly borrowed from the
   app's chip language (ink border, cream fill, offset shadow). */
.hero__badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--mm-white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--pop);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  animation: chip-bob 6s var(--ease-out) infinite;
}
.hero__badge-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--mm-tomato);
  box-shadow: 0 0 0 2px var(--ink);
}
.hero__badge--1 { top: 8%;  left: -6%; background: var(--mm-butter); animation-delay: -2s; }
.hero__badge--2 { top: 52%; right: -4%; background: var(--mm-sky-soft); }
.hero__badge--3 { bottom: 6%; left: 4%; background: var(--mm-white); animation-delay: -4s; }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}

/* Marquee — honest brand microdose below hero. Infinite horizontal
   scroll; the `aria-hidden` on the ul keeps it out of screen-reader
   flow (it's mood, not information). */
.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  padding: 14px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--mm-amber);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  gap: 40px;
  align-items: center;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__mascot { min-height: 420px; }
}

/* ------------------------------------------------------------
   How it works — three numbered cards. Step numeral is the hero;
   copy sits below. Each card gets its own tint so the rhythm
   doesn't feel samey.
------------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  position: relative;
  padding: 36px 28px 32px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--pop-lg);
}
.step--butter { background: var(--mm-butter); }
.step--sky    { background: var(--mm-sky-soft); }
.step--tomato { background: var(--mm-tomato-soft); }

.step__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 72px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  color: var(--ink);
  /* Chunky text-shadow gives the numeral weight without needing a
     bespoke display font. Offset matches the card shadow language. */
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.6);
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--fg2); font-size: 16px; line-height: 1.55; }
.step__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 7px 14px;
  background: var(--mm-white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: var(--pop-sm);
}
.step__chip--sky    { background: var(--mm-sky); color: var(--ink); }
.step__chip--tomato { background: var(--mm-tomato); color: var(--mm-white); }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Features grid — 2x2 dense cards. Icon tile + title + blurb.
   The icon-tile wrapper is its own mini-brand moment (ink border,
   tinted fill, offset shadow).
------------------------------------------------------------ */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  padding: 32px;
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--pop-md);
  background: var(--mm-white);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.feature:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--pop-lg);
}
.feature--butter { background: var(--mm-butter); }
.feature--sky    { background: var(--mm-sky-soft); }
.feature--tomato { background: var(--mm-tomato-soft); }
.feature--cream  { background: var(--mm-cream); }

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2.5px solid var(--ink);
  border-radius: 18px;
  background: var(--mm-white);
  box-shadow: var(--pop);
  margin-bottom: 20px;
}
.feature--butter .feature__icon { background: var(--mm-amber); }
.feature--sky    .feature__icon { background: var(--mm-sky); }
.feature--tomato .feature__icon { background: var(--mm-tomato); color: var(--mm-white); }
.feature--cream  .feature__icon { background: var(--mm-amber-soft); }
.feature__icon svg { width: 28px; height: 28px; color: var(--ink); }
.feature--tomato .feature__icon svg { color: var(--mm-white); }

.feature h3 { margin-bottom: 8px; }
.feature p  { color: var(--fg2); font-size: 16px; line-height: 1.55; }

@media (max-width: 700px) {
  .features { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Mark's tips — full-bleed amber slab. Copy + mascot + three tip
   cards. The mascot is the emotional centre; the cards are the
   proof that there's actual useful content behind the promise.
------------------------------------------------------------ */
.tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy mascot"
    "cards cards";
  gap: 56px 40px;
  align-items: center;
}
.tips__copy   { grid-area: copy; }
.tips__copy .h1 { color: var(--ink); }
.tips__copy .lede-sec { color: var(--mm-ink-2); }
.tips__figure {
  grid-area: mascot;
  margin: 0;
  display: flex;
  justify-content: center;
}
.tips__mascot {
  width: 320px;
  max-width: 80%;
  filter: drop-shadow(6px 8px 0 var(--ink));
  /* "Breathing" pose — not the runner's bob. Subtle vertical drift plus a
     tiny chest-expansion scaleY, timed to a slow human breath (~4s).
     transform-origin sits at his feet so the scale reads as inflation
     rather than floating. */
  transform-origin: 50% 100%;
  animation: mark-breathe 4.2s ease-in-out infinite;
  will-change: transform;
}
@keyframes mark-breathe {
  0%, 100% { transform: translateY(0)    scaleY(1);     }
  50%      { transform: translateY(-3px) scaleY(1.014); }
}

.tip-cards {
  grid-area: cards;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tip-card {
  padding: 24px;
  background: var(--mm-white);
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  box-shadow: var(--pop-md);
  transform: rotate(-1deg);
  transition: transform 240ms var(--ease-out);
}
.tip-card:nth-child(2) { transform: rotate(1.2deg); margin-top: 16px; }
.tip-card:nth-child(3) { transform: rotate(-0.4deg); margin-top: -6px; }
.tip-card:hover { transform: rotate(0) translateY(-6px); }

.tip-card__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-tomato-deep);
  margin-bottom: 10px;
}
.tip-card p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
}
.tip-card em {
  font-style: normal;
  background: var(--mm-butter);
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .tips {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "mascot"
      "cards";
    gap: 40px;
  }
  .tip-cards { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Pricing — two plan cards. Free-trial (cream) vs paid (ink).
   The ink card is intentionally the "most movers pick this" —
   dark cards feel premium in a light-dominant palette.
------------------------------------------------------------ */
.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  position: relative;
  padding: 40px 32px 32px;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--pop-lg);
}
.plan--cream { background: var(--mm-cream); }
.plan--ink   { background: var(--ink); color: var(--mm-paper); }

.plan__tag {
  position: absolute;
  top: -16px;
  left: 28px;
  padding: 6px 14px;
  background: var(--mm-white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--pop-sm);
}
.plan__tag--amber { background: var(--mm-amber); }

.plan .h2 { margin-bottom: 6px; }
.plan__price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 24px;
  color: var(--ink);
}
.plan__price--light { color: var(--mm-amber); }
.plan__per {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg3);
  letter-spacing: 0;
  margin-left: 6px;
}
.plan__price--light .plan__per { color: rgba(255, 248, 231, 0.65); }

.plan__list {
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  font-size: 16px;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--mm-tomato);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 0 var(--ink);
}
.plan__list li::after {
  content: "";
  position: absolute;
  left: 4px; top: 8px;
  width: 10px; height: 5px;
  border: 2px solid var(--mm-white);
  border-top: 0;
  border-right: 0;
  transform: rotate(-45deg);
}
.plan__list--light li { color: var(--mm-paper); }

.plan__fine {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  color: var(--fg3);
}
.plan__fine--light { color: rgba(255, 248, 231, 0.6); }

@media (max-width: 700px) {
  .plans { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Closer — ink slab, mascot peek on the left, copy + badges on
   the right. Last-impression space, so keep it loud.
------------------------------------------------------------ */
.closer {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: center;
}
.closer__mark {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(8px 10px 0 var(--mm-amber));
  animation: mark-bob 6s var(--ease-out) infinite;
}
.closer__copy .display--small { color: var(--mm-paper); }
.closer__copy .lede--light { margin-top: 16px; }
.closer__ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .closer { grid-template-columns: 1fr; gap: 24px; }
  .closer__mark { max-width: 280px; }
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer {
  background: var(--ink);
  color: var(--mm-paper);
  padding: 64px 0 28px;
  border-top: 3px solid var(--mm-amber);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand .nav__mark { background: var(--mm-amber); box-shadow: 2px 2px 0 0 var(--mm-amber); }
.footer__word {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.025em;
}
.footer__tag { color: rgba(255, 248, 231, 0.7); font-size: 14px; margin-top: 2px; }

.footer__head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-amber);
  margin-bottom: 16px;
}
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  color: rgba(255, 248, 231, 0.8);
  font-size: 15px;
  font-weight: 600;
  transition: color 160ms var(--ease-out);
}
.footer__col a:hover { color: var(--mm-amber); }

.footer__base {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 248, 231, 0.5);
  padding-top: 24px;
  border-top: 2px solid rgba(255, 248, 231, 0.12);
}

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer__base { flex-direction: column; gap: 8px; }
}

/* ------------------------------------------------------------
   Scroll reveals — driven by script.js adding .revealed.
   Kept subtle: 12px slide + opacity, one orchestrated moment
   rather than scattered micro-animations.
------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}
.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 40ms; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 140ms; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 340ms; }
.reveal-stagger.revealed > * { opacity: 1; transform: translateY(0); }

/* Reduce-motion guardrail — honour the OS setting */
@media (prefers-reduced-motion: reduce) {
  .hero__mark, .tips__mascot, .closer__mark, .hero__badge { animation: none; }
  .marquee__track { animation-duration: 90s; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   ARTICLE / LEGAL PAGES — About, Privacy, Terms.
   The marketing home is a billboard; these pages are the
   reading room. We keep the exact same palette + shadow
   grammar, but slow everything down: narrower measure, taller
   leading, numbered section heads with amber circles instead
   of billboard display type.
============================================================ */

/* Top banner. Cream slab (matches the "features" section on /)
   so these pages feel like a continuation of the marketing site,
   not a corporate fork-off. Mascot sits small on the right as
   a friendly bookmark. */
.page-hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(64px, 7vw, 100px);
  background: var(--mm-cream);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
}
.page-hero__display {
  /* Slightly smaller than the home hero — these are pages to read,
     not to be shouted at. */
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.page-hero__lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--fg2);
  line-height: 1.5;
  max-width: 52ch;
}
.page-hero__meta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mm-paper);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--pop-sm);
}
.page-hero__meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mm-tomato);
  border: 1.5px solid var(--ink);
}
.page-hero__mascot {
  width: clamp(140px, 18vw, 220px);
  height: clamp(140px, 18vw, 220px);
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: var(--mm-amber);
  box-shadow: var(--pop-md);
  padding: 14px;
  transform: rotate(2.5deg);
  align-self: center;
  justify-self: end;
}
.page-hero__mascot img { width: 100%; height: 100%; display: block; }

@media (max-width: 780px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__mascot { width: 140px; height: 140px; justify-self: start; }
}

/* The article itself — single, generous prose column. Paper
   background so the amber/cream on the hero reads as a distinct
   opening beat, not just the same field continuing. */
.article {
  padding: clamp(72px, 9vw, 120px) 0 clamp(96px, 11vw, 160px);
  background: var(--mm-paper);
}
.article__inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Intro paragraphs above the numbered sections. Slightly larger
   than body to set the plain-English tone straight away. */
.article__intro {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.65;
  color: var(--fg);
  margin-bottom: 56px;
}
.article__intro p + p { margin-top: 18px; }

/* Each numbered section. The amber-circled number is the anchor
   pattern the app uses on the Plan screen (see tokens.css →
   .step__num). Lifted verbatim. */
.article__section { margin-bottom: clamp(56px, 6vw, 88px); }
.article__section:last-child { margin-bottom: 0; }

.article__h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.article__num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mm-amber);
  border: 3px solid var(--ink);
  box-shadow: var(--pop-sm);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
}

.article p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--fg);
  max-width: 65ch;
}
.article p + p { margin-top: 16px; }

.article strong { font-weight: 800; }
.article em { font-style: italic; color: var(--fg2); }

/* Inline link treatment — amber underline that thickens on hover.
   Avoid the default blue + underline look which screams "default
   browser" rather than "designed page". */
.article a {
  color: var(--ink);
  background-image: linear-gradient(var(--mm-amber), var(--mm-amber));
  background-size: 100% 3px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 1px;
  transition: background-size 160ms var(--ease-out);
}
.article a:hover { background-size: 100% 9px; }

/* Bulleted list with tomato dot markers. Same 2-3px ink border
   vocabulary — dot has a tiny ink ring so it doesn't look like
   a default disc. */
.article ul { margin: 18px 0 0; padding: 0; }
.article li {
  position: relative;
  padding: 4px 0 4px 30px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  max-width: 63ch;
}
.article li + li { margin-top: 2px; }
.article li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mm-tomato);
  border: 2px solid var(--ink);
}

/* Pull-quote / emphatic callout. Butter slab with the signature
   2.5deg tilt the app uses on interest-grabbing cards (see
   HomeScreen's Mark's tip card). Saves us from having to bold
   whole paragraphs to add emphasis. */
.article__callout {
  margin: 36px 0;
  padding: 22px 26px;
  background: var(--mm-butter);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--pop);
  transform: rotate(-0.6deg);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 600;
}
.article__callout-eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-tomato-deep);
  font-weight: 800;
  margin-bottom: 6px;
}

/* About-page team grid — 2-up "cards" for the people behind
   Movemark. Same grid shape the features section uses so the
   eye recognises the pattern. */
.about-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-card {
  padding: 26px;
  border: 3px solid var(--ink);
  border-radius: 20px;
  background: var(--mm-paper);
  box-shadow: var(--pop);
}
.about-card--sky { background: var(--mm-sky-soft); }
.about-card--butter { background: var(--mm-butter); }
.about-card__h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
}
.about-card__p { font-size: 15px; line-height: 1.55; color: var(--fg2); }

@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* Closing CTA strip. Ink slab, amber rule, one sentence + button.
   Mirrors the home page's closer but tighter — nobody scrolled
   to the bottom of a privacy policy for a billboard moment. */
.page-closer {
  background: var(--ink);
  color: var(--mm-paper);
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 3px solid var(--ink);
  position: relative;
}
.page-closer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.page-closer__h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  max-width: 22ch;
}
.page-closer__h em {
  font-style: normal;
  color: var(--mm-amber);
}

/* Deep-link anchors — when someone jumps to a numbered section
   from a table of contents, give a bit of breathing room above
   so the ink nav doesn't crop the heading. */
.article__section { scroll-margin-top: 100px; }
