/* ============ CLYVANT DESIGN SYSTEM v2 ============ */
:root {
  --base: #0A0A0C;
  --base-2: #0E0E11;
  --surface: #141417;
  --surface-2: #18181C;
  --accent: #C6F135;
  --accent-dim: #A8CC1F;
  --text: #F5F3EC;
  --body: #D6D4CC;      /* readable body copy on dark */
  --muted: #A2A2AC;     /* secondary — still clearly legible */
  --faint: #82828C;     /* de-emphasized but still readable */
  --border: #232328;
  --border-lit: #33333A;
  --font-display: 'Clash Display', 'General Sans', sans-serif;
  --font-body: 'General Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.65, 0, 0.35, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--base);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

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

/* ---------- Preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.loader-panel {
  position: absolute; left: 0; width: 100%; height: 50.5%;
  background: #060607;
}
.loader-panel.top { top: 0; }
.loader-panel.bottom { bottom: 0; }
.loader-center {
  position: relative; z-index: 2; width: 132px; height: 132px;
  display: flex; align-items: center; justify-content: center;
}
.loader-mark { height: 62px; display: block; }
.loader-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.loader-ring circle {
  fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round;
}

/* ---------- Page transition wipe ---------- */
.wipe {
  position: fixed; inset: 0; z-index: 1900; pointer-events: none;
  display: flex; flex-direction: column;
}
.wipe span { flex: 1; background: #060607; transform: scaleY(0); }
.wipe span:nth-child(2) { background: var(--accent); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300;
  background: transparent; pointer-events: none;
}
.scroll-progress i {
  display: block; height: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}

/* ---------- Animated background ---------- */
#bg-canvas { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; }
.grain {
  position: fixed; inset: -100%; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-4%); }
  60% { transform: translate(-4%,-2%); }
  80% { transform: translate(3%,3%); }
}

/* ---------- Custom cursor ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s;
  mix-blend-mode: difference;
}
.cursor-dot.grow { width: 56px; height: 56px; opacity: .95; }
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9998;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(198,241,53,.4); pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease), height .4s var(--ease), border-color .3s, opacity .3s;
}
.cursor-ring.grow { width: 72px; height: 72px; border-color: rgba(198,241,53,.15); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Layout ---------- */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
section { padding: 130px 0; position: relative; }
.section-tight { padding: 80px 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.hidden { transform: translateY(-100%); }
.nav.scrolled {
  background: rgba(8,8,10,0.78);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; max-width: 1320px; margin: 0 auto; padding: 0 28px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img.mark { height: 34px; display: block; }
.nav-logo img.word { height: 15px; display: block; }
.nav-links { display: flex; gap: 38px; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14.5px; font-weight: 500;
  letter-spacing: .02em; transition: color .25s; position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--accent); color: var(--base) !important;
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: box-shadow .3s;
}
.nav-cta:hover { box-shadow: 0 0 36px rgba(198,241,53,.4); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 25px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }
.nav-mobile-cta { display: none; }

@media (max-width: 1024px) {
  .nav-links {
    display: none; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(8,8,10,.98);
    backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 14px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 16px 28px; font-size: 18px; }
  .nav-burger { display: block; }
  .nav-logo img.word { display: none; }
  .nav-mobile-cta { display: list-item; }
  .nav-mobile-cta a { color: var(--accent); }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; line-height: 1.02;
  letter-spacing: -0.02em; color: var(--text);
}
.h-hero {
  font-size: clamp(52px, 9.2vw, 132px);
  text-transform: uppercase; letter-spacing: -0.015em; line-height: .95;
}
.h-xl { font-size: clamp(40px, 6vw, 82px); text-transform: uppercase; line-height: .98; }
.h-lg { font-size: clamp(30px, 4vw, 52px); }
.h-md { font-size: clamp(20px, 2.4vw, 28px); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.stroke {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245,243,236,.35);
}
.stroke-accent { color: transparent; -webkit-text-stroke: 1.5px rgba(198,241,53,.6); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--body); max-width: 660px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent); display: inline-flex;
  align-items: center; gap: 12px; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--accent); }

