/* ============================================================
   NextDate — Web Design System
   Mirrors lib/core/colors.dart + lib/core/design_system.dart
   Philosophy: clean, premium, high contrast, no gradients.
   ============================================================ */

:root {
  /* Brand (strict — matches AppColors) */
  --primary: #FFC00E;
  --primary-dark: #E6AC0D;
  --primary-tint: rgba(255, 192, 14, 0.14);
  --black: #000000;
  --white: #FFFFFF;

  /* Grey scale */
  --grey-50: #FAFAFA;
  --grey-100: #F5F5F5;
  --grey-200: #EEEEEE;
  --grey-300: #E0E0E0;
  --grey-400: #BDBDBD;
  --grey-500: #9E9E9E;
  --grey-600: #757575;
  --grey-700: #616161;
  --grey-800: #424242;
  --grey-900: #212121;

  /* Semantic */
  --success: #4CAF50;
  --error: #E53935;
  --warning: #FF9800;
  --info: #2196F3;

  /* Spacing (AppSpacing) */
  --xxs: 4px;  --xs: 8px;  --sm: 12px;  --md: 16px;
  --lg: 24px;  --xl: 32px; --xxl: 48px;

  /* Radius (AppRadius) */
  --r-sm: 8px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows (AppShadows) */
  --sh-sm: 0 2px 8px rgba(0,0,0,.03);
  --sh-md: 0 4px 16px rgba(0,0,0,.04);
  --sh-lg: 0 8px 32px rgba(0,0,0,.06);
  --sh-xl: 0 24px 64px rgba(0,0,0,.10);

  /* Motion (AppAnimation) */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --t-micro: 120ms; --t-fast: 240ms; --t-normal: 320ms; --t-slow: 480ms;

  /* Layout */
  --nav-h: 72px;
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--primary); color: var(--black); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); letter-spacing: -0.02em; line-height: 1.25; }
p  { color: var(--grey-700); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--grey-700); max-width: 58ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--xs);
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grey-800); background: var(--grey-100);
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow--light { background: rgba(255,255,255,.12); color: var(--white); }
.eyebrow--yellow { background: var(--primary-tint); color: #6b4f00; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: none; }
.eyebrow--yellow .dot { background: #6b4f00; }

.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl::after {
  content: ''; position: absolute; left: -.06em; right: -.06em; bottom: .09em; height: .26em;
  background: var(--primary); border-radius: 3px; z-index: -1;
  transform: scaleX(0); transform-origin: left;
  transition: transform 700ms var(--ease) 240ms;
}
.is-in .hl::after, .hl.is-in::after { transform: scaleX(1); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding-block: clamp(64px, 9vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 76px); }
.section--grey { background: var(--grey-50); }
.section--black { background: var(--black); color: var(--white); }
.section--black p { color: rgba(255,255,255,.68); }
.section--black h2 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-block: var(--md) var(--sm); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .96rem; letter-spacing: -.01em;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  will-change: transform; white-space: nowrap; border: 2px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--primary); color: var(--black); box-shadow: 0 6px 20px rgba(255,192,14,.32); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255,192,14,.42); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--grey-900); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--ghost { background: transparent; color: var(--black); border-color: var(--grey-300); }
.btn--ghost:hover { border-color: var(--black); transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.btn--onblack-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--onblack-ghost:hover { border-color: var(--white); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--black); color: var(--white);
  padding: 11px 22px 11px 18px; border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
  border: 2px solid var(--black);
}
.store:hover { transform: translateY(-3px); box-shadow: var(--sh-xl); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.6); line-height: 1.4; }
.store strong { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.store--outline { background: transparent; color: var(--black); border-color: var(--grey-300); }
.store--outline span { color: var(--grey-500); }
.store--outline:hover { border-color: var(--black); }
.section--black .store { background: var(--white); color: var(--black); border-color: var(--white); }
.section--black .store span { color: var(--grey-600); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: rgba(255,255,255,0);
  transition: background-color var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease),
              border-color var(--t-normal) var(--ease), backdrop-filter var(--t-normal) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--grey-200);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--md); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; font-size: 1.18rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--sh-sm); }
