/* ============================================================
   MisoftWallet — Landing styles
   Dark fintech premium · Bloomberg Terminal meets Stripe
   ============================================================ */

:root {
  /* color tokens (overridable via Tweaks) */
  --bg-dark: #0A1628;
  --accent: #00C896;
  --accent-blue: #1A6DFF;
  --light: #F8FAFB;
  --muted: #64748B;

  /* derived dark-surface palette */
  --surface-1: #0F1E34;
  --surface-2: #142640;
  --hairline: rgba(148, 178, 214, 0.14);
  --hairline-strong: rgba(148, 178, 214, 0.24);
  --ink-on-dark: #EaF1F8;
  --ink-on-dark-soft: #9DB0C7;

  /* light section */
  --ink: #0A1628;
  --ink-soft: #475569;

  --font-display: "Clash Display", "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

p { margin: 0; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---- buttons ---- */
.btn {
  --btn-fg: #04130d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--btn-fg);
  box-shadow: 0 8px 30px -8px color-mix(in oklch, var(--accent) 70%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px color-mix(in oklch, var(--accent) 80%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-on-dark);
  border-color: var(--hairline-strong);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-ghost.on-light { color: var(--ink); border-color: rgba(10,22,40,0.18); }
.btn-ghost.on-light:hover { color: var(--accent); border-color: var(--accent); }
.btn-lg { padding: 18px 30px; font-size: 1.06rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklch, var(--bg-dark) 80%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--hairline);
  background: color-mix(in oklch, var(--bg-dark) 92%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand image-slot { display: block; }
.brand-fallback {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand-fallback b { color: var(--accent); font-weight: 600; }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--ink-on-dark-soft);
  font-weight: 500;
  transition: color .2s var(--ease);
  position: relative;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .28s var(--ease);
}
.nav-links a:hover { color: var(--ink-on-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(20px, 5vw, 40px) 0 clamp(20px, 5vw, 40px);
  overflow: hidden;
}
.hero::before {
  /* ambient green glow */
  content: "";
  position: absolute;
  top: -10%; right: -6%;
  width: 60vw; height: 60vw;
  max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at center,
      color-mix(in oklch, var(--accent) 26%, transparent) 0%, transparent 62%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-on-dark-soft);
  padding: 8px 14px 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  background: var(--surface-1);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 25%, transparent);
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 24px;
}
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
  max-width: 30em;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--ink-on-dark-soft);
  font-size: 0.9rem;
  font-weight: 500;
}
.trust-row .ti { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--hairline-strong); }
.check-mini {
  width: 16px; height: 16px; flex: none;
  color: var(--accent);
}

