/* Zwinkle — Option B "The Den"
   Dark after-hours den, living snake motif, wall of verified people.
   Everything reacts to pointer / finger. */

:root {
  --ink: #0e0e0e;
  --ink-2: #171717;
  --ink-3: #232323;
  --cream: #fff4ec;
  --orange: #ff5028;
  --orange-2: #ff8b6e;
  --orange-deep: #e63a18;
  --gold: #d4af37;
  --gold-2: #f3d77a;
  --verify: #3b82f6;
  --line: rgba(255, 244, 236, 0.12);
  --muted: rgba(255, 244, 236, 0.64);
  --radius-card: 28px;
  --radius-pill: 999px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --font: "Outfit", "Noto Sans Thai", system-ui, sans-serif;
  color-scheme: dark;
}

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

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

html[lang="th"] body {
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 14px;
  box-shadow: 0 0 0 8px rgba(255, 80, 40, 0.18);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--orange);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 800;
}

.skip:focus {
  top: 12px;
}

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

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

.btn {
  --bg: var(--orange);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--fg);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.5s var(--ease-spring), background-color 0.25s, color 0.25s,
    box-shadow 0.25s;
  will-change: transform;
  user-select: none;
}

.btn .arrow {
  transition: transform 0.4s var(--ease-spring);
}

.btn--primary {
  box-shadow: 0 10px 40px -10px rgba(255, 80, 40, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--cream);
  box-shadow: inset 0 0 0 2px rgba(255, 244, 236, 0.5);
}

