/* =========================================================================
   Bizleads — App Development Studio
   Design system + global styles
   Aesthetic: refined dark "engineering studio", signal-lime accent
   ========================================================================= */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Surfaces */
  --ink-900: #08090c;
  --ink-850: #0b0d12;
  --ink-800: #11141b;
  --ink-750: #14171f;
  --ink-700: #171b24;
  --ink-600: #1f2430;

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.18);

  /* Text */
  --text: #edeff4;
  --text-dim: #a2a8b8;
  --text-faint: #6e7585;

  /* Brand */
  --accent: #c6f24e;
  --accent-press: #b4e636;
  --accent-ink: #10130a;
  --accent-soft: rgba(198, 242, 78, 0.12);
  --accent-line: rgba(198, 242, 78, 0.32);
  --accent-glow: rgba(198, 242, 78, 0.45);

  /* Support hues (used sparingly, mostly in gradients) */
  --sky: #58c7ff;
  --coral: #ff7a66;
  --ok: #4ade80;

  /* Radii */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px var(--accent-line), 0 18px 50px -18px var(--accent-glow);

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

@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;
  }
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  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='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

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

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

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

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

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

/* ---- Typography --------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  color: var(--text-dim);
}

strong {
  color: var(--text);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent-line);
}

.eyebrow.center::before {
  display: none;
}

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: var(--text-dim);
  max-width: 60ch;
}

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

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

/* ---- Layout primitives -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

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

.section-head .eyebrow {
  margin-bottom: 22px;
}

.section-head p {
  margin-top: 20px;
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.split-head .section-head {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--line);
  border: none;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --bg: var(--accent);
  --fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.5em;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  background: var(--bg);
  color: var(--fg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px var(--accent-glow);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn.ghost {
  --bg: transparent;
  --fg: var(--text);
  border-color: var(--line-2);
}

.btn.ghost:hover {
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
}

.btn.large {
  padding: 1.05em 1.9em;
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, gap 0.2s var(--ease);
}

.text-link svg {
  width: 1em;
  height: 1em;
  transition: transform 0.25s var(--ease);
}

.text-link:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  gap: 0.75em;
}

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand .mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand .tld {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--pill);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 3px auto 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(56px, 9vw, 110px);
  padding-bottom: clamp(72px, 10vw, 120px);
  overflow: hidden;
  z-index: 2;
}

.glow-field {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 720px;
  z-index: 0;
  pointer-events: none;
}

.glow-field::before,
.glow-field::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-field::before {
  width: 540px;
  height: 540px;
  top: -120px;
  left: 8%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.22;
}

.glow-field::after {
  width: 480px;
  height: 480px;
  top: 40px;
  right: 4%;
  background: radial-gradient(circle, var(--sky) 0%, transparent 70%);
  opacity: 0.14;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 26px;
}

.hero-copy h1 {
  margin-bottom: 26px;
}

.hero-copy h1 .line {
  display: block;
  overflow: hidden;
}

.hero-copy .lead {
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
}

.hero-meta .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero-meta .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 8px;
}

/* Hero phone mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: min(300px, 78%);
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #1c2129, #0c0e13);
  border-radius: 42px;
  padding: 12px;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 24px;
  background: #0a0b0e;
  border-radius: var(--pill);
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 32px;
  background: radial-gradient(120% 80% at 50% 0%, #15323a 0%, #0a0d12 55%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-top {
  padding: 40px 20px 16px;
}

.app-top .hello {
  font-size: 0.7rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.app-top .balance {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.app-top .delta {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: var(--pill);
}

.app-chart {
  height: 78px;
  margin: 4px 20px 16px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.app-chart i {
  flex: 1;
  background: linear-gradient(var(--accent), rgba(198, 242, 78, 0.25));
  border-radius: 4px 4px 0 0;
  opacity: 0.85;
  transform-origin: bottom;
  animation: bar 2.4s var(--ease) infinite alternate;
}

@keyframes bar {
  to {
    transform: scaleY(0.45);
  }
}

.app-list {
  background: rgba(8, 10, 14, 0.6);
  border-top: 1px solid var(--line);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-row .ic {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  flex: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.app-row .ic.a {
  background: linear-gradient(135deg, var(--accent), #6fae1c);
}
.app-row .ic.b {
  background: linear-gradient(135deg, var(--sky), #2a6f9e);
}
.app-row .ic.c {
  background: linear-gradient(135deg, var(--coral), #b34430);
}

.app-row .meta {
  flex: 1;
}

.app-row .meta b {
  display: block;
  height: 8px;
  width: 60%;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}

.app-row .meta span {
  display: block;
  height: 6px;
  width: 38%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  margin-top: 7px;
}

.app-row .amt {
  width: 38px;
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

/* Floating chips around phone */
.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border-radius: 14px;
  background: rgba(17, 20, 27, 0.85);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  animation: float 6s ease-in-out infinite;
}