.brand b { color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-pill); font-size: .92rem; font-weight: 600; color: var(--grey-700);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--black); background: var(--grey-100); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--black); border-radius: 2px; position: relative; transition: transform var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--black); border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: var(--white); border-bottom: 1px solid var(--grey-200);
  padding: var(--md) 22px var(--lg);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform var(--t-normal) var(--ease), opacity var(--t-normal) var(--ease);
  box-shadow: var(--sh-lg);
}
body.menu-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 6px; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid var(--grey-100); }
.mobile-menu .btn { margin-top: var(--md); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(48px, 7vw, 90px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__blob {
  position: absolute; border-radius: 50%;
  background: var(--primary); opacity: .13; filter: blur(60px);
}
.hero__blob.b1 { width: 520px; height: 520px; top: -180px; right: -120px; animation: float 14s var(--ease) infinite alternate; }
.hero__blob.b2 { width: 380px; height: 380px; bottom: -160px; left: -140px; opacity: .1; animation: float 18s var(--ease) infinite alternate-reverse; }
@keyframes float { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-24px, 28px, 0) scale(1.08); } }

.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-block: var(--md) var(--md); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--lg); }
.hero__note { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: var(--lg); font-size: .88rem; color: var(--grey-600); font-weight: 500; }
.hero__note .tick { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 16px; height: 16px; color: var(--primary-dark); flex: none; }

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone {
  position: relative; width: min(300px, 76vw); aspect-ratio: 9 / 19.2;
  background: var(--black); border-radius: 44px; padding: 10px;
  box-shadow: 0 40px 80px rgba(0,0,0,.22), 0 0 0 2px rgba(0,0,0,.06);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone__screen {
  position: relative; width: 100%; height: 100%; background: var(--white);
  border-radius: 35px; overflow: hidden; display: flex; flex-direction: column;
}
.phone__notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; background: var(--black); border-radius: var(--r-pill); z-index: 5; }
.phone__top { padding: 42px 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.phone__top .pt-logo { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: .92rem; letter-spacing: -.03em; }
.phone__top .pt-logo img { width: 22px; height: 22px; border-radius: 6px; }
.phone__top .pt-icons { display: flex; gap: 6px; }
.phone__top .pt-icons i { width: 24px; height: 24px; border-radius: 50%; background: var(--grey-100); display: block; }

.deck { position: relative; flex: 1; margin: 6px 16px 0; }
.card {
  position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--grey-200); box-shadow: var(--sh-md);
  display: flex; flex-direction: column; justify-content: flex-end;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.card__art { position: absolute; inset: 0; }
.card__art::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 12%, rgba(255,255,255,.20), transparent 58%),
    radial-gradient(90% 60% at 18% 88%, rgba(0,0,0,.28), transparent 60%);
}
.card__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.12) 46%, rgba(0,0,0,0) 70%); }
.card__body { position: relative; padding: 14px; color: var(--white); }
.card__body h4 { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.card__body h4 svg { width: 15px; height: 15px; color: var(--primary); flex: none; }
.card__body p { color: rgba(255,255,255,.82); font-size: .74rem; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.chips span { font-size: .62rem; font-weight: 600; padding: 4px 9px; border-radius: var(--r-pill); background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.2); }
.stamp {
  position: absolute; top: 20px; padding: 6px 14px; border-radius: 10px;
  font-weight: 800; font-size: .8rem; letter-spacing: .1em; border: 3px solid;
  opacity: 0; transition: opacity var(--t-fast) var(--ease);
}
.stamp--like { left: 16px; transform: rotate(-14deg); color: var(--success); border-color: var(--success); }
.stamp--nope { right: 16px; transform: rotate(14deg); color: var(--error); border-color: var(--error); }
.card.show-like .stamp--like, .card.show-nope .stamp--nope { opacity: 1; }

.phone__actions { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 14px 0 18px; }
.pa {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); box-shadow: var(--sh-md); border: 1px solid var(--grey-200);
  transition: transform var(--t-fast) var(--ease);
}
.pa svg { width: 20px; height: 20px; }
.pa--pass { color: var(--error); } .pa--like { color: var(--success); }
.pa--star { width: 38px; height: 38px; color: var(--primary-dark); }
.pa.is-hit { transform: scale(1.18); }

