/* critical-home.css — ATF only. Re-concat after editing variables/reset/layout/navbar/hero. */

/* ===== variables.css ===== */
:root {
  /* Surfaces — near-black, layered */
  --color-bg: #050507;
  --color-bg-elevated: #0a0a0d;
  --color-bg-subtle: #101014;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-surface-hover: rgba(255, 255, 255, 0.055);
  --color-surface-strong: rgba(255, 255, 255, 0.075);
  --color-glass: rgba(12, 12, 16, 0.65);
  --color-glass-strong: rgba(10, 10, 14, 0.82);

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.075);
  --color-border-hover: rgba(255, 255, 255, 0.14);
  --color-border-strong: rgba(255, 255, 255, 0.2);

  /* Text — Apple/Linear greys */
  --color-text: #f4f4f5;
  --color-text-secondary: rgba(244, 244, 245, 0.64);
  --color-text-muted: rgba(244, 244, 245, 0.4);

  /* Accent — soft emerald, contrasts logo magenta */
  --color-accent: #3ddc97;
  --color-accent-soft: rgba(61, 220, 151, 0.12);
  --color-accent-glow: rgba(61, 220, 151, 0.22);
  --color-accent-hover: #5ae5a9;
  --color-accent-deep: #22c47e;
  --color-link: #3ddc97;
  --color-success: #3ddc97;
  --color-white: #ffffff;
  --color-black: #050507;

  /* Brand — hot pink / power from logo */
  --color-brand: #e8457a;
  --color-brand-soft: rgba(232, 69, 122, 0.14);
  --color-brand-glow: rgba(232, 69, 122, 0.35);
  --color-brand-bright: #ff4d8d;

  /* Typography — system UI first (no third-party webfont on critical path).
     Comfortaa remains for mascot bubble only (local woff2). */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-mascot: "Comfortaa", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.875rem, 3.6vw, 2.75rem);
  --text-4xl: clamp(2.25rem, 5vw, 3.5rem);
  --text-hero: clamp(2.75rem, 6.2vw, 4.75rem);

  --leading-tight: 1.02;
  --leading-snug: 1.4;
  --leading-normal: 1.55;
  --tracking-tight: -0.035em;
  --tracking-display: -0.045em;
  --tracking-wide: 0.12em;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;
  --section-space: clamp(5.5rem, 11vw, 8.5rem);

  --container-max: 1120px;
  --container-wide: 1240px;
  --container-padding: 1.5rem;
  --navbar-height: 80px;
  --navbar-offset: 0px;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 80px var(--color-accent-glow);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.15, 0.64, 1);
  --duration-fast: 160ms;
  --duration-normal: 280ms;
  --duration-slow: 480ms;
  --duration-slower: 720ms;

  --z-progress: 120;
  --z-navbar: 100;
  --z-overlay: 90;
  --z-modal: 110;
  --z-float: 50;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
    --navbar-height: 92px;
    --navbar-offset: 18px;
  }
}

@media (min-width: 1200px) {
  :root {
    --container-max: 1160px;
    --container-wide: 1280px;
  }
}

/* ===== reset.css ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  overscroll-behavior-x: none;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

::selection {
  background: var(--color-accent-soft);
  color: var(--color-text);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ===== layout.css ===== */
.container {
  width: min(100% - var(--container-padding) * 2, var(--container-max));
  margin-inline: auto;
}

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

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

.skip-link {
  position: absolute;
  top: var(--space-1);
  left: var(--space-1);
  z-index: calc(var(--z-modal) + 1);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-accent);
  color: var(--color-black);
  font-size: var(--text-sm);
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform var(--duration-normal) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-progress);
  width: 100%;
  height: 1.5px;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent-deep), var(--color-accent));
  box-shadow: 0 0 10px var(--color-accent-glow);
  will-change: width;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out),
    background-color var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    color var(--duration-normal) var(--ease-out),
    opacity var(--duration-normal) var(--ease-out);
}

.btn::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.16) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-out);
  content: "";
  pointer-events: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--color-white);
  color: #0a0a0c;
  box-shadow: var(--shadow-sm), var(--shadow-inset);
}