/* hero dashboard mockup */
.hero-visual { position: relative; }
.dash-glow {
  position: absolute;
  inset: -8% -6% -12% -6%;
  background: radial-gradient(ellipse at 60% 40%,
      color-mix(in oklch, var(--accent) 30%, transparent), transparent 70%);
  filter: blur(36px);
  z-index: 0;
}
.dash-frame {
  position: relative;
  z-index: 1;
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface-1));
  padding: 12px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.02) inset;
}
.dash-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px 12px;
}
.dash-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline-strong); display: block; }
.dash-bar i:nth-child(1){ background:#ff5f57; opacity:.7;}
.dash-bar i:nth-child(2){ background:#febc2e; opacity:.7;}
.dash-bar i:nth-child(3){ background:#28c840; opacity:.7;}
.dash-bar span { margin-left: auto; font-size: .72rem; color: var(--ink-on-dark-soft); font-weight:500; letter-spacing:.04em;}
.hero-slot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3.05;
  border-radius: 12px;
  overflow: hidden;
}
.dash-float {
  position: absolute;
  z-index: 2;
  background: var(--surface-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 20px 50px -16px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}
.dash-float.fl-1 { left: -34px; bottom: 60px; }
.dash-float.fl-2 { right: -26px; top: 54px; }
.dash-float .lbl { font-size: .68rem; color: var(--ink-on-dark-soft); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.dash-float .val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-top: 3px; }
.dash-float .val.green { color: var(--accent); }
.dash-float .tag { display:inline-flex; align-items:center; gap:6px; font-size:.74rem; color:var(--accent); font-weight:600; margin-top:4px;}

/* ============================================================
   METRICS BAR
   ============================================================ */
.metrics { padding: clamp(40px, 5vw, 64px) 0; position: relative; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.metric-card {
  background: linear-gradient(165deg, var(--surface-1), color-mix(in oklch, var(--bg-dark) 70%, var(--surface-1)));
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
}
.metric-card::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px;
  background: var(--accent); opacity:.85;
}
.metric-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.metric-num .unit { color: var(--accent); }
.metric-label { margin-top: 12px; color: var(--ink-on-dark-soft); font-size: 1rem; font-weight: 500; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section.light { background: var(--light); color: var(--ink); }
.section-head { max-width: 640px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  white-space: nowrap;
}
.section h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
}
.section.light .section-sub { color: var(--ink-soft); }
.section-sub {
  margin-top: 18px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
}

/* ---- HOW IT WORKS stepper ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 30px; left: 12%; right: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg,
      color-mix(in oklch, var(--accent) 55%, transparent) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.step { position: relative; z-index: 1; }
.step-node {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10,22,40,0.1);
  box-shadow: 0 12px 30px -14px rgba(10,22,40,0.3);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 22px;
}
.step-node svg { width: 26px; height: 26px; }
.step-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.step h3 { font-size: 1.3rem; margin: 6px 0 10px; }
.step p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.5; }

/* ---- BENEFITS split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.bcol {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 46px);
  background: var(--surface-1);
  position: relative;
}
.bcol.accent { border-color: color-mix(in oklch, var(--accent) 40%, transparent); }
.bcol-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-on-dark-soft);
  margin-bottom: 8px;
}
.bcol-tag .pip { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.bcol h3 { font-size: 1.7rem; margin-bottom: 24px; }
.blist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.blist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-on-dark-soft); font-size: 1.02rem; line-height: 1.45; }
.blist .ck {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  background: color-mix(in oklch, var(--accent) 16%, transparent);
  color: var(--accent);
  display: grid; place-items: center; margin-top: 1px;
}
.blist .ck svg { width: 14px; height: 14px; }

/* ---- TRUST grid ---- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.trust-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--surface-1);
  padding: 30px 28px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); border-color: var(--hairline-strong); background: var(--surface-2); }
.trust-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent);
  display: grid; place-items: center; margin-bottom: 20px;
}
.trust-ico svg { width: 23px; height: 23px; }
.trust-card h3 { font-size: 1.18rem; margin-bottom: 8px; }
.trust-card p { color: var(--ink-on-dark-soft); font-size: 0.96rem; line-height: 1.5; }

/* ---- FINAL CTA ---- */
.final {
  padding: clamp(70px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.final-card {
  position: relative;
  border: 1px solid var(--hairline-strong);
  border-radius: 28px;
  background:
     radial-gradient(ellipse at 50% -20%, color-mix(in oklch, var(--accent) 22%, transparent), transparent 60%),
     linear-gradient(170deg, var(--surface-2), var(--surface-1));
  padding: clamp(48px, 7vw, 88px) 28px;
  text-align: center;
  overflow: hidden;
}
.final-card::after {
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 72%);
  opacity:.4; pointer-events:none;
}
.final-card > * { position: relative; z-index: 1; }
.final-card h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.05; }
.final-card p { color: var(--ink-on-dark-soft); font-size: 1.15rem; line-height: 1.5; margin: 20px auto 36px; max-width: 32em; }
.final-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--hairline); padding: clamp(56px, 7vw, 80px) 0 40px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--hairline);
}
.footer-brand .brand-fallback { font-size: 1.4rem; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-on-dark-soft); font-size: 0.95rem; line-height: 1.55; max-width: 26em; }
.fcol h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-on-dark-soft); margin-bottom: 16px; }
.fcol ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.fcol a { color: var(--ink-on-dark); font-size: 0.95rem; opacity: 0.82; transition: color .2s, opacity .2s; }
.fcol a:hover { color: var(--accent); opacity: 1; }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}
.disclaimer { color: var(--muted); font-size: 0.8rem; line-height: 1.55; max-width: 60ch; }
.copyright { color: var(--muted); font-size: 0.82rem; white-space: nowrap; }

/* ============================================================
   ALLIANCE (Utila) — light section
   ============================================================ */
