/* Veraxus AI — marketing site
   Tokens aligned to portal: ink / paper / muted / geometric */

:root {
  --ink: #0A0A0B;
  --paper: #F7F7F5;
  --paper-2: #FFFFFF;
  --muted: #6B6B66;
  --muted-2: #9A9A94;
  --line: rgba(10, 10, 11, 0.08);
  --line-strong: rgba(10, 10, 11, 0.14);
  --elevated: #FFFFFF;
  --shadow: 0 24px 80px rgba(10, 10, 11, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Geist", "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, monospace;
  --max: 1120px;
  --nav-h: 64px;
  --page-pad: max(1rem, env(safe-area-inset-left));
}

@media (min-width: 800px) {
  :root { --nav-h: 96px; --page-pad: 1.75rem; }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

code, pre { font-family: var(--mono); font-size: 0.86em; }

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

/* ——— Ambient motion ——— */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridDrift 48s linear infinite;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(64px, 64px); }
}

.ambient-axis {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 1px;
  height: 55%;
  background: linear-gradient(to bottom, transparent, rgba(10,10,11,0.12), transparent);
  transform: translateX(-50%);
  animation: axisBreathe 8s ease-in-out infinite;
}

@keyframes axisBreathe {
  0%, 100% { opacity: 0.35; height: 50%; }
  50% { opacity: 0.7; height: 58%; }
}

.ambient-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 80vw;
  height: 50vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(10,10,11,0.03), transparent 70%);
  animation: glowPulse 12s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.ambient-nodes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Spinning logo X marks — strategic, slow, low opacity */
.spin-x {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  will-change: transform;
  filter: grayscale(1);
}

.spin-x-1 {
  width: 280px;
  height: 280px;
  top: 12%;
  right: -4%;
  animation: spinSlow 48s linear infinite;
  opacity: 0.07;
}

.spin-x-2 {
  width: 160px;
  height: 160px;
  top: 48%;
  left: -3%;
  animation: spinSlow 64s linear infinite reverse;
  opacity: 0.05;
}

.spin-x-3 {
  width: 120px;
  height: 120px;
  bottom: 18%;
  right: 12%;
  animation: spinSlow 56s linear infinite;
  opacity: 0.055;
}

.spin-x-4 {
  width: 90px;
  height: 90px;
  top: 72%;
  left: 22%;
  animation: spinSlow 72s linear infinite reverse;
  opacity: 0.045;
}