.btn--secondary {
  border-color: var(--color-border-hover);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--accent {
  background: linear-gradient(180deg, #5ae5a9 0%, var(--color-accent) 100%);
  color: #04140c;
  box-shadow:
    0 0 0 1px rgba(61, 220, 151, 0.28),
    0 8px 24px var(--color-accent-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-secondary);
}

.btn--link {
  min-height: auto;
  padding: 0.35rem 0.15rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-link);
  font-weight: 500;
}

.btn--link::before {
  display: none;
}

.btn--sm {
  min-height: 36px;
  padding: 0 0.95rem;
  font-size: 0.8125rem;
}

.btn--sm svg {
  width: 14px;
  height: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover::before {
    transform: translateX(120%);
  }

  .btn--primary:hover {
    box-shadow: var(--shadow-md), var(--shadow-inset);
  }

  .btn--secondary:hover {
    border-color: var(--color-border-strong);
    background: rgba(255, 255, 255, 0.06);
  }

  .btn--accent:hover {
    background: linear-gradient(180deg, #7aedbb 0%, var(--color-accent-hover) 100%);
  }

  .btn--ghost:hover,
  .btn--link:hover {
    opacity: 0.8;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  content: "";
}

.section {
  position: relative;
  padding: var(--section-space) 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .eyebrow {
  justify-content: center;
}

.section-header--center .eyebrow::before {
  display: none;
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}

.section-desc {
  margin-top: 1rem;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: var(--leading-snug);
  text-wrap: pretty;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.75rem;
}

.section-cta--center {
  justify-content: center;
}

/* ===== navbar.css ===== */
/* Floating header — no capsule; Apple / Linear */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-navbar);
  width: 100%;
  height: var(--navbar-height);
  border: none;
  border-radius: 0;
  background: transparent;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transform: translateY(0);
  transition:
    transform 0.35s var(--ease-out),
    background-color var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out);
}

.navbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: transparent;
  transition: background-color var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.navbar.is-scrolled {
  background: rgba(5, 5, 7, 0.62);
  box-shadow: none;
}

.navbar.is-scrolled::after {
  background: rgba(255, 255, 255, 0.06);
}

.navbar.is-hidden {
  transform: translateY(calc(-100% - 4px));
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding: 0 var(--container-padding);
  gap: 1.25rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.navbar__logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
  object-position: left center;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.navbar__logo:hover .navbar__logo-img {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .navbar__logo-img {
    height: 82px;
    max-width: 390px;
  }
}

@media (min-width: 1100px) {
  .navbar__logo-img {
    height: 92px;
    max-width: 440px;
  }
}

.navbar__nav {
  position: relative;
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.navbar__indicator {
  display: none;
}

.navbar__link {
  position: relative;
  z-index: 1;
  padding: 0.5rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--duration-fast) var(--ease-out);
}

.navbar__link.is-active,
.navbar__link[aria-current="page"] {
  color: var(--color-text);
}

@media (hover: hover) and (pointer: fine) {
  .navbar__link:hover {
    color: var(--color-text);
  }
}

.navbar__actions {
  display: none;
  align-items: center;
}

.navbar__toggle {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text);
}

.navbar__toggle-icon,
.navbar__toggle-icon::before,
.navbar__toggle-icon::after {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--duration-normal) var(--ease-out), opacity var(--duration-fast);
}

.navbar__toggle-icon {
  position: relative;
}

.navbar__toggle-icon::before,
.navbar__toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.navbar__toggle-icon::before { top: -5px; }
.navbar__toggle-icon::after { top: 5px; }

.navbar.is-open .navbar__toggle-icon {
  background: transparent;
}

.navbar.is-open .navbar__toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.navbar.is-open .navbar__toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.navbar__mobile {
  position: absolute;
  top: 100%;
  left: var(--container-padding);
  right: var(--container-padding);
  display: none;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-glass-strong);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: var(--shadow-lg);
}

.navbar.is-open .navbar__mobile {
  display: block;
}

