/* ============================================================== *
 *  Finswiss Labs · MOBILE stylesheet                                *
 *  Companion to the desktop site, scoped for ~360–480px viewports. *
 *  Same tokens, same brand, narrower layouts and mono-column flow. *
 * ============================================================== */

:root {
  /* Colour tokens — mirror desktop */
  --paper:        #f0eee6;
  --paper-soft:   #faf9f5;
  --ink:          #141414;
  --ink-2:        #1f1f1f;
  --ink-soft:     #2c2c2c;
  --muted:        #6b6864;
  --rule:         #1414141a;
  --rule-strong:  #1414142e;
  --clay:         #2750e0;
  --clay-deep:    #1c3eb8;
  --clay-soft:    #d8e0fb;
  --green:        #2f5d3a;

  /* Type families */
  --display: "IBM Plex Sans", "Helvetica Neue", system-ui, sans-serif;
  --sans:    "IBM Plex Sans", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif:   "IBM Plex Serif", Georgia, serif;

  /* Mobile padding ladder */
  --pad-x: 20px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html {
  background: #0b0b0c;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px -20px rgba(0,0,0,0.5);
}
@media (max-width: 430px) {
  body { box-shadow: none; max-width: none; }
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

/* Type ----------------------------------------------------------- */
.label {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.accent-italic, em.accent {
  font-family: inherit; font-style: inherit; font-weight: inherit;
  color: var(--clay); letter-spacing: inherit;
}

.h1 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.03em; font-size: 40px; line-height: 1.0;
  margin: 0;
}
.h2 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.028em; font-size: 32px; line-height: 1.04;
  margin: 0;
}
.h3 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.022em; font-size: 22px; line-height: 1.15;
  margin: 0;
}
.lede {
  font-size: 16.5px; line-height: 1.5; color: var(--ink-soft);
}

.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: 64px; padding-bottom: 64px; }

/* Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  background: var(--clay); color: #fff;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  border: 1px solid var(--clay); border-radius: 999px;
  letter-spacing: -0.005em;
  min-height: 48px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 1px 2px rgba(20,20,20,0.18);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 220ms cubic-bezier(.2,.7,.2,1),
    box-shadow 220ms ease;
  cursor: pointer;
}
.btn:hover {
  background: var(--clay-deep); border-color: var(--clay-deep);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.08),
    0 2px 4px rgba(20,20,20,0.22);
}
.btn:active {
  transform: translateY(0);
  background: var(--clay-deep); border-color: var(--clay-deep);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.10),
    0 1px 2px rgba(20,20,20,0.18);
}
.btn .arrow { transition: transform 220ms cubic-bezier(.2,.7,.2,1); display: inline-flex; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active .arrow { transform: translateX(2px); }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  min-height: 48px;
  transition: background 200ms, color 200ms, border-color 200ms, transform 200ms;
}
.btn-line.on-dark { color: #f3f1ea; border-color: rgba(255,255,255,0.28); }
.btn-line:hover {
  background: var(--ink); color: #fff; border-color: var(--ink);
  transform: translateY(-1px);
}
.btn-line.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line:active { transform: translateY(0); }
.btn-block { width: 100%; }

/* Mobile header ------------------------------------------------- */
header.site {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad-x);
  height: var(--header-h);
  color: #f3f1ea;
  transition: background 240ms, color 240ms, border-color 240ms;
}
header.site.scrolled {
  background: rgba(240,238,230,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { height: 36px; width: auto; display: block; }
/* Invert dark logo to cream when over dark backgrounds */
header.site:not(.scrolled) .wordmark img,
.foot-brand .wordmark img {
  filter: invert(1) brightness(1.05);
}

.menu-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
  color: inherit;
  padding: 0;
}
header.site.scrolled .menu-btn {
  border-color: var(--rule-strong);
  background: rgba(255,255,255,0.5);
}
.menu-btn .bars {
  width: 18px; height: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-btn .bars i {
  display: block; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform 220ms ease, opacity 200ms;
}
.menu-btn .bars i:nth-child(2) { width: 70%; align-self: flex-end; }

/* Mobile nav drawer --------------------------------------------- */
.nav-drawer {
  position: fixed; top: 0; bottom: 0;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px;
  z-index: 70;
  pointer-events: none;
}
.nav-drawer .nd-scrim {
  position: absolute; inset: 0;
  background: rgba(20,20,20,0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 240ms ease;
}
/* Wider scrim that bleeds outside the phone column on desktop */
.nav-drawer::before {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background: rgba(11,11,12,0.6);
  opacity: 0; transition: opacity 240ms ease;
  pointer-events: none;
}
.nav-drawer.on::before { opacity: 1; }
.nav-drawer .nd-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 360px);
  background: var(--ink); color: #f6f4ee;
  padding: 88px 24px 32px;
  display: flex; flex-direction: column; gap: 28px;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  overflow-y: auto;
}
.nav-drawer.on { pointer-events: auto; }
.nav-drawer.on .nd-scrim { opacity: 1; }
.nav-drawer.on .nd-panel { transform: translateX(0); }

.nd-close {
  position: absolute; top: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #f6f4ee;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
}
.nd-eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(243,241,234,0.5);
  display: inline-flex; align-items: center; gap: 10px;
}
.nd-eyebrow .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
  box-shadow: 0 0 0 4px rgba(39,80,224,0.2);
}
.nav-drawer nav { display: flex; flex-direction: column; }
.nav-drawer nav a {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid rgba(243,241,234,0.12);
  font-family: var(--display); font-weight: 500;
  font-size: 28px; letter-spacing: -0.022em; line-height: 1;
  color: #f6f4ee;
}
.nav-drawer nav a:last-child { border-bottom: 1px solid rgba(243,241,234,0.12); }
.nav-drawer nav a .ix {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  color: rgba(243,241,234,0.45); font-weight: 500;
}
.nav-drawer nav a.nav-current { color: var(--clay); }
.nav-drawer nav a.nav-current .ix { color: var(--clay); }
.nd-foot {
  margin-top: auto;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(243,241,234,0.45);
  display: flex; flex-direction: column; gap: 8px;
}
.nd-foot strong { color: #f6f4ee; font-weight: 500; }

body.nav-open { overflow: hidden; }

/* HERO (home) --------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--ink); color: #f3f1ea;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad-x) 72px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 35%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 35%, #000 30%, transparent 80%);
}
.hero-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-aurora .blob { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.hero-aurora .b1 {
  width: 90%; height: 50%; right: -20%; top: -10%;
  background: #2750e0; opacity: 0.45;
  animation: hero-drift-a 28s ease-in-out infinite;
}
.hero-aurora .b2 {
  width: 70%; height: 40%; left: -25%; top: 30%;
  background: #6f8cff; opacity: 0.28;
  animation: hero-drift-b 34s ease-in-out infinite reverse;
}
@keyframes hero-drift-a {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-6%, 8%) scale(1.08); }
}
@keyframes hero-drift-b {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(8%, -6%) scale(0.92); }
}

/* Constellation visual (mobile) -------------------------------- */
.hv-constellation {
  position: absolute;
  left: 50%; top: 10%;
  transform: translateX(-50%);
  width: min(110vw, 480px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 30%, transparent 78%);
}
.hv-constellation svg { width: 100%; height: 100%; display: block; }
.hv-constellation .hv-rings circle:nth-child(2) { animation: hv-ring-rot 60s linear infinite; transform-origin: 300px 300px; }
.hv-constellation .hv-rings circle:nth-child(3) { animation: hv-ring-rot 90s linear infinite reverse; transform-origin: 300px 300px; }
.hv-constellation .hv-core-glow { animation: hv-breathe 6s ease-in-out infinite; transform-origin: 300px 300px; transform-box: fill-box; }
.hv-constellation .hv-nodes g { transform-box: fill-box; }
.hv-constellation .hv-nodes .ring {
  fill: none;
  stroke: rgba(39,80,224,0.55);
  stroke-width: 1;
  transform-origin: center;
  animation: hv-ping 3.4s ease-out infinite;
}
.hv-constellation .hv-nodes g:nth-child(1) .ring { animation-delay: 0s; }
.hv-constellation .hv-nodes g:nth-child(2) .ring { animation-delay: 0.4s; }
.hv-constellation .hv-nodes g:nth-child(3) .ring { animation-delay: 0.9s; }
.hv-constellation .hv-nodes g:nth-child(4) .ring { animation-delay: 1.4s; }
.hv-constellation .hv-nodes g:nth-child(5) .ring { animation-delay: 1.9s; }
.hv-constellation .hv-nodes g:nth-child(6) .ring { animation-delay: 2.4s; }
.hv-constellation .hv-nodes g:nth-child(7) .ring { animation-delay: 2.9s; }
.hv-constellation .hv-links line { stroke-dasharray: 4 6; animation: hv-flow 8s linear infinite; }
@keyframes hv-ring-rot { to { transform: rotate(360deg); } }
@keyframes hv-breathe  { 0%,100% { opacity: 0.85; } 50% { opacity: 0.45; } }
@keyframes hv-ping {
  0%   { stroke-opacity: 0.7; transform: scale(0.6); }
  80%  { stroke-opacity: 0;   transform: scale(2.4); }
  100% { stroke-opacity: 0;   transform: scale(2.4); }
}
@keyframes hv-flow { to { stroke-dashoffset: -200; } }

/* Logo stream visual (mobile) ---------------------------------- */
.hv-stream {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 66%;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 60%, transparent 100%);
}
.hv-stream .stream-stage {
  width: 100%; height: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; padding: 0 var(--pad-x);
}
.stream-col { display: flex; flex-direction: column; gap: 12px; will-change: transform; }
.stream-col.up { animation: stream-up 34s linear infinite; }
.stream-col.down { animation: stream-down 40s linear infinite; }
@keyframes stream-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes stream-down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.stream-cell {
  aspect-ratio: 1 / 1; flex: 0 0 auto;
  border: 1px solid rgba(243,241,234,0.12); border-radius: 14px;
  background: rgba(243,241,234,0.03);
  display: flex; align-items: center; justify-content: center;
}
.stream-cell .plogo { width: 46%; height: 46%; }
.plogo {
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(243,241,234,0.55);
  transition: color 900ms ease;
}
.plogo svg { width: 100%; height: 100%; display: block; }
.plogo-fb {
  display: none; font-family: var(--mono); font-weight: 500;
  font-size: 10px; letter-spacing: 0.03em; color: rgba(243,241,234,0.7);
  text-align: center; line-height: 1.1; padding: 0 4px;
}
.plogo.failed .plogo-fb { display: inline-flex; align-items: center; }

.hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 24px; }
.hero-eyebrow {
  align-self: flex-start;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(243,241,234,0.7);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
}
.hero-eyebrow .pip {
  width: 7px; height: 7px; border-radius: 50%; background: var(--clay);
  animation: pip-pulse 2.4s ease-in-out infinite;
}
@keyframes pip-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(39,80,224,0.5); }
  50%     { box-shadow: 0 0 0 6px rgba(39,80,224,0); }
}
.hero-headline {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(40px, 11vw, 56px);
  line-height: 0.98;
  margin: 0 0 32px;
  color: #f6f4ee;
}
.hero-headline em {
  font-style: normal; color: var(--clay);
}
.hero-sub {
  font-family: var(--sans); font-weight: 400;
  font-size: 16px; line-height: 1.5;
  color: rgba(243,241,234,0.78);
  margin: 0;
}
.hero-ctas { display: flex; flex-direction: column; gap: 10px; }

.hero-ticker {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(243,241,234,0.16);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243,241,234,0.6);
}
.hero-ticker .item { display: flex; align-items: center; gap: 8px; }
.hero-ticker .item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }

/* Page hero (interior pages) ----------------------------------- */
.page-hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  background: var(--ink); color: #f3f1ea;
  padding: 120px var(--pad-x) 56px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.page-hero-inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.page-hero .crumb {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(243,241,234,0.6);
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
}
.page-hero .crumb .pip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
  box-shadow: 0 0 0 4px rgba(39,80,224,0.18);
}
.page-hero h1 {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.035em;
  font-size: clamp(36px, 10vw, 52px); line-height: 1.0;
  margin: 0; color: #f6f4ee;
}
.page-hero h1 em { font-style: normal; color: var(--clay); }
.page-hero p.lede {
  font-size: 16px; line-height: 1.5;
  color: rgba(243,241,234,0.78); margin: 0;
}
.page-hero .hero-strip {
  margin-top: auto;
  padding-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  border-top: 1px solid rgba(243,241,234,0.18);
}
.page-hero .hero-strip .item { display: flex; flex-direction: column; gap: 4px; }
.page-hero .hero-strip .k {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(243,241,234,0.55);
}
.page-hero .hero-strip .v {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.018em; color: #f6f4ee;
  font-size: 16px; line-height: 1.2;
}
.page-hero .hero-strip .v em { color: var(--clay); font-style: normal; }