/* Floating badges around phone */
.float-badge {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 9px;
  background: var(--white); border: 1px solid var(--grey-200); box-shadow: var(--sh-lg);
  padding: 10px 14px; border-radius: var(--r-md); font-size: .8rem; font-weight: 700; letter-spacing: -.01em;
  animation: badgeFloat 5s ease-in-out infinite;
}
.float-badge i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--primary-tint); flex: none; }
.float-badge svg { width: 16px; height: 16px; color: var(--primary-dark); }
.float-badge small { display: block; font-weight: 500; color: var(--grey-500); font-size: .68rem; }
.fb-1 { top: 7%; left: -4%; animation-delay: .4s; }
.fb-2 { bottom: 16%; right: -8%; animation-delay: 1.6s; }
.fb-3 { top: 44%; right: -12%; animation-delay: 2.6s; }
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--primary); padding: 14px 0; overflow: hidden; border-block: 2px solid var(--black); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: slide 32s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 40px; font-weight: 800; font-size: 1rem; letter-spacing: -.02em; color: var(--black); white-space: nowrap; text-transform: uppercase; }
.marquee__track span::after { content: '✦'; font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  position: relative; background: var(--white); border: 1px solid var(--grey-200);
  border-radius: var(--r-lg); padding: 28px 26px 30px; overflow: hidden;
  transition: transform var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease), border-color var(--t-normal) var(--ease);
}
.feature::before {
  content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-normal) var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-xl); border-color: var(--grey-300); }
.feature:hover::before { transform: scaleX(1); }
.feature__icon {
  width: 50px; height: 50px; border-radius: var(--r-md); background: var(--primary-tint);
  display: grid; place-items: center; margin-bottom: var(--md);
  transition: transform var(--t-normal) var(--ease), background-color var(--t-normal) var(--ease);
}
.feature__icon svg { width: 24px; height: 24px; color: #8a6600; }
.feature:hover .feature__icon { transform: scale(1.08) rotate(-5deg); background: var(--primary); }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .93rem; }
.feature--hero { background: var(--black); border-color: var(--black); color: var(--white); }
.feature--hero h3 { color: var(--white); }
.feature--hero p { color: rgba(255,255,255,.66); }
.feature--hero .feature__icon { background: var(--primary); }
.feature--hero .feature__icon svg { color: var(--black); }
.feature--yellow { background: var(--primary); border-color: var(--primary); }
.feature--yellow p { color: rgba(0,0,0,.7); }
.feature--yellow .feature__icon { background: var(--black); }
.feature--yellow .feature__icon svg { color: var(--primary); }
.feature--yellow:hover .feature__icon { background: var(--white); }
.feature--yellow:hover .feature__icon svg { color: var(--black); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; position: relative; }
.step { position: relative; padding-top: 12px; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%; background: var(--black); color: var(--primary);
  display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; margin-bottom: var(--md);
  box-shadow: 0 0 0 8px var(--white), 0 0 0 9px var(--grey-200);
  transition: transform var(--t-normal) var(--ease), background-color var(--t-normal) var(--ease), color var(--t-normal) var(--ease);
}
.step:hover .step__num { transform: scale(1.08); background: var(--primary); color: var(--black); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: .95rem; }
.steps::before {
  content: ''; position: absolute; top: 39px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--grey-300) 0 8px, transparent 8px 16px); z-index: -1;
}

/* ---------- Split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.split--rev .split__media { order: -1; }
.split__media { position: relative; }
.feature-list { display: grid; gap: 14px; margin-top: var(--lg); }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .96rem; color: var(--grey-700); }
.feature-list i { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; margin-top: 1px; }
.feature-list i svg { width: 13px; height: 13px; color: var(--black); }
.feature-list b { color: var(--black); font-weight: 700; }
.section--black .feature-list li { color: rgba(255,255,255,.7); }
.section--black .feature-list b { color: var(--white); }

/* Chat mock */
.mock {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); padding: 22px; display: grid; gap: 12px;
}
.section--black .mock { border-color: rgba(255,255,255,.12); background: #0e0e0e; }
.mock__head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid var(--grey-200); }
.section--black .mock__head { border-bottom-color: rgba(255,255,255,.1); }
.mock__head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; font-weight: 800; color: var(--black); flex: none; }
.mock__head strong { display: block; font-size: .95rem; letter-spacing: -.01em; }
.mock__head small { color: var(--grey-500); font-size: .76rem; display: flex; align-items: center; gap: 5px; }
.mock__head small::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.bubble { max-width: 82%; padding: 11px 15px; border-radius: 18px; font-size: .9rem; line-height: 1.45; }
.bubble--in { background: var(--grey-100); color: var(--black); border-bottom-left-radius: 5px; justify-self: start; }
.section--black .bubble--in { background: #1c1c1c; color: var(--white); }
.bubble--out { background: var(--primary); color: var(--black); border-bottom-right-radius: 5px; justify-self: end; }
.ai-suggest {
  margin-top: 4px; border: 1px dashed var(--grey-300); border-radius: var(--r-md); padding: 13px 15px;
  display: flex; gap: 11px; align-items: flex-start;
}
.section--black .ai-suggest { border-color: rgba(255,255,255,.2); }
.ai-suggest .spark { width: 26px; height: 26px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; flex: none; }
.ai-suggest .spark svg { width: 14px; height: 14px; color: var(--black); }
.ai-suggest em { font-style: normal; font-size: .85rem; color: var(--grey-600); display: block; }
.section--black .ai-suggest em { color: rgba(255,255,255,.55); }
.ai-suggest strong { font-size: .9rem; display: block; margin-top: 3px; }
.section--black .ai-suggest strong { color: var(--white); }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing b { width: 6px; height: 6px; border-radius: 50%; background: var(--grey-400); animation: blink 1.3s infinite; }
.typing b:nth-child(2) { animation-delay: .18s; } .typing b:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* QR card */
.qr-card {
  background: var(--primary); border-radius: var(--r-xl); padding: 34px; text-align: center;
  box-shadow: var(--sh-xl); position: relative; overflow: hidden;
}
.qr-card__inner { background: var(--white); border-radius: var(--r-lg); padding: 26px 22px; }
.qr-grid { width: 148px; height: 148px; margin: 0 auto 18px; display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; }
.qr-grid i { background: var(--black); border-radius: 1px; opacity: 0; animation: qrIn .5s var(--ease) forwards; }
.qr-grid i.off { background: transparent; animation: none; opacity: 1; }
@keyframes qrIn { to { opacity: 1; } }
.qr-card h4 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.qr-card .handle { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--grey-700); font-size: .92rem; margin-top: 4px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background-color var(--t-normal) var(--ease), transform var(--t-normal) var(--ease); }
.stat:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; color: var(--primary); line-height: 1; }
.stat span { display: block; margin-top: 9px; font-size: .84rem; color: rgba(255,255,255,.6); font-weight: 500; }

