:root {
  --space-indigo: #1f2547;
  --soft-periwinkle: #8b85c1;
  --raspberry: #d64550;
  --tangerine-dream: #ffad85;
  --sunbeam-yellow: #ffe433;

  --bg: #f8f7fc;
  --text: #0f1533;
  --muted: rgba(15, 21, 51, 0.7);
  --hairline: rgba(15, 21, 51, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* ── Background layer ── */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 133, 193, 0.16), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(255, 173, 133, 0.2), transparent 34%),
    radial-gradient(circle at 80% 92%, rgba(214, 69, 80, 0.08), transparent 32%),
    var(--bg);
}

/* ── Garden (SVG built by garden.js) ── */
.garden-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.garden-svg .stem {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.garden-svg .leaf,
.garden-svg .bloom,
.garden-svg .tuft-grow {
  transform-box: fill-box;
}

.garden-svg .leaf {
  transform: scale(0);
  transform-origin: left center;
}

.garden-svg .bloom {
  transform: scale(0) rotate(-40deg);
  transform-origin: center;
}

.garden-svg .bloom--spike {
  transform: scaleY(0);
  transform-origin: bottom center;
}

.garden-svg .tuft-grow {
  transform: scaleY(0);
  transform-origin: bottom center;
}

.garden-svg .sway,
.garden-svg .nod {
  transform-box: view-box;
}

.garden-svg .nod {
  transform-box: fill-box;
  transform-origin: bottom center;
}

.garden-svg.is-visible .stem {
  animation: g-stem 0.9s cubic-bezier(0.3, 0.7, 0.4, 1) var(--d) forwards;
}

.garden-svg.is-visible .leaf {
  animation: g-pop 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) calc(var(--d) + var(--ld)) forwards;
}

.garden-svg.is-visible .bloom {
  animation: g-bloom 0.75s cubic-bezier(0.3, 1.5, 0.5, 1) calc(var(--d) + 0.75s) forwards;
}

.garden-svg.is-visible .bloom--spike {
  animation-name: g-spike;
}

.garden-svg.is-visible .tuft-grow {
  animation: g-tuft 0.7s cubic-bezier(0.3, 1.4, 0.5, 1) var(--d) forwards;
}

.garden-svg.is-visible .sway {
  animation: g-sway var(--sd) ease-in-out calc(var(--d) + 1.5s) infinite alternate both;
}

.garden-svg .nod.is-visited {
  animation: g-nod 0.9s ease-out;
}

@keyframes g-stem {
  to { stroke-dashoffset: 0; }
}

@keyframes g-pop {
  to { transform: scale(1); }
}

@keyframes g-bloom {
  to { transform: scale(1) rotate(0deg); }
}

@keyframes g-spike {
  to { transform: scaleY(1); }
}

@keyframes g-tuft {
  to { transform: scaleY(1); }
}

@keyframes g-sway {
  from { transform: rotate(calc(var(--sa) * -1)); }
  to { transform: rotate(var(--sa)); }
}

@keyframes g-nod {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-9deg) scale(1.06); }
  55% { transform: rotate(6deg) scale(0.98); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg) scale(1); }
}

/* Phones: grow, but skip the endless sway. */
@media (max-width: 720px), (pointer: coarse) {
  .garden-svg.is-visible .sway {
    animation: none;
  }
}

/* ── Bee (fixed overlay driven by bees.js) ── */
.bee-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 30;
  pointer-events: none;
  overflow: visible;
}

body.video-open .bee-overlay {
  display: none !important;
}

.trail__dot {
  fill: var(--space-indigo);
}

.bee__stripe,
.bee__stinger {
  fill: var(--space-indigo);
  stroke: var(--raspberry);
  stroke-width: 1;
}

.bee__stinger {
  stroke: none;
}

.bee__shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.bee__leg {
  fill: none;
  stroke: var(--space-indigo);
  stroke-width: 1.3;
  stroke-linecap: round;
}

/* Little pool-edge paddle, toggled now and then by bees.js. */
.bee__leg--kick {
  transform-box: fill-box;
  transform-origin: top center;
}

.bee.is-kicking .bee__leg--kick {
  animation: bee-kick 0.9s ease-in-out;
}