.alliance-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 26px;
  padding: clamp(32px, 4vw, 60px);
  box-shadow: 0 30px 70px -42px rgba(10, 22, 40, 0.4);
}
.alliance-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.alliance-tag .pip { width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.alliance-card h2 { color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; }
.alliance-card .lead { color: var(--ink-soft); margin-top: 16px; font-size: 1.08rem; line-height: 1.55; max-width: 40ch; }
.alliance-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.alliance-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 1rem; line-height: 1.45; }
.alliance-points .ck {
  flex: none; width: 22px; height: 22px; border-radius: 7px;
  background: color-mix(in oklch, var(--accent) 16%, transparent);
  color: var(--accent); display: grid; place-items: center; margin-top: 1px;
}
.alliance-points .ck svg { width: 13px; height: 13px; }
.alliance-logo {
  display: grid; place-items: center;
  border: 1px dashed rgba(10, 22, 40, 0.18);
  border-radius: 18px;
  background: linear-gradient(180deg, #F8FAFB, #fff);
  padding: clamp(28px, 4vw, 44px) 28px;
  min-height: 180px;
}
.alliance-logo image-slot { width: 100%; max-width: 240px; height: 92px; display: block; }
.alliance-logo .cap {
  margin-top: 16px; font-family: var(--font-body);
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}

/* ============================================================
   TECH GRID (Stack & Alliances section)
   ============================================================ */
.section-header { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
.tech-card {
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: 20px;
  padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 8px 32px -12px rgba(10, 22, 40, 0.12);
  transition: box-shadow 0.25s, transform 0.25s;
}
.tech-card:hover { box-shadow: 0 16px 48px -16px rgba(10, 22, 40, 0.22); transform: translateY(-3px); }
.tech-logo-box {
  display: flex; align-items: center;
  height: 48px;
}
.tech-card h4 {
  font-family: var(--font-display); font-size: 1.15rem;
  color: var(--ink); font-weight: 700; margin: 0;
}
.tech-card p {
  color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; margin: 0; flex: 1;
}
.tech-pill {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  border-radius: 100px; padding: 4px 12px; align-self: flex-start;
}
@media (max-width: 768px) {
  .tech-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INFRA strip (Cloudflare / Google Cloud) inside Security
   ============================================================ */
.infra {
  margin-top: clamp(44px, 5vw, 68px);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(34px, 4vw, 52px);
  display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center;
}
.infra-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-on-dark-soft);
}
.infra-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.infra-logo {
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 12px 20px;
}
.infra-logo image-slot { width: 168px; height: 62px; display: block; }
.infra-text { color: var(--ink-on-dark-soft); font-size: 1.04rem; line-height: 1.55; max-width: 52ch; }
.infra-text b { color: var(--ink-on-dark); font-weight: 600; }

/* ============================================================
   SERVICES — light section
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -34px rgba(10, 22, 40, 0.45);
  border-color: rgba(10, 22, 40, 0.14);
}
.svc-ico {
  width: 50px; height: 50px; border-radius: 14px;
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent); display: grid; place-items: center; margin-bottom: 24px;
}
.svc-ico svg { width: 25px; height: 25px; }
.svc-card h3 { font-size: 1.32rem; color: var(--ink); margin-bottom: 11px; }
.svc-card p { color: var(--ink-soft); font-size: 0.99rem; line-height: 1.55; flex: 1; }
.svc-tag {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent);
}
.svc-tag .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.svc-cta { margin-top: clamp(40px, 5vw, 56px); display: flex; justify-content: center; }

@media (max-width: 940px) {
  .alliance-card { grid-template-columns: 1fr; }
  .alliance-logo { order: -1; }
  .svc-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* Base = the VISIBLE end-state. The hidden→visible entrance is applied only
   by JS inside requestAnimationFrame (see .play), so any context that can't
   run rAF — print, paused/offscreen frames — simply shows the content. */
@keyframes revealIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal.play { animation: revealIn .72s var(--ease) both; }
  .reveal.play.d1 { animation-delay: .08s; }
  .reveal.play.d2 { animation-delay: .16s; }
  .reveal.play.d3 { animation-delay: .24s; }
  .reveal.play.d4 { animation-delay: .32s; }
}
@media print {
  .reveal, .reveal.play { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   HERO LAYOUT VARIANTS (Tweaks)
   ============================================================ */
body[data-hero="centered"] .hero-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
body[data-hero="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .hero-ctas,
body[data-hero="centered"] .trust-row { justify-content: center; }
body[data-hero="centered"] .hero-visual { margin-top: 56px; width: 100%; max-width: 720px; }
body[data-hero="centered"] .eyebrow { margin-left: auto; margin-right: auto; }

body[data-hero="reverse"] .hero-grid { grid-template-columns: 0.95fr 1.05fr; }
body[data-hero="reverse"] .hero-copy { order: 2; }
body[data-hero="reverse"] .hero-visual { order: 1; }
body[data-hero="reverse"] .dash-float.fl-1 { left: auto; right: -34px; }
body[data-hero="reverse"] .dash-float.fl-2 { right: auto; left: -26px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 54px; max-width: 560px; }
  body[data-hero="reverse"] .hero-copy { order: 1; }
  body[data-hero="reverse"] .hero-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .nav-cta .btn-ghost {
    background: var(--accent);
    color: var(--btn-fg);
    border-color: var(--accent);
    box-shadow: 0 8px 30px -8px color-mix(in oklch, var(--accent) 70%, transparent);
  }
  .metrics-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .dash-float { display: none; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 520px) {
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
  .trust-row .sep { display: none; }
}
