:root {
  --mint: #95e1d3;
  --mint-soft: #d5f4ed;
  --coral: #f38181;
  --coral-soft: #ffd7d3;
  --cream: #fffaf0;
  --paper: #fffef9;
  --ink: #173f3a;
  --muted-ink: #4d6763;
  --line: #cddfd9;
  --honey: #ffce3f;
  --honey-soft: #ffe9a8;
  --halftone: radial-gradient(rgb(23 63 58 / 5%) 1.5px, transparent 1.5px);
  --radius-small: 0.75rem;
  --radius-card: 1.5rem;
  --shadow: 0 1.25rem 3rem rgb(23 63 58 / 12%);
  --shell: 73rem;

  /* Ruled paper: the surface spelling practice actually happens on. */
  --rule: rgb(23 63 58 / 9%);
  --rule-strong: rgb(23 63 58 / 16%);
  --rule-height: 2.25rem;

  /* Rounded display face for headings, plain system face for reading. */
  --font-display: ui-rounded, "SF Pro Rounded", "Avenir Next Rounded", "Avenir Next", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  /* Backstop for rotated stickers near the viewport edge; overflow causes
     are still fixed at the source. */
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.wordmark,
.eyebrow,
.button-link,
.text-link,
.step-number,
.purchase-facts,
.site-nav a,
.site-footer nav a {
  font-family: var(--font-display);
}

a {
  color: inherit;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 0.16em;
}

/*
 * Focus rings are tuned per surface: ink carries on the pale sections, honey
 * carries on the dark ones. Coral alone was too weak on the yellow surfaces.
 */
:focus-visible {
  outline: 0.2rem solid var(--ink);
  outline-offset: 0.25rem;
}

.skip-link:focus-visible,
.product-tour :focus-visible,
.privacy-band :focus-visible,
.website-privacy :focus-visible {
  outline-color: var(--honey);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 2px dashed rgb(23 63 58 / 20%);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.wordmark-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  overflow: hidden;
  place-items: center;
  border: 2px solid var(--ink);
  /* iOS squircle proportion, so the mark reads as the app icon. The ink
     border stays: it is the one outline every surface on the site shares. */
  border-radius: 22%;
  background: var(--honey);
}

.wordmark-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The bee is transparent, so the honey field behind it carries the icon colour. */
.wordmark-star {
  font-size: 0.85em;
  line-height: 1;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.site-nav a,
.site-footer nav a {
  /* 0.55rem vertical padding keeps the pill at the 44 CSS pixel tap floor. */
  padding: 0.55rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0.18rem 0.18rem 0 var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: translate 120ms ease, box-shadow 120ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  translate: 0.12rem 0.12rem;
  box-shadow: 0.06rem 0.06rem 0 var(--ink);
  text-decoration: none;
}

.hero-band {
  background: var(--halftone) 0 0 / 22px 22px, var(--honey);
  border-bottom: 2px dashed rgb(23 63 58 / 20%);
}

/*
 * Height comes from the content, not the viewport. A full svh hero left large
 * dead bands above and below on tall screens; letting the next section peek is
 * the better invitation to scroll.
 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.98fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-block: clamp(1.5rem, 3vw, 2.75rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.4rem;
  color: var(--muted-ink);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.62rem;
  letter-spacing: 0;
}

/* Muted ink fails contrast on the honey field, so hero text carries full ink. */
.hero-band .hero-summary {
  color: var(--ink);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 8ch;
  margin-bottom: 1.75rem;
  font-size: clamp(3.7rem, 8vw, 7.4rem);
  font-weight: 850;
}

h1 span {
  display: inline-block;
  padding: 0 0.14em;
  border-radius: 0.14em;
  background: var(--paper);
  box-shadow: 0.07em 0.07em 0 var(--coral);
  transform: rotate(-1.5deg);
}

h2 mark {
  padding: 0 0.12em;
  border-radius: 0.12em;
  color: var(--ink);
  background: var(--honey);
  box-shadow: 0.07em 0.07em 0 rgb(23 63 58 / 55%);
}

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5.6vw, 5.2rem);
  font-weight: 820;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 780;
}

.hero-summary {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  color: var(--muted-ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.launch-note {
  width: fit-content;
  margin: 0 0 1.25rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 0.75rem;
  background: var(--paper);
  box-shadow: 0.25rem 0.25rem 0 var(--mint);
  font-size: 0.93rem;
  font-weight: 700;
  transform: rotate(1deg);
}

.purchase-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.8rem;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 750;
  list-style: none;
  text-transform: uppercase;
}

.purchase-facts li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0.15rem 0.15rem 0 rgb(23 63 58 / 25%);
  transform: rotate(-1deg);
}

.purchase-facts li:nth-child(2) {
  transform: rotate(1.5deg);
}

.purchase-facts li:nth-child(3) {
  transform: rotate(-0.5deg);
}