.bee.is-kicking .bee__leg--kick-2 {
  animation-delay: 0.12s;
}

@keyframes bee-kick {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(34deg); }
  32% { transform: rotate(-14deg); }
  50% { transform: rotate(28deg); }
  68% { transform: rotate(-10deg); }
  84% { transform: rotate(12deg); }
}

.bee__antenna {
  fill: none;
  stroke: var(--space-indigo);
  stroke-width: 1.3;
  stroke-linecap: round;
}

.bee__antenna-tip {
  fill: var(--soft-periwinkle);
}

.bee__face {
  fill: url(#bee-face-fill);
  stroke: var(--raspberry);
  stroke-width: 0.55;
}

.bee__wing {
  fill: rgba(211, 209, 232, 0.88);
  stroke: rgba(139, 133, 193, 0.35);
  stroke-width: 0.6;
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: bee-flap 0.09s ease-in-out infinite alternate;
}

.bee__wing--front {
  fill: rgba(230, 235, 252, 0.9);
}

.bee__wing--back {
  animation-delay: -0.045s;
}

@keyframes bee-flap {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.35); }
}

.bee__eyes {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.08s ease;
}

.bee__eye {
  fill: var(--space-indigo);
}

.bee__sparkle {
  fill: #fff;
}

.bee__blush {
  fill: #ff8f86;
  opacity: 0.75;
}

.bee__smile,
.bee__eye-happy {
  fill: none;
  stroke: var(--space-indigo);
  stroke-width: 1;
  stroke-linecap: round;
}

.bee__grin {
  fill: var(--space-indigo);
}

.bee__eye-happy,
.bee__grin,
.bee__gasp {
  display: none;
}

.bee__gasp {
  fill: var(--space-indigo);
}

.bee.is-blinking .bee__eyes {
  transform: scaleY(0.1);
}

.bee.is-scared .bee__smile {
  display: none;
}

.bee.is-scared .bee__gasp {
  display: inline;
}

.bee.is-happy:not(.is-scared) .bee__eyes,
.bee.is-happy:not(.is-scared) .bee__smile {
  display: none;
}

.bee.is-happy:not(.is-scared) .bee__eye-happy,
.bee.is-happy:not(.is-scared) .bee__grin {
  display: inline;
}

.bee-alert {
  fill: none;
  stroke: var(--space-indigo);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0;
  /* Burst outward from the face side. */
  transform-box: fill-box;
  transform-origin: left center;
}

.bee.is-scared .bee-alert {
  opacity: 1;
  animation: bee-alert-pop 0.3s cubic-bezier(0.3, 1.8, 0.5, 1);
}

.bee.is-scared .bee__eyes {
  transform: scale(1.22);
}

.bee.is-scared .bee__wing {
  animation-duration: 0.045s;
}

@keyframes bee-alert-pop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.bee-heart {
  fill: var(--raspberry);
  animation: bee-heart 1.2s ease-out forwards;
}

@keyframes bee-heart {
  0% { transform: translateY(0) scale(0.4); opacity: 0; }
  20% { transform: translateY(-6px) scale(1.25); opacity: 1; }
  100% { transform: translateY(-40px) scale(1); opacity: 0; }
}


/* ── Landing layout ── */
.landing {
  --surface: #ffffff;
  --tint: #f1effa;
  --radius: 1.25rem;
  --shadow-sm: 0 1px 2px rgba(31, 37, 71, 0.06), 0 4px 14px rgba(31, 37, 71, 0.06);
  --shadow-lg: 0 30px 60px -20px rgba(31, 37, 71, 0.35), 0 12px 24px -12px rgba(31, 37, 71, 0.2);
  --gutter: clamp(1rem, 4vw, 2rem);
}

.landing main,
.landing .footer {
  position: relative;
  z-index: 2;
}

.container {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn:focus-visible,
.store-badge:focus-visible,
.video-card:focus-visible,
.nav a:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--raspberry);
  outline-offset: 3px;
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.btn--dark {
  background: var(--space-indigo);
  color: #fff;
}

.btn--dark:hover {
  background: #2b3260;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--hairline);
  color: var(--space-indigo);
  min-height: 3.5rem;
  padding-inline: 1.35rem;
}

