:root {
  --bg: #06151f;
  --bg-deep: #031018;
  --bg-alt: #0a2233;
  --panel: #0b1f2c;
  --panel-2: #102c3d;
  --line: #30546a;
  --cyan: #1ed7ff;
  --cyan-2: #39bfea;
  --gold: #d8b365;
  --white: #f6faff;
  --soft: #dde8ef;
  --muted: #a8bac7;
  --green: #39d98a;
  --red: #ff6b6b;
  --orange: #ffb454;
  --purple: #8e9cff;
  --shadow: 0 28px 80px rgba(0, 0, 0, .34);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: clip; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--white);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: rgba(30, 215, 255, .25); color: var(--white); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--bg-deep);
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; max-width: 100%; }
.section { position: relative; padding: 112px 0; overflow: hidden; }
.section-alt { background: var(--bg-alt); }
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 215, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 215, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.section-heading { position: relative; z-index: 1; max-width: 820px; margin-bottom: 54px; }
.section-heading.narrow { max-width: 760px; }
.section-heading h2, .lab-copy h2, .ai-copy h2, .founder-copy h2, .final-cta h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.section-heading p, .lab-copy > p, .ai-copy > p, .founder-copy > p, .final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 760px;
}
.kicker {
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 76px;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(3, 16, 24, .88);
  border-color: rgba(48, 84, 106, .55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-word { color: var(--white); font-size: 1.12rem; font-weight: 850; letter-spacing: .2em; }
.brand-rule { display: block; width: 32px; height: 3px; margin-top: 8px; border-radius: 5px; background: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.button) { color: var(--soft); text-decoration: none; font-size: .9rem; font-weight: 650; }
.main-nav > a:not(.button):hover, .main-nav > a:not(.button):focus-visible { color: var(--cyan); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--white); }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-weight: 780;
  font-size: .92rem;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(30, 215, 255, .4); outline-offset: 3px; }