.btn--ink {
  --bg: var(--ink);
  --fg: var(--cream);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn:active {
  transform: scale(0.94) !important;
  transition-duration: 0.08s;
}

@media (hover: hover) {
  .btn--primary:hover {
    --bg: var(--orange-2);
  }
  .btn--ghost:hover {
    box-shadow: inset 0 0 0 2px var(--cream);
    --bg: rgba(255, 244, 236, 0.08);
  }
  .btn--ink:hover {
    --bg: #262626;
  }
  .btn:hover .arrow {
    transform: translateX(5px);
  }
}

/* ---------- Top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.topbar.is-scrolled {
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}

.topbar__in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.brand img {
  height: 40px;
  width: auto;
  transition: transform 0.6s var(--ease-spring);
}

@media (hover: hover) {
  .brand:hover img {
    transform: rotate(-12deg) scale(1.08);
  }
}

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.nav a:hover,
.nav a.is-active {
  color: var(--cream);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.lang {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--ink-3);
  box-shadow: inset 0 0 0 1px var(--line);
}

.lang button {
  min-width: 40px;
  height: 32px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
  transition: background-color 0.3s var(--ease-out), color 0.3s;
}

.lang button[aria-pressed="true"] {
  background: var(--cream);
  color: var(--ink);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--ink-3);
  position: relative;
}

.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.45s var(--ease-spring), opacity 0.2s;
}

.burger span:nth-child(1) {
  top: 18px;
}
.burger span:nth-child(2) {
  top: 27px;
  right: 22px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  right: 14px;
  transform: translateY(-4.5px) rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: var(--ink);
  padding: 100px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 40px) 36px);
  transition: clip-path 0.7s var(--ease-out), visibility 0s 0.7s;
}

.menu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 40px) 36px);
  transition: clip-path 0.7s var(--ease-out), visibility 0s;
}

.menu a {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.4s, transform 0.6s var(--ease-spring), color 0.2s;
}

.menu.is-open a {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.12s + var(--i) * 0.06s);
}

.menu a:active {
  color: var(--orange);
}

.menu .menu__cta {
  margin-top: auto;
  display: grid;
  gap: 12px;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0 96px;
}

.wall {
  position: absolute;
  inset: -20% -8%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  transform: rotate(-8deg);
  z-index: -3;
}

.wall__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: wall-up var(--dur, 60s) linear infinite;
}

.wall__col:nth-child(even) {
  animation-name: wall-down;
}

.wall:hover .wall__col {
  animation-play-state: paused;
}

@keyframes wall-up {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

@keyframes wall-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.pcard {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink-3);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring);
}

.pcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.pcard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.78));
}

.pcard__meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
}

.pcard__name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.vcheck {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.pcard__chips {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 700;
}

.pcard__match {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-pill);
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 800;
}

.ring {
  --p: 80;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) calc(var(--p) * 1%), rgba(255, 255, 255, 0.2) 0);
  -webkit-mask: radial-gradient(circle, transparent 7px, #000 7.5px);
  mask: radial-gradient(circle, transparent 7px, #000 7.5px);
}

.pcard.is-liked {
  animation: liked 0.6s var(--ease-spring);
}

@keyframes liked {
  40% {
    transform: scale(0.92);
  }
  70% {
    transform: scale(1.04);
  }
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(14, 14, 14, 0.92), rgba(14, 14, 14, 0.55) 70%),
    linear-gradient(180deg, rgba(14, 14, 14, 0.85), transparent 25%, transparent 70%, var(--ink));
}

.snakes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  text-align: center;
  padding-inline: var(--gutter);
  max-width: 1100px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 244, 236, 0.08);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.hero h1 {
  margin: 24px 0 20px;
  font-size: clamp(56px, 10.5vw, 168px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

html[lang="th"] .hero h1 {
  font-size: clamp(48px, 8.4vw, 132px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero h1 .line {
  display: block;
  overflow: clip;
  overflow-clip-margin: 0.4em;
  padding-bottom: 0.06em;
}

.hero h1 .line:last-child {
  padding-bottom: 0.2em;
  margin-bottom: -0.14em;
}

.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 1.1s var(--ease-out) forwards;
  animation-delay: calc(0.1s + var(--i) * 0.12s);
}

@keyframes rise {
  to {
    transform: none;
  }
}

.hl {
  position: relative;
  color: var(--orange);
  font-style: normal;
}

.squiggle {
  position: absolute;
  left: -2%;
  width: 104%;
  bottom: -0.12em;
  height: 0.28em;
  overflow: visible;
}

.squiggle path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw 1.2s 0.9s var(--ease-out) forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

.hero__sub {
  max-width: 560px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero__cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  text-align: left;
  line-height: 1.1;
  transition: transform 0.45s var(--ease-spring), box-shadow 0.2s;
}

.store svg {
  width: 24px;
  height: 24px;
}

.store small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
}

.store b {
  font-size: 17px;
  font-weight: 700;
}

@media (hover: hover) {
  .store:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 0 1px var(--cream);
  }
}

.store:active {
  transform: scale(0.95);
}

.qr {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  background: rgba(255, 244, 236, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  line-height: 1.2;
}

.qr canvas {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: var(--cream);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 26px;
  height: 40px;
  animation: wiggle 1.6s ease-in-out infinite;
}

@keyframes wiggle {
  50% {
    transform: translateY(6px) rotate(6deg);
  }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  padding: 18px 0 70px;
  overflow: hidden;
}

.band {
  display: flex;
  white-space: nowrap;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.band__track {
  display: flex;
  will-change: transform;
}

.band__track span {
  padding-right: 0.4em;
}

.band--a {
  background: var(--orange);
  color: var(--ink);
  font-size: clamp(40px, 7vw, 104px);
  padding: 14px 0 8px;
  transform: rotate(2deg) scale(1.05);
}

.band--b {
  background: var(--ink);
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cream);
  font-size: clamp(32px, 5vw, 72px);
  padding: 12px 0 8px;
  transform: rotate(-3deg) scale(1.05) translateY(-8px);
  box-shadow: 0 0 0 1px var(--line);
}

.band--b .star {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

/* ---------- Section heads ---------- */

.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.h2 {
  margin: 14px 0 0;
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

html[lang="th"] .h2 {
  letter-spacing: -0.015em;
  line-height: 1.12;
  font-size: clamp(36px, 5.6vw, 84px);
}

.lede {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  margin: 20px 0 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-glow] {
  --mx: 50%;
  --my: 50%;
}

@media (hover: hover) {
  [data-glow]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(500px circle at var(--mx) var(--my), rgba(255, 80, 40, 0.12), transparent 60%);
    z-index: 0;
  }
}

/* ---------- Story (pinned scroll) ---------- */

.story {
  position: relative;
  height: 420vh;
}

.story__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.story__steps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  opacity: 0.32;
  transition: opacity 0.5s var(--ease-out);
}

.step.is-active {
  opacity: 1;
}

.step__n {
  grid-row: span 2;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--cream);
  transition: color 0.4s, transform 0.6s var(--ease-spring);
}

