/* Matcha Club — matchaclub.jotapps.com
   Palette from the app: forest #043B13, sage #6D9F71, gold #FFCC40,
   pale gold #FFEF94, ivory #FFFEEC. Mobile first. */

@font-face {
  font-family: "Poetsen One";
  src: url("../fonts/poetsen-one.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azeret Mono";
  src: url("../fonts/azeret-mono-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #043b13;
  --forest-2: #0a4a1d;
  --forest-3: #155c2a;
  --sage: #6d9f71;
  --sage-soft: #d7e7cf;
  --leaf: #8bc36b;
  --gold: #ffcc40;
  --gold-deep: #f2b51d;
  --pale-gold: #ffef94;
  --ivory: #fffeec;
  --cream: #f8f3dc;
  --cream-2: #f0e8c6;
  --panda: #d9622b;
  --ink: #043b13;
  --ink-soft: #46664c;
  --line: rgba(4, 59, 19, 0.12);

  --font-display: "Poetsen One", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius-xl: 40px;
  --radius-l: 30px;
  --radius-m: 22px;
  --radius-s: 14px;
  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 24px 48px -30px rgba(4, 59, 19, 0.45);
  --shadow-lift: 0 30px 60px -28px rgba(4, 59, 19, 0.55);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  /* A small overshoot, only for things that literally pop into place:
     map pins, passport stamps, Mochi and the hero chips. */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --gutter: 20px;
  --max: 1180px;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Type ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

h2 {
  font-size: clamp(2.3rem, 7vw, 4.1rem);
}

h3 {
  font-size: clamp(1.45rem, 3.6vw, 1.85rem);
  line-height: 1.1;
}

p {
  margin: 0;
}

.section-head {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-head p {
  font-size: clamp(1.06rem, 2.2vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 600px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.section-head.center p {
  margin-inline: auto;
}

.text-gold {
  color: var(--gold);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--ivory);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background-color 0.2s;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px -14px rgba(4, 59, 19, 0.6);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-gold {
  --btn-bg: var(--gold);
  --btn-fg: var(--forest);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.95rem;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  text-decoration: none;
  padding: 10px 4px;
}

.link-arrow span {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.link-arrow:hover span {
  transform: translateY(3px);
}

/* App Store call to action: the official badge once the app is live,
   a "coming soon" pill until then (site.js swaps them). */
.store-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.app-store-badge {
  display: inline-block;
  border-radius: 12px;
  transition: transform 0.35s var(--ease-out);
}

.app-store-badge img {
  height: 54px;
  width: auto;
}

.app-store-badge:hover {
  transform: translateY(-2px) scale(1.03);
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 22px 8px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--forest);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.55);
  transition: transform 0.35s var(--ease-out);
}

.coming-soon:hover {
  transform: translateY(-2px) rotate(-1deg);
}

.coming-soon .cs-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
}

.coming-soon .cs-icon svg {
  width: 20px;
  height: 20px;
}

.coming-soon small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

[hidden] {
  display: none !important;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  color: var(--ivory);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 254, 236, 0.86);
  color: var(--forest);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.005em;
  margin-right: auto;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1.5px rgba(255, 254, 236, 0.35);
  transition: transform 0.4s var(--ease-out);
}

.brand:hover img {
  transform: rotate(-8deg) scale(1.06);
}

.site-nav {
  display: none;
}

.site-nav a {
  position: relative;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.9;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.site-nav a:hover {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 254, 236, 0.12);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle {
  background: rgba(4, 59, 19, 0.07);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 100px 28px 40px;
  background: var(--forest);
  background-image: var(--grain);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.6rem;
  text-decoration: none;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease-out), color 0.2s;
}

.mobile-menu.is-open a {
  transform: none;
  opacity: 1;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu.is-open a:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.is-open a:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.is-open a:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open a:nth-child(5) { transition-delay: 0.2s; }

body.menu-open {
  overflow: hidden;
}

body.menu-open .site-header {
  background: transparent;
  color: var(--ivory);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
}

.section-forest {
  background-color: var(--forest);
  background-image: var(--grain), radial-gradient(1200px 600px at 85% -10%, rgba(109, 159, 113, 0.35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 204, 64, 0.12), transparent 60%);
  color: var(--ivory);
}

.section-forest .section-head p {
  color: rgba(255, 254, 236, 0.78);
}

.wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(36px, 6vw, 80px);
  pointer-events: none;
}

.wave-bottom {
  bottom: -1px;
}

.wave-top {
  top: -1px;
  transform: rotate(180deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(110px + env(safe-area-inset-top)) 0 clamp(110px, 14vw, 170px);
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
}

.hero-title {
  /* Sized so the longest line, "matcha spots.", fits a phone's width. */
  font-size: clamp(2.7rem, 12.2vw, 5.6rem);
  line-height: 0.95;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  /* Room for descenders (the g in "log", the p in "spots") inside the
     reveal mask, without changing the line spacing. */
  padding-bottom: 0.26em;
  margin-bottom: -0.26em;
}

.hero-title .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 0.9s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) > span { color: var(--ivory); animation-delay: 0.1s; }
.hero-title .line:nth-child(2) > span { color: var(--pale-gold); animation-delay: 0.22s; }
.hero-title .line:nth-child(3) > span { color: var(--gold); animation-delay: 0.34s; }

.hero-lede {
  max-width: 520px;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  color: rgba(255, 254, 236, 0.82);
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.5s forwards;
}

.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.65s forwards;
}

.hero .link-arrow {
  color: var(--pale-gold);
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 4px 0 0;
  list-style: none;
  opacity: 0;
  animation: fade-up 0.9s var(--ease-out) 0.8s forwards;
}

.hero-perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: rgba(255, 254, 236, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 254, 236, 0.14);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255, 254, 236, 0.9);
}