/* ---------- Safety ---------- */
.safety-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--r-lg); padding: 24px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease);
}
.safety-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.safety-card i { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--black); display: grid; place-items: center; flex: none; }
.safety-card i svg { width: 21px; height: 21px; color: var(--primary); }
.safety-card h3 { font-size: 1.02rem; margin-bottom: 5px; }
.safety-card p { font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--grey-200); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--md);
  padding: 22px 4px; text-align: left; font-weight: 700; font-size: 1.03rem; letter-spacing: -.02em;
  transition: color var(--t-fast) var(--ease);
}
.faq__q:hover { color: var(--primary-dark); }
.faq__q .ic { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--grey-300); display: grid; place-items: center; flex: none; transition: transform var(--t-normal) var(--ease), background-color var(--t-normal) var(--ease), border-color var(--t-normal) var(--ease); }
.faq__q .ic::before, .faq__q .ic::after { content: ''; position: absolute; background: var(--black); border-radius: 2px; transition: opacity var(--t-fast) var(--ease); }
.faq__q .ic::before { width: 12px; height: 2px; } .faq__q .ic::after { width: 2px; height: 12px; }
.faq__item.open .faq__q .ic { background: var(--primary); border-color: var(--primary); transform: rotate(90deg); }
.faq__item.open .faq__q .ic::after { opacity: 0; }
.faq__a { overflow: hidden; height: 0; transition: height var(--t-normal) var(--ease); }
.faq__a p { padding: 0 4px 24px; font-size: .96rem; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--primary); border-radius: clamp(24px, 4vw, 40px); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { color: rgba(0,0,0,.72); margin: var(--md) auto 0; max-width: 52ch; font-weight: 500; }
.cta-band .stores { justify-content: center; margin-top: var(--lg); }
.cta-band__ring { position: absolute; border-radius: 50%; border: 2px solid rgba(0,0,0,.07); pointer-events: none; }
.cta-band__ring.r1 { width: 460px; height: 460px; top: -220px; left: -120px; }
.cta-band__ring.r2 { width: 340px; height: 340px; bottom: -200px; right: -80px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding-block: clamp(48px, 6vw, 72px) 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer .brand b { color: var(--white); }
.footer__about { color: rgba(255,255,255,.55); font-size: .92rem; margin-top: var(--md); max-width: 34ch; }
.footer h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.45); margin-bottom: var(--md); font-weight: 700; }
.footer li { margin-bottom: 11px; }
.footer li a { font-size: .93rem; color: rgba(255,255,255,.72); transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease); }
.footer li a:hover { color: var(--primary); padding-left: 4px; }
.footer__bottom {
  margin-top: clamp(36px, 5vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--md); align-items: center; justify-content: space-between;
  font-size: .85rem; color: rgba(255,255,255,.45);
}
.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: var(--primary); color: var(--black); border-color: var(--primary); transform: translateY(-3px); }

