/* ==========================================================================
   Drroo — base.css
   Shared design tokens, reset, typography and components used on every page.
   Page-specific styles live in home.css and legal.css.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  color-scheme: dark;

  /* Ink (night) neutrals — slightly violet so the brand orange glows */
  --ink-1000: #07060c;
  --ink-950: #0b0912;
  --ink-900: #110e1a;
  --ink-850: #161220;
  --ink-800: #1c1728;
  --ink-750: #241e33;
  --ink-700: #2d2640;
  --ink-600: #3d3454;
  --ink-500: #5a5073;

  /* Text on dark */
  --text: #f6f3fa;
  --text-2: #c4bdd1;
  --text-3: #958da5;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(22, 18, 32, 0.62);

  /* Brand orange (sampled from the logo: #FA7E38) */
  --orange-200: #ffd6bd;
  --orange-300: #ffb889;
  --orange-400: #ff9a5c;
  --orange-500: #fa7e38;
  --orange-600: #ec6620;
  --orange-700: #c9500f;
  --orange-800: #9a3a08;
  --orange-glow: rgba(250, 126, 56, 0.42);
  --orange-soft: rgba(250, 126, 56, 0.12);

  /* Cream (light sections) */
  --cream-50: #fffaf5;
  --cream-100: #fff3e8;
  --cream-200: #fbe6d4;
  --cream-300: #f3d3b8;
  --on-cream: #1a1424;
  --on-cream-2: #4f4660;
  --on-cream-3: #6e6480;

  /* Supporting accents — use sparingly */
  --sun: #ffc857;   /* city window lights */
  --mint: #3ddc97;  /* live / success */
  --sky: #8b7cf8;   /* cool night accent */
  --rose: #ff5d73;  /* SOS / errors */

  --grad-brand: linear-gradient(135deg, #ffb07a 0%, #fa7e38 48%, #ec6620 100%);
  --grad-text: linear-gradient(100deg, #ffc8a3 0%, #fa7e38 55%, #ff9a5c 100%);

  /* Typography */
  --font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.03rem, 0.99rem + 0.2vw, 1.12rem);
  --fs-lg: clamp(1.1rem, 1.02rem + 0.45vw, 1.32rem);
  --fs-h4: clamp(1.12rem, 1.04rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.35rem, 1.12rem + 1vw, 1.85rem);
  --fs-h2: clamp(2.05rem, 1.3rem + 3.2vw, 4rem);
  --fs-h1: clamp(2.6rem, 1.35rem + 5.6vw, 6.4rem);
  --fs-mega: clamp(4.5rem, 1.5rem + 14vw, 15rem);

  /* Layout */
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --maxw-narrow: 820px;
  --section-y: clamp(88px, 11vw, 168px);
  --header-h: 72px;

  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Depth */
  --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 14px 44px -12px var(--orange-glow);

  --z-header: 100;
  --z-menu: 90;
  --z-toast: 200;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink-950);
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ink-950);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

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

img {
  height: auto;
}

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

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

ul[role="list"],
ol[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--orange-500);
  color: #1a0d05;
}

:focus-visible {
  outline: 2px solid var(--orange-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Subtle film grain over everything for a premium, printed feel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 3. Layout & typography helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: calc(var(--maxw-narrow) + var(--gutter) * 2);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--cream {
  background: var(--cream-100);
  color: var(--on-cream);
  color-scheme: light;
}

.section--ink {
  background: var(--ink-900);
}

/* A section that slides over the previous one like a sheet (rounded top, overlaps by one radius). */
.section--sheet {
  z-index: 2;
  margin-top: calc(var(--r-xl) * -1);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.section-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-400);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.section--cream .eyebrow {
  color: var(--orange-700);
}

.h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.038em;
}

.h2 {
  font-size: var(--fs-h2);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.032em;
}

.h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.h4 {
  font-size: var(--fs-h4);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 60ch;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--text-2);
}

.section--cream .lead {
  color: var(--on-cream-2);
}

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