.button-primary { color: var(--bg-deep); background: var(--cyan); box-shadow: 0 16px 42px rgba(30, 215, 255, .18); }
.button-primary:hover { background: #72e8ff; box-shadow: 0 18px 54px rgba(30, 215, 255, .28); }
.button-ghost, .button-outline { color: var(--white); border-color: rgba(168, 186, 199, .35); background: rgba(11, 31, 44, .55); }
.button-ghost:hover, .button-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(30, 215, 255, .06); }
.button-small { min-height: 38px; padding: 0 16px; font-size: .82rem; border-radius: 9px; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 142px 0 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(30, 215, 255, .13), transparent 36%),
    radial-gradient(circle at 20% 78%, rgba(216, 179, 101, .08), transparent 30%),
    linear-gradient(135deg, var(--bg-deep), var(--bg) 45%, #071c29);
}
.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -220px;
  bottom: -320px;
  border: 1px solid rgba(30, 215, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 75px rgba(30, 215, 255, .025), 0 0 0 150px rgba(30, 215, 255, .018);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(rgba(30, 215, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 215, 255, .04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at 60% 35%, #000, transparent 74%);
}
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 650px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(30, 215, 255, .26);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(14, 44, 61, .62);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .04em;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(57, 217, 138, .12); }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(2.9rem, 6vw, 5.9rem); line-height: .98; letter-spacing: -.06em; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: var(--soft); font-size: clamp(1.05rem, 1.65vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.trust-list li { position: relative; padding-left: 19px; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-visual { min-width: 0; }
.visual-frame { position: relative; overflow: hidden; aspect-ratio: 16/10.4; border: 1px solid rgba(48, 84, 106, .8); border-radius: 28px; background: var(--panel); box-shadow: var(--shadow); transform: perspective(1200px) rotateY(-3deg); }
.visual-frame::before { content: ""; position: absolute; z-index: 2; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045); pointer-events: none; }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 16, 24, .04), rgba(3, 16, 24, .58)); }
.visual-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; max-width: calc(100% - 36px); padding: 11px 14px; border: 1px solid rgba(30, 215, 255, .25); border-radius: 12px; background: rgba(3, 16, 24, .79); color: var(--soft); backdrop-filter: blur(10px); font-size: .74rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.visual-card i { width: 24px; height: 1px; background: linear-gradient(90deg, var(--line), var(--cyan)); }
.visual-card strong { color: var(--gold); }
.visual-card-top { top: 22px; left: 22px; }
.visual-card-bottom { right: 22px; bottom: 22px; }
.evidence-strip { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; overflow: hidden; border: 1px solid rgba(48, 84, 106, .55); border-radius: 18px; background: rgba(48, 84, 106, .55); }
.evidence-strip > div { min-height: 112px; padding: 22px; background: rgba(5, 21, 31, .9); }
.evidence-strip strong { display: block; margin-bottom: 5px; color: var(--cyan); font-size: 1.14rem; letter-spacing: .03em; }
.evidence-strip span { display: block; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { position: relative; min-height: 260px; padding: 30px 28px; overflow: hidden; border: 1px solid rgba(48, 84, 106, .7); border-radius: var(--radius); background: linear-gradient(155deg, rgba(16, 44, 61, .9), rgba(7, 24, 34, .94)); box-shadow: 0 18px 42px rgba(0, 0, 0, .12); }
.info-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 4px; background: var(--cyan); }
.info-card:nth-child(1)::after { background: var(--orange); }
.info-card:nth-child(3)::after { background: var(--gold); }
.info-card:nth-child(4)::after { background: var(--red); }
.card-number { color: rgba(246, 250, 255, .16); font-size: 2.3rem; font-weight: 900; letter-spacing: -.08em; }
.info-card h3 { margin: 28px 0 12px; font-size: 1.2rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.journey { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.journey li { position: relative; min-height: 156px; padding: 25px 18px; border: 1px solid rgba(48, 84, 106, .75); border-radius: 16px; background: rgba(7, 24, 34, .86); }
.journey li:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 50%; right: -13px; width: 14px; height: 1px; background: var(--cyan); }
.journey li > span { color: var(--cyan); font-size: .76rem; font-weight: 850; }
.journey strong { display: block; margin-top: 19px; font-size: 1rem; }
.journey small { display: block; margin-top: 8px; color: var(--muted); line-height: 1.4; }
.journey li:nth-child(1) > span { color: var(--orange); }
.journey li:nth-child(3) > span { color: var(--gold); }
.journey li:nth-child(4) > span { color: var(--green); }
.journey li:nth-child(5) > span { color: var(--purple); }
.journey li:nth-child(6) > span { color: var(--red); }
.closed-loop { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-top: 28px; padding: 28px 30px; border: 1px solid rgba(216, 179, 101, .5); border-radius: 18px; background: rgba(3, 16, 24, .7); }
.loop-icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgba(216, 179, 101, .45); border-radius: 50%; background: rgba(216, 179, 101, .08); }
.loop-icon svg { width: 34px; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.closed-loop span { color: var(--gold); font-size: 1.08rem; font-weight: 800; }
.closed-loop p { margin: 5px 0 0; color: var(--soft); }

.thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thesis-card { position: relative; min-height: 430px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(16, 44, 61, .92), rgba(7, 24, 34, .94)); }
.thesis-card::before { content: ""; position: absolute; left: 32px; top: 0; width: 58px; height: 4px; background: var(--gold); }
.thesis-current::before { background: var(--cyan); }
.thesis-next::before { background: var(--green); }
.phase { display: inline-block; color: var(--gold); font-size: .72rem; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.thesis-current .phase { color: var(--cyan); }
.thesis-next .phase { color: var(--green); }
.thesis-card h3 { margin: 34px 0 14px; font-size: 1.55rem; }
.thesis-card > p { min-height: 94px; margin: 0; color: var(--muted); }
.thesis-card ul { margin: 28px 0 0; padding: 0; list-style: none; }
.thesis-card li { position: relative; margin-top: 12px; padding-left: 20px; color: var(--soft); font-size: .91rem; }
.thesis-card li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--line); }