.step.is-active .step__n {
  color: var(--orange);
  transform: scale(1.1) rotate(-6deg);
}

.step h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-out);
}

.step.is-active p {
  max-height: 120px;
}

.story__progress {
  height: 3px;
  margin-top: 24px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}

.story__progress i {
  display: block;
  height: 100%;
  background: var(--orange);
  transform-origin: left;
  transform: scaleX(var(--prog, 0));
}

.phone-stage {
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  position: relative;
  height: min(78svh, 720px);
  aspect-ratio: 1080 / 2340;
  border-radius: 48px;
  padding: 11px;
  background: linear-gradient(145deg, #3a3a3a, #111 40%, #1d1d1d);
  box-shadow: 0 0 0 1.5px #4a4a4a, 0 40px 120px -30px rgba(255, 80, 40, 0.45), 0 30px 60px -20px #000;
  transform-style: preserve-3d;
  will-change: transform;
}

.phone::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  width: 30%;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #000;
  z-index: 3;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #fff;
}

.phone__screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateY(6%) scale(1.04);
  transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out);
}

.phone__screen img.is-on {
  opacity: 1;
  transform: none;
}

.phone__tag {
  position: absolute;
  right: -14px;
  bottom: 12%;
  z-index: 4;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transform: rotate(-6deg) translateZ(40px);
  box-shadow: 0 10px 30px -10px #000;
}

/* ---------- Element playground ---------- */

.elements {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  margin-top: 56px;
}

.picker + .picker {
  margin-top: 28px;
}

.picker__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
}

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

.tile {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 18px 8px 14px;
  border-radius: 22px;
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.5s var(--ease-spring), box-shadow 0.25s, background-color 0.25s;
}

.tile img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.6s var(--ease-spring);
}

.tile small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

@media (hover: hover) {
  .tile:hover {
    transform: translateY(-4px);
    box-shadow: inset 0 0 0 1.5px rgba(255, 244, 236, 0.4);
  }
  .tile:hover img {
    transform: scale(1.15) rotate(-8deg);
  }
}

.tile:active {
  transform: scale(0.92);
  transition-duration: 0.08s;
}

.tile[aria-pressed="true"] {
  background: var(--el, var(--orange));
  color: var(--ink);
  box-shadow: 0 16px 40px -14px var(--el, var(--orange));
}

.tile[aria-pressed="true"] small {
  color: rgba(14, 14, 14, 0.7);
}

.tile[aria-pressed="true"] img {
  transform: scale(1.18);
}

.meter {
  position: relative;
  display: grid;
  place-items: center;
  text-align: center;
}

.meter svg {
  width: min(100%, 380px);
  height: auto;
  transform: rotate(-90deg);
}

.meter__track {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 22;
}

.meter__arc {
  fill: none;
  stroke: var(--orange);
  stroke-width: 22;
  stroke-linecap: round;
}

.meter__read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
}

.meter__num {
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.meter__num sup {
  font-size: 0.4em;
  vertical-align: 0.9em;
}

.meter__verdict {
  margin-top: 6px;
  font-weight: 700;
  color: var(--muted);
  max-width: 220px;
}

.weights {
  margin-top: 40px;
}

.weights__bar {
  display: flex;
  height: 46px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-3);
}

.weights__bar span {
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  flex: 0 0 0%;
  transition: flex-basis 1.2s var(--ease-out);
  overflow: hidden;
  white-space: nowrap;
}

.weights.is-in .weights__bar span {
  flex-basis: var(--w);
}

.weights__bar span:nth-child(1) {
  background: var(--orange);
  transition-delay: 0.1s;
}
.weights__bar span:nth-child(2) {
  background: var(--orange-2);
  transition-delay: 0.25s;
}
.weights__bar span:nth-child(3) {
  background: var(--cream);
  transition-delay: 0.4s;
}
.weights__bar span:nth-child(4) {
  background: var(--gold);
  transition-delay: 0.55s;
}

.weights p {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Date Quest bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 16px;
  margin-top: 56px;
}

.qcard {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-spring), box-shadow 0.3s;
  will-change: transform;
}

.qcard:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s;
}

.qcard--wide {
  grid-column: span 2;
}

.qcard--tall {
  grid-row: span 2;
}

.qcard--orange {
  background: var(--orange);
}