/* char/line splitting */
.split-lines .line { display: block; overflow: hidden; }
.split-lines .line > span { display: block; transform: translateY(115%); will-change: transform; }
.split-chars .char { display: inline-block; transform: translateY(120%) rotate(6deg); will-change: transform; }
.split-mask { overflow: hidden; display: inline-block; vertical-align: bottom; }

/* rotating word */
.rotator {
  display: inline-grid; overflow: hidden; height: 1em; line-height: 1;
  vertical-align: baseline; position: relative; top: 0.13em;
}
.rotator span { grid-area: 1/1; display: block; color: var(--accent); font-weight: 600; line-height: 1; }
/* only the first word shows until (unless) GSAP takes over */
.rotator span:not(:first-child) { transform: translateY(110%); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 36px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 15.5px; cursor: pointer; border: 0;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), box-shadow .35s, border-color .3s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text);
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--base); }
.btn-primary:hover { color: var(--base); box-shadow: 0 0 54px rgba(198,241,53,.45); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-lit); }
.btn-ghost::before { background: var(--accent); }
.btn-ghost:hover { color: var(--base); border-color: var(--accent); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(6px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 170px 0 60px; overflow: hidden;
}
.hero .container { width: 100%; }
.hero-sub {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-top: 54px; flex-wrap: wrap;
}
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.badge {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;
  padding: 9px 18px; border: 1px solid var(--border-lit); border-radius: 999px;
  color: var(--muted); background: rgba(20,20,23,.5);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 44px; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em;
  text-transform: uppercase; color: var(--faint);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--accent), transparent);
  animation: drip 1.8s var(--ease-2) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee-wrap {
  overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 26px 0; background: rgba(16,16,19,.5); position: relative;
}
.marquee { display: flex; width: max-content; will-change: transform; }
.marquee-inner { display: flex; align-items: center; gap: 70px; padding-right: 70px; }
.marquee-inner span {
  font-family: var(--font-display); font-weight: 500; font-size: 20px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 70px;
}
.marquee-inner span::after { content: "✦"; color: var(--accent); font-size: 13px; }

/* ---------- Stats ledger (odometer rows) ---------- */
.ledger { border-top: 1px solid var(--border); margin-top: 10px; }
.ledger-row {
  --line: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 44px 4px; position: relative;
  transition: padding-left .45s var(--ease);
}
.ledger-row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--border-lit); transform: scaleX(var(--line)); transform-origin: left;
}
.ledger-row:hover { padding-left: 24px; }
.ledger-row .stat-value {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(54px, 7.5vw, 112px); color: var(--text); line-height: 1;
}
.ledger-row .stat-label {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted); text-align: right;
  max-width: 320px; line-height: 2;
}
@media (max-width: 700px) {
  .ledger-row { flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 0; }
  .ledger-row .stat-label { text-align: left; }
}

/* odometer internals */
.odo { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; vertical-align: top; }
.odo-col { display: block; height: 1em; overflow: hidden; }
.odo-strip { display: block; will-change: transform; }
.odo-cell { display: block; height: 1em; line-height: 1; text-align: center; }
.odo-static { display: block; height: 1em; line-height: 1; color: var(--accent); padding: 0 0.015em; }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-card { background: var(--base-2); padding: 46px 34px; transition: background .4s; position: relative; }
.stat-card:hover { background: var(--surface); }
.stat-value { font-family: var(--font-display); font-size: clamp(44px, 4.6vw, 68px); font-weight: 600; color: var(--accent); line-height: 1; }
.stat-label { font-size: 14.5px; color: var(--muted); margin-top: 14px; letter-spacing: .02em; }