.btn--ghost svg {
  color: var(--raspberry);
}

.btn--ghost:hover {
  background: #fff;
  border-color: rgba(31, 37, 71, 0.25);
  transform: translateY(-1px);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.55rem 1.35rem 0.55rem 1.05rem;
  border-radius: 0.85rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(15, 21, 51, 0.45);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -8px rgba(15, 21, 51, 0.5);
}

.store-badge--light {
  background: #fff;
  color: #000;
}

.store-badge__apple {
  flex-shrink: 0;
  margin-top: -2px;
}

.store-badge__play {
  flex-shrink: 0;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-badge__eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.store-badge__store {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 247, 252, 0.8);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--space-indigo);
  text-decoration: none;
}

.brand__logo {
  width: 2.5rem;
  height: 2.5rem;
}

.brand__name {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav__links {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
}

.nav__links a {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}

.nav__links a:hover {
  color: var(--space-indigo);
  background: rgba(31, 37, 71, 0.05);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6.5rem);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem 0.35rem 0.65rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--space-indigo);
  font-size: 0.85rem;
  font-weight: 600;
}

.eyebrow__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--raspberry);
  box-shadow: 0 0 0 4px rgba(214, 69, 80, 0.15);
}

.hero__title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--space-indigo);
  text-wrap: balance;
}

.accent {
  background: linear-gradient(100deg, var(--soft-periwinkle) 0%, var(--raspberry) 55%, var(--tangerine-dream) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  margin: 1.35rem 0 0;
  max-width: 32rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero__note svg {
  color: var(--raspberry);
}

/* Hero visual: phone + paper poster */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1rem 0 1rem 5rem;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% 2% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 173, 133, 0.45), rgba(139, 133, 193, 0.25) 45%, transparent 70%);
  filter: blur(10px);
}

.phone {
  position: relative;
  width: min(18.5rem, 100%);
  aspect-ratio: 9 / 19;
  padding: 0.6rem;
  border-radius: 2.9rem;
  background: #11152c;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(2deg);
}

.phone__screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 2.35rem;
  background: #fbfaff;
}

.phone__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.4rem 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--space-indigo);
}

.phone__status span:last-child {
  letter-spacing: -0.15em;
  font-size: 0.55rem;
}

.phone__island {
  width: 4.75rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #11152c;
}

.app {
  padding: 0.5rem 0.85rem;
}

.app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.35rem 0 0.7rem;
}

.app__title {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--space-indigo);
}

.app__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sunbeam-yellow), var(--tangerine-dream));
}

.app__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0.2rem;
  margin-bottom: 0.75rem;
  border-radius: 0.65rem;
  background: rgba(31, 37, 71, 0.06);
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  color: var(--muted);
}

.app__tabs span {
  padding: 0.3rem 0;
  border-radius: 0.5rem;
}

.app__tabs .is-active {
  background: #fff;
  color: var(--space-indigo);
  box-shadow: 0 1px 3px rgba(31, 37, 71, 0.12);
}

.event {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(31, 37, 71, 0.08);
}

.app__tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.65rem 1.25rem 1.1rem;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.92);
}

.app__tabbar span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.35rem;
  background: rgba(31, 37, 71, 0.18);
}

.app__tabbar .app__snap {
  width: 2.6rem;
  height: 2.6rem;
  margin-top: -1.4rem;
  border-radius: 999px;
  background: var(--raspberry);
  box-shadow: 0 6px 14px rgba(214, 69, 80, 0.4);
}

.app__tabbar .is-active {
  background: var(--space-indigo);
}

.event__thumb {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 3.4rem;
  border-radius: 0.4rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.02em;
}

.event__thumb--a { background: var(--raspberry); color: var(--sunbeam-yellow); }
.event__thumb--b { background: var(--space-indigo); color: var(--tangerine-dream); }
.event__thumb--c { background: var(--sunbeam-yellow); color: var(--space-indigo); }
.event__thumb--d { background: var(--soft-periwinkle); color: #fff; }

.event__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.event__name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--space-indigo);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event__meta {
  font-size: 0.62rem;
  color: var(--muted);
}

.event__tags {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.15rem;
}

.event__tags i {
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 600;
  color: var(--space-indigo);
}