.section--cream .muted {
  color: var(--on-cream-3);
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section--cream :focus-visible {
  outline-color: var(--orange-700);
}

.section--cream .text-gradient,
.section--cream .tg-split .split-i {
  background: linear-gradient(100deg, #e0611a 0%, #b4440b 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--orange-500);
  color: #1a0d05;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

/* Inline icon helper: <svg class="icon"> */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--ink-800);
  --btn-fg: var(--text);
  --btn-border: var(--line-2);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 1.4em;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  isolation: isolate;
  transition: translate 0.35s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  translate: 0 -2px;
}

.btn:active {
  translate: 0 0;
  scale: 0.98;
}

.btn .btn__arrow {
  transition: transform 0.35s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--primary {
  --btn-bg: var(--orange-500);
  --btn-fg: #1a0d05;
  --btn-border: transparent;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--primary:hover {
  --btn-bg: var(--orange-400);
  box-shadow: 0 18px 50px -10px var(--orange-glow), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.04);
  --btn-border: var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-border: rgba(255, 255, 255, 0.26);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--ink-950);
  --btn-border: transparent;
}

.btn--dark {
  --btn-bg: var(--ink-950);
  --btn-fg: #fff;
  --btn-border: transparent;
}

.section--cream .btn--ghost {
  --btn-bg: rgba(26, 20, 36, 0.04);
  --btn-fg: var(--on-cream);
  --btn-border: rgba(26, 20, 36, 0.16);
}

.btn--sm {
  min-height: 40px;
  padding: 0 1.1em;
  font-size: 0.92rem;
}

.btn--lg {
  min-height: 58px;
  padding: 0 1.8em;
  font-size: 1.06rem;
}

/* App-store style buttons */
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 8px 20px 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #050408;
  color: #fff;
  transition: translate 0.35s var(--ease-out), border-color 0.25s, box-shadow 0.35s var(--ease-out);
}

.store-btn:hover {
  translate: 0 -2px;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.9);
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex: none;
  fill: currentColor;
}

.store-btn__text {
  display: grid;
  line-height: 1.12;
  text-align: left;
}

.store-btn__text small {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  opacity: 0.78;
}

.store-btn__text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- 5. Chips, badges, cards ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.42em 0.9em;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
}

.chip--orange {
  border-color: rgba(250, 126, 56, 0.28);
  background: var(--orange-soft);
  color: var(--orange-300);
}

.chip--mint {
  border-color: rgba(61, 220, 151, 0.28);
  background: rgba(61, 220, 151, 0.1);
  color: #8ff0c4;
}

.section--cream .chip {
  border-color: rgba(26, 20, 36, 0.1);
  background: rgba(26, 20, 36, 0.05);
  color: var(--on-cream-2);
}

.section--cream .chip--orange {
  border-color: rgba(201, 80, 15, 0.25);
  background: rgba(250, 126, 56, 0.14);
  color: var(--orange-800);
}

.live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--mint);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--mint);
  opacity: 0;
  animation: live-ping 2s var(--ease-out) infinite;
}

@keyframes live-ping {
  0% {
    transform: scale(0.4);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-md);
}

.section--cream .card {
  border-color: rgba(26, 20, 36, 0.08);
  background: #fff;
  box-shadow: 0 24px 50px -30px rgba(80, 40, 10, 0.35);
}

/* Inline Drroo vehicle icon (traced from the logo). Recolour with --car-* custom properties.
   Add .drroo-icon--drive to spin the wheels; give --car-hub / --car-valve a contrasting colour so the spin reads. */
.drroo-icon {
  width: 100%;
  height: auto;
  overflow: visible;
}

.drroo-icon__body {
  fill: var(--car-body, var(--orange-500));
}