.hero-perks li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23043b13' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 12px no-repeat;
}

.hero-visual {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
  aspect-ratio: 1 / 1.08;
}

.hero-stamp {
  position: absolute;
  top: -2%;
  right: -4%;
  width: 46%;
  opacity: 0.16;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(10deg);
  animation: spin 60s linear infinite;
}

.phone {
  position: relative;
  margin: 0;
  padding: 2.4%;
  border-radius: 13% / 6%;
  background: linear-gradient(145deg, #2c3a2f, #0b120d 40%, #1f2a22);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.65), 0 18px 30px -18px rgba(0, 0, 0, 0.5);
}

.phone img {
  width: 100%;
  border-radius: 11% / 5.2%;
  background: var(--forest);
}

.phone::before {
  content: "";
  position: absolute;
  top: 3.6%;
  left: 50%;
  z-index: 1;
  width: 29%;
  height: 3.1%;
  border-radius: 999px;
  background: #050806;
  transform: translateX(-50%);
}

.phone-hero {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 56%;
  transform: translateX(-38%) rotate(4deg);
  animation: phone-in 1.1s var(--ease-out) 0.25s backwards, float-phone 7s ease-in-out 1.4s infinite;
}

.mochi-button {
  position: absolute;
  left: -2%;
  bottom: -2%;
  z-index: 3;
  width: 47%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  animation: mochi-in 1s var(--ease-spring) 0.6s backwards;
}

.mochi-button img {
  width: 100%;
  filter: drop-shadow(0 24px 20px rgba(0, 0, 0, 0.35));
  transform-origin: 50% 100%;
  animation: bob 4.2s ease-in-out 1.6s infinite;
}

.mochi-button.is-hopping img {
  animation: hop 0.75s var(--ease-out);
}

.mochi-button:focus-visible {
  outline-offset: -6px;
  border-radius: 30px;
}

.heart-pop {
  position: absolute;
  z-index: 4;
  width: 26px;
  height: 26px;
  pointer-events: none;
  color: var(--gold);
  animation: heart-pop 1.1s var(--ease-out) forwards;
}

.float-chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 9px;
  border-radius: 18px;
  background: var(--ivory);
  color: var(--forest);
  box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  animation: chip-in 0.8s var(--ease-spring) backwards, float 6s ease-in-out infinite;
}

