/* ==========================================================================
   Wishly — styles
   Brand: Deep Green #0B1F17 · Fresh Green #22C55E · Mint #A7F3D0
          Soft White #F8FAF8 · Slate #1F2937 · Inter
   ========================================================================== */

@property --n { syntax: '<integer>'; inherits: false; initial-value: 0; }
@property --s-bg { syntax: '<color>'; inherits: true; initial-value: #FFF8EF; }
@property --s-ink { syntax: '<color>'; inherits: true; initial-value: #3A2213; }
@property --s-accent { syntax: '<color>'; inherits: true; initial-value: #D9722E; }
@property --s-soft { syntax: '<color>'; inherits: true; initial-value: #FDE6CF; }
@property --l-bg { syntax: '<color>'; inherits: true; initial-value: #F7F5F0; }
@property --l-ink { syntax: '<color>'; inherits: true; initial-value: #1E2A26; }
@property --l-card { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --l-muted { syntax: '<color>'; inherits: true; initial-value: #5E6B66; }
@property --l-accent { syntax: '<color>'; inherits: true; initial-value: #2F7D6D; }

:root {
  --deep: #0B1F17;
  --deep-2: #0F2A20;
  --deep-3: #16382B;
  --fresh: #22C55E;
  --fresh-ink: #15A04A;       /* Fresh Green, darkened for text on light backgrounds */
  --mint: #A7F3D0;
  --mint-2: #DDFBEA;
  --soft: #F8FAF8;
  --slate: #1F2937;
  --teal: #14B8A6;
  --muted: #56655F;
  --line: rgba(11, 31, 23, .09);
  --on-dark: #EAF6EF;
  --on-dark-muted: rgba(234, 246, 239, .68);
  --wa-out: #D9FDD3;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: 16px;
  --section-pad: clamp(96px, 13vw, 176px);
  --radius-sec: clamp(28px, 4vw, 48px);
  --grad-ink: linear-gradient(95deg, #139A46 0%, #17A84F 30%, #0F9A8B 60%, #17A84F 80%, #139A46 100%);
  --grad-bright: linear-gradient(95deg, #4ADE80 0%, #22C55E 30%, #2DD4BF 60%, #22C55E 80%, #4ADE80 100%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--soft);
}
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv11", "ss01";
  color: var(--deep);
  background: var(--soft);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
::selection { background: var(--mint); color: var(--deep); }
:focus-visible { outline: 3px solid var(--fresh); outline-offset: 3px; border-radius: 12px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 16px; border-radius: 12px;
  background: var(--deep); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

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

/* ---------- Type ---------- */
.h1 {
  font-size: clamp(44px, 8.4vw, 108px);
  font-weight: 750;
  letter-spacing: -.048em;
  line-height: .98;
}
.h2 {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 720;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.lede {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
}
.muted-ink { color: rgba(11, 31, 23, .38); }
.grad-dark {
  padding-right: .06em; margin-right: -.06em;
  background: linear-gradient(95deg, #4ADE80 0%, #22C55E 45%, #2DD4BF 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em;
  color: var(--deep);
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 0 0 1px var(--line), 0 6px 20px -12px rgba(11, 31, 23, .25);
  margin-bottom: 22px;
}
.eyebrow-dark { color: var(--on-dark); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.eb-spark { width: 16px; height: 16px; }

.sec-head { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head .lede { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 20px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; text-decoration: none;
  transition: transform .35s var(--ease-out), background-color .3s, box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-dark { background: var(--deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 31, 23, .6); }
.btn-dark:hover { background: var(--deep-3); transform: translateY(-1px); }

/* The primary CTA — "Talk to Wishly" */
.cta {
  --h: 64px;
  --tx: 0px; --ty: 0px; --lift: 0px;
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h);
  padding: 0 9px 0 24px;
  border-radius: 999px;
  font-size: 18px; font-weight: 650; letter-spacing: -.015em;
  color: var(--deep);
  text-decoration: none;
  transform: translate3d(var(--tx), calc(var(--ty) + var(--lift)), 0);
  transition: transform .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.cta::before { /* halo — breathes with transform only, so it never repaints */
  content: ""; position: absolute; inset: -4px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from 200deg, #22C55E, #A7F3D0, #2DD4BF, #4ADE80, #22C55E);
  filter: blur(14px); opacity: .55;
  animation: haloBreathe 4.5s ease-in-out infinite;
  transition: opacity .4s;
}
.cta-bg {
  position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background: linear-gradient(135deg, #46E38F 0%, #22C55E 46%, #1CC39C 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -2px 0 rgba(0, 0, 0, .08),
    0 14px 32px -12px rgba(34, 197, 94, .75),
    0 4px 10px -4px rgba(11, 31, 23, .25);
}
.cta-bg::after { /* shine sweep */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 48%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-120%);
  animation: shine 5s var(--ease-io) 2.4s infinite;
}
.cta-icon { width: 24px; height: 24px; }
.cta-label { white-space: nowrap; }
.cta-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--deep); color: #fff;
  transition: transform .5s var(--ease-spring);
}
.cta-arrow .i { width: 20px; height: 20px; }
.cta:hover { --lift: -2px; }
.cta:hover::before { opacity: .9; }
.cta:hover .cta-arrow { transform: translateX(2px) rotate(-30deg); }
.cta:active { transition-duration: .1s; transform: translate3d(var(--tx), var(--ty), 0) scale(.97); }
.cta-xl { --h: 70px; font-size: 19px; padding-left: 28px; }
.cta-xl .cta-arrow { width: 52px; height: 52px; }

/* ---------- Brand lockup ---------- */
.lockup {
  display: inline-flex; align-items: center;
  line-height: 1; text-decoration: none; color: var(--deep);
}
.lockup .spark { width: 1.1em; height: 1.1em; flex: none; overflow: visible; }
.wordmark {
  font-weight: 800; letter-spacing: -.058em;
  display: inline-flex; align-items: flex-start;
  margin-left: .06em;
  padding-right: .04em;
  transform: translateY(-.045em);
}
.wordmark sup { font-size: .1em; font-weight: 600; letter-spacing: 0; margin: .3em 0 0 .05em; }
.lockup-nav { font-size: 25px; gap: 0; }
.lockup-nav .spark { width: 1.05em; height: 1.05em; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  padding: 10px var(--gutter);
  padding-top: max(10px, env(safe-area-inset-top));
  transform: translateY(-120%);
  visibility: hidden; /* keeps hidden links out of the tab order */
  transition: transform .7s var(--ease-out), visibility 0s .7s;
  pointer-events: none;
}
.nav.show { transform: none; visibility: visible; pointer-events: auto; transition: transform .7s var(--ease-out); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  height: 60px; padding: 0 8px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-radius: 999px;
  background: rgba(248, 250, 248, .74);
  -webkit-backdrop-filter: saturate(1.8) blur(18px);
  backdrop-filter: saturate(1.8) blur(18px);
  box-shadow: inset 0 0 0 1px rgba(11, 31, 23, .07), 0 10px 30px -14px rgba(11, 31, 23, .25);
  transition: background-color .5s, box-shadow .5s, color .5s;
}
.nav-links { display: none; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500;
  text-decoration: none; color: rgba(11, 31, 23, .7);
  transition: background-color .25s, color .25s;
}
.nav-links a:hover { background: rgba(11, 31, 23, .06); color: var(--deep); }
.btn-nav { height: 44px; padding: 0 16px 0 14px; background: var(--deep); color: #fff; font-size: 15px; }
.btn-nav .i { width: 19px; height: 19px; }
.btn-nav:hover { background: var(--deep-3); }
.nav.on-dark .nav-inner { background: rgba(11, 31, 23, .66); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 10px 30px -14px rgba(0, 0, 0, .5); }
.nav.on-dark .lockup-nav { color: #fff; }
.nav.on-dark .nav-links a { color: rgba(234, 246, 239, .72); }
.nav.on-dark .nav-links a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav.on-dark .btn-nav { background: var(--fresh); color: var(--deep); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 124px 0 132px;
  text-align: center;
  overflow: clip;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aurora i {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  will-change: transform;
}
.aurora .a1 { left: -30vmax; top: -34vmax; background: radial-gradient(closest-side, rgba(167, 243, 208, .95), rgba(167, 243, 208, 0)); animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { right: -32vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(34, 197, 94, .26), rgba(34, 197, 94, 0)); animation: drift2 30s ease-in-out infinite alternate; }
.aurora .a3 { left: -10vmax; bottom: -44vmax; background: radial-gradient(closest-side, rgba(45, 212, 191, .26), rgba(45, 212, 191, 0)); animation: drift3 34s ease-in-out infinite alternate; }
.aurora .a4 { right: -26vmax; bottom: -40vmax; background: radial-gradient(closest-side, rgba(167, 243, 208, .8), rgba(167, 243, 208, 0)); animation: drift1 28s ease-in-out -8s infinite alternate-reverse; }
.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(11, 31, 23, .13) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 62% 56% at 50% 46%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 62% 56% at 50% 46%, #000 10%, transparent 72%);
  opacity: .55;
}
.hero-spot {
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 40%), rgba(34, 197, 94, .10), transparent 60%);
  opacity: 0; transition: opacity .6s;
}
.hero:hover .hero-spot { opacity: 1; }

.hero-content { position: relative; z-index: 2; display: grid; justify-items: center; padding: 0 var(--gutter); will-change: translate, opacity; }

.lockup-hero { font-size: clamp(62px, 17vw, 150px); }
.lockup-spark { position: relative; display: block; width: 1.1em; height: 1.1em; flex: none; }
.lockup-spark .spark { width: 100%; height: 100%; animation: sparkFloat 7s ease-in-out infinite; }
.spark-glow {
  position: absolute; inset: -38%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 197, 94, .42), rgba(45, 212, 191, .16) 52%, transparent 74%);
  animation: glowPulse 5.5s ease-in-out infinite;
}
.glint {
  position: absolute; width: .2em; height: .2em; right: 8%; top: 10%;
  background: #fff;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9));
  transform: scale(0);
  animation: glint 5.5s ease-in-out 2.2s infinite;
}
.lockup-hero .wordmark sup { font-size: .1em; }

.hero-title {
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: -.042em;
  line-height: 1.04;
}
.ht-line { display: inline-block; }
.ht-accent {
  background: linear-gradient(95deg, #139A46 0%, #17A84F 45%, #0F9A8B 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding: 0 .06em .06em 0;
  margin-right: -.06em;
}
.hero-sub {
  margin-top: clamp(16px, 2vw, 22px);
  max-width: 30em;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: balance;
}
.hero-cta { margin-top: clamp(28px, 3.4vw, 40px); display: grid; justify-items: center; gap: 16px; }
.hero-note { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--fresh); flex: none; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--fresh); animation: ping 2.2s var(--ease-out) infinite; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none;
}
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(11, 31, 23, .25); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--deep); animation: wheel 2s var(--ease-out) infinite; }

/* Floating wishes */
.wishes { position: absolute; inset: 0; z-index: 1; pointer-events: none; --px: 0; --py: 0; }
.wish {
  position: absolute;
  /* cursor parallax eases via transform; scroll parallax uses the separate `translate` property */
  transform: translate3d(calc(var(--px) * var(--d) * 22px), calc(var(--py) * var(--d) * 16px), 0);
  transition: transform 1.2s var(--ease-out);
}
.wf { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); }
.wb {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px 9px 13px;
  border-radius: 16px;
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  color: #111B21;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .08), 0 14px 30px -14px rgba(11, 31, 23, .3);
}
.wb.out { background: var(--wa-out); border-bottom-right-radius: 5px; }
.wb.in { background: #fff; border-bottom-left-radius: 5px; }
.wt { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; font-size: 10.5px; color: #667781; }
.ticks { width: 15px; height: 10px; color: #53BDEB; }
.wb-spark { width: 16px; height: 16px; }

.wish-3, .wish-5 { display: none; }
.wish-1 { left: 5%; top: 30px; }
.wish-2 { right: 5%; top: 78px; }
.wish-4 { left: 6%; bottom: 80px; }
.wish-6 { right: 5%; bottom: 30px; }
.wish .wb { font-size: 13px; }

@media (min-width: 700px) {
  .wish .wb { font-size: 14px; }
  .wish-3, .wish-5 { display: block; }
  .wish-1 { left: 6%; top: 44px; }
  .wish-2 { left: 34%; top: 92px; right: auto; }
  .wish-3 { right: 6%; top: 60px; }
  .wish-4 { left: 5%; bottom: 96px; }
  .wish-5 { right: 30%; bottom: 36px; }
  .wish-6 { right: 6%; bottom: 104px; }
  .scroll-cue { display: none; }
}
@media (min-width: 1180px) and (min-height: 700px) {
  .hero { padding: 120px 0; }
  .wish-1 { left: 4%; top: 24%; }
  .wish-2 { left: 12%; top: 35%; }
  .wish-3 { right: 4%; top: 20%; }
  .wish-4 { left: 6%; top: auto; bottom: 26%; }
  .wish-5 { right: 6%; bottom: 33%; }
  .wish-6 { right: 12%; bottom: 22%; }
  .scroll-cue { display: flex; }
}

/* Hero entrance — gated on html.ready so fonts are in place first */
.js .lockup-hero .lockup-spark { opacity: 0; transform: scale(.25) rotate(-140deg); }
.js .lockup-hero .wordmark { opacity: 0; transform: translateY(.18em); filter: blur(12px); }
.js .hero-title .ht-line,
.js .hero-sub,
.js .hero-cta { opacity: 0; transform: translateY(26px); filter: blur(10px); }
.js .wb { opacity: 0; transform: translateY(18px) scale(.7); }
.js .scroll-cue { opacity: 0; }

.ready .lockup-hero .lockup-spark { opacity: 1; transform: none; transition: transform 1.4s var(--ease-spring) .1s, opacity .6s .1s; }
.ready .lockup-hero .wordmark { opacity: 1; transform: translateY(-.045em); filter: none; transition: transform 1.1s var(--ease-out) .32s, opacity .9s .32s, filter .9s .32s; }
.ready .hero-title .ht-line,
.ready .hero-sub,
.ready .hero-cta { opacity: 1; transform: none; filter: none; transition: transform 1.1s var(--ease-out), opacity .9s, filter .9s; }
.ready .hero-title .ht-line:nth-child(1) { transition-delay: .62s; }
.ready .hero-title .ht-line:nth-child(2) { transition-delay: .76s; }
.ready .hero-sub { transition-delay: .92s; }
.ready .hero-cta { transition-delay: 1.06s; }
.ready .wb { opacity: 1; transform: none; transition: transform 1s var(--ease-spring), opacity .6s; transition-delay: calc(1.4s + var(--i) * .16s); }
.ready .scroll-cue { opacity: 1; transition: opacity 1s 2s; }

/* ==========================================================================
   DARK SECTIONS
   ========================================================================== */
.dark {
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(34, 197, 94, .16), transparent 70%),
    radial-gradient(60% 45% at 0% 100%, rgba(20, 184, 166, .12), transparent 70%),
    var(--deep);
  border-radius: var(--radius-sec);
  margin-inline: clamp(0px, 1vw, 14px);
  overflow: clip;
}
.dark .lede { color: var(--on-dark-muted); }

/* ==========================================================================
   DEMO — scroll-driven conversation → website
   ========================================================================== */
.demo-intro { text-align: center; display: grid; justify-items: center; padding-top: var(--section-pad); }
.demo-intro .lede { margin-top: 20px; }

.demo-track { position: relative; height: 440vh; height: 440svh; }
.demo-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; }
.demo-layout {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 14px;
  padding: 84px var(--gutter) 18px;
  max-width: 1240px; margin: 0 auto; width: 100%;
}
.demo-copy { flex: none; }

/* Mobile: a single caption that swaps per step */
.demo-steps { list-style: none; margin: 0; padding: 0; position: relative; height: 108px; }
.demo-step { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease-out), visibility 0s .6s; }
.demo-step.active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.demo-step button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.demo-step button:focus-visible { outline: 3px solid var(--fresh); outline-offset: 4px; border-radius: 16px; }
.step-num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-size: 12.5px; font-weight: 700; color: var(--deep); background: var(--fresh);
  flex: none;
}
.step-body { display: grid; gap: 4px; }
.step-title { font-size: 20px; font-weight: 680; letter-spacing: -.025em; color: #fff; line-height: 1.2; }
.step-text { font-size: 14.5px; line-height: 1.45; color: var(--on-dark-muted); max-width: 30em; }
.demo-step:not(.active) .step-num { background: rgba(255, 255, 255, .12); color: var(--on-dark); }

.demo-progress { display: flex; gap: 6px; margin: 6px auto 0; max-width: 280px; }
.demo-progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .14); overflow: hidden; position: relative; }
.demo-progress i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--fresh); transform-origin: left; transform: scaleX(var(--p, 0)); }

.stage-wrap { position: relative; flex: 1; min-height: 0; }

@media (min-width: 900px) {
  .demo-track { height: 420vh; }
  .demo-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; max-width: 1380px; padding: 96px clamp(24px, 4vw, 48px) 28px; }
  .stage-wrap { height: 100%; }
  .demo-steps { height: auto; display: grid; gap: 6px; }
  .demo-step { position: relative; inset: auto; opacity: 1; visibility: visible; transform: none; transition: none; }
  .demo-step button {
    flex-direction: row; align-items: flex-start; text-align: left; gap: 16px;
    padding: 18px 20px; border-radius: 22px;
    opacity: .42;
    transition: opacity .5s, background-color .5s, box-shadow .5s;
    position: relative; overflow: hidden;
  }
  .demo-step button:hover { opacity: .8; }
  .demo-step.active button { opacity: 1; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
  .demo-step button::after { /* per-step progress */
    content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--fresh), var(--teal));
    transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .4s;
  }
  .demo-step.active button::after { opacity: 1; }
  .step-num { margin-top: 1px; }
  .step-text { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease-out), opacity .5s; }
  .demo-step.active .step-text { max-height: 90px; opacity: 1; }
  .step-title { font-size: 21px; }
  .demo-progress { display: none; }
}

/* ---- Stage: fixed design size, scaled to fit by JS (--s) ---- */
.stage {
  --dw: 320px; --dh: 600px;
  position: absolute; left: 50%; top: 50%;
  width: var(--dw); height: var(--dh);
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transform-origin: center;
}
@media (min-width: 900px) { .stage { --dw: 820px; --dh: 620px; } }

/* Phone */
.phone {
  position: absolute; left: 24px; top: 0; width: 272px; height: 580px;
  border-radius: 48px; padding: 9px;
  background: linear-gradient(160deg, #1d2724, #070a09 40%);
  box-shadow:
    0 0 0 1.5px #2b3632,
    inset 0 0 0 1px rgba(255, 255, 255, .1),
    0 60px 120px -40px rgba(0, 0, 0, .75),
    0 30px 60px -30px rgba(34, 197, 94, .25);
  transition: transform 1s var(--ease-out);
  z-index: 1;
}
.phone::after {
  content: ""; position: absolute; inset: 9px; border-radius: 39px;
  background: rgba(4, 14, 10, .6); opacity: 0; transition: opacity .9s; pointer-events: none;
}
.phone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 39px; overflow: hidden;
  background: #EFE7DE;
  display: flex; flex-direction: column;
  font-size: 12.5px; color: #111B21; line-height: 1.38;
}
.wa-status {
  height: 42px; flex: none; position: relative;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 24px 0 30px;
  font-size: 13px; font-weight: 650; background: #fff;
}
.island { position: absolute; left: 50%; top: 9px; width: 86px; height: 25px; margin-left: -43px; border-radius: 20px; background: #000; }
.sicons { display: flex; align-items: center; gap: 5px; }
.sicons svg { height: 10px; width: auto; fill: currentColor; }
.wa-head {
  flex: none; display: flex; align-items: center; gap: 8px;
  padding: 4px 12px 9px 8px; background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}
.wa-back { width: 20px; height: 20px; color: #111B21; }
.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--deep); display: grid; place-items: center; flex: none; }
.wa-avatar svg { width: 19px; height: 19px; }
.wa-who { display: grid; line-height: 1.2; }
.wa-who b { display: inline-flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 650; }
.wa-who small { font-size: 11.5px; color: #667781; }
.verified { width: 14px; height: 14px; flex: none; }
.wa-actions { margin-left: auto; display: flex; gap: 16px; }
.wa-actions .i { width: 20px; height: 20px; }

.wa-body {
  flex: 1; min-height: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8px 10px 6px;
  overflow: hidden;
  background-color: #EFE7DE;
  background-image: radial-gradient(rgba(84, 66, 40, .06) 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.msg {
  display: grid; grid-template-rows: 0fr;
  opacity: 0; margin-top: 0;
  transition: grid-template-rows .5s var(--ease-out), opacity .35s, margin-top .5s var(--ease-out);
}
.msg.show { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
.mc { min-height: 0; overflow: hidden; padding: 1px 1px 2px; }
.bubble {
  position: relative; width: fit-content; max-width: 84%;
  padding: 6px 9px 7px 10px; border-radius: 10px;
  background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  transform: translateY(8px) scale(.94);
  transition: transform .55s var(--ease-spring);
}
.msg.show .bubble { transform: none; }
.msg.in .bubble { border-top-left-radius: 3px; transform-origin: left bottom; }
.msg.out .bubble { margin-left: auto; background: var(--wa-out); border-top-right-radius: 3px; transform-origin: right bottom; }
.bubble p { display: inline; }
.bubble time { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px 0 -5px 8px; font-size: 10px; color: #667781; }
.bubble u { color: #027EB5; text-decoration: none; }
.bubble.typing { padding: 10px 12px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: blink 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }

.bubble.build { width: 84%; padding: 10px 11px 11px; }
.build-row { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 12px; }
.build-spark { width: 16px; height: 16px; animation: spin360 2.4s linear infinite; }
.build-bar { margin-top: 8px; height: 5px; border-radius: 4px; background: #E7ECEA; overflow: hidden; }
.build-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #22C55E, #2DD4BF); transform-origin: left; transform: scaleX(0); transition: transform 2.4s cubic-bezier(.4, .1, .3, 1); }
.msg.go .build-bar i { transform: scaleX(1); }

.bubble.ready { width: 84%; padding: 4px; }
.ready-card { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 8px; background: #F2F5F3; }
.ready-thumb { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, #FDE6CF, #FFF8EF); flex: none; }
.ready-txt { display: grid; gap: 1px; min-width: 0; }
.ready-txt b { display: flex; align-items: center; gap: 4px; font-size: 12px; }
.ready-txt small { font-size: 11px; color: #667781; }
.ready-btn { display: flex; align-items: center; justify-content: center; gap: 5px; height: 34px; font-size: 12.5px; font-weight: 600; color: #027EB5; border-top: 1px solid rgba(0, 0, 0, .07); }
.ready-btn:first-of-type { margin-top: 4px; }
.ready-btn .i { width: 13px; height: 13px; }
.ready-btn.alt { color: #15803D; }

.wa-input { flex: none; display: flex; align-items: center; gap: 6px; padding: 7px 8px 16px; background: #F7F5F3; }
.wa-plus { color: #54656F; }
.wa-plus .i { width: 22px; height: 22px; }
.wa-field {
  flex: 1; min-width: 0; height: 36px; border-radius: 20px; background: #fff;
  display: flex; align-items: center; gap: 6px; padding: 0 10px 0 13px; position: relative;
}
.wa-ph { position: absolute; left: 13px; color: #8696A0; transition: opacity .2s; }
.wa-input.has-text .wa-ph { opacity: 0; }
.wa-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; color: #111B21; }
.wa-cam { width: 18px; height: 18px; color: #54656F; margin-left: auto; }
.wa-send { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #1DAA61; color: #fff; display: grid; place-items: center; flex: none; }
.wa-send > * { grid-area: 1 / 1; transition: transform .35s var(--ease-spring), opacity .25s; }
.wa-send .ic-mic { width: 18px; height: 18px; }
.wa-send .ic-send { width: 18px; height: 18px; fill: currentColor; opacity: 0; transform: scale(.4) rotate(-40deg); }
.wa-input.has-text .ic-mic { opacity: 0; transform: scale(.4); }
.wa-input.has-text .ic-send { opacity: 1; transform: none; }

/* Browser */
.browser {
  position: absolute; left: 4px; top: 156px; width: 312px; height: 424px;
  border-radius: 16px; overflow: hidden; background: #fff;
  display: flex; flex-direction: column;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  z-index: 2;
  opacity: 0; transform: translateY(90px) scale(.88) rotate(3deg);
  transition: opacity .7s, transform 1.1s var(--ease-out);
}
.stage.site-up .browser { opacity: 1; transform: rotate(-1.5deg); }
.stage.site-up .phone { transform: scale(.94) translateY(-14px); }
.stage.site-up .phone::after { opacity: 1; }

.br-bar { height: 34px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 11px; background: #F2F4F3; border-bottom: 1px solid #E4E8E6; }
.br-dots { display: flex; gap: 5px; flex: none; }
.br-dots i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.br-dots i:nth-child(2) { background: #FEBC2E; }
.br-dots i:nth-child(3) { background: #28C840; }
.br-url {
  flex: 1; min-width: 0; max-width: 250px; margin: 0 auto; height: 22px; border-radius: 7px; background: #fff;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; color: #5B6670; white-space: nowrap; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
.br-url .i { width: 11px; height: 11px; }
.br-live { flex: none; display: flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 650; color: #15803D; opacity: 0; transform: translateX(6px); transition: opacity .5s, transform .5s var(--ease-out); }
.br-live i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #22C55E; }
.br-live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #22C55E; animation: ping 2s var(--ease-out) infinite; }
.stage.live .br-live, .br-live.on { opacity: 1; transform: none; }
.br-view { position: relative; flex: 1; overflow: hidden; }

/* The mock website being built */
.site {
  position: absolute; inset: 0;
  container-type: inline-size; container-name: site;
  background: var(--s-bg); color: var(--s-ink);
  transition: --s-bg 1.1s, --s-ink 1.1s, --s-accent 1.1s, --s-soft 1.1s;
  font-size: 12px; line-height: 1.35;
}
.stage.pink .site { --s-bg: #FFF1F6; --s-ink: #4A1631; --s-accent: #E2478A; --s-soft: #FFD9E8; }
.site-empty {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  color: #98A49F; font-size: 12px; font-weight: 500; background: #FBFCFB;
  transition: opacity .6s;
}
.site-empty svg { width: 34px; height: 34px; animation: emptyPulse 2.4s ease-in-out infinite; }
.stage.building .site-empty { opacity: 0; }
.site-inner { position: relative; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
/* Blocks appear first as shimmering skeletons, then materialise */
.sb { position: relative; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .8s var(--ease-out); }
.stage.building .sb:not([data-b="gallery"]), .sb.on { opacity: 1; transform: none; }
.sb::after {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 12px; pointer-events: none;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--s-ink) 8%, var(--s-bg)) 30%,
    color-mix(in srgb, var(--s-ink) 3%, var(--s-bg)) 50%,
    color-mix(in srgb, var(--s-ink) 8%, var(--s-bg)) 70%);
  background-size: 300% 100%;
  animation: skel 1.3s linear infinite;
  transition: opacity .7s var(--ease-out);
}
.s-hero::after { border-radius: 14px; }
.sb.on::after { opacity: 0; }
.sb > * { transition: opacity .7s .15s, filter .8s .15s, transform .9s var(--ease-out) .15s; }
.sb:not(.on) > * { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.site-sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0), rgba(34, 197, 94, .14) 70%, rgba(110, 231, 183, .9) 98%, rgba(34, 197, 94, 0));
  opacity: 0; transform: translateY(-100%);
}
.stage.building:not(.built) .site-sweep { opacity: 1; animation: sweep 1.25s var(--ease-io) infinite; }
.stage.resweep .site-sweep { animation: sweepOnce 1.1s var(--ease-io) 1 forwards; }

.s-nav { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; }
.s-logo { font-weight: 800; font-size: 14px; letter-spacing: -.03em; }
.s-logo i { font-style: normal; color: var(--s-accent); margin-left: 3px; font-weight: 700; }
.s-links { display: flex; gap: 11px; opacity: .7; }
.s-links i { font-style: normal; }
.s-hero { position: relative; display: grid; grid-template-columns: 1fr; border-radius: 14px; padding: 16px 14px; background: var(--s-soft); overflow: hidden; }
.s-copy { position: relative; z-index: 1; }
.s-kicker { display: inline-block; font-size: 9px; font-weight: 650; color: var(--s-accent); background: rgba(255, 255, 255, .6); padding: 3px 7px; border-radius: 99px; }
.s-h { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 8px 0 6px; }
.s-p { display: block; font-size: 10.5px; line-height: 1.45; opacity: .75; max-width: 17em; }
.s-btns { display: flex; gap: 6px; margin-top: 10px; }
.s-btn { font-size: 9.5px; font-weight: 650; padding: 6px 10px; border-radius: 99px; background: var(--s-accent); color: #fff; }
.s-btn.ghost { background: transparent; color: var(--s-ink); box-shadow: inset 0 0 0 1px currentColor; }
.s-art { position: absolute; right: -6px; top: 8px; width: 96px; height: 96px; display: grid; place-items: center; }
.s-blob { position: absolute; inset: 10%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), var(--s-accent)); opacity: .75; animation: blob 9s ease-in-out infinite; }
.e { position: absolute; line-height: 1; }
.e1 { font-size: 36px; }
.e2 { font-size: 18px; left: 2px; top: 6px; animation: bob 5s ease-in-out infinite; }
.e3 { font-size: 16px; right: 10px; bottom: 2px; animation: bob 6s ease-in-out -2s infinite; }
.s-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.s-item { background: #fff; border-radius: 12px; padding: 9px; display: grid; gap: 1px; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 6px 14px -10px rgba(0, 0, 0, .2); }
.s-item span { font-size: 19px; line-height: 1.1; }
.s-item b { font-size: 10px; font-weight: 650; margin-top: 3px; }
.s-item small { font-size: 9.5px; color: var(--s-accent); font-weight: 650; }
.s-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.s-gallery span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, var(--s-soft), #fff); }
@container site (min-width: 420px) {
  .s-hero { grid-template-columns: 1.2fr .8fr; align-items: center; padding: 20px 18px; }
  .s-art { position: relative; right: auto; top: auto; width: 100%; height: 120px; }
  .e1 { font-size: 46px; }
  .e2 { font-size: 22px; }
  .s-h { font-size: 27px; }
  .s-gallery span { aspect-ratio: 1.7; font-size: 22px; }
  .site-inner { padding: 14px 18px; gap: 12px; }
}

/* Mobile notification banner */
.banner {
  position: absolute; left: 30px; right: 30px; top: 52px; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 18px;
  background: rgba(250, 252, 251, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .55);
  color: #111B21;
  opacity: 0; transform: translateY(-18px) scale(.95);
  transition: opacity .4s, transform .6s var(--ease-spring);
}
.banner.show { opacity: 1; transform: none; }
.banner.swap { animation: bannerSwap .5s var(--ease-spring); }
.banner-icon { width: 32px; height: 32px; border-radius: 9px; background: var(--deep); display: grid; place-items: center; flex: none; font-size: 15px; }
.banner-icon svg { width: 18px; height: 18px; }
.banner-icon.you { background: #FDE6CF; }
.banner-body { flex: 1; min-width: 0; display: grid; font-size: 12px; line-height: 1.3; }
.banner-body b { font-size: 12.5px; }
.banner-body span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner small { align-self: flex-start; font-size: 10.5px; color: #667781; }

/* Floating chips around the stage (step 4) */
.float-chip { position: absolute; z-index: 4; opacity: 0; transform: translateY(14px) scale(.85); transition: opacity .5s, transform .7s var(--ease-spring); }
.float-chip span {
  display: block; padding: 9px 14px; border-radius: 999px;
  background: #fff; color: var(--deep); font-size: 12.5px; font-weight: 650; white-space: nowrap;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(11, 31, 23, .05);
  animation: bob 5s ease-in-out infinite;
}
.float-chip.c2 span { animation-delay: -1.6s; }
.float-chip.c3 span { animation-delay: -3.2s; }
.stage.live .float-chip { opacity: 1; transform: none; }
.stage.live .c2 { transition-delay: .15s; }
.stage.live .c3 { transition-delay: .3s; }
.c1 { left: -2px; top: 112px; }
.c2 { right: -4px; top: 258px; }
.c3 { left: 18px; top: 552px; }

@media (min-width: 900px) {
  .phone { left: 0; top: 10px; width: 290px; height: 600px; }
  .browser { left: 326px; top: 92px; width: 494px; height: 444px; opacity: 1; transform: none; }
  .stage.site-up .browser { transform: none; }
  .stage.site-up .phone { transform: none; }
  .stage.site-up .phone::after { opacity: 0; }
  .banner { display: none; }
  .c1 { left: 560px; top: 40px; }
  .c2 { left: 296px; right: auto; top: 560px; }
  .c3 { left: 640px; top: 562px; }
}

.demo-outro { text-align: center; display: grid; justify-items: center; gap: 28px; padding: 40px 0 var(--section-pad); }
.demo-outro-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 680; letter-spacing: -.035em; line-height: 1.15; }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { padding-block: var(--section-pad); text-align: center; }
.statement-text {
  font-size: clamp(38px, 7vw, 96px);
  font-weight: 720; letter-spacing: -.048em; line-height: 1.03;
  max-width: 13ch; margin: 0 auto;
  text-wrap: balance;
}
.br-wide { display: none; }
@media (min-width: 900px) {
  .statement-text { font-size: clamp(56px, 6.2vw, 92px); max-width: none; }
  .br-wide { display: inline; }
}
.statement-text .w { color: rgba(11, 31, 23, .13); transition: color .5s; }
.statement-text .w.lit { color: var(--deep); }
.statement-text .w.hl {
  padding-right: .07em; margin-right: -.07em; /* room for the last glyph under background-clip */
  background-image: var(--grad-ink);
  background-size: 0% 100%; background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text;
  transition: color .5s, background-size .7s var(--ease-out);
}
.statement-text .w.hl.lit { color: transparent; background-size: 100% 100%; }
.no-list { list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 720px; }
.no-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -18px rgba(11, 31, 23, .35);
  font-size: 15px; font-weight: 600;
}
.no-list .i { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--fresh); color: var(--deep); stroke-width: 3; }

/* ==========================================================================
   MADE FOR + MARQUEE
   ========================================================================== */
.made { padding-bottom: var(--section-pad); overflow: clip; }
.made-head { text-align: center; display: grid; justify-items: center; }
.made-head .lede { margin-top: 20px; }
.made-title { display: grid; justify-items: center; width: 100%; }
.rotator {
  position: relative; display: block;
  height: 1.14em; width: 100%;
  /* clip top and bottom only, so a long word is never cut off at the sides */
  clip-path: inset(0 -100vw);
}
.rot-word {
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  white-space: nowrap; padding: 0 .06em .1em 0;
  background: var(--grad-ink); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(105%); opacity: 0; filter: blur(8px);
  transition: transform .8s var(--ease-out), opacity .6s, filter .6s;
}
.rot-word.on { transform: none; opacity: 1; filter: none; }
.rot-word.out { transform: translateY(-100%); opacity: 0; filter: blur(8px); }
@media (min-width: 760px) {
  .made-title { display: block; white-space: nowrap; }
  .made-title > span:first-child { margin-right: .24em; }
  .rotator { display: inline-block; vertical-align: top; width: var(--rw, 4.4em); transition: width .7s var(--ease-out); }
  .rot-word { left: 0; translate: none; }
}

.marquee {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; gap: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq-row { display: flex; gap: 20px; width: max-content; padding: 10px 0 24px; animation: marquee 70s linear infinite; }
.mq-row.rev { animation-direction: reverse; animation-duration: 82s; }
.marquee:hover .mq-row, .marquee.paused .mq-row { animation-play-state: paused; }

.ex { flex: none; width: 240px; position: relative; padding-top: 22px; }
.ex-wish {
  position: absolute; top: 0; right: 12px; z-index: 2; max-width: 88%;
  padding: 8px 11px; border-radius: 14px 14px 4px 14px;
  background: var(--wa-out); color: #111B21; font-size: 12.5px; font-weight: 500; line-height: 1.3;
  box-shadow: 0 1px 1px rgba(11, 20, 26, .08), 0 12px 24px -12px rgba(11, 31, 23, .35);
  transition: transform .5s var(--ease-spring);
}
.ex-site {
  border-radius: 20px; overflow: hidden;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(11, 31, 23, .06), 0 28px 50px -30px rgba(11, 31, 23, .45);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.ex:hover .ex-site { transform: translateY(-6px) rotate(-.8deg); box-shadow: 0 0 0 1px rgba(11, 31, 23, .06), 0 40px 60px -30px rgba(11, 31, 23, .5); }
.ex:hover .ex-wish { transform: translateY(-4px) rotate(1.5deg); }
.ex-bar { height: 26px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: color-mix(in srgb, var(--ink) 7%, var(--bg)); font-size: 9.5px; }
.ex-bar i { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, var(--ink) 25%, var(--bg)); }
.ex-bar span { margin: 0 auto; padding-right: 18px; opacity: .6; }
.ex-body { padding: 24px 12px 12px; display: grid; gap: 10px; }
.ex-nav { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.ex-nav b { font-weight: 800; letter-spacing: -.03em; }
.ex-nav span { display: flex; gap: 5px; }
.ex-nav span i { width: 16px; height: 4px; border-radius: 2px; background: currentColor; opacity: .22; }
.ex-hero { position: relative; overflow: hidden; display: grid; gap: 10px; justify-items: start; align-content: end; min-height: 150px; padding: 14px; border-radius: 14px; background: color-mix(in srgb, var(--ac) 15%, var(--bg)); }
.ex-emoji { position: absolute; right: 10px; top: 10px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; background: color-mix(in srgb, var(--ac) 25%, var(--bg)); }
.ex-h { font-size: 19px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 78%; }
.ex-btn { font-size: 10.5px; font-weight: 650; padding: 6px 11px; border-radius: 99px; background: var(--ac); color: var(--bg); }
.ex-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ex-tiles i { height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 7%, var(--bg)); }
.ex-serif .ex-h, .ex-serif .ex-nav b { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; font-weight: 600; letter-spacing: -.015em; }
@media (min-width: 700px) { .ex { width: 268px; } .ex-h { font-size: 21px; } .ex-hero { min-height: 168px; } }

/* ==========================================================================
   PLAYGROUND
   ========================================================================== */
.play { padding-block: var(--section-pad); margin-top: 0; }
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.play-grid > * { min-width: 0; }
.play-preview { order: -1; }
.play-chat {
  border-radius: 28px; overflow: hidden;
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  display: flex; flex-direction: column;
}
.pc-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.pc-head .wa-avatar { background: rgba(255, 255, 255, .08); }
.pc-who { display: grid; line-height: 1.25; }
.pc-who b { font-size: 15px; }
.pc-who small { font-size: 12px; color: var(--fresh); }
.pc-log { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px 14px 8px; height: 148px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px); mask-image: linear-gradient(180deg, transparent, #000 34px); }
.pmsg {
  width: fit-content; max-width: 86%; flex: none;
  padding: 8px 12px; border-radius: 14px; font-size: 14px; line-height: 1.4;
  opacity: 0; transform: translateY(10px) scale(.94);
  transition: opacity .3s, transform .5s var(--ease-spring);
}
.pmsg.show { opacity: 1; transform: none; }
.pmsg.in { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-top-left-radius: 4px; transform-origin: left bottom; }
.pmsg.out { margin-left: auto; background: #0E6B47; color: #fff; border-top-right-radius: 4px; transform-origin: right bottom; }
.pmsg .dots i { background: rgba(234, 246, 239, .6); }
.pc-suggest { padding: 8px 14px 16px; }
.pc-label { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; color: var(--on-dark-muted); margin: 0 2px 10px; }
.pc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 15px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 550; line-height: 1.2;
  color: #E3F9EC;
  background: rgba(34, 197, 94, .1);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .32);
  transition: background-color .25s, box-shadow .25s, transform .3s var(--ease-spring), opacity .3s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { background: rgba(34, 197, 94, .2); }
.chip:active { transform: scale(.96); }
.chip:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.chip-check { width: 0; height: 16px; opacity: 0; stroke-width: 3; margin-left: -8px; transition: width .3s var(--ease-out), opacity .3s, margin .3s; }
.chip[aria-pressed="true"] { background: var(--fresh); color: var(--deep); box-shadow: none; }
.chip[aria-pressed="true"] .chip-check { width: 16px; opacity: 1; margin-left: 0; }
.busy .chip { opacity: .55; cursor: progress; }

.browser-lg { position: relative; inset: auto; width: 100%; height: auto; opacity: 1; transform: none; border-radius: 20px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-lg .br-bar { height: 40px; }
.browser-lg .br-url { height: 26px; font-size: 12px; }
.lview { position: relative; height: 430px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; scroll-behavior: smooth; }
.lview::-webkit-scrollbar { display: none; }
.lview-sweep {
  position: absolute; left: 0; right: 0; top: 0; height: 100%; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, rgba(34, 197, 94, .0) 40%, rgba(110, 231, 183, .55) 49%, rgba(34, 197, 94, 0) 52%, transparent 100%);
  background-size: 100% 220%; background-position: 0 100%;
  opacity: 0;
}
.lview.sweep .lview-sweep { animation: lsweep .9s var(--ease-io) 1; }

.lsite {
  container-type: inline-size; container-name: lsite;
  min-height: 100%;
  background: var(--l-bg); color: var(--l-ink);
  --l-soft: color-mix(in srgb, var(--l-accent) 14%, var(--l-bg));
  transition: --l-bg .9s, --l-ink .9s, --l-card .9s, --l-muted .9s, --l-accent .9s;
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 13px; line-height: 1.4;
}
.lsite.t-dark { --l-bg: #111614; --l-ink: #F1F5F3; --l-card: #1A211E; --l-muted: #9BA8A2; }
.lsite.t-pink { --l-accent: #DB4F8B; }
.lsite.t-dark.t-pink { --l-accent: #F472B6; }
.lsite.t-dark:not(.t-pink) { --l-accent: #5CC4AE; }
.l-nav { display: flex; align-items: center; gap: 12px; }
.l-logo { font-weight: 800; font-size: 19px; letter-spacing: -.04em; }
.l-logo i { font-style: normal; color: var(--l-accent); }
.l-links { display: none; gap: 16px; margin-left: auto; font-size: 12.5px; color: var(--l-muted); }
.l-links i { font-style: normal; }
.l-book { margin-left: auto; padding: 7px 13px; border-radius: 99px; font-size: 12px; font-weight: 650; background: var(--l-ink); color: var(--l-bg); }
.l-hero { display: grid; gap: 14px; padding: 22px 18px; border-radius: 20px; background: var(--l-soft); overflow: hidden; position: relative; }
.l-kicker { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--l-accent); background: color-mix(in srgb, var(--l-bg) 70%, transparent); padding: 4px 10px; border-radius: 99px; }
.l-h { display: block; margin: 12px 0 8px; font-size: 34px; font-weight: 800; letter-spacing: -.045em; line-height: 1; transition: letter-spacing .4s; }
.l-h em { font-style: normal; color: var(--l-accent); }
.l-p { display: block; color: var(--l-muted); max-width: 22em; }
.l-cta { display: inline-block; margin-top: 14px; padding: 9px 16px; border-radius: 99px; font-size: 12.5px; font-weight: 650; background: var(--l-accent); color: #fff; }
.l-art { position: relative; height: 128px; display: grid; place-items: center; }
.l-orb { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 32% 30%, color-mix(in srgb, #fff 80%, var(--l-accent)), var(--l-accent)); opacity: .85; animation: blob 10s ease-in-out infinite; }
.l-emoji { position: relative; font-size: 52px; }
.l-tag { position: absolute; right: 0; bottom: 4px; font-size: 11px; font-weight: 650; padding: 6px 10px; border-radius: 99px; background: var(--l-card); color: var(--l-ink); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .4); }
.l-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.l-card { display: grid; gap: 2px; padding: 12px; border-radius: 16px; background: var(--l-card); box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 10px 20px -16px rgba(0, 0, 0, .3); }
.l-card span { font-size: 20px; }
.l-card b { font-size: 12px; font-weight: 650; margin-top: 4px; }
.l-card small { font-size: 11px; color: var(--l-muted); }
.l-extra { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -16px; transition: grid-template-rows .7s var(--ease-out), opacity .5s, margin-top .7s var(--ease-out); }
.lx-clip { min-height: 0; overflow: hidden; }
.lsite.x-hours [data-x="hours"], .lsite.x-gallery [data-x="gallery"] { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }
.l-sub { display: block; font-size: 15px; font-weight: 750; letter-spacing: -.02em; margin-bottom: 10px; }
.l-hours { padding: 16px; border-radius: 18px; background: var(--l-card); }
.l-hours ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.l-hours li { display: flex; justify-content: space-between; font-size: 12.5px; padding-bottom: 7px; border-bottom: 1px dashed color-mix(in srgb, var(--l-ink) 14%, transparent); }
.l-hours li:last-child { border: 0; padding-bottom: 0; }
.l-hours li span:last-child { color: var(--l-muted); }
.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.l-grid span { aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(140deg, var(--l-soft), color-mix(in srgb, var(--l-accent) 36%, var(--l-bg))); }
.l-grid span:nth-child(even) { background: linear-gradient(140deg, color-mix(in srgb, var(--l-accent) 26%, var(--l-bg)), var(--l-card)); }
.l-foot { margin-top: auto; padding-top: 6px; font-size: 11px; color: var(--l-muted); text-align: center; }
.lsite.t-serif .l-h, .lsite.t-serif .l-logo, .lsite.t-serif .l-sub, .lsite.t-serif .l-card b {
  font-family: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-weight: 500; letter-spacing: -.02em;
}
.lsite.t-serif .l-h em { font-style: italic; }
@container lsite (min-width: 520px) {
  .l-links { display: flex; }
  .l-book { margin-left: 18px; }
  .l-hero { grid-template-columns: 1.25fr .75fr; align-items: center; padding: 34px 30px; }
  .l-h { font-size: 46px; }
  .l-art { height: 190px; }
  .l-orb { width: 160px; height: 160px; }
  .l-emoji { font-size: 64px; }
  .l-grid { grid-template-columns: repeat(6, 1fr); }
  .lsite { padding: 20px 26px 24px; gap: 18px; }
}

/* Mobile: preview → swipeable message chips → replies, all on one screen */
@media (max-width: 959px) {
  .play-chat { display: contents; }
  .pc-head { display: none; }
  .pc-suggest { order: 1; padding: 4px 0 0; }
  .pc-label { text-align: center; }
  .pc-chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--gutter), #000 calc(100% - 28px), transparent);
  }
  .pc-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
  .pc-log {
    order: 2; height: 124px; padding: 10px 12px;
    border-radius: 22px; background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    -webkit-mask-image: none; mask-image: none;
  }
  .pmsg { font-size: 13.5px; padding: 7px 11px; }
  .lview { height: 340px; }
}

.play-foot { margin-top: clamp(48px, 6vw, 72px); display: grid; justify-items: center; gap: 22px; text-align: center; }
.play-foot p { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; letter-spacing: -.025em; color: var(--on-dark); }

@media (min-width: 960px) {
  .play-grid { grid-template-columns: 390px 1fr; gap: 24px; align-items: stretch; }
  .play-preview { order: 0; }
  .pc-log { flex: 1; height: auto; min-height: 240px; padding: 18px 18px 10px; }
  .pc-suggest { padding: 10px 18px 20px; }
  .lview { height: 560px; }
}

/* ==========================================================================
   BENTO
   ========================================================================== */
.bento-sec { padding-block: var(--section-pad); }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.bc {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  min-height: 380px; padding: 26px;
  border-radius: 30px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -48px rgba(11, 31, 23, .4);
  transition: transform .6s var(--ease-out), box-shadow .6s;
}
.bc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 197, 94, .11), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.bc:hover::before { opacity: 1; }
.bc-vis { position: relative; flex: 1; display: grid; place-items: center; min-height: 190px; }
.bc-copy h3 { font-size: clamp(22px, 2.1vw, 26px); font-weight: 720; letter-spacing: -.03em; line-height: 1.15; }
.bc-copy p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 34em; }

/* A: code → chat */
.ctc { display: grid; place-items: center; width: 100%; }
.ctc > * { grid-area: 1 / 1; }
.ctc-code { display: grid; gap: 6px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: #6B7A74; }
.ctc-code span { position: relative; width: fit-content; opacity: 0; animation: codeLine 8s var(--ease-out) infinite; animation-delay: calc(var(--i) * .12s); white-space: nowrap; }
.ctc-code b { font-weight: 500; color: #C2410C; }
.ctc-code span::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; border-radius: 2px; background: #EF4444; transform-origin: left; transform: scaleX(0); animation: strike 8s var(--ease-out) infinite; animation-delay: calc(var(--i) * .12s); }
.ctc-chat { display: grid; justify-items: center; gap: 14px; }
.ctc-bubble { max-width: 280px; padding: 12px 15px; border-radius: 18px 18px 5px 18px; background: var(--wa-out); color: #111B21; font-size: 16px; font-weight: 500; line-height: 1.35; box-shadow: 0 20px 40px -20px rgba(11, 31, 23, .45); animation: ctcIn 8s var(--ease-out) infinite; }
.ctc-caption { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 650; color: var(--fresh-ink); animation: ctcCap 8s var(--ease-out) infinite; }
.ctc-caption svg { width: 16px; height: 16px; }

/* B: ready ring */
.ring { position: relative; width: 168px; height: 168px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 10; }
.ring-bg { stroke: #E8F5EE; }
.ring-fg { stroke: url(#g-ring); stroke-linecap: round; stroke-dasharray: 326.73; stroke-dashoffset: 0; animation: ringFill 6s var(--ease-out) infinite; }
.ring-center { position: absolute; inset: 0; display: grid; place-items: center; }
.ring-center > * { grid-area: 1 / 1; }
.ring-pct { font-size: 34px; font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; counter-reset: n var(--n); opacity: 0; animation: count 6s var(--ease-out) infinite, pctFade 6s linear infinite; }
.ring-pct::after { content: counter(n) "%"; }
.ring-done { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--fresh); color: var(--deep); font-weight: 700; font-size: 15px; animation: donePop 6s var(--ease-out) infinite; }
.ring-done .i { width: 17px; height: 17px; stroke-width: 3; }

/* C: devices */
.devices { display: grid; justify-items: center; gap: 18px; }
.dev { width: 96px; height: 176px; border-radius: 18px; border: 6px solid var(--deep); background: var(--deep); overflow: hidden; animation: morph 9s var(--ease-io) infinite; box-shadow: 0 30px 50px -30px rgba(11, 31, 23, .6); }
.dev-screen { container-type: inline-size; height: 100%; border-radius: 12px; overflow: hidden; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: #F3FBF6; }
.dv-nav { flex: none; height: 7px; width: 42%; border-radius: 4px; background: var(--deep); }
.dv-hero { flex: none; display: grid; gap: 4px; padding: 9px 8px; border-radius: 8px; background: linear-gradient(135deg, #A7F3D0, #22C55E); }
.dv-hero i { height: 6px; border-radius: 3px; background: rgba(11, 31, 23, .7); width: 80%; }
.dv-hero i + i { width: 50%; background: rgba(255, 255, 255, .8); }
.dv-grid { flex: 1; display: grid; grid-template-columns: 1fr; gap: 5px; }
.dv-grid i { border-radius: 6px; background: #DCEFE4; }
@container (min-width: 140px) { .dv-grid { grid-template-columns: 1fr 1fr; } .dv-grid i:last-child { grid-column: span 2; } }
@container (min-width: 210px) { .dv-grid { grid-template-columns: repeat(3, 1fr); } .dv-grid i:last-child { grid-column: auto; } .dv-hero { padding: 12px; } }
.dev-labels { display: flex; gap: 6px; font-size: 12.5px; font-weight: 600; }
.dev-labels span { padding: 5px 10px; border-radius: 99px; color: var(--muted); animation: devLabel 9s var(--ease-io) infinite; }
.dev-labels span:nth-child(2) { animation-delay: 3s; }
.dev-labels span:nth-child(3) { animation-delay: 6s; }

/* D: changes */
.changes { width: 100%; display: grid; gap: 16px; align-items: center; }
.ch-chat { display: grid; min-height: 104px; }
.cpair { grid-area: 1 / 1; display: grid; gap: 8px; align-content: center; }
.cb { width: fit-content; max-width: 260px; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; font-weight: 500; opacity: 0; box-shadow: 0 12px 26px -18px rgba(11, 31, 23, .45); }
.cb.out { margin-left: auto; background: var(--wa-out); border-bottom-right-radius: 5px; animation: cOut 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--k) * 3s); }
.cb.in { background: #F1F4F2; border-bottom-left-radius: 5px; animation: cIn 9s var(--ease-out) infinite backwards; animation-delay: calc(var(--k) * 3s); }
.mini-site { border-radius: 16px; overflow: hidden; background: #FFFDF8; box-shadow: inset 0 0 0 1px var(--line), 0 24px 40px -30px rgba(11, 31, 23, .5); }
.ms-bar { display: flex; gap: 4px; padding: 8px 10px; background: #F2F4F3; }
.ms-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D4DAD7; }
.ms-photo { position: relative; height: 96px; display: grid; place-items: center; background: linear-gradient(135deg, #FDE6CF, #FFF2D6); }
.ph { grid-area: 1 / 1; font-size: 44px; }
.p1 { animation: ph1 9s var(--ease-out) infinite; }
.p2 { opacity: 0; animation: ph2 9s var(--ease-out) infinite; }
.ms-banner { margin: 10px 10px 0; padding: 8px 10px; border-radius: 10px; background: #FEF3C7; color: #78350F; font-size: 12.5px; font-weight: 650; animation: msBanner 9s var(--ease-out) infinite; }
.ms-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px; font-size: 12.5px; }
.ms-num { display: grid; }
.ms-num > span { grid-area: 1 / 1; text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.n1 { animation: n1 9s var(--ease-out) infinite; }
.n2 { opacity: 0; color: var(--fresh-ink) !important; font-weight: 650; animation: n2 9s var(--ease-out) infinite; }

/* E: share */
.bc-e .bc-copy .cta { margin-top: 26px; }
.share { position: relative; width: 280px; height: 220px; display: grid; place-items: center; }
.ring-pulse { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(34, 197, 94, .5); animation: pulseOut 3.6s var(--ease-out) infinite; }
.ring-pulse.r2 { animation-delay: 1.2s; }
.ring-pulse.r3 { animation-delay: 2.4s; }
.link-pill { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--deep); color: #fff; font-weight: 650; font-size: 15px; box-shadow: 0 20px 40px -18px rgba(11, 31, 23, .7); }
.link-pill .i { width: 18px; height: 18px; color: var(--fresh); }
.orbit { position: absolute; inset: 0; animation: spin360 24s linear infinite; }
.orbit span { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; }
.orbit i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; font-style: normal; font-size: 21px; box-shadow: inset 0 0 0 1px var(--line), 0 12px 24px -14px rgba(11, 31, 23, .5); animation: spin360 24s linear infinite reverse; }
.o1 { transform: translate(0, -96px); }
.o2 { transform: translate(124px, 0); }
.o3 { transform: translate(0, 96px); }
.o4 { transform: translate(-124px, 0); }

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bc-a, .bc-d, .bc-e { grid-column: span 2; }
  .bc { padding: 32px; }
  .changes { grid-template-columns: 1fr 240px; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bc-a { grid-column: span 2; }
  .bc-b { grid-column: span 1; }
  .bc-c { grid-column: span 1; }
  .bc-d { grid-column: span 2; }
  .bc-e { grid-column: span 3; flex-direction: row; align-items: center; min-height: 340px; padding: 44px 48px; }
  .bc-e .bc-copy { max-width: 520px; }
  .bc-e .bc-copy h3 { font-size: 36px; letter-spacing: -.04em; }
  .bc-e .bc-copy p { font-size: 17px; }
  .bc-e .bc-vis { flex: none; width: 420px; }
  .share { width: 380px; }
  .o2 { transform: translate(160px, 0); }
  .o4 { transform: translate(-160px, 0); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding-block: 0 var(--section-pad); }
.faq-grid { display: grid; gap: 40px; }
.faq-head .lede { margin: 18px 0 28px; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { font-size: inherit; font-weight: inherit; }
.qa button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px;
  font-size: clamp(17px, 1.7vw, 20px); font-weight: 620; letter-spacing: -.018em; line-height: 1.3;
  transition: color .25s;
}
.qa button:hover { color: var(--fresh-ink); }
.qa button:focus-visible { outline: 3px solid var(--fresh); outline-offset: 2px; border-radius: 10px; }
.qa-icon { position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .3s, transform .5s var(--ease-spring); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
.qa-icon::after { transform: rotate(90deg); }
.qa.open .qa-icon { background: var(--fresh); transform: rotate(180deg); color: var(--deep); box-shadow: none; }
.qa.open .qa-icon::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease-out); }
.qa-a > div { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .55s; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa.open .qa-a > div { visibility: visible; transition-delay: 0s; }
.qa-a p { padding: 0 52px 24px 4px; color: var(--muted); font-size: 16.5px; line-height: 1.6; max-width: 40em; }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 1fr 1.35fr; gap: 80px; align-items: start; }
  .faq-head { position: sticky; top: 120px; }
}

/* ==========================================================================
   FINAL CTA + FOOTER
   ========================================================================== */
.endcap { border-bottom-left-radius: 0; border-bottom-right-radius: 0; margin-bottom: 0; }
.final { position: relative; padding-block: var(--section-pad) clamp(80px, 10vw, 140px); text-align: center; isolation: isolate; }
.final-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.final-rays {
  position: absolute; left: 50%; top: 32%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px;
  background: repeating-conic-gradient(from 0deg, rgba(167, 243, 208, .075) 0deg 5deg, transparent 5deg 15deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 70%);
  mask-image: radial-gradient(closest-side, #000 8%, transparent 70%);
  animation: spin360 120s linear infinite;
}
.final-glow { position: absolute; left: 50%; top: 30%; width: 900px; height: 700px; margin: -350px 0 0 -450px; background: radial-gradient(closest-side, rgba(34, 197, 94, .26), transparent 72%); }
.motes i {
  position: absolute; left: var(--x); bottom: -24px; width: var(--s); height: var(--s);
  background: var(--mint);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  opacity: 0;
  animation: rise var(--t) linear infinite; animation-delay: var(--dl);
}
.final-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; }
.final-spark { width: clamp(84px, 11vw, 132px); margin-bottom: 36px; position: relative; }
.final-spark::before { content: ""; position: absolute; inset: -60%; z-index: -1; background: radial-gradient(closest-side, rgba(34, 197, 94, .5), rgba(45, 212, 191, .16) 50%, transparent 72%); animation: glowPulse 5s ease-in-out infinite; }
.final-spark svg { width: 100%; height: auto; animation: sparkFloat 7s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(34, 197, 94, .35)); }
.final .h1 { color: #fff; }
.final .lede { margin-top: 22px; }
.composer {
  margin: 40px 0 26px; width: min(540px, 100%);
  display: flex; align-items: center; gap: 8px;
  padding: 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .6);
  text-decoration: none; color: var(--on-dark);
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s, box-shadow .3s;
}
.composer:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .4), 0 30px 60px -30px rgba(0, 0, 0, .6); }
.cm-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding-left: 12px; font-size: 15.5px; text-align: left; }
.cm-field .i { color: rgba(234, 246, 239, .5); }
.cm-text { white-space: nowrap; overflow: hidden; text-overflow: clip; min-width: 0; }
.cm-caret { flex: none; width: 2px; height: 20px; margin-left: -8px; border-radius: 1px; background: var(--fresh); animation: caret 1s steps(1) infinite; }
.cm-send { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--fresh); color: var(--deep); transition: transform .4s var(--ease-spring); }
.cm-send svg { width: 20px; height: 20px; fill: currentColor; }
.composer:hover .cm-send { transform: rotate(-20deg) scale(1.06); }
.final-note { margin-top: 20px; font-size: 14.5px; color: var(--on-dark-muted); text-wrap: balance; }
.lede { text-wrap: pretty; }

.footer { position: relative; padding: 0 0 max(32px, env(safe-area-inset-bottom)); }
.foot {
  display: grid; justify-items: center; gap: 18px; text-align: center;
  padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.lockup-foot { font-size: 34px; color: #fff; }
.foot-tag { font-size: 15px; font-weight: 600; color: var(--on-dark); }
.foot-tag span { color: var(--fresh); }
.foot-links { display: flex; gap: 4px; }
.foot-links a { padding: 8px 12px; border-radius: 99px; font-size: 14px; color: var(--on-dark-muted); text-decoration: none; transition: color .2s, background-color .2s; }
.foot-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.foot-copy { font-size: 13px; color: rgba(234, 246, 239, .45); }
@media (min-width: 900px) {
  .foot { grid-template-columns: auto 1fr auto; text-align: left; justify-items: start; align-items: center; gap: 12px 32px; }
  .foot-tag { justify-self: start; }
  .foot-links { justify-self: end; }
  .foot-copy { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- Toast + burst ---------- */
.toast {
  position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100% - 32px);
  padding: 13px 18px 13px 14px; border-radius: 18px;
  background: var(--deep); color: #fff; font-size: 14.5px; font-weight: 500;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translate(-50%, 140%); opacity: 0;
  transition: transform .6s var(--ease-spring), opacity .3s;
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 22px; height: 22px; flex: none; }
.burst { position: fixed; z-index: 95; pointer-events: none; left: 0; top: 0; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
@media (min-width: 900px) and (hover: hover) { .js [data-reveal="blur"] { filter: blur(10px); } }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- Scroll-linked motion ----------
   Where supported these run in lockstep with scrolling on the compositor, so
   they can't lag or stutter. Elsewhere main.js applies a lighter fallback. */
@supports (animation-timeline: scroll()) {
  .hero-content {
    animation: heroOut linear both;
    animation-timeline: scroll(root);
    animation-range: 0 90vh;
  }
  .wish {
    animation: wishDrift linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  .statement-text { view-timeline-name: --statement; }
  .statement-text .w {
    animation: wordLit linear both;
    animation-timeline: --statement;
    animation-range: cover calc(15% + var(--i, 0) * 3.5%) cover calc(21% + var(--i, 0) * 3.5%);
  }
  .statement-text .w.hl { animation-name: wordLitHl; }
}
@keyframes heroOut { to { translate: 0 20vh; opacity: .1; } }
@keyframes wishDrift { to { translate: 0 calc(var(--d) * var(--dir) * 34vh); opacity: 0; } }
/* Top bubbles drift up, bottom ones drift down, so neither crosses the hero text */
.wish-1, .wish-2, .wish-3 { --dir: -1; }
.wish-4, .wish-5, .wish-6 { --dir: 1; }
@keyframes wordLit { from { color: rgba(11, 31, 23, .13); } to { color: var(--deep); } }
@keyframes wordLitHl { from { color: rgba(11, 31, 23, .13); background-size: 0% 100%; } to { color: transparent; background-size: 100% 100%; } }

/* ---------- Keyframes ---------- */
@keyframes haloBreathe { 0%, 100% { transform: scale(.97); } 50% { transform: scale(1.04, 1.12); } }
@keyframes spin360 { to { transform: rotate(360deg); } }
@keyframes shine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
@keyframes drift1 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(7vmax, 5vmax, 0) scale(1.08); } 100% { transform: translate3d(-3vmax, 8vmax, 0) scale(.95); } }
@keyframes drift2 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8vmax, 6vmax, 0) scale(1.12); } 100% { transform: translate3d(-2vmax, -3vmax, 0) scale(1); } }
@keyframes drift3 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(10vmax, -6vmax, 0) scale(1.1); } 100% { transform: translate3d(4vmax, -2vmax, 0) scale(.96); } }
@keyframes sparkFloat { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-4%) rotate(4deg); } }
@keyframes glowPulse { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes glint { 0%, 70%, 100% { transform: scale(0) rotate(0deg); } 78% { transform: scale(1.1) rotate(45deg); } 86% { transform: scale(0) rotate(90deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.8); opacity: 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@keyframes blink { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes sweep { 0% { transform: translateY(-100%); } 100% { transform: translateY(520px); } }
@keyframes sweepOnce { 0% { opacity: 1; transform: translateY(-100%); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(520px); } }
@keyframes lsweep { 0% { opacity: 1; background-position: 0 100%; } 100% { opacity: 1; background-position: 0 -10%; } }
@keyframes skel { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes emptyPulse { 0%, 100% { transform: scale(.9) rotate(0deg); opacity: .55; } 50% { transform: scale(1.05) rotate(20deg); opacity: 1; } }
@keyframes blob { 0%, 100% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(24deg) scale(1.05); } }
@keyframes bannerSwap { 0% { transform: scale(.96); } 60% { transform: scale(1.02); } 100% { transform: none; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
@keyframes codeLine { 0% { opacity: 0; transform: translateX(-8px); } 7%, 38% { opacity: 1; transform: none; filter: none; } 47%, 100% { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
@keyframes strike { 0%, 24% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
@keyframes ctcIn { 0%, 46% { opacity: 0; transform: translateY(18px) scale(.88); } 54% { opacity: 1; transform: translateY(-3px) scale(1.03); } 58%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes ctcCap { 0%, 58% { opacity: 0; transform: translateY(8px); } 64%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ringFill { 0% { stroke-dashoffset: 326.73; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes count { 0% { --n: 0; } 55%, 100% { --n: 100; } }
@keyframes pctFade { 0%, 54% { opacity: 1; transform: none; } 60%, 100% { opacity: 0; transform: scale(.7); } }
@keyframes donePop { 0%, 56% { opacity: 0; transform: scale(.6); } 63% { opacity: 1; transform: scale(1.08); } 67%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.9); } }
@keyframes morph {
  0%, 26% { width: 96px; height: 176px; border-radius: 18px; }
  33%, 59% { width: 172px; height: 200px; border-radius: 16px; }
  66%, 93% { width: 250px; height: 156px; border-radius: 12px; }
  100% { width: 96px; height: 176px; border-radius: 18px; }
}
@keyframes devLabel { 0%, 30% { background: var(--deep); color: #fff; } 33.4%, 100% { background: transparent; color: var(--muted); } }
@keyframes cOut { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 4%, 30% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes cIn { 0%, 9% { opacity: 0; transform: translateY(14px) scale(.94); } 13%, 30% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes msBanner { 0%, 12% { opacity: 0; transform: translateY(-6px) scale(.96); } 15%, 95% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes n1 { 0%, 45% { opacity: 1; } 48%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes n2 { 0%, 45% { opacity: 0; transform: translateY(6px); } 48%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ph1 { 0%, 78% { opacity: 1; transform: none; } 81%, 96% { opacity: 0; transform: scale(.6) rotate(-20deg); } 100% { opacity: 1; } }
@keyframes ph2 { 0%, 78% { opacity: 0; transform: scale(.6) rotate(20deg); } 82%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pulseOut { 0% { transform: scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes rise { 0% { transform: translateY(0) scale(.5) rotate(0deg); opacity: 0; } 12% { opacity: .9; } 85% { opacity: .5; } 100% { transform: translateY(-88vh) scale(1) rotate(200deg); opacity: 0; } }
@keyframes caret { 50% { opacity: 0; } }

/* Pause looping visuals while they're off screen */
[data-bento]:not(.anim-on) *, [data-bento]:not(.anim-on) { animation-play-state: paused !important; }
.final:not(.anim-on) .motes i, .final:not(.anim-on) .final-rays { animation-play-state: paused; }
.hero.offscreen .aurora i, .hero.offscreen .wf { animation-play-state: paused; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-reveal="blur"] { opacity: 1; transform: none; filter: none; }
  .js .lockup-hero .lockup-spark, .js .lockup-hero .wordmark, .js .hero-title .ht-line, .js .hero-sub, .js .hero-cta, .js .wb, .js .scroll-cue { opacity: 1; transform: none; filter: none; }
  .lview { scroll-behavior: auto; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .mq-row { padding-inline: 16px; }
  .statement-text .w { color: var(--deep); }
  .statement-text .w.hl { color: transparent; background-size: 100% 100%; }
  /* Static end-states for the looping bento visuals */
  .ctc-code { display: none; }
  .ring-pct { display: none; }
  .ring-fg { stroke-dashoffset: 0; }
  .cpair:first-child .cb { opacity: 1; }
  .p2, .n2 { opacity: 0; }
  .ms-banner { opacity: 1; }
  .glint { display: none; }
  .motes { display: none; }
}