/* ---------- Legal / content pages ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 40px; background: var(--grey-50); border-bottom: 1px solid var(--grey-200); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin-block: var(--sm) var(--sm); }
.page-hero .meta { color: var(--grey-500); font-size: .88rem; font-weight: 500; }
.prose { max-width: 760px; margin-inline: auto; padding-block: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin-top: 44px; margin-bottom: 14px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.06rem; margin-top: 26px; margin-bottom: 9px; }
.prose p, .prose li { color: var(--grey-700); font-size: .98rem; line-height: 1.72; }
.prose p { margin-bottom: 15px; }
.prose ul { margin: 0 0 18px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose ul li::before { content: ''; position: absolute; left: 6px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.prose ol { margin: 0 0 18px; padding-left: 22px; list-style: decimal; }
.prose ol li { margin-bottom: 10px; padding-left: 4px; }
.prose a { color: var(--black); font-weight: 600; border-bottom: 2px solid var(--primary); transition: background-color var(--t-fast) var(--ease); }
.prose a:hover { background: var(--primary-tint); }
.prose strong { color: var(--black); }
.callout { background: var(--grey-50); border-left: 4px solid var(--primary); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 20px 22px; margin: 26px 0; }
.callout p:last-child { margin-bottom: 0; }
.toc { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: var(--r-lg); padding: 22px 24px; margin-bottom: 36px; }
.toc h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--grey-600); margin-bottom: 12px; font-weight: 700; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; columns: 2; column-gap: 24px; }
.toc li { counter-increment: toc; margin-bottom: 8px; break-inside: avoid; }
.toc a { font-size: .9rem; color: var(--grey-700); font-weight: 500; border: 0; }
.toc a::before { content: counter(toc) ". "; color: var(--primary-dark); font-weight: 700; }
.toc a:hover { color: var(--black); background: none; }

/* Contact cards */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { border: 1px solid var(--grey-200); border-radius: var(--r-lg); padding: 26px; transition: transform var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.contact-card i { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--primary-tint); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card i svg { width: 21px; height: 21px; color: #8a6600; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p { font-size: .9rem; margin-bottom: 12px; }
.contact-card a { font-weight: 700; font-size: .92rem; border-bottom: 2px solid var(--primary); }

/* ---------- Reveal animation ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }
html.js [data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity 640ms var(--ease), transform 640ms var(--ease); }
html.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
html.js [data-reveal-group].is-in > *:nth-child(1) { transition-delay: 0ms; }
html.js [data-reveal-group].is-in > *:nth-child(2) { transition-delay: 80ms; }
html.js [data-reveal-group].is-in > *:nth-child(3) { transition-delay: 160ms; }
html.js [data-reveal-group].is-in > *:nth-child(4) { transition-delay: 240ms; }
html.js [data-reveal-group].is-in > *:nth-child(5) { transition-delay: 320ms; }
html.js [data-reveal-group].is-in > *:nth-child(6) { transition-delay: 400ms; }
html.js [data-reveal-group].is-in > *:nth-child(7) { transition-delay: 480ms; }
html.js [data-reveal-group].is-in > *:nth-child(8) { transition-delay: 560ms; }

/* Scroll progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--primary); width: 0; z-index: 200; transition: width 80ms linear; }

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--black); color: var(--primary);
  display: grid; place-items: center; box-shadow: var(--sh-xl);
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease), background-color var(--t-fast) var(--ease);
}
.to-top.is-on { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--primary); color: var(--black); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead, .hero__note { margin-inline: auto; }
  .hero__actions, .hero__note { justify-content: center; }
  .hero .eyebrow { margin-inline: auto; }
  .phone-stage { min-height: 480px; margin-top: var(--lg); }
  /* Single-column hero: the badges would hang off the viewport edges. */
  .float-badge { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__text { text-align: left; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav { background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-bottom-color: var(--grey-200); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .toc ol { columns: 1; }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .stores { width: 100%; }
  .store { flex: 1 1 100%; justify-content: center; }
  .btn { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .float-badge { display: none; }
  .phone-stage { min-height: 440px; }
  .cta-band { padding: 34px 22px; }
  .hero__note { gap: 12px; font-size: .82rem; }
  .marquee__track span { font-size: .85rem; gap: 26px; }
  .marquee__track { gap: 26px; }
}

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

/* ---------- Print ---------- */
@media print {
  .nav, .footer, .to-top, .progress, .mobile-menu { display: none !important; }
  body { color: #000; }
}