.float-chip strong {
  display: block;
  font-size: 0.92rem;
}

.float-chip .chip-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 12px;
  background: var(--sage-soft);
  overflow: hidden;
}

.float-chip .chip-icon img {
  width: 26px;
}

.float-chip .score {
  margin-left: 4px;
  padding: 4px 9px;
  border-radius: 10px;
  background: var(--forest);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
}

.chip-rating {
  top: 34%;
  right: -4%;
  animation-delay: 1s, 1.8s;
}

.chip-stamp {
  bottom: 9%;
  right: -2%;
  animation-delay: 1.25s, 0.6s;
}

.chip-stamp .chip-icon {
  background: var(--gold);
}

.chip-pick {
  top: 1%;
  left: -3%;
  animation-delay: 1.45s, 2.6s;
}

@media (max-width: 879px) {
  .float-chip {
    gap: 8px;
    padding: 7px 11px 7px 7px;
    border-radius: 15px;
    font-size: 0.72rem;
  }

  .float-chip strong {
    font-size: 0.82rem;
  }

  .float-chip .chip-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .float-chip .chip-icon img {
    width: 22px;
  }

  .float-chip .score {
    font-size: 0.9rem;
  }
}

.chip-pick .chip-icon {
  background: var(--pale-gold);
}

.hero-leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.leaf {
  position: absolute;
  top: -10%;
  width: 28px;
  height: 28px;
  background: url("../img/leaf.svg") center / contain no-repeat;
  opacity: 0.55;
  animation: drift 18s linear infinite;
}

.leaf:nth-child(1) { left: 8%; animation-duration: 21s; animation-delay: -4s; width: 22px; }
.leaf:nth-child(2) { left: 26%; animation-duration: 17s; animation-delay: -11s; opacity: 0.35; }
.leaf:nth-child(3) { left: 47%; animation-duration: 24s; animation-delay: -2s; width: 18px; }
.leaf:nth-child(4) { left: 63%; animation-duration: 19s; animation-delay: -15s; width: 34px; opacity: 0.4; }
.leaf:nth-child(5) { left: 81%; animation-duration: 22s; animation-delay: -7s; }
.leaf:nth-child(6) { left: 93%; animation-duration: 16s; animation-delay: -12s; width: 20px; opacity: 0.3; }

/* ---------- Drinks ticker ---------- */

/* The tilted band is wider than the screen, so its wrapper clips it
   (otherwise phones widen the whole page to fit it). */
.ticker-wrap {
  position: relative;
  z-index: 3;
  margin-top: -26px;
  padding-block: 26px 30px;
  overflow: hidden;
}

.ticker {
  margin-inline: -40px;
  padding-block: 18px;
  background: var(--gold);
  color: var(--forest);
  overflow: hidden;
  transform: rotate(-1.2deg);
  box-shadow: 0 18px 40px -26px rgba(4, 59, 19, 0.6);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  white-space: nowrap;
}

.ticker-item img {
  height: 46px;
  width: auto;
}

.ticker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--forest);
  opacity: 0.35;
}

/* ---------- Features ---------- */

.features {
  background: var(--ivory);
  overflow: hidden;
}

.bento {
  display: grid;
  gap: 18px;
}

.feature-card {
  --pad: clamp(24px, 4vw, 34px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: var(--pad);
  border-radius: var(--radius-l);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, var(--shadow-lift);
}

.feature-text {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.feature-text p {
  color: var(--ink-soft);
  max-width: 460px;
}

.feature-art {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.features-title {
  max-width: 13ch;
  margin-bottom: clamp(32px, 5vw, 56px);
  text-wrap: balance;
}

/* Real app screens rising out of the bottom edge of each card. They glide
   up as the card scrolls into view, and a little further on hover. */
.feature-shot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: clamp(260px, 72vw, 330px);
  margin: auto calc(-1 * var(--pad)) calc(-1 * var(--pad));
  padding-top: 6px;
  overflow: hidden;
}

.feature-shot .phone {
  flex: none;
  width: min(62%, 240px);
  transform: translateY(var(--rise, 16px)) rotate(var(--tilt, 0deg));
  transition: transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0s) + 0.1s);
}