.qcard--ink {
  background: var(--ink-2);
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.qcard__n {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.qcard h3 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}

.qcard p {
  margin: 0;
  max-width: 340px;
  font-weight: 500;
  opacity: 0.75;
}

.shake {
  position: absolute;
  right: 28px;
  bottom: 24px;
  font-size: 64px;
  line-height: 1;
}

.qcard:hover .shake,
.qcard.is-in .shake {
  animation: shake 0.9s var(--ease-out) 1;
}

@keyframes shake {
  10%,
  50% {
    transform: rotate(-18deg);
  }
  30%,
  70% {
    transform: rotate(18deg);
  }
}

.slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.slot {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  border: 2px dashed rgba(14, 14, 14, 0.3);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  color: rgba(14, 14, 14, 0.35);
}

.slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(0.4) rotate(-20deg);
  opacity: 0;
  transition: transform 0.6s var(--ease-spring), opacity 0.3s;
  transition-delay: calc(var(--i) * 0.18s);
}

.qcard.is-in .slot img {
  transform: none;
  opacity: 1;
}

.bill {
  margin-top: 22px;
  display: grid;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
}

.bill div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1.5px dashed rgba(14, 14, 14, 0.25);
}

.bill .tot {
  border: 0;
  font-weight: 900;
}

.mission {
  position: relative;
  z-index: 2;
  background: var(--ink-3);
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 244, 236, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
}

.mission b {
  display: block;
}

.mission small {
  color: var(--muted);
}

.mission button {
  margin-left: auto;
}

.mission button[aria-pressed="true"] {
  --bg: #22c55e;
}

.date-shot {
  position: absolute;
  right: -30px;
  bottom: -230px;
  width: 50%;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  transform: rotate(-8deg) translateZ(30px);
}

/* ---------- Safety ---------- */

.safety {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.stamp {
  width: clamp(140px, 16vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--verify);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.18), 0 30px 80px -20px var(--verify);
  transform: scale(1.6) rotate(-30deg);
  opacity: 0;
}

.stamp svg {
  width: 52%;
}

.stamp.is-in {
  animation: stamp 0.9s var(--ease-spring) forwards;
}

@keyframes stamp {
  0% {
    transform: scale(1.6) rotate(-30deg);
    opacity: 0;
  }
  45% {
    transform: scale(0.94) rotate(4deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(-6deg);
    opacity: 1;
  }
}

.points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-weight: 600;
  font-size: 15px;
}

.mini-phone {
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 1080 / 2340;
  border-radius: 30px;
  padding: 7px;
  background: #1b1b1b;
  box-shadow: 0 0 0 1.5px #3a3a3a, 0 30px 60px -20px #000;
  transform: rotate(5deg);
}

.mini-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.plan {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-card);
  background: var(--ink-2);
  box-shadow: inset 0 0 0 1.5px var(--line);
  overflow: hidden;
  transition: transform 0.6s var(--ease-spring), box-shadow 0.3s;
}

.plan::after {
  content: "";
  position: absolute;
  inset: -50% auto -50% -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-100%) rotate(12deg);
  pointer-events: none;
}

@media (hover: hover) {
  .plan:hover {
    transform: translateY(-10px);
  }
  .plan:hover::after {
    transform: translateX(520%) rotate(12deg);
    transition: transform 1s var(--ease-out);
  }
}

.plan:focus-within {
  transform: translateY(-10px);
}

.plan__name {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.plan__tag {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.7;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230e0e0e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.plan--free {
  --accent: var(--orange);
}

.plan--free .plan__name {
  color: var(--orange);
}

.plan--premium {
  --accent: var(--ink);
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, #a8801f);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgba(212, 175, 55, 0.7);
}

.plan--premium li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23f3d77a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.plan--plus {
  --accent: var(--gold);
  background: #050505;
  box-shadow: inset 0 0 0 1.5px rgba(212, 175, 55, 0.5);
}

.plan--plus .plan__name {
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan .note {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
  margin-top: 12px;
}

/* ---------- Final CTA ---------- */

.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--orange);
  color: var(--ink);
  padding: clamp(100px, 14vw, 200px) 0;
  text-align: center;
}

.final .snakes {
  z-index: 0;
}

.final .h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(52px, 10vw, 160px);
  pointer-events: none;
}