.module-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card { position: relative; min-height: 275px; padding: 28px; border: 1px solid rgba(48, 84, 106, .7); border-radius: 18px; background: rgba(7, 24, 34, .86); transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.module-card:hover { transform: translateY(-5px); border-color: rgba(30, 215, 255, .55); background: rgba(11, 31, 44, .94); }
.module-card-future { border-color: rgba(255, 107, 107, .45); }
.module-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(30, 215, 255, .35); border-radius: 12px; color: var(--cyan); background: rgba(30, 215, 255, .06); font-size: .74rem; font-weight: 850; }
.module-card h3 { margin: 32px 0 9px; font-size: 1.28rem; }
.module-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.stage { display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: .67rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.module-card .stage { position: absolute; top: 30px; right: 26px; }
.stage-proven { color: var(--green); border: 1px solid rgba(57, 217, 138, .32); background: rgba(57, 217, 138, .08); }
.stage-evolving { color: var(--gold); border: 1px solid rgba(216, 179, 101, .32); background: rgba(216, 179, 101, .08); }
.stage-building { color: #ff9b9b; border: 1px solid rgba(255, 107, 107, .34); background: rgba(255, 107, 107, .08); }
.stage-note { position: relative; z-index: 1; margin: 28px 0 0; padding: 18px 20px; border-left: 3px solid var(--gold); color: var(--muted); background: rgba(3, 16, 24, .46); font-size: .88rem; }
.stage-note strong { color: var(--soft); }

.module-slider { position: relative; z-index: 1; }
.module-slider-controls { display: none; }
.module-slider-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(48, 84, 106, .7);
  border-radius: 10px;
  background: rgba(7, 24, 34, .9);
  color: var(--soft);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
}
.module-slider-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.module-slider-btn:disabled { opacity: .35; cursor: not-allowed; }
.module-slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.module-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(168, 186, 199, .35);
  cursor: pointer;
}
.module-slider-dot.is-active { background: var(--cyan); transform: scale(1.15); }

.lab-section { background: linear-gradient(135deg, var(--bg-deep), #071e2d); }
.lab-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.lab-image { position: relative; overflow: hidden; border: 1px solid rgba(48, 84, 106, .75); border-radius: 28px; box-shadow: var(--shadow); }
.lab-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(3, 16, 24, .8)); pointer-events: none; }
.lab-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (min-width: 621px) {
  .lab-image { height: 200px; }
  .lab-image img { aspect-ratio: unset; min-height: 200px; }
}
.lab-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 32px 0; }
.lab-points div { padding: 18px; border: 1px solid rgba(48, 84, 106, .65); border-radius: 14px; background: rgba(11, 31, 44, .62); }
.lab-points strong { display: block; color: var(--cyan); }
.lab-points span { display: block; margin-top: 3px; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.precision-note { padding: 18px 20px; border-left: 3px solid var(--gold); background: rgba(216, 179, 101, .06); color: var(--soft) !important; font-size: .88rem !important; }

.ai-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.ai-layers { display: grid; gap: 10px; margin-top: 30px; }
.ai-layers > div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; padding: 13px 16px; border: 1px solid rgba(48, 84, 106, .68); border-radius: 12px; background: rgba(3, 16, 24, .44); }
.ai-layers span { color: var(--cyan); font-size: .83rem; font-weight: 800; }
.ai-layers p { margin: 0; color: var(--muted); font-size: .84rem; }
.ai-layers > div:last-child { border-color: rgba(255, 107, 107, .42); }
.ai-layers > div:last-child span { color: #ff9b9b; }
.ai-visual { position: relative; padding-bottom: 76px; }
.ai-visual-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(48, 84, 106, .75);
  border-radius: 24px;
  background: rgba(7, 24, 34, .78);
  box-shadow: var(--shadow);
}
.ai-visual-frame img { object-fit: cover; }
.governance-card { position: absolute; right: 24px; bottom: 0; width: min(430px, calc(100% - 48px)); padding: 20px 22px; border: 1px solid rgba(30, 215, 255, .45); border-radius: 15px; background: rgba(3, 16, 24, .94); box-shadow: 0 18px 45px rgba(0, 0, 0, .35); }
.governance-card strong { color: var(--cyan); }
.governance-card p { margin: 5px 0 0; color: var(--muted); font-size: .84rem; }