.reveal:not(.is-visible) .feature-shot .phone {
  --rise: 90px;
}

.feature-card:hover .feature-shot .phone {
  --rise: 4px;
  transition-delay: 0s;
}

.feature-shot.duo {
  flex: 1;
  height: auto;
  min-height: clamp(380px, 108vw, 470px);
}

.feature-shot.duo .phone {
  position: absolute;
  top: 12px;
  width: min(54%, 250px);
}

.feature-shot.duo .phone:first-child {
  left: 7%;
  z-index: 2;
  --tilt: -4deg;
}

.feature-shot.duo .phone:last-child {
  right: 5%;
  top: 70px;
  --tilt: 4deg;
  transition-delay: calc(var(--d, 0s) + 0.22s);
}

.feature-text .search-demo {
  margin-top: 10px;
}

.f-log .feature-art {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 0;
}

.card-forest {
  background: var(--forest);
  background-image: var(--grain), radial-gradient(500px 300px at 100% 0%, rgba(109, 159, 113, 0.4), transparent 70%);
  color: var(--ivory);
}

.card-forest .feature-text p {
  color: rgba(255, 254, 236, 0.78);
}

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

.card-gold .feature-text p {
  color: rgba(4, 59, 19, 0.8);
}

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

/* Search + map */
.search-demo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--forest);
  box-shadow: 0 16px 34px -20px rgba(0, 0, 0, 0.6);
}

.search-demo svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.search-demo .typed {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-demo .typed::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -0.2em;
  background: var(--sage);
  animation: caret 1s steps(1) infinite;
}

.search-demo .smart {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold);
  font-weight: 800;
  font-size: 0.8rem;
}

/* Passport */
.passport-art {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.passport-art .seal {
  width: 112px;
  border-radius: 50%;
  box-shadow: 0 14px 30px -16px rgba(4, 59, 19, 0.6);
  animation: spin 40s linear infinite;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stamp-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px dashed rgba(4, 59, 19, 0.25);
  font-size: 1rem;
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease-spring);
}

.stamp-grid span svg {
  width: 52%;
  height: 52%;
  opacity: 0.35;
}

.is-visible .stamp-grid span.got {
  border-style: solid;
  border-color: var(--forest);
  background: var(--pale-gold);
  transform: rotate(-8deg);
}

.is-visible .stamp-grid span.got svg {
  opacity: 1;
}

.stamp-grid span:nth-child(2) { transition-delay: 0.08s; }
.stamp-grid span:nth-child(3) { transition-delay: 0.16s; }
.stamp-grid span:nth-child(4) { transition-delay: 0.24s; }
.stamp-grid span:nth-child(5) { transition-delay: 0.32s; }
.stamp-grid span:nth-child(6) { transition-delay: 0.4s; }
.stamp-grid span:nth-child(7) { transition-delay: 0.48s; }

/* Import */
.import-flow {
  display: grid;
  gap: 14px;
  align-items: center;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--ivory);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px -16px rgba(4, 59, 19, 0.6);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}

.source svg {
  width: 20px;
  height: 20px;
}

.is-visible .source {
  transform: none;
  opacity: 1;
}

.source:nth-child(2) { transition-delay: 0.12s; }
.source:nth-child(3) { transition-delay: 0.24s; }
.source:nth-child(4) { transition-delay: 0.36s; }

.import-arrow {
  width: 42px;
  height: 42px;
  color: var(--forest);
  justify-self: center;
  transform: rotate(90deg);
}

.found-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--forest);
  color: var(--ivory);
  box-shadow: 0 18px 30px -18px rgba(4, 59, 19, 0.8);
}

.found-card .check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
}

.found-card .check svg {
  width: 18px;
  height: 18px;
}

.found-card strong {
  display: block;
}

.found-card span {
  font-size: 0.82rem;
  color: rgba(255, 254, 236, 0.75);
}