.drroo-icon__tyre {
  fill: var(--car-wheel, #fff);
}

.drroo-icon__hub {
  fill: var(--car-hub, var(--car-wheel, #fff));
}

.drroo-icon__valve {
  fill: var(--car-valve, var(--car-wheel, #fff));
}

.drroo-icon__wheel {
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.drroo-icon--drive .drroo-icon__wheel {
  animation: drroo-wheel var(--wheel-speed, 0.9s) linear infinite;
}

@keyframes drroo-wheel {
  to {
    transform: rotate(360deg);
  }
}

/* Pointer tilt (set up by core.js on [data-tilt]) */
[data-tilt] {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease-out);
  transform-style: preserve-3d;
}

[data-tilt].is-tilting {
  transition-duration: 0.18s;
}

[data-magnetic] {
  transition: translate 0.35s var(--ease-out), transform 0.6s var(--ease-out), box-shadow 0.35s var(--ease-out),
    background-color 0.25s, border-color 0.25s, color 0.25s;
}

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform 0.55s var(--ease-out), background-color 0.4s, border-color 0.4s;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(11, 9, 18, 0.74);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  transition: opacity 0.4s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(var(--scroll, 0));
  transform-origin: 0 50%;
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: 8px;
}

.nav__brand img {
  width: auto;
  height: 34px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav__links a {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  color: var(--text-2);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange-500);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  position: relative;
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 25px;
}

.menu-open .nav-toggle span:nth-child(1) {
  top: 20.5px;
  transform: rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  top: 20.5px;
  transform: rotate(-45deg);
}

@media (max-width: 1020px) {
  .nav__links {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 420px) {
  .nav__actions .btn {
    display: none;
  }

  .nav__brand img {
    height: 30px;
  }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: calc(var(--header-h) + 28px) var(--gutter) 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(120% 60% at 100% 0%, rgba(250, 126, 56, 0.16), transparent 60%), rgba(11, 9, 18, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.menu-open {
  overflow: hidden;
}

.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu__links {
  display: grid;
  gap: 4px;
}

.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out), color 0.2s;
  transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}

.mobile-menu__links a small {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange-400);
}

.mobile-menu__links a:hover {
  color: var(--orange-300);
}

.menu-open .mobile-menu__links a {
  opacity: 1;
  transform: none;
}

.mobile-menu__foot {
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: var(--fs-sm);
}

.mobile-menu__foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.mobile-menu__foot a:hover {
  color: var(--text);
}

/* ---------- 7. Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 120px);
  background: var(--ink-1000);
  border-top: 1px solid var(--line);
}

.footer__glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(1100px, 140vw);
  aspect-ratio: 2 / 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 126, 56, 0.22), transparent);
  filter: blur(10px);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 40px 28px;
}

.footer__brand {
  display: grid;
  align-content: start;
  gap: 22px;
  max-width: 360px;
}

.footer__logo {
  display: inline-block;
  width: max-content;
  border-radius: 8px;
}

.footer__logo img {
  width: 210px;
}

.footer__brand p {
  color: var(--text-3);
  font-size: 0.95rem;
}

.footer__brand .store-row {
  gap: 10px;
}

.footer__brand .store-btn {
  gap: 9px;
  min-height: 50px;
  padding: 6px 14px 6px 11px;
  border-radius: 14px;
}

.footer__brand .store-btn svg {
  width: 22px;
  height: 22px;
}

.footer__brand .store-btn__text strong {
  font-size: 1rem;
}

.footer__col h3 {
  margin-bottom: 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  gap: 12px;
}

.footer__col a {
  color: var(--text-3);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--orange-300);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s, translate 0.35s var(--ease-out);
}

.footer__social a:hover {
  translate: 0 -2px;
  border-color: var(--orange-500);
  background: var(--orange-soft);
  color: var(--orange-300);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: clamp(48px, 7vw, 80px);
  padding-block: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: var(--fs-sm);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer__legal a {
  transition: color 0.2s;
}

.footer__legal a:hover,
.footer__legal a[aria-current="page"] {
  color: var(--text);
}

.footer__heart {
  color: var(--orange-500);
}

.footer__mega {
  position: relative;
  height: clamp(90px, 17vw, 250px);
  margin-top: -8px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.footer__mega span {
  position: absolute;
  left: 50%;
  top: 0;
  display: block;
  font-family: var(--font-display);
  font-size: clamp(7rem, 30vw, 27rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  padding: 0 0.08em;
  color: transparent;
  background: linear-gradient(180deg, rgba(250, 126, 56, 0.34), rgba(250, 126, 56, 0.02) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  translate: -50% 0;
}

@media (min-width: 1021px) and (max-width: 1240px) {
  .footer__grid {
    grid-template-columns: minmax(300px, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
  }
}

@media (max-width: 1020px) {
  .footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 8. Toasts ---------- */
.toast-region {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: var(--z-toast);
  display: grid;
  justify-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  background: rgba(28, 23, 40, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toast-in 0.5s var(--ease-out) both;
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--orange-500);
  color: #1a0d05;
}

.toast__icon svg {
  width: 16px;
  height: 16px;
}

.toast.is-leaving {
  animation: toast-out 0.35s ease-in both;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}

@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

/* ---------- 9. Reveal-on-scroll & split headings (driven by core.js) ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out), clip-path 1.1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translate3d(-44px, 0, 0);
}

.js [data-reveal="right"] {
  transform: translate3d(44px, 0, 0);
}

.js [data-reveal="scale"] {
  transform: scale(0.94);
}

.js [data-reveal="clip"] {
  transform: none;
  clip-path: inset(0 0 100% 0 round 24px);
}

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

.js [data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0 round 0);
}

.split-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}

.split-i {
  display: inline-block;
  transform: translate3d(0, 108%, 0);
  transition: transform 1.05s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms + var(--split-delay, 0ms));
}

.is-in .split-i {
  transform: none;
}

.tg-split {
  background: none !important;
}

.tg-split .split-i {
  padding-right: 0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 10. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal],
  .split-i {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ---------- 11. Print ---------- */
@media print {
  body::after,
  .site-header,
  .mobile-menu,
  .toast-region,
  .footer__mega,
  .footer__glow {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