.final__cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.final .btn--ghost {
  --bg: var(--orange);
  --fg: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

@media (hover: hover) {
  .final .btn--ghost:hover {
    --bg: #ff6a45;
  }
}

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

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-weight: 600;
  color: var(--muted);
}

.footer nav a {
  padding: 6px 0;
  transition: color 0.2s;
}

.footer nav a:hover {
  color: var(--orange);
}

.footer__bottom {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Hearts (like burst) ---------- */

.heart {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  will-change: transform, opacity;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-block;
  }
  .lang {
    margin-left: auto;
  }
  .topbar .btn--sm {
    display: none;
  }
  .elements {
    grid-template-columns: 1fr;
  }
  .meter {
    order: -1;
  }
  .safety {
    grid-template-columns: auto 1fr;
  }
  .safety .mini-phone {
    display: none;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }
  .topbar__in {
    height: 64px;
    gap: 10px;
  }
  .brand img {
    height: 34px;
  }
  .brand span {
    font-size: 22px;
  }
  .hero {
    padding: 96px 0 92px;
    align-items: end;
  }
  .wall {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    inset: -10% -20%;
  }
  .wall__col {
    gap: 10px;
  }
  .wall__col:nth-child(n + 4) {
    display: none;
  }
  .pcard {
    border-radius: 20px;
  }
  .pcard__name {
    font-size: 15px;
  }
  .pcard__chips .chip:last-child {
    display: none;
  }
  .hero__shade {
    background: linear-gradient(180deg, rgba(14, 14, 14, 0.7), rgba(14, 14, 14, 0.25) 22%, rgba(14, 14, 14, 0.85) 52%, var(--ink) 80%);
  }
  .hero__content {
    text-align: left;
  }
  .hero h1 {
    margin-top: 18px;
  }
  .hero__sub {
    margin-left: 0;
  }
  .hero__cta {
    display: grid;
    justify-content: stretch;
  }
  .btn {
    width: 100%;
  }
  .topbar .btn,
  .mission .btn {
    width: auto;
  }
  .stores {
    justify-content: flex-start;
    margin-top: 20px;
  }
  .qr {
    display: none;
  }
  .store {
    flex: 1;
  }
  .scroll-cue {
    display: none;
  }

  .story {
    height: 400vh;
  }
  .story__pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    align-content: start;
    gap: 14px;
    padding-top: 76px;
    padding-bottom: 20px;
  }
  .story__pin .h2 {
    font-size: 34px;
  }
  .story__pin .lede,
  .story__pin .kicker {
    display: none;
  }
  .story__steps {
    margin-top: 10px;
  }
  .step {
    display: none;
    padding: 10px 0 0;
    border: 0;
  }
  .step.is-active {
    display: grid;
    animation: step-in 0.5s var(--ease-out);
  }
  .step__n {
    font-size: 36px;
  }
  .step h3 {
    font-size: 21px;
  }
  .step p {
    font-size: 15px;
  }
  @keyframes step-in {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
  }
  .story__progress {
    margin-top: 8px;
  }
  .phone-stage {
    order: 2;
    align-self: stretch;
    min-height: 0;
  }
  .phone {
    height: min(54svh, 470px);
    border-radius: 36px;
    padding: 8px;
  }
  .phone::before {
    top: 14px;
    height: 18px;
  }
  .phone__screen {
    border-radius: 29px;
  }
  .phone__tag {
    right: -22px;
    font-size: 12px;
  }

  .tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .tile {
    padding: 12px 4px 10px;
    border-radius: 18px;
    font-size: 14px;
  }
  .tile img {
    width: 36px;
    height: 36px;
  }
  .tile small {
    display: none;
  }
  .meter svg {
    width: 260px;
  }

  .bento {
    grid-template-columns: 1fr;
  }
  .qcard--wide,
  .qcard--tall {
    grid-column: auto;
    grid-row: auto;
  }
  .qcard {
    padding: 24px;
  }
  .date-shot {
    display: none;
  }

  .safety {
    grid-template-columns: 1fr;
  }
  .stamp {
    width: 120px;
  }

  .plans {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 8px var(--gutter) 24px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar {
    display: none;
  }
  .plan {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .final__cta {
    display: grid;
    padding-inline: var(--gutter);
    margin-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
  .wall__col {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