/* Private */
.private-card {
  display: grid;
  gap: 18px;
  align-items: center;
}

.private-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.private-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.private-points li span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 10px;
  background: rgba(255, 254, 236, 0.1);
  color: var(--gold);
}

.private-points li span svg {
  width: 17px;
  height: 17px;
}

.private-card .sleepy {
  width: min(56%, 190px);
  justify-self: center;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.35));
}

/* ---------- Levels ---------- */

.levels {
  overflow: hidden;
}

.level-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  padding: 10px 2px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.level-track::-webkit-scrollbar {
  display: none;
}

.level-card {
  position: relative;
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 18px 16px 22px;
  border-radius: var(--radius-l);
  background: rgba(255, 254, 236, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 254, 236, 0.12);
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease-out), background-color 0.3s;
}

.level-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  background: rgba(255, 254, 236, 0.1);
}

.level-card img {
  width: 82%;
  margin-bottom: 6px;
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, 0.3));
  transition: transform 0.6s var(--ease-out);
}

.level-card:hover img {
  transform: scale(1.06) rotate(3deg);
}

.level-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, var(--leaf));
}

.level-card h3 {
  font-size: 1.45rem;
}

.level-card p {
  font-size: 0.92rem;
  color: rgba(255, 254, 236, 0.72);
}

.level-cups {
  margin-top: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent, var(--leaf));
  color: var(--forest);
  font-weight: 800;
  font-size: 0.8rem;
}

.level-card:nth-child(1) { --accent: #8bc36b; }
.level-card:nth-child(2) { --accent: #61b56a; }
.level-card:nth-child(3) { --accent: #9fd9a6; }
.level-card:nth-child(4) { --accent: #e0bb4f; }
.level-card:nth-child(5) { --accent: #ffcc40; }
.level-card:nth-child(6) { --accent: #f6931c; }

.level-progress {
  position: relative;
  height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: rgba(255, 254, 236, 0.1);
  overflow: hidden;
}

.level-progress span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8bc36b, #61b56a, #e0bb4f, #ffcc40, #f6931c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.4s var(--ease-out) 0.2s;
}

.level-progress.is-visible span,
.is-visible .level-progress span {
  transform: scaleX(1);
}

/* ---------- Download band ---------- */

.download {
  position: relative;
  overflow: hidden;
  background: var(--gold);
  background-image: radial-gradient(700px 400px at 90% 10%, rgba(255, 239, 148, 0.9), transparent 70%),
    radial-gradient(600px 400px at 0% 100%, rgba(242, 181, 29, 0.6), transparent 70%);
  color: var(--forest);
}

.download-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.download-copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.download-copy h2 {
  font-size: clamp(2.6rem, 8vw, 4.8rem);
}

.download-copy p {
  font-size: 1.15rem;
  max-width: 520px;
  color: rgba(4, 59, 19, 0.82);
}

.download .coming-soon {
  background: var(--forest);
  color: var(--ivory);
}

.download .coming-soon .cs-icon {
  background: var(--gold);
  color: var(--forest);
}

.download-note {
  font-size: 0.9rem;
  color: rgba(4, 59, 19, 0.7);
}

.download-mochi {
  justify-self: center;
  width: 210px;
  height: 305px;
  background: url("../img/mochi-jump-sprite.webp") 0 0 / 600% 100% no-repeat;
  animation: jump-cycle 0.9s steps(6, jump-none) infinite;
  filter: drop-shadow(0 26px 20px rgba(120, 70, 0, 0.35));
}

/* ---------- Support ---------- */

.support-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: var(--radius-m);
  background: var(--cream);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--forest) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcc40' stroke-width='3' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 16px no-repeat;
  transition: transform 0.4s var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(135deg);
}

.faq .answer {
  padding: 0 22px 22px;
  color: var(--ink-soft);
}

.faq .answer p + p {
  margin-top: 10px;
}

.contact-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 34px);
  border-radius: var(--radius-l);
  background: var(--forest);
  background-image: var(--grain), radial-gradient(500px 300px at 100% 0%, rgba(109, 159, 113, 0.45), transparent 70%);
  color: var(--ivory);
  overflow: hidden;
}

.contact-card h3 {
  font-size: 2rem;
}

.contact-card p {
  color: rgba(255, 254, 236, 0.8);
}

.contact-card .email-link {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  color: var(--gold);
  text-decoration: none;
  word-break: break-word;
}

.contact-card .email-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255, 254, 236, 0.85);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: var(--radius-s);
  background: rgba(255, 254, 236, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 254, 236, 0.18);
  color: var(--ivory);
  font-size: 1rem;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffef94' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.contact-form select option {
  color: var(--forest);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 254, 236, 0.45);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  background: rgba(255, 254, 236, 0.14);
  box-shadow: inset 0 0 0 2px var(--gold);
}

