/* ============================================================
   RateYourFood — neon night-market landing
   Palette: ink plum + vermillion / gold / jade / hot pink / sky
   ============================================================ */

:root {
  --ink: #0d0618;
  --ink-2: #1b0b33;
  --plum: #2a1458;
  --vermillion: #ff4d2e;
  --orange: #ff7a3c;
  --gold: #ffbe0b;
  --jade: #06d6a0;
  --pink: #ff4f9a;
  --sky: #4cc9f0;
  --cream: #fff6ea;
  --muted: rgba(255, 246, 234, 0.62);
  --faint: rgba(255, 246, 234, 0.4);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --stroke: rgba(255, 255, 255, 0.1);
  --font-display: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  --font-body: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(255, 77, 46, 0.14), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(6, 214, 160, 0.1), transparent 60%),
    radial-gradient(1000px 900px at 50% 110%, rgba(255, 79, 154, 0.12), transparent 60%),
    linear-gradient(180deg, var(--ink-2), var(--ink) 45%);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--vermillion), var(--gold));
  border-radius: 8px;
  border: 2px solid var(--ink);
}

/* ---------- layers ---------- */

#bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 40;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.4s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

.page { position: relative; z-index: 1; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 12px 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(13, 6, 24, 0.5);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(13, 6, 24, 0.78);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--vermillion), var(--gold));
  box-shadow: 0 6px 18px rgba(255, 122, 60, 0.4);
}
.logo-word em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--vermillion));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--cream); background: var(--glass-strong); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, background 0.25s;
  will-change: transform;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  color: #26060a;
  background: linear-gradient(120deg, var(--vermillion), var(--orange) 45%, var(--gold));
  background-size: 180% 100%;
  box-shadow: 0 10px 32px rgba(255, 90, 60, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 60% 0;
  box-shadow: 0 16px 42px rgba(255, 120, 60, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-ghost {
  color: var(--cream);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--glass-strong); border-color: rgba(255, 190, 11, 0.5); transform: translateY(-2px); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; }

:focus-visible { outline: 2px dashed var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 60px;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 11, 0.35);
  background: rgba(255, 190, 11, 0.08);
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.badge-jp {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--vermillion), var(--pink));
  color: #fff;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: 0.85rem;
}

.hero-title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 800;
  font-variation-settings: "opsz" 96;
  font-size: clamp(3.4rem, 10.5vw, 8.2rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.grad-text {
  background: linear-gradient(100deg, var(--gold), var(--vermillion) 40%, var(--pink) 70%, var(--gold));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-slide 7s linear infinite;
}
.grad-text-2 {
  background: linear-gradient(100deg, var(--jade), var(--sky) 45%, var(--pink));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-slide 7s linear infinite;
}
@keyframes grad-slide { to { background-position: 220% 0; } }

.hero-jp {
  display: inline-block;
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-weight: 900;
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  color: var(--pink);
  border: 1px solid rgba(255, 79, 154, 0.45);
  border-radius: 999px;
  padding: 12px 7px;
  margin-left: clamp(10px, 2vw, 26px);
  transform: translateY(-8px) rotate(4deg);
  text-shadow: 0 0 18px rgba(255, 79, 154, 0.6);
  vertical-align: top;
}

.hero-sub {
  margin-top: 26px;
  max-width: 560px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.hero-sub em { color: var(--cream); font-style: italic; }

.hero-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-note { font-size: 0.82rem; color: var(--muted); }

/* star rating widget */
.rating {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 22px;
  width: fit-content;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.rating-label { font-size: 0.92rem; color: var(--muted); }
.stars { display: flex; gap: 6px; }
.star {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.9rem;
  line-height: 1;
  color: rgba(255, 246, 234, 0.22);
  transition: color 0.15s, transform 0.15s, text-shadow 0.15s;
}
.star.lit {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 190, 11, 0.75);
}
.star:hover { transform: scale(1.25) rotate(-6deg); }
.rating-hint { font-size: 0.85rem; color: var(--faint); min-width: 130px; }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.025);
  padding: 16px 0;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-run {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-right: 24px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 10vh, 120px) 0 0;
}
.kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jade);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 46px;
}

/* ---------- bento ---------- */

.bento {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "phone phone radar boba"
    "phone phone spice  boba"
    "takes takes takes  takes";
}
.card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: rgba(255, 190, 11, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 14px 0 8px;
}
.card p { font-size: 0.95rem; color: var(--muted); }
.card p strong { color: var(--cream); }
.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--stroke);
}

.card-phone { grid-area: phone; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.card-phone h3, .card-phone p { grid-column: 1 / -1; }

.phone {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(42, 20, 88, 0.85), rgba(13, 6, 24, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.phone-dish span {
  display: inline-block;
  font-size: 3.6rem;
  filter: drop-shadow(0 10px 24px rgba(255, 122, 60, 0.45));
  animation: dish-float 4s ease-in-out infinite;
}
@keyframes dish-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
.phone-name { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }
.phone-stars { color: var(--gold); letter-spacing: 0.18em; font-size: 1.05rem; margin-top: 4px; text-shadow: 0 0 14px rgba(255, 190, 11, 0.5); }

.bars { margin-top: 16px; display: grid; gap: 10px; text-align: left; }
.bar-row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; font-size: 0.82rem; color: var(--faint); }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--vermillion), var(--gold));
  box-shadow: 0 0 12px rgba(255, 150, 40, 0.6);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}
