/*
 * BookVisa landing — design tokens first, components second.
 * Every colour, radius and rhythm value lives in :root so a rebrand touches
 * this block only. No build step: the file is served as-is by nginx.
 */
:root {
  --ink-900: #060a14;
  --ink-800: #0a1120;
  --ink-700: #101a2e;
  --ink-500: #1c2942;

  --paper: #f6f8fc;
  --paper-2: #eef2f9;
  --card: #ffffff;
  --line: #e2e8f2;
  --line-strong: #cfd9e8;

  --text: #0d1526;
  --text-muted: #5b6a80;
  --text-invert: #f4f7fd;
  --text-invert-muted: rgba(226, 234, 248, 0.68);

  --brand: #3d6dff;
  --brand-600: #2b56e0;
  --brand-400: #6f95ff;
  --accent: #35e0d0;
  --violet: #8b6cff;

  --grad-brand: linear-gradient(135deg, var(--brand) 0%, var(--violet) 100%);
  --grad-text: linear-gradient(100deg, #7fa6ff 0%, #a58cff 45%, #4fe3d3 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 2px 10px rgba(13, 21, 38, 0.05);
  --shadow-md: 0 18px 40px -22px rgba(13, 21, 38, 0.35);
  --shadow-lg: 0 40px 90px -40px rgba(6, 10, 20, 0.55);

  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --header-h: 72px;

  --font: 'Manrope', ui-sans-serif, system-ui, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

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

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

svg {
  display: block;
}

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

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

.container--narrow {
  max-width: 820px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--card);
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    color 200ms var(--ease);
}

.btn--sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1.02rem;
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
}

.btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(61, 109, 255, 0.9);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(61, 109, 255, 0.95);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-invert);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--text-invert);
  transition:
    background-color 260ms var(--ease),
    border-color 260ms var(--ease),
    backdrop-filter 260ms var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-stuck {
  background: rgba(8, 13, 26, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px) saturate(140%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, var(--container));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.brand__mark svg {
  width: 1.1rem;
  height: 1.1rem;
}

.brand__mark--sm {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
}

.brand__word {
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

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

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-invert-muted);
  transition: color 180ms var(--ease);
}

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

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  cursor: pointer;
}

.burger span {
  height: 2px;
  border-radius: 2px;
  background: var(--text-invert);
  transition: transform 220ms var(--ease), opacity 160ms var(--ease);
}

.burger[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: rgba(8, 13, 26, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 220ms var(--ease),
      transform 220ms var(--ease),
      visibility 220ms;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__link {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 1.05rem;
    color: var(--text-invert);
  }

  .nav .btn {
    margin-top: 0.9rem;
    padding-block: 0.85rem;
  }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(3.5rem, 8vw, 6.5rem)) 0 clamp(5rem, 9vw, 8rem);
  background: var(--ink-900);
  color: var(--text-invert);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

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

.hero__aurora--1 {
  top: -18%;
  left: -8%;
  width: 46rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(61, 109, 255, 0.75), transparent 68%);
  animation: drift-a 20s ease-in-out infinite alternate;
}

.hero__aurora--2 {
  top: -10%;
  right: -12%;
  width: 40rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(139, 108, 255, 0.62), transparent 68%);
  animation: drift-b 24s ease-in-out infinite alternate;
}

.hero__aurora--3 {
  bottom: -30%;
  left: 30%;
  width: 38rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(53, 224, 208, 0.34), transparent 70%);
  animation: drift-a 28s ease-in-out infinite alternate-reverse;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 12%, #000 20%, transparent 78%);
}

.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-invert-muted);
  backdrop-filter: blur(8px);
}

.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(53, 224, 208, 0.6);
  animation: ping 2.4s ease-out infinite;
}

.hero__title {
  max-width: 19ch;
  margin-top: 1.5rem;
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.042em;
  text-wrap: balance;
}

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

.hero__lead {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.16rem);
  color: var(--text-invert-muted);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem 2.6rem;
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__proof li {
  display: flex;
  flex-direction: column;
}

.hero__proof strong {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero__proof span {
  font-size: 0.86rem;
  color: var(--text-invert-muted);
}

/* ── Hero slot card ──────────────────────────────────────────────────────── */

.slotcard {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  animation: rise 900ms var(--ease) both 120ms;
}

.slotcard__glow {
  position: absolute;
  inset: -30% -10% auto;
  height: 60%;
  background: radial-gradient(ellipse at top, rgba(111, 149, 255, 0.35), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.slotcard__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 0.84rem;
  color: var(--text-invert-muted);
}

.slotcard__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-invert);
}

.slotcard__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2s ease-out infinite;
}

.slotcard__row {
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(10, 17, 32, 0.42);
}

.slotcard__row + .slotcard__row {
  margin-top: 0.6rem;
}

.slotcard__row--found {
  border-color: rgba(53, 224, 208, 0.35);
  background: rgba(53, 224, 208, 0.09);
}

.slotcard__row b {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
}

.slotcard__row em {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.84rem;
  font-style: normal;
  color: var(--text-invert-muted);
}

.slotcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.09);
  color: var(--brand-400);
}

.slotcard__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.slotcard__icon--ok {
  background: rgba(53, 224, 208, 0.16);
  color: var(--accent);
}

.slotcard__bar {
  position: relative;
  height: 4px;
  margin-top: 1.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.slotcard__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: 999px;
  background: var(--grad-text);
  animation: scan 2.8s var(--ease) infinite;
}

.slotcard__note {
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: rgba(226, 234, 248, 0.5);
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.section {
  padding: clamp(3.8rem, 7vw, 6.5rem) 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section--tint {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

/*
 * The light content overlaps the dark hero as a rounded panel. A hard colour
 * change or a fade-to-white gradient both look muddy against the aurora, while
 * an overlapping edge reads as intentional depth.
 */
.section--lift {
  position: relative;
  z-index: 2;
  margin-top: -2.75rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--paper);
  box-shadow: 0 -34px 60px -34px rgba(6, 10, 20, 0.55);
}

.section--lift::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(111, 149, 255, 0.55), transparent);
}

/* Mirror of --lift for the last light section before the dark CTA. */
.section--drop {
  position: relative;
  z-index: 2;
  margin-bottom: -2.75rem;
  padding-bottom: calc(clamp(3.8rem, 7vw, 6.5rem) + 2.75rem);
  border-bottom: 0;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: 0 34px 60px -34px rgba(6, 10, 20, 0.55);
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--brand-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--brand-400);
}

.section__title {
  max-width: 20ch;
  font-size: clamp(1.72rem, 1.25rem + 1.9vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.section__lead {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--text-muted);
}

/* ── Steps ───────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.3rem;
  }
}

.steps__item {
  position: relative;
  padding: 1.7rem 1.5rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.steps__item:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1.1rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(61, 109, 255, 0.12), rgba(139, 108, 255, 0.16));
  color: var(--brand-600);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.steps__item h3,
.feature h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.steps__item p,
.feature p {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* ── Cities ──────────────────────────────────────────────────────────────── */

.cities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}

.cities__item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.cities__item::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex: none;
}

.cities__item:hover {
  transform: translateY(-3px);
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
}

/* ── Features ────────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.feature {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.05rem;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(61, 109, 255, 0.12), rgba(53, 224, 208, 0.16));
  color: var(--brand-600);
}

.feature__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */

.faq {
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  overflow: hidden;
}

.faq__item + .faq__item {
  border-top: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-size: 1.03rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
  transition: color 180ms var(--ease);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 240ms var(--ease), border-color 240ms var(--ease);
}

.faq__item[open] summary {
  color: var(--brand-600);
}

.faq__item[open] summary::after {
  border-color: var(--brand);
  transform: rotate(-135deg) translate(-3px, -3px);
}

.faq__item p {
  padding: 0 1.4rem 1.35rem;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq__item p a {
  color: var(--brand-600);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* ── CTA band ────────────────────────────────────────────────────────────── */

.cta {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--ink-800);
  color: var(--text-invert);
}

.cta__inner {
  position: relative;
  isolation: isolate;
  text-align: center;
  overflow: hidden;
  padding-block: clamp(2.5rem, 5vw, 3.6rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.cta__glow {
  position: absolute;
  inset: -60% 20% auto;
  height: 120%;
  z-index: -1;
  background: radial-gradient(ellipse at top, rgba(61, 109, 255, 0.5), transparent 62%);
  filter: blur(50px);
}

.cta__title {
  max-width: 22ch;
  margin: 0 auto;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.038em;
}

.cta__lead {
  max-width: 42rem;
  margin: 1rem auto 0;
  color: var(--text-invert-muted);
}

.cta__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.8rem;
  background: var(--ink-900);
  color: var(--text-invert);
}

.footer__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .footer__inner {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 0.7fr));
    gap: 2.5rem;
  }
}

.footer__brand {
  display: flex;
  gap: 0.85rem;
  max-width: 36rem;
}

.footer__name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer__note {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(226, 234, 248, 0.55);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-invert-muted);
}

.footer__links a {
  transition: color 180ms var(--ease);
  width: fit-content;
}

.footer__links a:hover {
  color: var(--text-invert);
}

.footer__copy {
  width: min(100%, var(--container));
  margin: 2.2rem auto 0;
  padding: 1.3rem var(--gutter) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.83rem;
  color: rgba(226, 234, 248, 0.45);
}

/* ── Motion ──────────────────────────────────────────────────────────────── */

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(53, 224, 208, 0.55);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(53, 224, 208, 0);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-a {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(6%, 8%, 0) scale(1.12);
  }
}

@keyframes drift-b {
  from {
    transform: translate3d(0, 0, 0) scale(1.08);
  }
  to {
    transform: translate3d(-7%, 6%, 0) scale(1);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 90ms;
}

.reveal:nth-child(3) {
  transition-delay: 180ms;
}

.reveal:nth-child(4) {
  transition-delay: 60ms;
}

.reveal:nth-child(5) {
  transition-delay: 120ms;
}

.reveal:nth-child(6) {
  transition-delay: 180ms;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