/* Section head ------------------------------------------------- */
.section-head {
  display: flex; flex-direction: column; gap: 14px;
  padding-bottom: 28px;
}
.section-head h2 { font-size: 32px; line-height: 1.04; letter-spacing: -0.028em; font-weight: 500; margin: 0; font-family: var(--display); }
.section-head h2 em, .section-head h2 .accent-italic { color: var(--clay); font-style: normal; }
.section-head .right p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 12px 0 0; }

/* Services ----------------------------------------------------- */
.services-grid { display: flex; flex-direction: column; gap: 12px; }
.svc-card {
  position: relative;
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 22px 22px;
  display: flex; flex-direction: column;
}
.svc-card.feature {
  background: var(--ink); color: #f3f1ea; border-color: var(--ink);
}
.svc-card.feature .svc-num,
.svc-card.feature .svc-meta { color: rgba(243,241,234,0.6); }
.svc-card.feature .svc-body { color: rgba(243,241,234,0.74); }
.svc-card.feature .svc-bullets li { color: rgba(243,241,234,0.86); border-color: rgba(255,255,255,0.1); }

.svc-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 18px;
}
.svc-num, .svc-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.svc-title {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.022em;
  font-size: 24px; line-height: 1.1;
  margin: 0 0 14px;
}
.svc-title em { font-style: normal; color: var(--clay); }
.svc-body {
  font-size: 15px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 18px;
}
.svc-bullets {
  list-style: none; padding: 0; margin: 0 0 22px;
  display: flex; flex-direction: column;
}
.svc-bullets li {
  padding: 11px 0;
  font-size: 14px; color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  display: flex; align-items: center; gap: 10px;
}
.svc-bullets li::before {
  content: "→"; color: var(--clay); font-family: var(--mono); font-size: 13px;
}
.svc-cta-row {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
}

/* Stats strip -------------------------------------------------- */
.stats-strip {
  background: var(--clay); color: #fff;
  padding: 56px var(--pad-x);
}
.stats-strip .lede-text {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.025em;
  font-size: 28px; line-height: 1.08;
  margin: 0 0 32px;
}
.stats-strip .lede-text em {
  font-style: normal; color: rgba(255,255,255,0.86);
}
.stats-strip .stats-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.stats-strip .stat { display: flex; flex-direction: column; gap: 6px; }
.stats-strip .stat .num {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.028em; font-size: 42px; line-height: 1;
}
.stats-strip .stat .lbl {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.86;
}

/* Process (dark) ----------------------------------------------- */
.process {
  background: var(--ink); color: #f3f1ea;
  padding: 72px var(--pad-x);
}
.process .label { color: rgba(243,241,234,0.6); }
.process h2 { color: #f6f4ee; }
.process .lede { color: rgba(243,241,234,0.74); }

.process-steps {
  display: flex; flex-direction: column;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.step {
  padding: 20px 0 22px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; gap: 10px;
}
.step .step-num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--clay); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.step .step-num .bar { width: 28px; height: 1px; background: var(--clay); }
.step h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; line-height: 1.15; letter-spacing: -0.018em;
  margin: 0; color: #f6f4ee;
}
.step p {
  font-size: 14.5px; line-height: 1.55;
  color: rgba(243,241,234,0.72); margin: 0;
}