.event__votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.55rem;
  color: var(--raspberry);
}

.event__votes b {
  font-size: 0.65rem;
  color: var(--space-indigo);
}

.paper-poster {
  position: absolute;
  z-index: 1;
  left: 0;
  top: 14%;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 9.5rem;
  padding: 1.35rem 1rem 1.1rem;
  background: #fffaf0;
  box-shadow: var(--shadow-lg);
  transform: rotate(-9deg);
  color: var(--space-indigo);
}

.paper-poster__tape {
  position: absolute;
  top: -0.6rem;
  left: 50%;
  width: 4rem;
  height: 1.2rem;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(255, 228, 51, 0.75);
}

.paper-poster__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--raspberry);
}

.paper-poster__title {
  margin-bottom: 0.35rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.paper-poster__meta {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
}

.chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.95rem 0.6rem 0.6rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  color: var(--space-indigo);
}

.chip b,
.chip small {
  display: block;
  line-height: 1.25;
}

.chip small {
  color: var(--muted);
  font-size: 0.75rem;
}

.chip__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: rgba(214, 69, 80, 0.12);
  color: var(--raspberry);
  font-weight: 700;
}

.chip--extract {
  right: 0;
  bottom: 16%;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.section--tinted {
  background: linear-gradient(180deg, rgba(241, 239, 250, 0) 0%, var(--tint) 18%, var(--tint) 82%, rgba(241, 239, 250, 0) 100%);
}

.section__head {
  max-width: 40rem;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--raspberry);
}

.section__title {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--space-indigo);
  text-wrap: balance;
}

.section__lede {
  margin: 1rem 0 0;
  font-size: 1.075rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.step__num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(31, 37, 71, 0.25);
}

.step__icon,
.feature__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 0.9rem;
}

.step__icon svg,
.feature__icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.step__icon--snap { background: rgba(214, 69, 80, 0.1); color: var(--raspberry); }
.step__icon--read { background: rgba(139, 133, 193, 0.18); color: #5d56a3; }
.step__icon--find { background: rgba(255, 173, 133, 0.25); color: #c4562a; }

.step h3,
.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--space-indigo);
}

.step p,
.feature p {
  margin: 0;
  font-size: 0.975rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Features */
.features {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.text-link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--raspberry);
  text-decoration: none;
}

.text-link:hover span {
  transform: translateX(3px);
}

.text-link span {
  transition: transform 0.15s ease;
}

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

.feature {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature__icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
}

.feature__icon--indigo { background: var(--space-indigo); color: #fff; }
.feature__icon--raspberry { background: var(--raspberry); color: #fff; }
.feature__icon--tangerine { background: var(--tangerine-dream); color: var(--space-indigo); }
.feature__icon--periwinkle { background: var(--soft-periwinkle); color: #fff; }

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17rem));
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.video-card {
  appearance: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.video-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--space-indigo);
}

.video-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.35s ease;
}

.video-card:hover .video-card__media img {
  transform: scale(1.04);
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--raspberry);
  box-shadow: 0 10px 30px rgba(15, 21, 51, 0.35);
}

.video-card__play svg {
  width: 2.25rem;
  height: 2.25rem;
}

.video-card__duration {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 21, 51, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.video-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem 1.2rem;
}

.video-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--raspberry);
}

.video-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--space-indigo);
}

/* CTA */
.section--cta {
  padding-top: 0;
  padding-bottom: 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 69, 80, 0.55), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(139, 133, 193, 0.5), transparent 50%),
    var(--space-indigo);
  color: #fff;
}

.cta-card__logo {
  width: 5.5rem;
  height: 5.5rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.25));
}