/* ---------- Horizontal services rail (home) ---------- */
.rail-section { padding: 0; }
.rail-viewport { overflow: hidden; }
.rail-track { display: flex; align-items: stretch; will-change: transform; }
.rail-panel {
  flex: 0 0 100vw; min-height: 100vh; display: flex; align-items: center;
  padding: 120px 6vw;
}
.rail-panel-inner { max-width: 860px; }
.rail-num {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .3em; color: var(--accent);
  display: block; margin-bottom: 26px;
}
.rail-panel h2 { font-size: clamp(44px, 7vw, 104px); text-transform: uppercase; line-height: .95; }
.rail-panel .lead { margin: 30px 0 40px; }
@media (max-width: 980px) {
  .rail-track { flex-direction: column; }
  .rail-panel { flex: none; min-height: 0; padding: 70px 28px; }
}

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  --mx: 50%; --my: 50%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 44px 38px; position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(198,241,53,.08), transparent 55%);
  transition: opacity .4s;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(198,241,53,.45); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.card .card-icon {
  width: 48px; height: 48px; border-radius: 13px; background: rgba(198,241,53,.09);
  border: 1px solid rgba(198,241,53,.25); display: flex; align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 26px; font-size: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; margin-top: 18px; }
.card ul li { color: var(--body); font-size: 15px; padding: 8px 0 8px 28px; position: relative; }
.card ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-size: 13px; }
.card ul li.no { color: var(--faint); }
.card ul li.no::before { content: "—"; color: var(--faint); }

.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  color: var(--accent); text-decoration: none; font-weight: 600; font-size: 15px;
}
.card-link:hover .arrow { transform: translateX(5px); }
.card-link .arrow { transition: transform .3s var(--ease); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } }

.price-card {
  --mx: 50%; --my: 50%;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 44px 36px; display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s;
}
.price-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(198,241,53,.07), transparent 55%);
  transition: opacity .4s;
}
.price-card:hover::before { opacity: 1; }
.price-card:hover { transform: translateY(-8px); border-color: rgba(198,241,53,.4); box-shadow: 0 34px 80px rgba(0,0,0,.5); }
.price-card.featured {
  border-color: var(--accent); background: linear-gradient(180deg, rgba(198,241,53,.07), var(--surface) 42%);
  box-shadow: 0 0 70px rgba(198,241,53,.1);
}
.price-card .plan-badge {
  position: absolute; top: -1px; right: 28px;
  background: var(--accent); color: var(--base); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 8px 16px;
  border-radius: 0 0 10px 10px; white-space: nowrap;
}
.plan-name { font-family: var(--font-mono); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.plan-price { font-family: var(--font-display); font-size: 52px; font-weight: 600; margin: 18px 0 4px; color: var(--text); }
.plan-price small { font-size: 17px; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.plan-for { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; min-height: 44px; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 32px; }
.price-card ul li {
  padding: 11px 0 11px 30px; position: relative; font-size: 15px; color: var(--body);
  border-bottom: 1px solid rgba(35,35,40,.7);
}
.price-card ul li.no { color: var(--faint); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.price-card ul li.no::before { content: "—"; color: var(--faint); }
.price-card .btn { justify-content: center; }

/* ---------- Phone mockups ---------- */
.phones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; }
@media (min-width: 1080px) { .phones-grid { grid-template-columns: repeat(4, 1fr); } }
.phone {
  aspect-ratio: 9/16.5; border-radius: 30px; border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface-2), #0c0c0f 70%);
  position: relative; overflow: hidden; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
}
.phone:hover { transform: translateY(-10px) scale(1.015); border-color: rgba(198,241,53,.5); box-shadow: 0 34px 70px rgba(0,0,0,.5); }
.phone::before {
  content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 5px; border-radius: 999px; background: var(--border-lit); z-index: 3;
}
.phone::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(300px 200px at 80% 0%, rgba(198,241,53,.06), transparent);
}
/* looping creative that fills the phone card */
.phone .phone-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0; border-radius: inherit; background: #0c0c0f;
  transition: transform .6s var(--ease);
}
.phone:hover .phone-video { transform: scale(1.04); }
.phone .phone-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top,
    rgba(6,6,8,.95) 0%, rgba(6,6,8,.78) 22%, rgba(6,6,8,.28) 48%,
    rgba(6,6,8,.10) 66%, rgba(6,6,8,.55) 100%);
}
.phone .hook {
  font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1.22;
  margin-bottom: 16px; color: var(--text);
  position: relative; z-index: 4; text-shadow: 0 2px 18px rgba(0,0,0,.65);
}
.phone .phone-meta {
  display: flex; gap: 16px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
  flex-wrap: wrap; position: relative; z-index: 4; text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.phone .phone-meta b { color: var(--accent); font-weight: 600; }
.phone .tag {
  position: absolute; top: 36px; left: 22px; font-family: var(--font-mono); font-size: 10.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(198,241,53,.3); padding: 5px 11px; border-radius: 999px;
  background: rgba(10,10,12,.62); backdrop-filter: blur(6px); z-index: 4;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: 110px 1fr; gap: 30px; padding: 44px 0;
  border-bottom: 1px solid var(--border); align-items: start;
  transition: padding-left .4s var(--ease);
}
.step:hover { padding-left: 14px; }
.step-num { font-family: var(--font-mono); font-size: 15px; color: var(--accent); padding-top: 8px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 580px; }
@media (max-width: 700px) { .step { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- CTA band ---------- */
.cta-band {
  border: 1px solid var(--border); border-radius: 28px; padding: 100px 44px;
  text-align: center; overflow: hidden; position: relative;
  background:
    radial-gradient(700px 340px at 50% 125%, rgba(198,241,53,.14), transparent),
    var(--base-2);
}
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { margin: 0 auto 40px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border); padding: 90px 0 0; margin-top: 80px;
  background: #060607; position: relative; overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 70px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 34px; } }
footer .flogo img { height: 60px; margin-bottom: 20px; }
footer p, footer a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
footer a:hover { color: var(--accent); }
footer h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; color: var(--text); font-family: var(--font-mono); font-weight: 500; }
footer ul { list-style: none; } footer ul li { padding: 7px 0; }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 28px 0; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--faint); font-family: var(--font-mono);
}
.footer-sig {
  width: 100%; height: clamp(140px, 20vw, 280px); margin: 10px 0 0;
  position: relative;
}
.footer-sig canvas { display: block; width: 100%; height: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* live wire cable */
.steps { position: relative; }
.wire-canvas {
  position: absolute; top: 0; bottom: 0; left: -28px; width: 76px; height: 100%;
  pointer-events: none;
}
@media (max-width: 700px) { .wire-canvas { display: none; } }

.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px; border: 1px solid var(--border-lit); border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color .3s, border-color .3s, background .3s, transform .35s var(--ease), box-shadow .35s;
}
.socials a:hover {
  color: var(--accent); border-color: var(--accent); background: rgba(198,241,53,.08);
  transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

/* ---------- Page hero ---------- */
.page-hero { padding: 210px 0 90px; }
.page-hero .lead { margin-top: 28px; }

.compare-note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 30px; font-family: var(--font-mono); }
.compare-note a { color: var(--accent); }