.float-chip .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.float-chip small {
  display: block;
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

.float-chip.one {
  top: 16%;
  left: -6%;
  animation-delay: -1s;
}

.float-chip.two {
  bottom: 18%;
  right: -8%;
  animation-delay: -3s;
}

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

/* ---- Logo / platform strip --------------------------------------------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--ink-850);
  position: relative;
  z-index: 2;
}

.strip .container {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-block: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.strip .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.strip-logos {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
}

.strip-logos span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-faint);
  letter-spacing: -0.01em;
  opacity: 0.8;
  transition: color 0.25s, opacity 0.25s;
}

.strip-logos span:hover {
  color: var(--text);
  opacity: 1;
}

/* ---- Cards / grids ------------------------------------------------------ */
.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--accent-line), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.card:hover::after {
  opacity: 1;
}

.card .card-ic {
  width: 50px;
  height: 50px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  margin-bottom: 22px;
}

.card .card-ic svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 0.97rem;
}

.card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.card .tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: var(--pill);
}

.card .num-tag {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}

/* ---- Stats band --------------------------------------------------------- */
.stats {
  background: var(--ink-850);
  border-block: 1px solid var(--line);
}

.stats .grid {
  text-align: center;
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat .num .accent-text {
  color: var(--accent);
}

.stat .lbl {
  color: var(--text-dim);
  margin-top: 12px;
  font-size: 0.95rem;
}

/* ---- Process steps ------------------------------------------------------ */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 56px);
  padding-block: 36px;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.3s;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step:hover {
  background: linear-gradient(90deg, var(--accent-soft), transparent 60%);
}

.step .idx {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.step h3 {
  margin-bottom: 12px;
}

.step .step-body {
  max-width: 60ch;
}

.step .step-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.step .step-tags span {
  font-size: 0.8rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* ---- Feature row (alternating) ----------------------------------------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.feature + .feature {
  margin-top: clamp(60px, 8vw, 110px);
}

.feature.flip .feature-media {
  order: -1;
}

.feature h2 {
  margin-block: 18px;
}

.feature ul.checks {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

ul.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-dim);
}

ul.checks li svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--accent);
  margin-top: 3px;
}

.feature-media {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--ink-750), var(--ink-900));
  padding: 28px;
  min-height: 320px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-media::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.1;
  top: -80px;
  right: -60px;
}

/* code window */
.code-win {
  position: relative;
  z-index: 1;
  background: var(--ink-900);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.code-win .bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.code-win .bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2f3a;
}

.code-win .bar i:nth-child(1) {
  background: #ff5f57;
  opacity: 0.7;
}
.code-win .bar i:nth-child(2) {
  background: #febc2e;
  opacity: 0.7;
}
.code-win .bar i:nth-child(3) {
  background: #28c840;
  opacity: 0.7;
}

.code-win .bar .file {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
}

.code-win pre {
  margin: 0;
  padding: 18px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--text-dim);
  overflow-x: auto;
}

.code-win .k {
  color: var(--accent);
}
.code-win .s {
  color: #8fd3ff;
}
.code-win .c {
  color: var(--text-faint);
  font-style: italic;
}
.code-win .f {
  color: #e9c46a;
}

/* ---- Work / case study cards ------------------------------------------- */
.work-card {
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink-800);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
}

.work-thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.work-thumb.g1 {
  background: linear-gradient(135deg, #16321e, #0b0d12);
}
.work-thumb.g2 {
  background: linear-gradient(135deg, #15293a, #0b0d12);
}
.work-thumb.g3 {
  background: linear-gradient(135deg, #321a16, #0b0d12);
}
.work-thumb.g4 {
  background: linear-gradient(135deg, #2a2433, #0b0d12);
}

.work-thumb .glyph {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  color: rgba(255, 255, 255, 0.14);
  letter-spacing: -0.03em;
}

.work-thumb .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--pill);
  background: rgba(8, 9, 12, 0.6);
  border: 1px solid var(--line-2);
  color: var(--text-dim);
}

.work-body {
  padding: 24px 26px 28px;
}

.work-body .cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.work-body h3 {
  margin: 12px 0 10px;
}

.work-body p {
  font-size: 0.94rem;
}

.work-stats {
  display: flex;
  gap: 26px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.work-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
}

.work-stats span {
  font-size: 0.76rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* ---- Testimonials ------------------------------------------------------- */
.quote {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.quote .stars {
  color: var(--accent);
  letter-spacing: 3px;
  font-size: 0.9rem;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: auto;
}

.quote .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent), #82b822);
  flex: none;
}

.quote .who b {
  display: block;
  color: #fff;
  font-size: 0.95rem;
}

.quote .who span {
  font-size: 0.84rem;
  color: var(--text-faint);
}

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  border: 1px solid var(--accent-line);
  background: radial-gradient(120% 140% at 50% -20%, rgba(198, 242, 78, 0.16), var(--ink-800) 55%);
  padding: clamp(44px, 7vw, 84px);
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.16;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(40px);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  margin-bottom: 18px;
}

.cta-band p {
  max-width: 52ch;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Page hero (interior) ---------------------------------------------- */
.page-hero {
  position: relative;
  z-index: 2;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 64px);
  overflow: hidden;
}

.page-hero .eyebrow {
  margin-bottom: 22px;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 24px;
}

.page-hero .lead {
  max-width: 58ch;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-faint);
  margin-bottom: 26px;
  letter-spacing: 0.06em;
}