.spin-x-5 {
  width: 200px;
  height: 200px;
  top: 28%;
  left: 55%;
  animation: spinSlow 88s linear infinite;
  opacity: 0.035;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ——— Nav ——— */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: env(safe-area-inset-top) max(var(--page-pad), env(safe-area-inset-right)) 0 var(--page-pad);
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  background: rgba(247, 247, 245, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
}

.nav-brand img,
.nav-brand .lockup-img {
  height: 36px;
  width: auto;
  max-width: min(148px, 40vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.nav-actions .btn-sm {
  height: 36px;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.nav-actions .label-narrow { display: none; }

@media (max-width: 400px) {
  .nav-actions .label-wide { display: none; }
  .nav-actions .label-narrow { display: inline; }
}

@media (min-width: 800px) {
  .nav {
    gap: 1.5rem;
  }
  .nav-brand {
    flex: 0 0 auto;
  }
  .nav-brand img,
  .nav-brand .lockup-img {
    height: 72px;
    max-width: none;
  }
  .nav-actions {
    gap: 0.65rem;
  }
  .nav-actions .btn-sm {
    height: 36px;
    padding: 0 1rem;
    font-size: 0.8rem;
  }
}

.nav-ai {
  opacity: 0.45;
  font-weight: 500;
  margin-left: 0.15rem;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line-strong);
}

.nav-links {
  display: none;
  gap: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav-links a:hover { color: var(--ink); }

@media (min-width: 800px) {
  .nav-links { display: flex; }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 44px;
  padding: 0 1.25rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

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

.btn-ghost:hover { background: rgba(10,10,11,0.04); }

.btn-sm {
  height: 36px;
  padding: 0 1rem;
  font-size: 0.8rem;
}

/* ——— Layout ——— */
main { position: relative; z-index: 1; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

@media (min-width: 800px) {
  .section { padding: 6rem 1.5rem; }
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0.5rem 0 1rem;
}

.section-lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ——— Hero ——— */
.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4rem;
  text-align: center;
}

@media (min-width: 800px) {
  .hero { padding: 5rem 1.5rem 6rem; }
}

.hero-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-logo img {
  height: clamp(36px, 6vw, 52px);
  width: auto;
  opacity: 0.95;
}

.hero-mark-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero-mark {
  width: 72px;
  height: 72px;
  display: block;
  animation: markFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 24px rgba(10, 10, 11, 0.08));
}

@keyframes markFloat {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-8px); opacity: 0.85; }
}

.hero-title {
  font-size: clamp(1.85rem, 8.2vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0.75rem 0 1.25rem;
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--ink) 40%, #4A4A46 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 800px) {
  .hero-lede { font-size: 1.1rem; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-cta .btn {
  min-width: min(100%, 11.5rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.hero-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
}

/* ——— Brand band (second lockup placement) ——— */
.brand-band {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
}

.brand-band-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.brand-band-inner::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  background: url("../assets/mark.png") center / contain no-repeat;
  opacity: 0.06;
  animation: spinSlow 60s linear infinite;
  pointer-events: none;
}

.brand-band-mark {
  width: 44px;
  height: 44px;
  animation: spinSlow 40s linear infinite;
  opacity: 0.9;
}

.brand-band-lockup {
  height: clamp(36px, 8vw, 56px);
  width: auto;
  max-width: 90%;
}

.brand-band-tag {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  max-width: 320px;
}

/* ——— Problem cards ——— */
.problem-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.25s ease;
}

.card:hover { border-color: var(--line-strong); }

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--ink);
  margin-bottom: 1rem;
  opacity: 0.85;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.card p { color: var(--muted); font-size: 0.95rem; }

/* ——— Hop stage (animated explainer) ——— */
.hop-stage {
  background: var(--ink);
  color: var(--paper);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1rem 1.15rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

@media (min-width: 800px) {
  .hop-stage { padding: 1.75rem 1.5rem 1.5rem; }
}

.hop-rail {
  height: 2px;
  background: rgba(247,247,245,0.12);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  position: relative;
}

.hop-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 25%;
  background: var(--paper);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hop-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 800px) {
  .hop-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

.hop-step {
  opacity: 0.35;
  transition: opacity 0.35s ease;
  padding: 0.25rem 0;
}

.hop-step.is-active { opacity: 1; }

.hop-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(247,247,245,0.45);
  margin-bottom: 0.2rem;
}

.hop-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.hop-detail {
  display: none;
  font-size: 0.72rem;
  color: rgba(247,247,245,0.5);
  margin-top: 0.15rem;
}

@media (min-width: 700px) {
  .hop-detail { display: block; }
}

.hop-panels { position: relative; min-height: 180px; }

.hop-code {
  display: none;
  margin: 0;
  padding: 1.25rem;
  background: rgba(247,247,245,0.04);
  border: 1px solid rgba(247,247,245,0.08);
  border-radius: var(--radius-sm);
  overflow-x: auto;
  color: rgba(247,247,245,0.88);
  line-height: 1.55;
  font-size: 0.8rem;
}

.hop-code.is-active {
  display: block;
  animation: fadePanel 0.45s ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.hop-code .k { color: #9DB7FF; }
.hop-code .ky { color: #C4B5FD; }
.hop-code .s { color: #A7F3D0; }
.hop-code .n { color: #FCD34D; }
.hop-code .c { color: rgba(247,247,245,0.35); }
.hop-code .p { color: rgba(247,247,245,0.55); }

.method-contrast {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .method-contrast {
    grid-template-columns: 1fr auto 1fr;
  }
}

.contrast-bad, .contrast-good {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.contrast-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--muted-2);
}

.contrast-good .contrast-tag { color: var(--ink); }

.contrast-bad p, .contrast-good p {
  font-size: 0.95rem;
  color: var(--muted);
}

.contrast-axis {
  display: flex;
  justify-content: center;
  color: var(--ink);
  opacity: 0.5;
}

/* ——— Product ——— */
.product-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3.5rem;
  }
}

.product-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.stack-layer {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  transform: none;
  animation: stackIn 0.8s ease backwards;
  animation-delay: calc(var(--i) * 0.08s);
}

@media (min-width: 800px) {
  .stack-layer { transform: translateX(calc(var(--i) * 8px)); }
}

.stack-core {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.stack-label { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.stack-desc { font-size: 0.8rem; opacity: 0.55; }
.stack-core .stack-desc { opacity: 0.65; }

@keyframes stackIn {
  from { opacity: 0; transform: translateX(20px); }
}

.product-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.product-points li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--line-strong);
}

.product-points strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-points span {
  color: var(--muted);
  font-size: 0.9rem;
}

.product-points code {
  font-size: 0.82em;
  background: rgba(10,10,11,0.05);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

/* ——— How ——— */
.how-timeline {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .how-timeline { grid-template-columns: repeat(3, 1fr); }
}

.how-card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.how-visual {
  height: 72px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  overflow: hidden;
}

.viz-key {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 48px;
}

.viz-key-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.2;
  animation: keyScan 2.4s ease-in-out infinite;
}

.viz-key-bar:nth-child(1) { width: 100%; animation-delay: 0s; }
.viz-key-bar:nth-child(2) { width: 70%; animation-delay: 0.15s; }
.viz-key-bar:nth-child(3) { width: 85%; animation-delay: 0.3s; }

@keyframes keyScan {
  0%, 100% { opacity: 0.2; }
  40% { opacity: 0.9; }
}

.viz-pulse {
  position: relative;
  width: 12px;
  height: 12px;
}

.viz-pulse span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  animation: ringOut 2.5s ease-out infinite;
}

.viz-pulse span:nth-child(2) { animation-delay: 0.6s; }
.viz-pulse span:nth-child(3) { animation-delay: 1.2s; }

@keyframes ringOut {
  0% { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}

.viz-json {
  display: flex;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.viz-json span {
  animation: jsonBlink 3s ease-in-out infinite;
}

.viz-json span:nth-child(2) { animation-delay: 0.4s; opacity: 0.4; }
.viz-json span:nth-child(3) { animation-delay: 0.8s; }

@keyframes jsonBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.how-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.4rem;
}

.how-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.how-card code {
  font-size: 0.8em;
  background: rgba(10,10,11,0.05);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* ——— API ——— */
.api-frame {
  background: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.api-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(247,247,245,0.1);
  padding: 0 0.5rem;
}

.api-tab {
  background: none;
  border: none;
  color: rgba(247,247,245,0.4);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 1rem 1.1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.api-tab.is-active {
  color: var(--paper);
  border-bottom-color: var(--paper);
}

.api-body {
  display: none;
  margin: 0;
  padding: 1.15rem 1rem;
  color: rgba(247,247,245,0.9);
  font-size: 0.75rem;
  line-height: 1.6;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-height: 180px;
}

@media (min-width: 800px) {
  .api-body {
    padding: 1.5rem;
    font-size: 0.82rem;
    min-height: 220px;
  }
}

.api-body.is-active { display: block; animation: fadePanel 0.35s ease; }

.api-body .k { color: #9DB7FF; }
.api-body .ky { color: #C4B5FD; }
.api-body .s { color: #A7F3D0; }
.api-body .n { color: #FCD34D; }
.api-body .c { color: rgba(247,247,245,0.35); }
.api-body .p { color: rgba(247,247,245,0.5); }

/* ——— Who ——— */
.who {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.who-inner { max-width: 560px; margin: 0 auto; }

.who-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.who-logo img {
  height: 40px;
  width: auto;
}

.who h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0.5rem 0 1.25rem;
}

.who-lede {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.who-lede em { font-style: normal; font-weight: 600; }

.who-lede.muted { color: var(--muted); font-size: 1rem; }

/* ——— CTA ——— */
.cta { padding-bottom: 5rem; }

@media (min-width: 800px) {
  .cta { padding-bottom: 7rem; }
}

.cta-card {
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  padding: 2rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(10,10,11,0.04), transparent);
  pointer-events: none;
}

.cta-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.cta-logo img {
  height: 36px;
  width: auto;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.cta-card > p {
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cta-row .btn {
  min-width: min(100%, 14rem);
}

/* ——— Footer ——— */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  color: var(--muted-2);
  font-size: 0.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-size: 0.8rem;
}

.footer-brand img {
  height: 18px;
  width: auto;
}

@media (min-width: 800px) {
  .cta-card { padding: 3rem 1.75rem; }
}

@media (max-width: 420px) {
  .nav-actions .btn-sm { padding: 0 0.65rem; }
  .hero-cta .btn,
  .cta-row .btn { width: 100%; min-width: 0; }
  .hop-code { font-size: 0.72rem; padding: 1rem; }
}