.navbar__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.navbar__mobile-link {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color var(--duration-fast), color var(--duration-fast);
}

.navbar__mobile-link:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

body.navbar-open {
  overflow: hidden;
}

@media (min-width: 900px) {
  .navbar__nav {
    display: flex;
  }

  .navbar__actions {
    display: flex;
  }

  .navbar__toggle {
    display: none;
  }

  .navbar__mobile {
    display: none !important;
  }
}

/* ===== hero.css ===== */
/* Hero — brand power mark identity */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding:
    calc(var(--navbar-height) + clamp(1.5rem, 4vw, 2.75rem))
    0
    clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  contain: paint;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform, opacity;
}

.hero__glow--1 {
  top: -12%;
  right: 5%;
  width: min(480px, 52vw);
  height: min(480px, 52vw);
  background: rgba(232, 69, 122, 0.16);
  animation: glow-drift 16s ease-in-out infinite;
}

.hero__glow--2 {
  bottom: 0;
  left: -10%;
  width: min(400px, 48vw);
  height: min(400px, 48vw);
  background: rgba(61, 220, 151, 0.06);
  animation: glow-drift 18s ease-in-out infinite reverse;
}

.hero__glow--3 {
  top: 45%;
  left: 42%;
  width: min(260px, 36vw);
  height: min(260px, 36vw);
  background: rgba(255, 255, 255, 0.03);
  filter: blur(70px);
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.75; }
  50% { transform: translate(3%, -4%) scale(1.06); opacity: 1; }
}

.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero__title {
  margin: 0.65rem 0 0;
  font-size: var(--text-hero);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-display);
  color: var(--color-text);
  text-wrap: balance;
}

.hero__title-accent {
  color: var(--color-accent);
}

.hero__subtitle {
  margin-top: 1.15rem;
  max-width: 30rem;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: var(--leading-snug);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  margin-top: 1.75rem;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 560;
  text-decoration: none;
  transition: color var(--duration-fast, 0.15s) ease;
}

.hero__rating:hover {
  color: var(--color-text);
}

.hero__rating-stars {
  color: #fbbc04;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  line-height: 1;
}

.hero__rating-score {
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.hero__rating-meta {
  color: var(--color-text-muted);
}

.hero__open,
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.hero__trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero__open-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.45);
  animation: open-pulse 2.2s ease-out infinite;
}

.hero__open.is-closed .hero__open-dot {
  background: var(--color-brand);
  box-shadow: 0 0 0 0 rgba(232, 69, 122, 0.45);
  animation-name: open-pulse-closed;
}

@keyframes open-pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

@keyframes open-pulse-closed {
  0% { box-shadow: 0 0 0 0 rgba(232, 69, 122, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(232, 69, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 69, 122, 0); }
}


/* Mascot stage */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 340px;
}

.hero__stage {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  will-change: transform;
  animation: mascot-float 6.5s ease-in-out infinite;
}

.hero__stage > * {
  grid-area: 1 / 1;
}

.hero__stage-glow {
  position: absolute;
  /* Centered on magenta torso, not full SVG (arms widen the artboard) */
  width: 76%;
  height: 76%;
  left: 5%;
  top: 13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 0, 76, 0.38), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  animation: mascot-glow 5s ease-in-out infinite;
}

/* Ambient rings/sparks — anchored to magenta body */
.hero__ambient {
  position: absolute;
  width: 90%;
  height: 90%;
  left: -2%;
  top: 6%;
  pointer-events: none;
  z-index: 0;
}

.hero__ring {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1.5px solid rgba(229, 0, 76, 0.42);
  box-shadow: 0 0 18px rgba(229, 0, 76, 0.18);
  animation: ambient-ring 6.5s ease-in-out infinite;
}

.hero__ring--2 {
  inset: 6%;
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
  animation-duration: 8.5s;
  animation-delay: -2.2s;
}

.hero__ring--3 {
  inset: -8%;
  border-color: rgba(61, 220, 151, 0.28);
  animation-duration: 10s;
  animation-delay: -4s;
}

