/* ============================================================
   RainbowLink — Blueprint Premium design system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  /* surfaces */
  --paper: #f4f3ee;
  --paper-2: #faf9f5;
  --card: #ffffff;
  --ink: #0f1f3d;
  --ink-80: #2c3a55;
  --ink-60: #56617a;
  --ink-45: #8089a0;
  --ink-soft: #5d6680;

  /* brand spectrum */
  --cyan: #2fc0fb;
  --cyan-ink: #0c8fc9;
  --petrol: #2f6092;
  --coral: #ff8090;
  --amber: #ffc040;
  --orange: #ff6020;

  /* lines */
  --line: rgba(15, 31, 61, 0.13);
  --line-soft: rgba(15, 31, 61, 0.07);
  --line-strong: rgba(15, 31, 61, 0.24);

  --grid: rgba(15, 31, 61, 0.045);

  --shadow-sm: 0 1px 2px rgba(15,31,61,.05), 0 2px 8px rgba(15,31,61,.04);
  --shadow-md: 0 2px 4px rgba(15,31,61,.05), 0 12px 32px rgba(15,31,61,.08);
  --shadow-lg: 0 8px 24px rgba(15,31,61,.08), 0 28px 64px rgba(15,31,61,.12);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

section { position: relative; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--cyan-ink);
  display: inline-block;
}

/* display type */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.07; margin: 0; }
h1 { font-size: clamp(40px, 6.2vw, 78px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
.lead { color: var(--ink-80); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.62; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* technical label */
.tlabel {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* corner ticks for technical frames */
.ticked { position: relative; }
.ticked::before, .ticked::after,
.ticked > .tick-tr, .ticked > .tick-br {
  content: ""; position: absolute; width: 9px; height: 9px; pointer-events: none;
  border-color: var(--line-strong); border-style: solid; border-width: 0;
}
.ticked::before { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.ticked::after  { top: 10px; right: 10px; border-top-width: 1px; border-right-width: 1px; }
.ticked > .tick-bl { content:""; position:absolute; bottom:10px; left:10px; width:9px;height:9px; border-bottom:1px solid var(--line-strong); border-left:1px solid var(--line-strong); }
.ticked > .tick-br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: var(--r-sm);
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s, color .2s;
  position: relative; white-space: nowrap;
}
.btn .arr { transition: transform .3s cubic-bezier(.2,.7,.2,1); display: inline-block; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 1px 2px rgba(15,31,61,.2), 0 8px 22px rgba(15,31,61,.18);
}
.btn-primary::after {
  content:""; position:absolute; inset:0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(47,192,251,.55); transition: box-shadow .4s; pointer-events:none;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::after { box-shadow: 0 0 0 4px rgba(47,192,251,.22); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); background: rgba(255,255,255,.5); }

.btn-lg { padding: 18px 32px; font-size: 16px; }

/* link with underline draw */
.linktext {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  color: var(--ink); font-weight: 500; display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; white-space: nowrap;
  transition: border-color .25s, color .25s;
}
.linktext:hover { border-color: var(--cyan-ink); color: var(--cyan-ink); }

/* ---------- reveal animation (gated on .js so content is visible without JS) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,243,238,.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(244,243,238,.92); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { font-size: 14.5px; color: var(--ink-80); font-weight: 500; transition: color .2s; position: relative; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--cyan-ink); transition: width .3s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 22px; }
.menu-toggle { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 { margin: 22px 0 0; }
.hero h1 em { font-style: italic; color: var(--ink); position: relative; }
.hero-paras { margin-top: 30px; max-width: 540px; }
.hero-paras p { color: var(--ink-80); font-size: 18px; line-height: 1.62; }
.hero-paras p + p { margin-top: 16px; }
.hero-paras .accentline { color: var(--ink); font-weight: 500; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; gap: 30px; flex-wrap: wrap; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust .stat { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .stat b { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; }
.hero-trust .stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-60); }
.hero-trust .vr { width: 1px; height: 38px; background: var(--line); }

/* background blueprint grid */
.blueprint-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 20%, #000 30%, transparent 80%);
  mask-image: radial-gradient(120% 90% at 70% 20%, #000 30%, transparent 80%);
}

/* hero diagram panel */
.diagram-panel {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden;
  aspect-ratio: 1 / 0.92;
}
.diagram-panel .panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--line-soft);
}
.diagram-panel .panel-head .dots { display: flex; gap: 6px; }
.diagram-panel .panel-head .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); display: block; }
.diagram-panel .panel-body { position: absolute; inset: 49px 0 0; }
.diagram-panel svg { width: 100%; height: 100%; display: block; }