.contact-form .form-note {
  font-size: 0.85rem;
  color: rgba(255, 254, 236, 0.65);
}

.form-status {
  font-weight: 700;
  color: var(--pale-gold);
}

.sign-mochi {
  position: relative;
  justify-self: center;
  width: min(100%, 330px);
  margin-top: 10px;
}

.sign-mochi img {
  width: 100%;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.3));
}

.sign-mochi span {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 18%;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 5vw, 1.6rem);
  color: var(--forest);
  transform: rotate(-1deg);
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 90px 0 calc(40px + env(safe-area-inset-bottom));
  background: var(--forest);
  background-image: var(--grain);
  color: var(--ivory);
  overflow: hidden;
}

.runway {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 70px;
  pointer-events: none;
}

.runner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background: url("../img/mochi-run-sprite.webp") 0 0 / 600% 100% no-repeat;
  animation: run-cycle 0.55s steps(6, jump-none) infinite, run-across 16s linear infinite;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer-brand .brand {
  margin: 0;
}

.footer-brand p {
  color: rgba(255, 254, 236, 0.7);
  max-width: 320px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.footer-cols h4 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.footer-cols ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-cols a {
  text-decoration: none;
  opacity: 0.88;
}

.footer-cols a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 254, 236, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 254, 236, 0.6);
}

.footer-bottom a {
  color: var(--pale-gold);
}

.jotapps-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  background: rgba(255, 254, 236, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 254, 236, 0.14);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s;
}

.jotapps-link:hover {
  background: rgba(255, 254, 236, 0.14);
}

.jotapps-link .j {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1c1c1b;
  color: #fbfbfa;
  font-weight: 800;
  font-size: 0.95rem;
}

/* ---------- Legal + simple pages ---------- */

.page-hero {
  position: relative;
  padding: calc(130px + env(safe-area-inset-top)) 0 110px;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 9vw, 5rem);
  color: var(--pale-gold);
}

.page-hero p {
  margin-top: 16px;
  max-width: 620px;
  font-size: 1.15rem;
  color: rgba(255, 254, 236, 0.8);
}

.page-hero .page-mochi {
  position: absolute;
  right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  bottom: 30px;
  width: clamp(110px, 18vw, 200px);
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35));
  animation: bob 4.2s ease-in-out infinite;
}

.prose {
  max-width: 740px;
  padding-block: 60px 100px;
}

.prose > * + * {
  margin-top: 1em;
}

.prose h1 {
  display: none;
}

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
}