/* Values ------------------------------------------------------- */
.values-grid {
  display: flex; flex-direction: column;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  gap: 1px;
}
.value-cell {
  background: var(--paper-soft);
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.value-cell .num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  color: var(--clay); text-transform: uppercase;
}
.value-cell h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; line-height: 1.15; letter-spacing: -0.018em;
  margin: 0;
}
.value-cell p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* Partners ----------------------------------------------------- */
.partners {
  padding: 48px var(--pad-x);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.partners .label-cell { margin-bottom: 28px; display: block; }
.partners-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 20px; align-items: center;
}
.partners-row .partner {
  display: flex; align-items: center; justify-content: center;
  min-height: 96px;
}
.partners-row .partner img {
  max-height: 80px; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) contrast(1);
  opacity: 0.6;
}

/* Closing CTA -------------------------------------------------- */
.closing {
  background: var(--paper-soft);
  padding: 72px var(--pad-x);
  border-top: 1px solid var(--rule);
}
.closing .label { display: inline-block; margin-bottom: 18px; }
.closing-h {
  font-family: var(--display); font-weight: 500;
  letter-spacing: -0.03em;
  font-size: 38px; line-height: 1.0;
  margin: 0 0 18px;
}
.closing-h em, .closing-h .accent-italic { font-style: normal; color: var(--clay); }
.closing-sub {
  font-size: 16px; line-height: 1.55; color: var(--ink-soft);
  margin: 0 0 28px;
}
.closing-cta { display: flex; flex-direction: column; gap: 14px; }
.closing-meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  align-self: flex-start;
}

/* Generic section --------------------------------------------- */
.page-section {
  padding: 64px var(--pad-x);
  background: var(--paper);
}
.page-section.alt  { background: var(--paper-soft); }
.page-section.dark { background: var(--ink); color: #f3f1ea; }

.lede-row { display: flex; flex-direction: column; gap: 12px; }
.lede-row .label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.lede-row .h2 {
  font-family: var(--display); font-weight: 500; letter-spacing: -0.028em;
  font-size: 30px; line-height: 1.05;
  margin: 0;
}
.lede-row .h2 em, .lede-row .h2 .accent-italic { font-style: normal; color: var(--clay); }
.page-section.dark .lede-row .label { color: rgba(243,241,234,0.55); }
.page-section.dark .lede-row .h2 { color: #f6f4ee; }

.section-lede {
  margin: 22px 0 0;
  font-family: var(--display); font-weight: 400;
  letter-spacing: -0.012em;
  font-size: 18px; line-height: 1.45;
  color: var(--ink);
}
.page-section.dark .section-lede { color: #f6f4ee; }

.two-col { margin-top: 22px; display: flex; flex-direction: column; gap: 18px; }
.two-col p {
  font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 0;
}
.page-section.dark .two-col p { color: rgba(243,241,234,0.78); }

/* Footer ------------------------------------------------------- */
footer.site {
  background: var(--ink); color: #f3f1ea;
  padding: 56px var(--pad-x) 28px;
}
.foot-top {
  display: flex; flex-direction: column; gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.foot-brand p {
  margin-top: 16px;
  font-size: 14.5px; line-height: 1.55;
  color: rgba(243,241,234,0.66);
}
.foot-top h4 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(243,241,234,0.5);
  margin: 0 0 14px; font-weight: 500;
}
.foot-top ul { list-style: none; padding: 0; margin: 0; }
.foot-top li { padding: 6px 0; font-size: 14.5px; color: rgba(243,241,234,0.85); }
.foot-bottom {
  padding-top: 22px;
  display: flex; flex-direction: column; gap: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(243,241,234,0.5);
}
.foot-bottom .dots { display: flex; gap: 18px; flex-wrap: wrap; }

/* Reveal animation -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 600ms cubic-bezier(.2,.7,.2,1), transform 600ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-aurora .blob, .hv-constellation *, .stream-col, .reveal { animation: none !important; transition: none !important; }
}