.diag-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,31,61,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,31,61,.04) 1px, transparent 1px);
  background-size: 26px 26px;
}

/* node card inside svg via foreignObject styling */
.node {
  fill: #fff; stroke: var(--line); stroke-width: 1;
}
.node-hub { stroke: var(--cyan); stroke-width: 1.5; }
.node-pulse-ring { fill: none; stroke: var(--cyan); opacity: .5; }

/* ============================================================
   GENERIC SECTION
   ============================================================ */
.section-pad { padding: clamp(72px, 9vw, 128px) 0; }
.section-head { max-width: 760px; }
.section-head h2 { margin-top: 18px; }
.section-head .lead { margin-top: 22px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* divider rule with mono caption */
.rule {
  display: flex; align-items: center; gap: 18px; margin: 0; color: var(--ink-60);
}
.rule .ln { flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--paper); }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 60px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pcard {
  background: var(--paper-2); padding: 38px 34px 42px; position: relative;
  transition: background .35s, transform .35s;
}
.pcard:hover { background: var(--card); }
.pcard .pnum { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--ink-45); }
.pcard .pico { margin: 22px 0 26px; }
.pcard h3 { font-size: 25px; line-height: 1.12; color: var(--ink); }
.pcard p { margin-top: 16px; color: var(--ink-60); font-size: 15.5px; line-height: 1.6; }
.pcard .frix { display: none; }

/* ============================================================
   SOLUTION
   ============================================================ */