/* ---------- Forms ---------- */
.form-shell { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 44px; }
@media (max-width: 700px) { .form-shell { padding: 24px 18px; } }
label { display: block; font-size: 13.5px; font-family: var(--font-mono); letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; text-transform: uppercase; }
input, select, textarea {
  width: 100%; padding: 15px 18px; background: var(--base); border: 1px solid var(--border);
  border-radius: 12px; color: var(--text); font-family: var(--font-body); font-size: 15.5px;
  transition: border-color .3s; appearance: none;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-dim); }
textarea { min-height: 130px; resize: vertical; }

/* ---------- Reveal defaults ----------
   Hidden-until-animated states only apply once JS has stamped html.js,
   so content is never invisible without JavaScript. */
html.js .reveal { opacity: 0; transform: translateY(40px); }
html.js.no-anim .reveal { opacity: 1; transform: none; }
.no-anim .split-lines .line > span, .no-anim .split-chars .char { transform: none; }
.no-anim .loader, .no-anim .wipe { display: none; }
/* ledger separators are drawn by JS; show them when animations are off */
html:not(.js) .ledger-row::after, .no-anim .ledger-row::after { transform: scaleX(1); }

/* ---------- Misc ---------- */
.divider { height: 1px; background: var(--border); border: 0; }
.center { text-align: center; }
.mt-lg { margin-top: 56px; } .mt-md { margin-top: 32px; } .mb-lg { margin-bottom: 64px; } .mb-md { margin-bottom: 32px; }
.max-narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .scroll-hint::after { animation: none; }
}