.breadcrumb a:hover {
  color: var(--text-dim);
}

/* ---- Pricing / engagement ---------------------------------------------- */
.price-card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--accent-line);
  box-shadow: var(--glow);
}

.price-card .ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 4px 10px;
  border-radius: var(--pill);
  font-weight: 700;
}

.price-card .tier {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.price-card .from {
  margin: 18px 0 6px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-card .from .amt {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}

.price-card .from .per {
  font-size: 0.85rem;
  color: var(--text-faint);
}

.price-card > p {
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.price-card ul.checks {
  margin: 0 0 28px;
}

.price-card ul.checks li {
  font-size: 0.92rem;
}

.price-card .btn {
  margin-top: auto;
  justify-content: center;
}

/* ---- FAQ ---------------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.faq-q .pm {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
}

.faq-q .pm::before,
.faq-q .pm::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}

.faq-q .pm::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-q .pm::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.open .pm::after {
  transform: scaleY(0);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-a > div {
  overflow: hidden;
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a p {
  padding: 0 4px 26px;
  max-width: 70ch;
}

/* ---- Values / about ----------------------------------------------------- */
.value {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--ink-850);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.value:hover {
  border-color: var(--line-2);
  transform: translateY(-4px);
}

.value .vnum {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.value h3 {
  margin: 14px 0 10px;
}

.value p {
  font-size: 0.95rem;
}

.team-member {
  text-align: center;
}

.team-member .photo {
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--accent-ink);
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.team-member .photo.t1 {
  background: linear-gradient(150deg, var(--accent), #5e8c12);
}
.team-member .photo.t2 {
  background: linear-gradient(150deg, var(--sky), #2a6f9e);
}
.team-member .photo.t3 {
  background: linear-gradient(150deg, var(--coral), #a8402d);
}
.team-member .photo.t4 {
  background: linear-gradient(150deg, #b8a6ff, #5b4ba8);
}

.team-member b {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.team-member span {
  font-size: 0.85rem;
  color: var(--text-faint);
  font-family: var(--font-mono);
}

/* timeline */
.timeline {
  position: relative;
  margin-left: 8px;
  padding-left: 36px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 40px;
}

.tl-item {
  position: relative;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 4px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--accent);
}

.tl-item .yr {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.tl-item h3 {
  margin: 8px 0 8px;
  font-size: 1.25rem;
}

.tl-item p {
  max-width: 60ch;
  font-size: 0.95rem;
}

/* ---- Contact ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form-card {
  background: linear-gradient(180deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
}

.field {
  margin-bottom: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 9px;
}

.field label .req {
  color: var(--accent);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--ink-900);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  color: var(--text);
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-faint);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--ink-850);
}

.field.invalid input,
.field.invalid textarea {
  border-color: var(--coral);
}

.field .err {
  display: none;
  color: var(--coral);
  font-size: 0.8rem;
  margin-top: 7px;
}

.field.invalid .err {
  display: block;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-foot .note {
  font-size: 0.82rem;
  color: var(--text-faint);
  max-width: 34ch;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px 8px;
}

.form-success.show {
  display: block;
  animation: pop 0.5s var(--ease);
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

.form-success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
}

.form-success .tick svg {
  width: 30px;
  height: 30px;
}

.form-success h3 {
  margin-bottom: 10px;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.info-block {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 24px;
  background: var(--ink-850);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.3s;
}

.info-block:hover {
  border-color: var(--line-2);
}

.info-block .ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.info-block .ic svg {
  width: 20px;
  height: 20px;
}

.info-block .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 5px;
}

.info-block .val {
  color: var(--text);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
}

.info-block a.val:hover {
  color: var(--accent);
}

.map-wrap {
  margin-top: 14px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.3) invert(0.92) hue-rotate(180deg) contrast(0.9);
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  background: var(--ink-850);
  padding-top: clamp(56px, 7vw, 88px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.94rem;
  max-width: 38ch;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  color: var(--text-dim);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col .addr {
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-legal {
  padding-block: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.footer-legal p {
  font-size: 0.84rem;
  color: var(--text-faint);
  max-width: 75ch;
}

.footer-legal .reg {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
}

.footer-legal .reg a {
  color: var(--text-dim);
  border-bottom: 1px solid var(--line-2);
}

.footer-legal .reg a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
}

.footer-legal .legal-links {
  display: flex;
  gap: 22px;
}

.footer-legal .legal-links a {
  font-size: 0.84rem;
  color: var(--text-faint);
}

.footer-legal .legal-links a:hover {
  color: var(--text-dim);
}

/* ---- Legal / prose pages ------------------------------------------------ */
.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose .updated {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  padding-bottom: 26px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.prose .intro {
  font-size: 1.12rem;
  color: var(--text-dim);
}

.prose h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  margin-top: 52px;
  margin-bottom: 16px;
  scroll-margin-top: 100px;
}

.prose h2 .n {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent);
  margin-right: 12px;
  font-weight: 500;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top: 30px;
  margin-bottom: 10px;
  color: var(--text);
}

.prose p {
  margin-bottom: 16px;
  color: var(--text-dim);
}

.prose a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
  transition: border-color 0.2s;
}

.prose a:hover {
  border-color: var(--accent);
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 24px;
  color: var(--text-dim);
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 9px;
  padding-left: 4px;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--text);
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.prose .callout {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 20px 24px;
  margin: 26px 0;
}

.prose .callout p:last-child {
  margin-bottom: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 26px;
  font-size: 0.93rem;
}

.prose th,
.prose td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text-dim);
}

.prose th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 500;
}

.prose td strong {
  color: var(--text);
}

/* ---- Cookie consent banner --------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 140%);
  z-index: 300;
  width: calc(100% - 40px);
  max-width: 640px;
  background: rgba(17, 20, 27, 0.94);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s;
}

.cookie-banner.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner p {
  flex: 1;
  min-width: 220px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0;
}

.cookie-banner p a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-line);
}

.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 0.7em 1.2em;
  font-size: 0.9rem;
}

@media (max-width: 520px) {
  .cookie-banner {
    bottom: 12px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
  }
  .cookie-banner .cookie-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---- Reveal animation --------------------------------------------------- */
.reveal {
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

/* Only hide pre-reveal when JS is available — graceful degradation. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

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

.reveal[data-d="1"] {
  transition-delay: 0.08s;
}
.reveal[data-d="2"] {
  transition-delay: 0.16s;
}
.reveal[data-d="3"] {
  transition-delay: 0.24s;
}
.reveal[data-d="4"] {
  transition-delay: 0.32s;
}
.reveal[data-d="5"] {
  transition-delay: 0.4s;
}

/* Hero load animation (JS-gated so content is visible without JS) */
.js .hero-anim {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.9s var(--ease) forwards;
}

.hero-anim.d1 {
  animation-delay: 0.05s;
}
.hero-anim.d2 {
  animation-delay: 0.15s;
}
.hero-anim.d3 {
  animation-delay: 0.25s;
}
.hero-anim.d4 {
  animation-delay: 0.35s;
}
.hero-anim.d5 {
  animation-delay: 0.5s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- Skip link ---------------------------------------------------------- */
.skip {
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 18px;
  border-radius: var(--pill);
  font-weight: 600;
  z-index: 200;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-visual {
    order: -1;
  }

  .feature,
  .feature.flip {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature.flip .feature-media {
    order: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

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

  .mobile-menu {
    position: fixed;
    inset: 76px 0 0;
    background: var(--ink-900);
    z-index: 99;
    padding: 28px var(--gutter) 40px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--line);
    overflow-y: auto;
  }

  body.nav-open .mobile-menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .mobile-menu a {
    padding: 16px 4px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu a:last-of-type {
    border-bottom: none;
  }

  .mobile-menu .btn {
    margin-top: 22px;
    justify-content: center;
  }
}

@media (min-width: 821px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 720px) {
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .split-head {
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .stats .grid {
    grid-template-columns: 1fr 1fr;
  }

  .strip .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 460px) {
  .hero-meta {
    flex-wrap: wrap;
    gap: 24px;
  }

  .float-chip {
    display: none;
  }
}

/* Two/three-up helpers that collapse responsibly */
@media (min-width: 721px) and (max-width: 940px) {
  .grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