.prose h3 {
  margin-top: 1.6em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose strong {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.2em;
}

.prose li + li {
  margin-top: 0.5em;
}

.prose li::marker {
  color: var(--sage);
}

.prose a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.prose .updated {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px var(--gutter) 60px;
  text-align: center;
}

.not-found .sign-mochi {
  width: min(86vw, 420px);
}

.not-found .sign-mochi span {
  font-size: clamp(2rem, 9vw, 3.2rem);
}

.not-found h1 {
  margin-top: 26px;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  color: var(--pale-gold);
}

.not-found p {
  margin: 14px auto 28px;
  max-width: 460px;
  color: rgba(255, 254, 236, 0.8);
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */

@keyframes rise {
  to { transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes phone-in {
  from { opacity: 0; transform: translateX(-38%) translateY(60px) rotate(12deg); }
}

@keyframes float-phone {
  0%, 100% { transform: translateX(-38%) rotate(4deg) translateY(0); }
  50% { transform: translateX(-38%) rotate(3deg) translateY(-12px); }
}

@keyframes mochi-in {
  from { opacity: 0; transform: translateY(40px) scale(0.85); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

@keyframes hop {
  0% { transform: translateY(0) scale(1, 1); }
  18% { transform: translateY(0) scale(1.08, 0.9); }
  45% { transform: translateY(-46px) scale(0.95, 1.06) rotate(-4deg); }
  70% { transform: translateY(0) scale(1.06, 0.94); }
  100% { transform: translateY(0) scale(1, 1); }
}

@keyframes heart-pop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4) rotate(0deg); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x, 0), -110px) scale(1.15) rotate(var(--r, 10deg)); }
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(16px) scale(0.85); }
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -9px; }
}

@keyframes spin {
  to { rotate: 360deg; }
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  25% { transform: translate3d(40px, 30vh, 0) rotate(90deg); }
  50% { transform: translate3d(-20px, 60vh, 0) rotate(180deg); }
  75% { transform: translate3d(30px, 90vh, 0) rotate(270deg); }
  100% { transform: translate3d(0, 120vh, 0) rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes caret {
  50% { opacity: 0; }
}

@keyframes jump-cycle {
  to { background-position: 100% 0; }
}

@keyframes run-cycle {
  to { background-position: 100% 0; }
}

@keyframes run-across {
  from { translate: -90px 0; }
  to { translate: calc(100vw + 90px) 0; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 640px) {
  :root {
    --gutter: 32px;
  }

  .import-flow {
    grid-template-columns: auto auto 1fr;
  }

  .import-flow .sources {
    flex-direction: column;
  }

  .import-arrow {
    transform: none;
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 880px) {
  .site-nav {
    display: flex;
    gap: 30px;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .mobile-menu {
    display: none;
  }

  .hero {
    min-height: min(900px, 100vh);
    display: grid;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-visual {
    margin-right: 0;
  }

  .chip-rating {
    top: 12%;
    right: -3%;
  }

  .chip-stamp {
    top: 48%;
    bottom: auto;
    right: -6%;
  }

  .bento {
    grid-template-columns: repeat(3, 1fr);
  }

  .f-log {
    grid-row: span 2;
  }

  /* In the tall card both screens rise from the bottom edge: the journal
     sits higher behind, the log form in front. */
  .feature-shot.duo .phone {
    top: auto;
    width: 70%;
  }

  .feature-shot.duo .phone:first-child {
    left: 2%;
    bottom: -70px;
  }

  .feature-shot.duo .phone:last-child {
    top: auto;
    right: 1%;
    bottom: 190px;
  }

  .f-find {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr minmax(0, 0.95fr);
    column-gap: 30px;
    align-items: center;
  }

  .f-find .feature-shot {
    align-self: stretch;
    height: auto;
    min-height: 330px;
    margin: 0 0 calc(-1 * var(--pad));
  }

  .f-import {
    grid-column: span 2;
  }

  .f-private {
    grid-column: 1 / -1;
  }

  .private-card {
    grid-template-columns: auto 1fr auto;
    gap: 40px;
  }

  .private-card .sleepy {
    width: 170px;
  }

  

  .download-grid {
    grid-template-columns: 1.4fr 0.6fr;
  }

  .support-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }

  .contact-card {
    position: sticky;
    top: 100px;
  }

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

  .level-track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
  }
}

@media (min-width: 1180px) {
  .level-track {
    grid-template-columns: repeat(6, 1fr);
  }

  .level-card h3 {
    font-size: 1.3rem;
  }
}

/* ---------- Motion preferences ---------- */

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

  .hero-title .line > span {
    transform: none;
  }

  .leaf,
  .runner {
    display: none;
  }

  .download-mochi {
    animation: none;
  }
}