.card-phone.in .bar i { width: var(--w); }

.card-radar, .card-spice { position: relative; }
.radar {
  position: relative;
  height: 92px;
  margin: 14px 0 10px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
}
.dot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--c);
  box-shadow: 0 0 12px var(--c);
}
.dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 99px;
  border: 1px solid var(--c);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(0.5); opacity: 0.9; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.peppers { margin: 12px 0 8px; font-size: 1.45rem; letter-spacing: 0.1em; }
.peppers .ghost { filter: grayscale(1); opacity: 0.22; }
.card:hover .peppers span:not(.ghost) { animation: wiggle 0.5s ease-in-out infinite; }
.card:hover .peppers span:not(.ghost):nth-child(2) { animation-delay: 0.08s; }
.card:hover .peppers span:not(.ghost):nth-child(3) { animation-delay: 0.16s; }
.card:hover .peppers span:not(.ghost):nth-child(4) { animation-delay: 0.24s; }
@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg) translateY(-2px); }
}

.stickers { margin: 12px 0 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.stickers span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.35rem;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--stroke);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.stickers span:hover {
  transform: translateY(-5px) rotate(-6deg) scale(1.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 190, 11, 0.55);
}

.card-boba { grid-area: boba; }
.boba-list { list-style: none; margin: 14px 0 10px; display: grid; gap: 12px; }
.boba-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.boba-list li:last-child { border-bottom: none; padding-bottom: 0; }
.boba-name { color: var(--muted); }
.trend { font-weight: 700; font-size: 0.85rem; white-space: nowrap; }
.trend.up { color: var(--jade); }
.trend.down { color: var(--pink); }

.card-takes { grid-area: takes; }
.takes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.take {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cream);
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(120deg, var(--vermillion), var(--gold) 50%, var(--jade)) border-box;
  transition: transform 0.2s, box-shadow 0.2s;
}
.take:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 26px rgba(255, 90, 60, 0.28);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.stat {
  text-align: center;
  padding: 30px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--gold), var(--vermillion) 60%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- steps ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  position: relative;
  padding: 34px 28px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover { border-color: rgba(6, 214, 160, 0.5); transform: translateY(-4px); }
.step-num {
  position: absolute;
  top: -22px;
  right: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 8.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 246, 234, 0.13);
  pointer-events: none;
}
.step-emoji { font-size: 2.4rem; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)); }
.step h3 { font-family: var(--font-display); font-size: 1.35rem; margin: 16px 0 8px; }
.step p { font-size: 0.95rem; color: var(--muted); }

/* ---------- quotes ---------- */

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.quote-stars { color: var(--gold); letter-spacing: 0.2em; text-shadow: 0 0 14px rgba(255, 190, 11, 0.45); }
.quote blockquote {
  margin: 16px 0 22px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--cream);
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}
.avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 99px;
  font-size: 1.2rem;
  background: linear-gradient(140deg, rgba(255, 77, 46, 0.35), rgba(255, 190, 11, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.tag { margin-left: auto; font-size: 1.15rem; }

/* ---------- join ---------- */

.join { width: min(1180px, calc(100% - 40px)); margin: clamp(80px, 12vh, 140px) auto 0; }
.join-card {
  position: relative;
  text-align: center;
  padding: clamp(50px, 8vw, 90px) clamp(24px, 6vw, 80px);
  border-radius: 34px;
  border: 1px solid rgba(255, 190, 11, 0.3);
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(255, 77, 46, 0.35), transparent 60%),
    radial-gradient(600px 300px at 85% 100%, rgba(255, 79, 154, 0.32), transparent 60%),
    radial-gradient(500px 260px at 60% 20%, rgba(255, 190, 11, 0.22), transparent 60%),
    linear-gradient(165deg, rgba(42, 20, 88, 0.9), rgba(13, 6, 24, 0.94));
}
.join-card h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.join-card > p { margin: 18px auto 30px; max-width: 460px; color: var(--muted); }
.join-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.join-form input {
  width: min(340px, 100%);
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(13, 6, 24, 0.65);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.join-form input::placeholder { color: var(--faint); }
.join-form input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 190, 11, 0.15);
}
.join-card .fine { margin-top: 22px; font-size: 0.82rem; color: var(--faint); }
.fine { font-size: 0.85rem; color: var(--faint); }

/* ---------- footer ---------- */

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 90px auto 0;
  padding: 46px 0 34px;
  border-top: 1px solid var(--stroke);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; color: var(--muted); max-width: 260px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h4 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 14px;
}
.footer-cols a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-cols a:hover { color: var(--gold); }
.footer-base {
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid var(--stroke);
  font-size: 0.82rem;
  color: var(--faint);
  text-align: center;
}

/* ---------- toasts ---------- */

.toasts {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}
.toast {
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 190, 11, 0.4);
  background: rgba(20, 9, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--cream);
  font-size: 0.95rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease var(--d, 0s), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "phone phone"
      "phone phone"
      "radar spice"
      "stickers boba"
      "takes takes";
  }
  .card-phone { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps, .quotes { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "phone" "radar" "spice" "stickers" "boba" "takes"; }
  .stats { grid-template-columns: 1fr 1fr; }
  .rating { width: 100%; justify-content: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .card-phone.in .bar i { width: var(--w); }
}