.solution { background: var(--ink); color: #fff; overflow: hidden; }
.solution .eyebrow { color: var(--cyan); }
.solution .eyebrow::before { background: var(--cyan); }
.solution h2 { color: #fff; }
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.sol-copy p { color: rgba(255,255,255,.74); font-size: 17px; }
.sol-copy p + p { margin-top: 18px; }
.sol-copy .strong { color: #fff; }
.sol-stat-row { display: flex; gap: 40px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.14); }
.sol-stat b { font-family: var(--serif); font-size: 38px; font-weight: 500; display:block; line-height: 1; }
.sol-stat .cy { color: var(--cyan); }
.sol-stat span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); display:block; margin-top: 8px; }
.solution .blueprint-bg { -webkit-mask-image: radial-gradient(100% 100% at 20% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(100% 100% at 20% 50%, #000 20%, transparent 75%); }
.solution .blueprint-bg { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }

/* flow visual (solution) */
.flow-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px; position: relative;
}
.flow-card .flow-head { display:flex; justify-content: space-between; align-items:center; margin-bottom: 22px; }
.flow-card .flow-head .tlabel { color: rgba(255,255,255,.55); }
.flow-lane { display: grid; grid-template-columns: 1fr; gap: 14px; }
.flow-row {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-md);
  background: rgba(255,255,255,.02);
}
.flow-row .sys { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.flow-row .bom { display: flex; flex-direction: column; gap: 7px; }
.flow-row .bom i { height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); display: block; }
.flow-row .badge { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; padding: 5px 9px; border-radius: 4px; text-transform: uppercase; }
.badge-ok { color: #062; background: rgba(54,211,153,.18); color: #6ee7b7; }
.flow-connector { display:flex; justify-content:center; padding: 4px 0; }
.flow-connector .dn { width: 1px; height: 26px; background: linear-gradient(var(--cyan), transparent); position: relative; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { background: var(--paper-2); }
.steps { margin-top: 64px; position: relative; }
.step {
  display: grid; grid-template-columns: 120px 1fr; gap: clamp(24px, 5vw, 80px);
  padding: 44px 0; border-top: 1px solid var(--line); position: relative;
}
.step:last-of-type { border-bottom: 1px solid var(--line); }
.step .step-index { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--cyan-ink); }
.step .step-index .big { display:block; font-family: var(--serif); font-size: 56px; color: var(--ink); font-weight: 500; line-height: .9; margin-top: 8px; }
.step .step-body { max-width: 720px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.step h3 { font-size: 27px; color: var(--ink); }
.step p { margin-top: 14px; color: var(--ink-60); font-size: 16px; }
.step-visual {
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card);
  min-height: 150px; position: relative; overflow: hidden;
}
.step-visual .diag-grid { background-size: 22px 22px; }

.result-bar {
  margin-top: 56px; background: var(--ink); color: #fff; border-radius: var(--r-lg);
  padding: clamp(36px, 4vw, 52px); display: grid; grid-template-columns: minmax(0, 1.15fr) 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden; isolation: isolate;
}
.result-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 54%; z-index: 0;
  background: url('assets/foto-fondo-manual.jpg') center right / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 28%, #000 72%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.45) 28%, #000 72%);
}
.result-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(15,31,61,.82) 24%, rgba(15,31,61,.5) 60%, rgba(15,31,61,.32) 100%);
}
.result-bar .blueprint-bg { z-index: 1; }
.result-bar > div:not(.result-photo):not(.blueprint-bg), .result-bar .rmetric { position: relative; z-index: 2; }
.result-bar h3 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.result-bar p { color: rgba(255,255,255,.72); margin-top: 16px; }
.result-bar .rmetric { text-align: right; }
.result-bar .rmetric b { font-family: var(--serif); font-size: clamp(60px, 8vw, 104px); font-weight: 500; line-height: .85; display:block; color: var(--cyan); }
.result-bar .rmetric span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ============================================================
   AUTHORITY
   ============================================================ */