.heading-stage { margin-top: 14px; }
.judicial-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; }
.judicial-flow li { position: relative; min-height: 170px; padding: 24px 18px; border: 1px solid rgba(30, 215, 255, .38); border-radius: 16px; background: linear-gradient(160deg, rgba(16, 44, 61, .82), rgba(7, 24, 34, .9)); }
.judicial-flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -13px; width: 14px; height: 1px; background: var(--cyan); }
.judicial-flow span { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--bg-deep); background: var(--cyan); font-size: .75rem; font-weight: 900; }
.judicial-flow strong { display: block; margin-top: 22px; }
.judicial-flow small { display: block; margin-top: 7px; color: var(--muted); line-height: 1.4; }
.judicial-value { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin-top: 30px; padding: 28px; border: 1px solid rgba(216, 179, 101, .45); border-radius: 18px; background: rgba(216, 179, 101, .045); }
.judicial-value > div > span { color: var(--gold); font-weight: 850; }
.judicial-value p { margin: 5px 0 0; color: var(--muted); }
.judicial-value svg { width: 46px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.audience-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-card { min-height: 190px; padding: 26px; border: 1px solid rgba(48, 84, 106, .7); border-radius: 16px; background: rgba(7, 24, 34, .78); }
.audience-card strong { color: var(--white); font-size: 1.02rem; }
.audience-card p { margin: 13px 0 0; color: var(--muted); font-size: .9rem; }

.founder-section { background: linear-gradient(120deg, #071d2b, var(--bg-deep)); }
.founder-layout { display: grid; grid-template-columns: 260px 1fr; gap: 70px; align-items: center; max-width: 980px; }
.founder-mark { display: grid; place-items: center; position: relative; width: 230px; aspect-ratio: 1; border: 1px solid rgba(48, 84, 106, .75); border-radius: 32px; background: radial-gradient(circle at 30% 30%, rgba(30, 215, 255, .12), transparent 50%), var(--panel); box-shadow: var(--shadow); }
.founder-mark span { font-size: 4.5rem; font-weight: 900; letter-spacing: -.08em; color: var(--cyan); }
.founder-mark i { position: absolute; left: 45px; bottom: 44px; width: 72px; height: 5px; border-radius: 5px; background: var(--gold); }
.founder-role { margin-top: -5px !important; color: var(--cyan) !important; font-weight: 750; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--cyan); text-decoration: none; font-weight: 780; }
.text-link:hover { color: #7beaff; }

.final-cta { position: relative; padding: 88px 0; overflow: hidden; background: var(--bg-alt); }
.final-cta::before { content: ""; position: absolute; inset: -120px -10%; background: radial-gradient(circle at 80% 40%, rgba(30, 215, 255, .14), transparent 35%), radial-gradient(circle at 10% 80%, rgba(216, 179, 101, .08), transparent 30%); }
.final-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 48px; border: 1px solid rgba(48, 84, 106, .72); border-radius: 26px; background: rgba(3, 16, 24, .62); backdrop-filter: blur(8px); }
.final-cta h2 { max-width: 730px; font-size: clamp(2rem, 4vw, 3.3rem); }

.site-footer { padding: 62px 0 28px; background: var(--bg-deep); border-top: 1px solid rgba(48, 84, 106, .45); }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px 64px;
  align-items: start;
}
.footer-info { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.footer-brand { margin-bottom: 20px; }
.footer-lead { margin: 0 0 32px; max-width: 420px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.footer-block { margin-top: 28px; }
.footer-block:first-of-type { margin-top: 0; }
.footer-block p { margin: 8px 0 0; max-width: 420px; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.footer-block strong { color: var(--soft); font-size: .83rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-contact-line a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.footer-contact-line a:hover { color: var(--cyan); }
.footer-form-wrap {
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid rgba(48, 84, 106, .38);
  border-radius: 16px;
  background: rgba(11, 31, 44, .28);
}
.footer-form-title {
  display: block;
  margin-bottom: 16px;
  color: var(--soft);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-form { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.contact-field {
  display: block;
  width: 100%;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(48, 84, 106, .28);
  border-radius: 8px;
  background: rgba(246, 250, 255, .98);
  color: var(--bg-deep);
  font: inherit;
  font-size: .88rem;
  line-height: 1.35;
  box-sizing: border-box;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-field-message { min-height: 84px; resize: vertical; }
.contact-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.contact-submit { min-height: 44px; padding: 0 22px; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(48, 84, 106, .35); color: #718998; font-size: .74rem; }

.contact-field::placeholder { color: #6b7f8f; }
.contact-field:focus { outline: none; border-color: var(--cyan) !important; box-shadow: 0 0 0 3px rgba(30, 215, 255, .22); }
.contact-field.is-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 2px rgba(255, 107, 107, .2); }
.contact-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-submit:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.contact-feedback {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 650;
  line-height: 1.4;
}
.contact-feedback.is-success {
  color: #0d5c38;
  background: rgba(57, 217, 138, .18);
  border: 1px solid rgba(57, 217, 138, .45);
}
.contact-feedback.is-error {
  color: #8f2d2d;
  background: rgba(255, 107, 107, .14);
  border: 1px solid rgba(255, 107, 107, .4);
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 1; transform: translateY(14px); transition: transform .6s ease; }
.js .reveal.is-visible { transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1050px) {
  .main-nav { gap: 18px; }
  .hero-layout { gap: 36px; }
  .hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey li:nth-child(3)::after { display: none; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-layout, .ai-layout { gap: 42px; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 74px; }
  .site-header { height: 68px; }
  .js .nav-toggle { display: block; }
  .js .main-nav {
    position: fixed;
    top: 67px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(3, 16, 24, .98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .js .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; transition-delay: 0s; }
  .js .main-nav > a:not(.button) { padding: 13px 12px; border-bottom: 1px solid rgba(48, 84, 106, .35); }
  .js .main-nav .button { margin-top: 10px; }
  .js .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .js .nav-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .js .nav-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }

  html:not(.js) .site-header { position: static; height: auto; background: var(--bg-deep); border-color: rgba(48, 84, 106, .55); }
  html:not(.js) .header-inner { min-height: 68px; height: auto; flex-wrap: wrap; padding-block: 14px; }
  html:not(.js) .main-nav { display: flex; flex: 1 0 100%; flex-wrap: wrap; gap: 12px 18px; padding-bottom: 8px; }
  html:not(.js) .hero { padding-top: 72px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero-layout, .lab-layout, .ai-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 760px; }
  .visual-frame { transform: none; }
  .evidence-strip { grid-template-columns: repeat(2, 1fr); }
  .thesis-grid { grid-template-columns: 1fr; }
  .thesis-card { min-height: auto; }
  .thesis-card > p { min-height: auto; }
  .judicial-flow { grid-template-columns: repeat(3, 1fr); }
  .judicial-flow li:nth-child(3)::after { display: none; }
  .journey li::after, .judicial-flow li::after { display: none !important; }
  .module-slider-viewport { overflow: hidden; width: 100%; max-width: 100%; }
  .module-slider .module-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    transition: transform .35s ease;
    will-change: transform;
  }
  .module-slider .module-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    min-height: auto;
    transform: none !important;
  }
  .module-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 18px;
  }
  .final-cta-inner { align-items: flex-start; flex-direction: column; }
  .ai-visual-frame { display: none !important; }
  .ai-visual { padding-bottom: 0; }
  .governance-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 0; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 82px 0; }
  .hero { padding-top: 106px; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-list { display: grid; gap: 10px; }
  .visual-card { font-size: .62rem; padding: 9px 10px; }
  .visual-card i { width: 11px; }
  .visual-card-top { top: 12px; left: 12px; }
  .visual-card-bottom { right: 12px; bottom: 12px; }
  .evidence-strip { grid-template-columns: 1fr; margin-top: 42px; }
  .evidence-strip > div { min-height: auto; }
  .problem-grid, .audience-grid { grid-template-columns: 1fr; }
  .journey, .judicial-flow { grid-template-columns: 1fr; }
  .journey li, .judicial-flow li { min-height: auto; }
  .journey li::after, .judicial-flow li::after { display: none !important; }
  .closed-loop { grid-template-columns: 1fr; }
  .lab-points { grid-template-columns: 1fr; }
  .lab-image { height: 180px; max-height: 180px; }
  .lab-image img { aspect-ratio: unset; height: 180px; min-height: 180px; width: 100%; object-fit: cover; object-position: center; }
  .hero::after { right: -280px; width: 420px; height: 420px; }
  .visual-frame { box-shadow: none; }
  .section-heading, .section-heading h2, .hero h1 { overflow-wrap: anywhere; word-break: break-word; }
  .ai-layers > div { grid-template-columns: 1fr; gap: 3px; }
  .judicial-value { grid-template-columns: 1fr; }
  .judicial-value svg { transform: rotate(90deg); justify-self: center; }
  .founder-layout { grid-template-columns: 1fr; gap: 36px; }
  .founder-mark { width: 180px; }
  .founder-mark span { font-size: 3.6rem; }
  .final-cta-inner { padding: 30px 24px; }
  .final-cta .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .footer-lead { margin-bottom: 24px; }
  .footer-block { margin-top: 24px; }
  .contact-form-actions { flex-direction: column; align-items: stretch; }
  .contact-form-actions .button { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .module-slider .module-card.reveal.is-visible { transform: none; }
  .module-slider .module-slider-track { transition: none; }
}


/* Páginas auxiliares */
.legal-body,
.not-found-body { min-height: 100vh; background: var(--bg-deep); }
.legal-page { min-height: 100vh; padding: 130px 0 90px; background: linear-gradient(135deg, var(--bg-deep), var(--bg)); }
.legal-card { max-width: 860px; padding: 48px; border: 1px solid var(--line); border-radius: 24px; background: rgba(11, 31, 44, .78); box-shadow: var(--shadow); }
.legal-card h1 { margin: 16px 0 30px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.05em; }
.legal-card h2 { margin: 34px 0 10px; font-size: 1.25rem; }
.legal-card p,
.legal-card li { color: var(--muted); }
.legal-card a { color: var(--cyan); }
.legal-card .back { display: inline-flex; margin-top: 34px; text-decoration: none; font-weight: 800; }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; text-align: center; background: linear-gradient(135deg, var(--bg-deep), var(--bg-alt)); }
.not-found h1 { margin: 0; color: var(--cyan); opacity: .8; font-size: clamp(5rem, 20vw, 12rem); line-height: 1; }
.not-found h2 { margin: 16px 0; font-size: clamp(1.7rem, 4vw, 3rem); }
.not-found p { margin-bottom: 26px; color: var(--muted); }

@media (max-width: 620px) {
  .legal-card { padding: 30px 22px; }
}