.hero__spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 14px rgba(229, 0, 76, 0.7);
  animation: ambient-spark 4.8s ease-in-out infinite;
}

.hero__spark--1 { top: 12%; left: 18%; animation-delay: 0s; }
.hero__spark--2 { top: 20%; right: 14%; width: 5px; height: 5px; animation-delay: -1.2s; background: #e5004c; }
.hero__spark--3 { bottom: 18%; left: 14%; width: 4px; height: 4px; animation-delay: -2.4s; }
.hero__spark--4 { bottom: 22%; right: 16%; animation-delay: -3.5s; background: rgba(61, 220, 151, 0.85); }

.hero__bubble {
  position: absolute;
  top: 8%;
  right: 20%;
  z-index: 2;
  padding: 0.78rem 1.25rem 0.88rem;
  border-radius: 1.25rem 1.25rem 1.25rem 0.4rem;
  background: #fff;
  color: #111;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(229, 0, 76, 0.14);
  animation: bubble-pop 5.5s ease-in-out infinite;
  transform-origin: 15% 110%;
}

.hero__bubble::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  bottom: -8px;
  width: 16px;
  height: 16px;
  background: #fff;
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 3px 3px 0 -1px rgba(229, 0, 76, 0.08);
}

.hero__bubble-text {
  position: relative;
  z-index: 1;
  display: block;
  font-family: var(--font-mascot);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.hero__bubble-text strong {
  font-weight: 800;
}

.hero__mascot {
  position: relative;
  z-index: 1;
  width: min(82%, 360px);
  height: auto;
  overflow: visible;
}

.hero__mascot-body {
  filter: drop-shadow(0 12px 40px rgba(229, 0, 76, 0.28));
}

.hero__fill-brand {
  fill: #e5004c;
}

.hero__fill-white {
  fill: #fff;
  fill-rule: evenodd;
}

/* Natural blink: quick eyelid close via scaleY (body shows through) */
.hero__eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: mascot-blink 5.6s linear infinite;
}

.hero__eyes path {
  fill: #fff;
}

/* Left hand (pointing) moves; right hand stays in original pose */
.hero__arm--point {
  transform-box: view-box;
  transform-origin: 42px 48px;
  animation: mascot-wave 2.8s ease-in-out infinite;
}

@keyframes mascot-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes mascot-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Double blink mid-cycle, then a single blink — rest open */
@keyframes mascot-blink {
  0%, 36%, 42%, 48%, 78%, 84%, 100% { transform: scaleY(1); }
  38%, 46% { transform: scaleY(0.06); }
  40%, 44% { transform: scaleY(1); }
  80%, 82% { transform: scaleY(0.06); }
}

@keyframes mascot-wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(6deg); }
}

@keyframes ambient-ring {
  0%, 100% { transform: scale(0.92); opacity: 0.45; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes ambient-spark {
  0%, 100% { transform: translateY(0) scale(0.65); opacity: 0.35; }
  50% { transform: translateY(-12px) scale(1.15); opacity: 1; }
}

@keyframes bubble-pop {
  0%, 8%, 78%, 100% { transform: scale(1) translateY(0); opacity: 1; }
  12% { transform: scale(1.05) translateY(-2px); }
  82% { transform: scale(0.97) translateY(2px); opacity: 0.95; }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  transform: translateX(-50%);
}

.hero__scroll-hint svg {
  width: 14px;
  height: 14px;
  animation: float-y 2s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .hero__scroll-hint:hover {
    color: var(--color-text-secondary);
  }
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2rem;
  }

  .hero__visual {
    min-height: 480px;
    justify-content: flex-end;
  }

  .hero__stage {
    width: min(100%, 460px);
  }

  .hero__mascot {
    width: min(86%, 400px);
  }

  .hero__scroll-hint {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow,
  .hero__stage,
  .hero__stage-glow,
  .hero__eyes,
  .hero__arm--point,
  .hero__ring,
  .hero__spark,
  .hero__bubble,
  .hero__scroll-hint svg,
  .hero__open-dot {
    animation: none;
  }
}