.cta-card h2 {
  margin: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.cta-card p {
  margin: 0.6rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

/* Footer + garden */
.garden {
  position: relative;
  height: clamp(9.5rem, 18vw, 13rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

.footer__bar {
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.6);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-block: 1.75rem 2rem;
}

.brand--footer .brand__logo {
  width: 2rem;
  height: 2rem;
}

.brand--footer .brand__name {
  font-size: 1.1rem;
}

.footer__meta {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
}

.footer a:not(.brand) {
  color: var(--space-indigo);
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 37, 71, 0.2);
}

.footer a:not(.brand):hover {
  border-bottom-color: rgba(31, 37, 71, 0.6);
}

/* Tablet */
@media (max-width: 900px) {
  .hero__grid,
  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__copy {
    text-align: center;
  }

  .hero__lede {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    max-width: 30rem;
    margin: 0 auto;
    width: 100%;
  }

  .features__intro {
    text-align: center;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 34rem;
    margin: 0 auto;
  }

  .cta-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }
}

/* Phone */
@media (max-width: 640px) {
  .nav__links {
    display: none;
  }

  .nav__inner {
    justify-content: space-between;
    height: 3.75rem;
  }

  .brand__logo {
    width: 2.15rem;
    height: 2.15rem;
  }

  .brand__name {
    font-size: 1.15rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 20rem;
    margin-inline: auto;
  }

  .store-badge,
  .btn--ghost {
    justify-content: center;
  }

  .phone {
    width: 15rem;
  }

  .hero__visual {
    padding-left: 4.5rem;
  }

  .paper-poster {
    width: 7.25rem;
    padding: 0.9rem 0.6rem 0.75rem;
    top: 10%;
  }

  .paper-poster__title {
    font-size: 1.2rem;
  }

  .paper-poster__meta {
    font-size: 0.55rem;
  }

  .chip {
    font-size: 0.78rem;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step,
  .feature {
    padding: 1.35rem;
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 20rem;
    margin: 0 auto;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bee-overlay {
    display: none;
  }

  .garden-svg .stem {
    stroke-dashoffset: 0;
  }

  .garden-svg .leaf,
  .garden-svg .bloom,
  .garden-svg .tuft-grow {
    transform: none;
  }

  .garden-svg * {
    animation: none !important;
  }

  .landing *,
  .landing *::before,
  .landing *::after {
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── Video modal ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.video-modal {
  width: min(100vw - 1rem, 28rem);
  max-width: calc(100vw - 1rem);
  max-height: min(96dvh, 56rem);
  margin: auto;
  padding: 0.75rem 0.75rem 0.85rem;
  border: none;
  border-radius: 1rem;
  background: #0f1533;
  color: #fff;
  box-shadow: 0 24px 64px rgba(15, 21, 51, 0.45);
  overscroll-behavior: contain;
}

.video-modal::backdrop {
  background: rgba(15, 21, 51, 0.88);
}

.video-modal__chrome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.video-modal__title {
  margin: 0.35rem 0 0;
  flex: 1;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
}

.video-modal__close {
  appearance: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.15rem -0.1rem 0 0;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.video-modal__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.video-modal__close:focus-visible {
  outline: 2px solid var(--tangerine-dream);
  outline-offset: 2px;
}

.video-modal__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(78dvh, 42rem);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0.65rem;
  background: #000;
  contain: layout paint;
}

.video-modal__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  -webkit-touch-callout: none;
}

.video-controls {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0.75rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
  pointer-events: auto;
}

.video-controls[data-visible="false"] {
  opacity: 0;
  transform: translateY(0.35rem);
  pointer-events: none;
}

.video-controls__play {
  appearance: none;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.video-controls__play:focus-visible {
  outline: 2px solid var(--tangerine-dream);
  outline-offset: 2px;
}

.video-controls__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.video-controls__play[data-playing="true"] .video-controls__icon--play,
.video-controls__play[data-playing="false"] .video-controls__icon--pause {
  display: none;
}

.video-controls__mute[data-muted="true"] .video-controls__icon--sound,
.video-controls__mute[data-muted="false"] .video-controls__icon--muted {
  display: none;
}

.video-controls__scrub {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.video-controls__scrub input[type="range"] {
  width: 100%;
  height: 1.75rem;
  margin: 0;
  accent-color: var(--tangerine-dream);
  cursor: pointer;
  touch-action: manipulation;
}

@media (max-width: 520px) {
  .video-modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    padding:
      calc(0.65rem + env(safe-area-inset-top, 0px))
      0.65rem
      calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
  }

  .video-modal__stage {
    max-height: none;
    height: calc(100dvh - 5.5rem - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    aspect-ratio: auto;
    border-radius: 0.5rem;
  }
}