.hero-tiles {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.letter-tile {
  position: relative;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 0.8rem;
  background: var(--paper);
  box-shadow: 0.22rem 0.22rem 0 rgb(23 63 58 / 30%);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  cursor: pointer;
  animation: tile-wiggle 2.6s ease-in-out infinite;
}

.letter-tile:nth-child(1) {
  background: var(--mint);
}

/*
 * Static angles live in transform because the wiggle animates the rotate
 * property; an animated rotate would override a rotate base value.
 */
.letter-tile:nth-child(2) {
  transform: rotate(4deg);
  animation-delay: 300ms;
}

.letter-tile:nth-child(3) {
  background: var(--coral);
  transform: rotate(-3deg);
}

/*
 * The spin runs on the inner letter, not the button: the button is the
 * confetti's transform parent, and spinning it would swirl every piece's
 * trajectory around the tile instead of letting it arc up and fall.
 */
.letter-tile.spinning .tile-letter {
  animation: tile-spin 600ms ease-in-out;
}

/*
 * Confetti cannon: pieces launch from the tile's top centre, arc over the
 * surrounding content, and fall away. The tiles are stacking contexts
 * (their rotate animations force it), so the pieces paint inside each
 * tile's atomic layer. That layer still covers the neighbouring hero copy
 * because the tiles are the last children of .hero-copy in tree order, and
 * .hero-copy's mobile z-index outranks the showcase. Keep the tiles last
 * in the copy column and keep them free of explicit z-index.
 */
.tile-confetti {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* No honey pieces: they would vanish against the honey hero field. */
.tile-confetti i {
  position: absolute;
  top: -0.16rem;
  left: -0.25rem;
  width: 0.5rem;
  height: 0.32rem;
  background: var(--c-color, var(--paper));
  opacity: 0;
}

.tile-confetti i:nth-child(2n) {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
}

.tile-confetti i:nth-child(1) { --cx: -5.9rem; --cy-up: -9.8rem; --cy-down: 8.6rem; --c-rot: 780deg; --c-delay: 220ms; --c-color: var(--mint); }
.tile-confetti i:nth-child(2) { --cx: -5.4rem; --cy-up: -8.4rem; --cy-down: 7.7rem; --c-rot: 580deg; --c-delay: 150ms; --c-color: var(--coral); }
.tile-confetti i:nth-child(3) { --cx: -4.5rem; --cy-up: -7.0rem; --cy-down: 11.6rem; --c-rot: 720deg; --c-delay: 90ms; --c-color: var(--paper); }
.tile-confetti i:nth-child(4) { --cx: -4.8rem; --cy-up: -6.9rem; --cy-down: 8.9rem; --c-rot: -680deg; --c-delay: 20ms; --c-color: var(--ink); }
.tile-confetti i:nth-child(5) { --cx: -3.6rem; --cy-up: -7.6rem; --cy-down: 11.7rem; --c-rot: -540deg; --c-delay: 110ms; --c-color: var(--coral-soft); }
.tile-confetti i:nth-child(6) { --cx: -3.2rem; --cy-up: -8.5rem; --cy-down: 11.6rem; --c-rot: 880deg; --c-delay: 130ms; --c-color: var(--mint-soft); }
.tile-confetti i:nth-child(7) { --cx: -2.6rem; --cy-up: -9.8rem; --cy-down: 9.6rem; --c-rot: 760deg; --c-delay: 110ms; --c-color: var(--mint); }
.tile-confetti i:nth-child(8) { --cx: -2.6rem; --cy-up: -7.3rem; --cy-down: 9.7rem; --c-rot: -620deg; --c-delay: 210ms; --c-color: var(--coral); }
.tile-confetti i:nth-child(9) { --cx: -2.3rem; --cy-up: -8.0rem; --cy-down: 11.2rem; --c-rot: 860deg; --c-delay: 150ms; --c-color: var(--paper); }
.tile-confetti i:nth-child(10) { --cx: -1.3rem; --cy-up: -7.4rem; --cy-down: 7.1rem; --c-rot: -820deg; --c-delay: 120ms; --c-color: var(--ink); }
.tile-confetti i:nth-child(11) { --cx: -0.3rem; --cy-up: -9.8rem; --cy-down: 11.2rem; --c-rot: 640deg; --c-delay: 120ms; --c-color: var(--coral-soft); }
.tile-confetti i:nth-child(12) { --cx: 0.1rem; --cy-up: -8.8rem; --cy-down: 7.9rem; --c-rot: -640deg; --c-delay: 110ms; --c-color: var(--mint-soft); }
.tile-confetti i:nth-child(13) { --cx: 0.5rem; --cy-up: -8.6rem; --cy-down: 9.3rem; --c-rot: 720deg; --c-delay: 100ms; --c-color: var(--mint); }
.tile-confetti i:nth-child(14) { --cx: 0.8rem; --cy-up: -8.1rem; --cy-down: 8.4rem; --c-rot: -840deg; --c-delay: 50ms; --c-color: var(--coral); }
.tile-confetti i:nth-child(15) { --cx: 1.8rem; --cy-up: -6.5rem; --cy-down: 10.2rem; --c-rot: 740deg; --c-delay: 190ms; --c-color: var(--paper); }
.tile-confetti i:nth-child(16) { --cx: 2.2rem; --cy-up: -9.7rem; --cy-down: 7.1rem; --c-rot: -660deg; --c-delay: 160ms; --c-color: var(--ink); }
.tile-confetti i:nth-child(17) { --cx: 2.6rem; --cy-up: -9.5rem; --cy-down: 10.1rem; --c-rot: 740deg; --c-delay: 130ms; --c-color: var(--coral-soft); }
.tile-confetti i:nth-child(18) { --cx: 2.6rem; --cy-up: -9.2rem; --cy-down: 8.3rem; --c-rot: -580deg; --c-delay: 60ms; --c-color: var(--mint-soft); }
.tile-confetti i:nth-child(19) { --cx: 3.8rem; --cy-up: -9.7rem; --cy-down: 10.4rem; --c-rot: 800deg; --c-delay: 40ms; --c-color: var(--mint); }
.tile-confetti i:nth-child(20) { --cx: 4.0rem; --cy-up: -8.2rem; --cy-down: 8.4rem; --c-rot: -640deg; --c-delay: 70ms; --c-color: var(--coral); }
.tile-confetti i:nth-child(21) { --cx: 4.2rem; --cy-up: -10.2rem; --cy-down: 9.1rem; --c-rot: 680deg; --c-delay: 0ms; --c-color: var(--paper); }
.tile-confetti i:nth-child(22) { --cx: 4.6rem; --cy-up: -10.4rem; --cy-down: 7.6rem; --c-rot: 660deg; --c-delay: 100ms; --c-color: var(--ink); }
.tile-confetti i:nth-child(23) { --cx: 5.6rem; --cy-up: -7.3rem; --cy-down: 7.2rem; --c-rot: 660deg; --c-delay: 50ms; --c-color: var(--coral-soft); }

/* The last piece keeps the longest delay; the script clears the burst
   state when this piece's animation ends. */
.tile-confetti i:nth-child(24) { --cx: 6.0rem; --cy-up: -6.1rem; --cy-down: 11.4rem; --c-rot: 860deg; --c-delay: 260ms; --c-color: var(--mint-soft); }

.letter-tile.bursting .tile-confetti i {
  animation: confetti-pop 1100ms cubic-bezier(0.2, 0.75, 0.5, 1) var(--c-delay, 0ms) forwards;
}

.hero-showcase {
  position: relative;
  display: grid;
  min-height: 40rem;
  align-items: center;
  justify-items: end;
  padding: 3rem 1.5rem 3rem 5rem;
  isolation: isolate;
}

/*
 * The bee is a die cut sticker. It must never sit over the product screen.
 * The wrapper is only a position box and must never gain a transform,
 * z-index, or animation: a stacking context here would trap the sparkle
 * layer below the phone. Rotation, stacking, and bob live on the image.
 */
.hero-bee-wrap {
  position: absolute;
  top: 1.25rem;
  left: -1.75rem;
  width: min(13.5rem, 43%);
  /* Rapid sparkle taps must never read as double tap zoom. */
  touch-action: manipulation;
}

.hero-bee {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(2px 0 0 var(--paper)) drop-shadow(-2px 0 0 var(--paper))
    drop-shadow(0 2px 0 var(--paper)) drop-shadow(0 -2px 0 var(--paper))
    drop-shadow(0 0.7rem 0.9rem rgb(23 63 58 / 25%));
  transform: rotate(-6deg);
  animation: bee-bob 3.4s ease-in-out infinite;
}

/* A second, left facing bee fills the gap beside the stacked mobile
   headline. Desktop hides it; the single column hero shows it. */
.hero-bee-mobile-wrap {
  display: none;
}

/*
 * The mirrored sparkle layer reuses every star setting: flipping the layer
 * itself sends the whole cone up and left. `scaleX(-1) rotate(7deg)`
 * composes as rotate first, then flip, so the wand tip (98%/65% in image
 * coordinates) lands at 4%/73% of the wrapper box. The double class beats
 * the base rule's later position declarations. Positive z-index lifts the
 * stars above the headline inside the hero-copy stacking context.
 */
.hero-bee-sparks.hero-bee-sparks-mirrored {
  top: 73%;
  left: 4%;
  z-index: 2;
  transform: scaleX(-1);
}

/*
 * Wand tip of the rotated bee: 98%/65% in image coordinates lands at
 * 99%/58% of the unrotated wrapper box. The layer bobs in phase with the
 * bee so the emitter follows the wand.
 */
.hero-bee-sparks {
  position: absolute;
  z-index: 3;
  top: 58%;
  left: 99%;
  width: 0;
  height: 0;
  pointer-events: none;
  animation: bee-bob 3.4s ease-in-out infinite;
}

.hero-bee-sparks i {
  position: absolute;
  top: calc(var(--spark-size, 0.9rem) / -2);
  left: calc(var(--spark-size, 0.9rem) / -2);
  width: var(--spark-size, 0.9rem);
  height: var(--spark-size, 0.9rem);
  background: var(--honey);
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  opacity: 0;
}

.hero-bee-sparks i:nth-child(1) { --spark-angle: -88deg; --spark-distance: 9.1rem; --spark-delay: 180ms; --spark-size: 1.2rem; }
.hero-bee-sparks i:nth-child(2) { --spark-angle: -85deg; --spark-distance: 6.9rem; --spark-delay: 220ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(3) { --spark-angle: -76deg; --spark-distance: 9.5rem; --spark-delay: 260ms; --spark-size: 1.2rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(4) { --spark-angle: -73deg; --spark-distance: 9.8rem; --spark-delay: 90ms; --spark-size: 1.1rem; }
.hero-bee-sparks i:nth-child(5) { --spark-angle: -75deg; --spark-distance: 11.6rem; --spark-delay: 160ms; --spark-size: 1.2rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(6) { --spark-angle: -67deg; --spark-distance: 10.5rem; --spark-delay: 80ms; --spark-size: 0.9rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(7) { --spark-angle: -61deg; --spark-distance: 12.4rem; --spark-delay: 290ms; --spark-size: 1.3rem; }
.hero-bee-sparks i:nth-child(8) { --spark-angle: -61deg; --spark-distance: 5.8rem; --spark-delay: 120ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(9) { --spark-angle: -60deg; --spark-distance: 8.8rem; --spark-delay: 320ms; --spark-size: 1.1rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(10) { --spark-angle: -54deg; --spark-distance: 5.4rem; --spark-delay: 260ms; --spark-size: 0.9rem; }
.hero-bee-sparks i:nth-child(11) { --spark-angle: -52deg; --spark-distance: 8.3rem; --spark-delay: 210ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(12) { --spark-angle: -51deg; --spark-distance: 9.1rem; --spark-delay: 270ms; --spark-size: 1.1rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(13) { --spark-angle: -44deg; --spark-distance: 12.4rem; --spark-delay: 90ms; --spark-size: 1.0rem; }
.hero-bee-sparks i:nth-child(14) { --spark-angle: -38deg; --spark-distance: 8.9rem; --spark-delay: 190ms; --spark-size: 0.7rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(15) { --spark-angle: -40deg; --spark-distance: 6.2rem; --spark-delay: 20ms; --spark-size: 1.1rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(16) { --spark-angle: -31deg; --spark-distance: 6.0rem; --spark-delay: 220ms; --spark-size: 1.0rem; }
.hero-bee-sparks i:nth-child(17) { --spark-angle: -31deg; --spark-distance: 7.0rem; --spark-delay: 320ms; --spark-size: 1.1rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(18) { --spark-angle: -28deg; --spark-distance: 8.9rem; --spark-delay: 330ms; --spark-size: 1.3rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(19) { --spark-angle: -24deg; --spark-distance: 9.6rem; --spark-delay: 240ms; --spark-size: 0.9rem; }
.hero-bee-sparks i:nth-child(20) { --spark-angle: -18deg; --spark-distance: 9.1rem; --spark-delay: 170ms; --spark-size: 1.2rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(21) { --spark-angle: -18deg; --spark-distance: 7.5rem; --spark-delay: 100ms; --spark-size: 0.7rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(22) { --spark-angle: -13deg; --spark-distance: 9.9rem; --spark-delay: 160ms; --spark-size: 1.0rem; }
.hero-bee-sparks i:nth-child(23) { --spark-angle: -11deg; --spark-distance: 12.4rem; --spark-delay: 90ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(24) { --spark-angle: -7deg; --spark-distance: 11.6rem; --spark-delay: 290ms; --spark-size: 1.0rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(25) { --spark-angle: 0deg; --spark-distance: 11.7rem; --spark-delay: 110ms; --spark-size: 1.3rem; }
.hero-bee-sparks i:nth-child(26) { --spark-angle: -4deg; --spark-distance: 10.6rem; --spark-delay: 280ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(27) { --spark-angle: 3deg; --spark-distance: 12.7rem; --spark-delay: 350ms; --spark-size: 1.2rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(28) { --spark-angle: 6deg; --spark-distance: 5.7rem; --spark-delay: 100ms; --spark-size: 1.0rem; }
.hero-bee-sparks i:nth-child(29) { --spark-angle: 7deg; --spark-distance: 11.0rem; --spark-delay: 150ms; --spark-size: 1.0rem; background: var(--mint); }
.hero-bee-sparks i:nth-child(30) { --spark-angle: 9deg; --spark-distance: 5.2rem; --spark-delay: 210ms; --spark-size: 1.3rem; background: var(--paper); }
.hero-bee-sparks i:nth-child(31) { --spark-angle: 13deg; --spark-distance: 11.4rem; --spark-delay: 90ms; --spark-size: 1.1rem; }

/* The last star keeps the longest delay; the script clears the burst
   state when this star's animation ends. */
.hero-bee-sparks i:nth-child(32) { --spark-angle: 22deg; --spark-distance: 12.7rem; --spark-delay: 400ms; --spark-size: 1.1rem; background: var(--mint); }

.hero-bee-wrap.sparkling .hero-bee-sparks i,
.hero-bee-mobile-wrap.sparkling .hero-bee-sparks i {
  animation: spark-fly 1100ms cubic-bezier(0.16, 0.6, 0.4, 1) var(--spark-delay, 0ms) forwards;
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: min(18.25rem, 78%);
  margin: 0;
  text-align: center;
  transform: rotate(4deg);
}

/*
 * A restrained bezel: padding rather than a border keeps the inner and outer
 * radii concentric. Deliberately no notch, buttons, or home indicator, so the
 * frame never reads as part of the interface it holds.
 */
.iphone-frame {
  padding: 0.4rem;
  border-radius: 2.95rem;
  background: linear-gradient(155deg, #2c6058, var(--ink) 58%);
  box-shadow: var(--shadow), inset 0 0 0 1px rgb(255 254 249 / 16%);
  line-height: 0;
}

.iphone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2.55rem;
}

/* The hero phone reads as a die cut sticker on the honey field. */
.hero-phone .iphone-frame {
  border: 0.45rem solid var(--paper);
  border-radius: 3.4rem;
}

.hero-phone figcaption {
  width: fit-content;
  margin: 1.1rem auto 0;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 800;
}

.section-pad {
  padding-block: clamp(5.5rem, 11vw, 10rem);
}

/* Ruled exercise book paper: the surface the sticker step cards sit on. */
.how-section {
  border-block: 1px solid rgb(23 63 58 / 12%);
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent calc(var(--rule-height) - 1px),
      var(--rule) calc(var(--rule-height) - 1px),
      var(--rule) var(--rule-height)
    ),
    var(--paper);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.55fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}

.section-heading-row > p {
  max-width: 29rem;
  margin: 0 0 0.5rem;
  color: var(--muted-ink);
  font-size: 1.08rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  padding: 1.8rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: 0.4rem 0.4rem 0 var(--honey);
  transform: rotate(-0.6deg);
}

.steps li:nth-child(2) {
  box-shadow: 0.4rem 0.4rem 0 var(--mint);
  transform: rotate(0.7deg);
}

.steps li:nth-child(3) {
  box-shadow: 0.4rem 0.4rem 0 var(--coral-soft);
  transform: rotate(-0.4deg);
}

.step-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 0.75rem;
}

.steps p {
  max-width: 19rem;
  margin: 0;
  color: var(--muted-ink);
}

.product-tour {
  color: var(--paper);
  background: var(--ink);
}

.product-tour .section-heading-row > p {
  color: #c8ded9;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.screenshot-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-card);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1rem 2rem rgb(23 63 58 / 35%);
  transform: rotate(-1.5deg);
}

.screenshot-grid .screenshot-card:nth-child(2) {
  transform: rotate(1.4deg);
}

.screenshot-grid .screenshot-card:nth-child(3) {
  transform: rotate(-0.8deg);
}

/*
 * Scrapbook photos: each card is taped into the dark band with a coloured
 * washi strip, so the real app screens stay the brightest thing on the page.
 */
.screenshot-card::before {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  width: 5rem;
  height: 1.4rem;
  margin-left: -2.5rem;
  border-radius: 2px;
  opacity: 0.95;
  transform: rotate(-3deg);
  content: "";
}

.screenshot-card .iphone-frame {
  width: min(100%, 14rem);
  padding: 0.3rem;
  border-radius: 2.5rem;
  box-shadow: 0 1rem 2.2rem rgb(23 63 58 / 24%), inset 0 0 0 1px rgb(255 254 249 / 16%);
}

.screenshot-card .iphone-frame img {
  border-radius: 2.2rem;
}

.screenshot-card figcaption {
  max-width: 19rem;
  color: var(--muted-ink);
  line-height: 1.45;
}

.screenshot-card figcaption strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 1.08rem;
}

.success-screen::before {
  background: var(--honey);
}

.library-screen::before {
  background: var(--mint);
  transform: rotate(2deg);
}

.history-screen::before {
  background: var(--coral);
}

.features-section {
  background: var(--cream);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  position: relative;
  min-height: 27rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  box-shadow: 0.5rem 0.5rem 0 rgb(23 63 58 / 85%);
  transform: rotate(-0.5deg);
}

.feature-grid .feature-card:nth-child(2) {
  transform: rotate(0.6deg);
}

.feature-grid .feature-card:nth-child(3) {
  transform: rotate(0.4deg);
}

.feature-grid .feature-card:nth-child(4) {
  transform: rotate(-0.7deg);
}

/*
 * Motifs are pinned to the bottom by layout rather than absolute offsets, so
 * copy of any length pushes them down instead of colliding with them.
 */
.feature-card:not(.feature-card-wide) {
  display: flex;
  flex-direction: column;
}

.feature-card:not(.feature-card-wide) > .mini-wave,
.feature-card:not(.feature-card-wide) > .slot-row {
  margin-top: auto;
}

.feature-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.55fr);
  align-items: end;
  gap: 2rem;
  min-height: 24rem;
  grid-column: 1 / -1;
}

.feature-card h3 {
  max-width: 15ch;
  margin-top: 0;
  margin-bottom: 1rem;
}

.feature-card p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--muted-ink);
}

.mint-card {
  background: var(--mint-soft);
}

.yellow-card {
  background: var(--honey-soft);
}

.coral-card {
  background: var(--coral-soft);
}

.paper-card {
  background: var(--paper);
}

.file-lines {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgb(23 63 58 / 18%);
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: 0.45rem 0.45rem 0 var(--honey);
  transform: rotate(2deg);
}

.file-lines span {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.file-lines span:last-child {
  border-bottom: 0;
}

.mini-wave {
  display: flex;
  align-items: end;
  gap: 0.45rem;
  height: 5rem;
  margin-top: 2.5rem;
}

.mini-wave i {
  flex: 1;
  border-radius: 999px;
  background: var(--ink);
}

.mini-wave i:nth-child(1),
.mini-wave i:nth-child(7) { height: 25%; }
.mini-wave i:nth-child(2),
.mini-wave i:nth-child(6) { height: 48%; }
.mini-wave i:nth-child(3),
.mini-wave i:nth-child(5) { height: 72%; }
.mini-wave i:nth-child(4) { height: 100%; }

.slot-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 2.5rem;
}

.slot-row span {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 900;
}

.slot-row span:last-child {
  border-style: dashed;
  background: transparent;
}

.mastery-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  align-self: end;
  padding-bottom: 0.6rem;
}

.mastery-meter span {
  height: 1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.mastery-meter .complete {
  background: var(--mint);
}

.privacy-band {
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--paper);
  background: var(--ink);
}

.privacy-band .privacy-copy {
  color: #c8ded9;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.55fr);
  gap: 2.5rem clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.privacy-copy {
  padding-bottom: 0.6rem;
  font-size: 1.08rem;
}

.privacy-copy p {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  color: var(--honey);
  font-weight: 800;
}

.privacy-seal {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.6rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgb(255 254 249 / 22%);
}

.privacy-seal span {
  display: grid;
  width: 5.2rem;
  height: 5.2rem;
  place-items: center;
  border: 3px dashed var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--honey);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-5deg);
}

.privacy-seal span:nth-child(2) {
  background: var(--mint);
  transform: rotate(3deg);
}

.privacy-seal span:nth-child(3) {
  background: var(--coral);
  transform: rotate(-2deg);
}

.support-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: var(--paper);
}

.support-card {
  padding: clamp(2.5rem, 7vw, 5rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--mint-soft);
  box-shadow: 0.55rem 0.55rem 0 var(--honey);
  text-align: center;
  transform: rotate(-0.8deg);
}

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

.support-card h2 {
  max-width: none;
}

.support-card > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.3rem auto 2rem;
  color: var(--muted-ink);
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.8rem;
  color: var(--paper);
  background: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.button-link:hover {
  color: var(--ink);
  background: var(--honey);
}

.site-footer {
  border-top: 2px dashed rgb(23 63 58 / 20%);
  background: var(--cream);
}

.footer-inner {
  min-height: 7rem;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.8rem;
}

.wordmark-small {
  font-size: 1rem;
}

.wordmark-small .wordmark-mark {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.8rem;
}

.page-hero {
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  border-bottom: 2px dashed rgb(23 63 58 / 20%);
  background: var(--halftone) 0 0 / 22px 22px, var(--honey);
}

/* Muted ink fails contrast on honey, same as the home hero. */
.page-hero .page-summary {
  color: var(--ink);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
}

.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.page-summary {
  max-width: 39rem;
  margin: 0;
  color: var(--muted-ink);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--paper);
  box-shadow: 0.55rem 0.55rem 0 var(--mint);
  transform: rotate(1deg);
}

.contact-card .contact-label {
  margin: 0 0 2.7rem;
  color: var(--muted-ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-card > a {
  font-weight: 800;
  overflow-wrap: anywhere;
}

.support-body {
  background: var(--paper);
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.support-index {
  position: sticky;
  top: 2rem;
  padding-top: 0.4rem;
}

.support-index > p {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.support-index nav {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.support-index a {
  /* 0.65rem vertical padding keeps the pill at the 44 CSS pixel tap floor
     at every width, including touch tablets above the phone breakpoint. */
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0.15rem 0.15rem 0 rgb(23 63 58 / 30%);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: translate 120ms ease, box-shadow 120ms ease;
}

.support-index a:hover {
  translate: 0.1rem 0.1rem;
  box-shadow: 0.05rem 0.05rem 0 rgb(23 63 58 / 30%);
}

.support-topics {
  border-top: 1px solid var(--ink);
}

.support-topic {
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.support-topic:last-child {
  border-bottom: 0;
}

.support-topic h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.support-topic h3 {
  margin: 2.25rem 0 0.65rem;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.support-topic h2 + h3 {
  margin-top: 0;
}

.support-topic p {
  max-width: 47rem;
  color: var(--muted-ink);
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  gap: 0.75rem;
  margin: 2.2rem 0 0;
}

.detail-list dt {
  align-self: end;
  padding: 1rem 1rem 0.25rem;
  border-radius: var(--radius-small) var(--radius-small) 0 0;
  color: var(--muted-ink);
  background: var(--cream);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  padding: 0.25rem 1rem 1rem;
  border-radius: 0 0 var(--radius-small) var(--radius-small);
  background: var(--cream);
  font-weight: 800;
}

.tip-card {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  border-radius: var(--radius-small);
  background: var(--honey-soft);
}

.tip-card::before {
  position: absolute;
  top: 1.5rem;
  left: 1.45rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--honey);
  content: "i";
  font-weight: 900;
}

.tip-card .tip-label {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tip-card p:last-child {
  margin: 0;
  color: var(--ink);
}

.policy-note {
  margin-top: 2.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.support-section-page {
  padding-top: clamp(5rem, 10vw, 9rem);
  background: var(--cream);
}

.policy-hero {
  background: var(--halftone) 0 0 / 22px 22px, var(--honey);
}

.policy-date-card {
  position: relative;
  padding: 2rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-small);
  background: var(--paper);
  box-shadow: 0.55rem 0.55rem 0 var(--coral-soft);
  transform: rotate(1deg);
}

.policy-date-card::before {
  position: absolute;
  top: -0.8rem;
  right: 1.5rem;
  width: 2.8rem;
  height: 1.45rem;
  background: var(--mint);
  content: "";
  transform: rotate(4deg);
}

.policy-date-card p {
  margin: 0 0 1.5rem;
  color: var(--muted-ink);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-date-card time {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
}

.policy-date-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted-ink);
  font-size: 0.85rem;
}

.policy-page {
  background: var(--paper);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(3rem, 8vw, 8rem);
}

.policy-index {
  position: sticky;
  top: 2rem;
}

.policy-index > p {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-index nav {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.policy-index a {
  padding: 0.65rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 0.15rem 0.15rem 0 rgb(23 63 58 / 30%);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: translate 120ms ease, box-shadow 120ms ease;
}

.policy-index a:hover {
  translate: 0.1rem 0.1rem;
  box-shadow: 0.05rem 0.05rem 0 rgb(23 63 58 / 30%);
}

.policy-content {
  border-top: 1px solid var(--ink);
}

.policy-intro {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.policy-kicker {
  margin: 0 0 1.2rem;
  color: var(--muted-ink);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-intro h2 {
  max-width: 19ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.policy-intro > p:last-child {
  max-width: 43rem;
  color: var(--muted-ink);
}

.policy-section {
  display: grid;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(2.8rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 2rem;
}

.policy-section h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.policy-section p {
  max-width: 48rem;
  color: var(--muted-ink);
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.website-privacy {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius-card);
  color: var(--paper);
  background: var(--ink);
  scroll-margin-top: 2rem;
}

.website-privacy .eyebrow,
.website-privacy p {
  color: #c8ded9;
}

.website-privacy h2 {
  margin-bottom: 1.7rem;
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.website-privacy p {
  max-width: 49rem;
}

.not-found-page {
  display: grid;
  min-height: calc(100svh - 12rem);
  place-items: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.not-found-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.48fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.not-found-page h1 {
  max-width: 10ch;
  margin-bottom: 1.5rem;
}

.missing-tile-wrap {
  position: relative;
  width: min(100%, 21rem);
}

.missing-bee {
  position: absolute;
  z-index: 1;
  top: -4.2rem;
  right: -1.5rem;
  width: 7.5rem;
  transform: rotate(10deg);
  filter:
    drop-shadow(2px 0 0 var(--paper)) drop-shadow(-2px 0 0 var(--paper))
    drop-shadow(0 2px 0 var(--paper)) drop-shadow(0 -2px 0 var(--paper));
}

.missing-tile {
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  background: var(--honey);
  box-shadow: 0.85rem 0.85rem 0 var(--mint);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-3deg);
  animation: tile-wiggle 2.6s ease-in-out infinite;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.dark-text-link {
  color: var(--ink);
}

@media (max-width: 54rem) {
  .hero,
  .section-heading-row,
  .privacy-layout,
  .page-hero-layout,
  .not-found-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 1rem;
    padding-top: 2rem;
  }

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

  /*
   * The wrapper is only a position box (same stacking rule as the hero
   * bee's wrapper). The image sits behind the headline (negative z-index
   * inside the hero-copy stacking context) so text always wins overlaps,
   * while the mirrored sparkle layer rises above it.
   */
  .hero-bee-mobile-wrap {
    position: absolute;
    top: 0.5rem;
    right: 0;
    display: block;
    width: min(9.5rem, 36vw);
    touch-action: manipulation;
  }

  .hero-bee-mobile {
    position: relative;
    z-index: -1;
    display: block;
    width: 100%;
    height: auto;
    filter:
      drop-shadow(2px 0 0 var(--paper)) drop-shadow(-2px 0 0 var(--paper))
      drop-shadow(0 2px 0 var(--paper)) drop-shadow(0 -2px 0 var(--paper))
      drop-shadow(0 0.5rem 0.7rem rgb(23 63 58 / 22%));
    transform: scaleX(-1) rotate(7deg);
    animation: bee-bob 3.4s ease-in-out infinite;
  }

  .hero-showcase {
    width: min(100%, 35rem);
    min-height: 38rem;
    margin-inline: auto;
  }

  .section-heading-row {
    gap: 1.5rem;
  }

  .privacy-copy {
    max-width: 38rem;
  }

  .contact-card {
    width: min(100%, 35rem);
  }

  .policy-date-card {
    width: min(100%, 35rem);
  }

  .missing-tile-wrap {
    width: min(55vw, 17rem);
  }
}

@media (max-width: 42rem) {
  .site-shell {
    width: min(calc(100% - 1.3rem), var(--shell));
  }

  .header-inner {
    min-height: 4.4rem;
  }

  .wordmark-mark {
    width: 2rem;
    height: 2rem;
  }

  .hero-bee-wrap {
    top: 0.75rem;
    left: -0.75rem;
    width: min(10.5rem, 38%);
  }

  .hero {
    padding-block: 1.5rem 2.5rem;
  }

  .hero-summary {
    font-size: 1.05rem;
  }

  .purchase-facts {
    display: grid;
    gap: 0.35rem;
    justify-items: start;
  }

  .hero-showcase {
    min-height: 34rem;
    padding: 2.25rem 0.5rem 2rem 2.25rem;
  }

  .hero-phone {
    width: min(17rem, 78%);
    transform: rotate(2deg);
  }

  .letter-tile {
    width: 2.9rem;
    height: 2.9rem;
    font-size: 1.25rem;
  }

  .hero-tiles {
    gap: 0.6rem;
    margin-top: 1.3rem;
  }

  .steps,
  .screenshot-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card .iphone-frame {
    width: min(100%, 13rem);
  }

  .steps li,
  .steps li + li {
    padding: 1.5rem;
  }

  .feature-card {
    min-height: 24rem;
  }

  /*
   * The stacked single column already reads busy on a phone; dropping card
   * rotations keeps it calm while borders and shadows carry the sticker look.
   */
  .steps li,
  .steps li:nth-child(2),
  .steps li:nth-child(3),
  .screenshot-card,
  .screenshot-grid .screenshot-card:nth-child(2),
  .screenshot-grid .screenshot-card:nth-child(3),
  .feature-card,
  .feature-grid .feature-card:nth-child(2),
  .feature-grid .feature-card:nth-child(3),
  .feature-grid .feature-card:nth-child(4) {
    transform: none;
  }

  .privacy-seal span {
    width: 4.6rem;
    height: 4.6rem;
  }

  .feature-card-wide {
    display: block;
    grid-column: auto;
  }

  .file-lines,
  .mastery-meter {
    margin-top: 2.5rem;
  }

  .privacy-seal {
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 0.8rem;
    padding-block: 1.7rem;
  }

  .support-layout {
    grid-template-columns: 1fr;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .support-index {
    position: static;
  }

  .policy-index {
    position: static;
  }

  .support-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
  }

  .policy-index nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
  }

  .missing-bee {
    top: -3.2rem;
    right: 0;
    width: 5.5rem;
  }

  .support-topic {
    grid-template-columns: 1fr;
  }

  .policy-section {
    grid-template-columns: 1fr;
  }

  .detail-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 0;
  }

  .detail-list dt:not(:first-child) {
    margin-top: 0.75rem;
  }

  .tip-card {
    padding: 4.2rem 1.25rem 1.25rem;
  }
}

@keyframes bee-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.6rem; }
}

@keyframes tile-wiggle {
  0%, 100% { rotate: 0deg; }
  25% { rotate: 2.5deg; }
  75% { rotate: -2.5deg; }
}

@keyframes tile-spin {
  to { rotate: 1turn; }
}

@keyframes confetti-pop {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }

  30% {
    opacity: 1;
    transform: translate(calc(var(--cx) * 0.6), var(--cy-up)) rotate(calc(var(--c-rot) * 0.4));
  }

  100% {
    opacity: 0;
    transform: translate(var(--cx), var(--cy-down)) rotate(var(--c-rot));
  }
}

@keyframes spark-fly {
  0% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateX(0) scale(0.2);
  }

  25% {
    opacity: 1;
    transform: rotate(var(--spark-angle)) translateX(calc(var(--spark-distance) * 0.45)) scale(1.05);
  }

  100% {
    opacity: 0;
    transform: rotate(var(--spark-angle)) translateX(var(--spark-distance)) scale(0.3);
  }
}

/*
 * Scroll reveals are gated on the js root class the script adds, so nothing
 * is ever hidden when JavaScript is unavailable.
 */
html.js .reveal-target {
  opacity: 0;
  translate: 0 1.5rem;
  transition: opacity 480ms ease, translate 480ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

html.js .reveal-target.revealed {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html.js .reveal-target {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}