.authority { background: var(--paper); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.auth-manifesto h2 { font-size: clamp(30px, 3.6vw, 46px); }
.auth-manifesto p { margin-top: 26px; color: var(--ink-80); font-size: 18px; line-height: 1.62; }
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.pillar { background: var(--paper-2); padding: 30px 30px; display: grid; grid-template-columns: 40px 1fr; gap: 22px; align-items: start; transition: background .3s; }
.pillar:hover { background: var(--card); }
.pillar .pidx { font-family: var(--mono); font-size: 12px; color: var(--cyan-ink); padding-top: 4px; }
.pillar h3 { font-size: 21px; color: var(--ink); line-height: 1.15; }
.pillar p { margin-top: 12px; color: var(--ink-60); font-size: 15px; }

/* ============================================================
   DEMO / CTA
   ============================================================ */
.demo { background: var(--ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.demo-video-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,31,61,.66), rgba(15,31,61,.58)); }
.demo .eyebrow { color: var(--cyan); }
.demo .eyebrow::before { background: var(--cyan); }
.demo-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; position: relative; z-index: 3; }
.demo h2 { color: #fff; }
.demo .lead { color: rgba(255,255,255,.74); }
.demo-paras { margin-top: 24px; }
.demo-paras p { color: rgba(255,255,255,.74); }
.demo-paras .own { color: var(--cyan); font-style: italic; font-family: var(--serif); font-size: 22px; }
.demo-card {
  background: rgba(15,31,61,.42); border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
  border-radius: var(--r-lg); padding: 36px; position: relative;
}
.demo-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 0; }
.demo-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.9); font-size: 16px; }
.demo-list li:first-child { padding-top: 0; }
.demo-list li .ck { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--cyan); display: grid; place-items: center; margin-top: 1px; }
.demo-list li .ck svg { width: 11px; height: 11px; stroke: var(--cyan); }
.demo-card .btn-primary { width: 100%; justify-content: center; background: var(--cyan); color: var(--ink); }
.demo-card .btn-primary:hover::after { box-shadow: 0 0 0 4px rgba(47,192,251,.3); }
.demo .blueprint-bg { z-index: 2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); -webkit-mask-image: radial-gradient(90% 100% at 80% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(90% 100% at 80% 50%, #000 20%, transparent 75%); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--paper-2); }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tcard { background: var(--card); padding: 42px 40px; display: flex; flex-direction: column; gap: 24px; position: relative; }
.tcard .quote-mark { font-family: var(--serif); font-size: 64px; line-height: .6; color: var(--cyan); height: 30px; }
.tcard blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.42; color: var(--ink); font-weight: 400; }
.tcard .tmeta { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.tcard .tmark { width: 30px; height: auto; opacity: .92; }
.tcard .tindex { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-45); white-space: nowrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; margin-top: 20px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px); color: var(--ink);
  transition: color .2s;
}
.faq-q:hover { color: var(--cyan-ink); }
.faq-icon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background: var(--cyan-ink); transition: transform .3s, opacity .3s; }
.faq-icon::before { top: 50%; left: 0; right: 0; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; bottom: 0; width: 1.5px; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 4px 28px; color: var(--ink-60); font-size: 16px; line-height: 1.6; max-width: 640px; }
.faq-cta { margin-top: 40px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { background: var(--ink); color: #fff; text-align: center; overflow: hidden; }
.final .eyebrow { color: var(--cyan); justify-content: center; }
.final .eyebrow::before { background: var(--cyan); }
.final h2 { color: #fff; font-size: clamp(36px, 5.4vw, 70px); margin-top: 18px; max-width: 14ch; margin-left:auto; margin-right:auto; }
.final-paras { max-width: 600px; margin: 28px auto 0; }
.final-paras p { color: rgba(255,255,255,.74); font-size: 18px; }
.final-paras p + p { margin-top: 14px; }
.final .btn { margin-top: 40px; background: var(--cyan); color: var(--ink); }
.final .btn::after { box-shadow: 0 0 0 0 rgba(47,192,251,.6); }
.final .btn:hover::after { box-shadow: 0 0 0 6px rgba(47,192,251,.25); }
.final .blueprint-bg { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); -webkit-mask-image: radial-gradient(70% 130% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 130% at 50% 0%, #000 30%, transparent 75%); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.footer-inner img { height: 24px; }
.footer-meta { font-family: var(--mono); font-size: 12px; color: var(--ink-60); letter-spacing: .04em; display: flex; gap: 26px; flex-wrap: wrap; align-items:center; }
.footer-social { display: flex; gap: 14px; align-items: center; }
.footer-social a, .footer-social span { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-60); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.footer-social a:hover { color: var(--ink); border-color: var(--ink); background: rgba(0,0,0,.03); }
.footer-social svg { width: 18px; height: 18px; }
.footer-social a i, .footer-social span i { font-size: 17px; line-height: 1; }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 28px; flex-wrap: wrap; font-size: 13px; color: var(--ink-60); }
.footer-copy { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-60); margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .diagram-panel { max-width: 560px; }
  .sol-grid, .demo-grid, .auth-grid, .faq-grid { grid-template-columns: 1fr; }
  .step .step-body { grid-template-columns: 1fr; gap: 22px; }
  .result-bar { grid-template-columns: 1fr; gap: 24px; }
  .result-bar .rmetric { text-align: left; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .problem-cards, .testi-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 16px; padding: 34px 0; }
  .step .step-index .big { font-size: 44px; }
  .hero-actions { gap: 14px; }
  .hero-trust { gap: 18px; }
  .hero-trust .vr { display: none; }
  .header-cta .linktext { display: none; }
}
