:root {
  --ink: #eef7ff;
  --muted: #9cb0bf;
  --faint: #6f8391;
  --navy-950: #04101a;
  --navy-900: #071722;
  --navy-850: #0a1c29;
  --navy-800: #102534;
  --line: rgba(174, 218, 244, 0.16);
  --line-strong: rgba(174, 218, 244, 0.28);
  --blue: #77d4ff;
  --blue-bright: #b9eaff;
  --coral: #ff765c;
  --paper: #f5f8fa;
  --paper-ink: #14212a;
  --paper-muted: #566771;
  --radius: 22px;
  --max: 1180px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-950);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--blue); color: #04101a; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(4, 16, 26, .88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.02em; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(119, 212, 255, .55);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(119, 212, 255, .22), rgba(255, 118, 92, .10));
  box-shadow: inset 0 0 18px rgba(119, 212, 255, .12);
}
.brand-mark::before {
  content: "V";
  color: var(--blue-bright);
  font-weight: 900;
  font-size: .95rem;
}
.brand small { color: var(--faint); font-weight: 550; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #bdd0dc; font-size: .92rem; transition: color .2s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; }
.nav-contact {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: white;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 17px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.active span { opacity: 0; }
.menu-toggle.active::before { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle.active::after { transform: translateY(-5.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 900px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #04101a;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; opacity: .85; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,16,26,.98) 0%, rgba(4,16,26,.92) 31%, rgba(4,16,26,.30) 66%, rgba(4,16,26,.15) 100%),
    linear-gradient(0deg, #04101a 0%, transparent 26%, rgba(4,16,26,.35) 100%);
}
.hero-content { position: relative; z-index: 2; width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding-top: 84px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .76rem;
  font-weight: 720;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 {
  max-width: 740px;
  margin: 26px 0 28px;
  font-size: clamp(3.6rem, 7.4vw, 7.15rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 720;
}
.hero h1 em { color: var(--blue); font-style: normal; font-weight: 500; }
.hero-copy { max-width: 590px; margin-bottom: 36px; color: #b5c7d3; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .94rem;
  font-weight: 720;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--navy-950); }
.button-primary:hover { background: var(--blue-bright); }
.button-ghost { border-color: var(--line-strong); color: white; background: rgba(4,16,26,.24); backdrop-filter: blur(8px); }
.button-ghost:hover { border-color: rgba(185,234,255,.65); }
.hero-note { position: absolute; z-index: 2; left: max(20px, calc((100% - var(--max)) / 2)); bottom: 42px; color: #7590a2; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 120px 0; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; margin-bottom: 64px; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.055em; font-weight: 650; }
.section-heading p { max-width: 620px; color: var(--muted); font-size: 1.08rem; }

.capabilities { background: linear-gradient(180deg, #04101a 0%, #071722 100%); }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability {
  min-height: 340px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.014);
  transition: background .25s ease, transform .25s ease;
}
.capability:hover { background: rgba(119,212,255,.055); transform: translateY(-4px); }
.capability-number { display: block; color: var(--coral); font: 700 .78rem/1 ui-monospace, monospace; letter-spacing: .12em; }
.capability h3 { margin: 105px 0 15px; font-size: 1.42rem; letter-spacing: -.025em; }
.capability p { color: var(--muted); margin-bottom: 0; }

.manifesto { position: relative; overflow: hidden; background: var(--paper); color: var(--paper-ink); }
.manifesto::before { content: "V"; position: absolute; right: -5vw; top: -17vw; color: rgba(20,33,42,.035); font-size: 64vw; font-weight: 900; line-height: 1; pointer-events: none; }
.manifesto-grid { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.manifesto-quote { max-width: 780px; font-size: clamp(2.7rem, 5.6vw, 6rem); line-height: .99; letter-spacing: -.06em; font-weight: 620; }
.manifesto-quote span { color: #2a8bb7; }
.manifesto-side { padding-bottom: 10px; }
.manifesto-side p { color: var(--paper-muted); font-size: 1.05rem; }
.manifesto-rule { width: 60px; height: 3px; margin-bottom: 28px; background: var(--coral); }

.process { background: #071722; }
.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 100px .8fr 1.2fr; gap: 34px; padding: 38px 0; border-bottom: 1px solid var(--line); align-items: start; }
.process-step strong { color: var(--blue); font: 700 .8rem/1.4 ui-monospace, monospace; }
.process-step h3 { font-size: 1.55rem; letter-spacing: -.03em; }
.process-step p { margin: 0; color: var(--muted); max-width: 680px; }

.trust-panel {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 90px;
  padding: 70px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: radial-gradient(circle at 92% 10%, rgba(119,212,255,.12), transparent 35%), #0a1c29;
}
.trust-panel h2 { font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; }
.trust-panel p { color: var(--muted); }
.trust-links { display: grid; gap: 14px; align-content: end; }
.trust-link { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease; }
.trust-link:hover { border-color: rgba(119,212,255,.55); background: rgba(119,212,255,.07); }
.trust-link span:last-child { color: var(--blue); font-family: ui-monospace, monospace; }

.contact-strip { padding: 86px 0; border-top: 1px solid var(--line); background: #030d15; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact-inner h2 { margin-bottom: 8px; font-size: clamp(2.2rem, 4vw, 4rem); letter-spacing: -.05em; line-height: 1; }
.contact-inner p { color: var(--muted); margin-bottom: 0; }
.email-link { color: var(--blue-bright); font-weight: 680; border-bottom: 1px solid rgba(185,234,255,.4); }

.site-footer { padding: 32px 0; border-top: 1px solid var(--line); color: #6f8797; background: #030d15; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; font-size: .82rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a:hover { color: white; }

.legal-shell { min-height: 100vh; padding-top: 78px; background: var(--paper); color: var(--paper-ink); }
.legal-hero { padding: 92px 0 72px; border-bottom: 1px solid #dbe3e8; background: #ecf2f5; }
.legal-hero .eyebrow { color: #176a91; }
.legal-hero .eyebrow::before { background: #176a91; box-shadow: none; }
.legal-hero h1 { max-width: 820px; margin: 26px 0 20px; font-size: clamp(3.1rem, 6vw, 6.4rem); line-height: .95; letter-spacing: -.06em; }
.legal-meta { color: var(--paper-muted); }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 90px; padding: 76px 0 110px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc strong { display: block; margin-bottom: 14px; color: #82919a; font-size: .73rem; text-transform: uppercase; letter-spacing: .12em; }
.legal-toc a { display: block; padding: 7px 0; color: #5d6e78; font-size: .9rem; }
.legal-toc a:hover { color: #176a91; }
.legal-content { font-size: 1.02rem; }
.legal-content .lead { color: #3b4c56; font-size: 1.18rem; }
.legal-content h2 { margin: 64px 0 18px; padding-top: 12px; font-size: 1.85rem; line-height: 1.15; letter-spacing: -.035em; }
.legal-content h2:first-of-type { margin-top: 42px; }
.legal-content h3 { margin: 32px 0 10px; font-size: 1.15rem; }
.legal-content p, .legal-content li { color: #4c5d67; }
.legal-content ul { padding-left: 24px; }
.legal-content li { margin-bottom: 9px; }
.legal-content a { color: #176a91; text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { margin: 36px 0; padding: 24px 26px; border-left: 3px solid #2a8bb7; background: #eaf3f7; color: #2d4654; }
.legal-shell .site-header { background: rgba(4,16,26,.97); }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(4,16,26,.98);
    box-shadow: 0 24px 50px rgba(0,0,0,.35);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-contact { border: 0; border-radius: 0; }
  .hero { min-height: 820px; }
  .hero-image { object-position: 67% center; opacity: .65; }
  .hero::after { background: linear-gradient(90deg, rgba(4,16,26,.97), rgba(4,16,26,.78) 60%, rgba(4,16,26,.35)), linear-gradient(0deg, #04101a, transparent 40%); }
  .section-heading, .manifesto-grid, .trust-panel { grid-template-columns: 1fr; gap: 38px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability { min-height: 250px; }
  .capability h3 { margin-top: 65px; }
  .process-step { grid-template-columns: 64px 1fr; }
  .process-step p { grid-column: 2; }
  .trust-panel { padding: 42px 30px; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 24px; border-bottom: 1px solid #dbe3e8; }
  .legal-toc strong { width: 100%; }
}

@media (max-width: 620px) {
  .nav-wrap, .container, .hero-content { width: min(100% - 28px, var(--max)); }
  .brand small { display: none; }
  .hero { min-height: 760px; align-items: end; }
  .hero-content { padding: 130px 0 156px; }
  .hero h1 { font-size: clamp(3.25rem, 17vw, 5rem); }
  .hero-copy { font-size: 1rem; }
  .button { width: 100%; }
  .hero-note { left: 14px; bottom: 28px; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .process-step { grid-template-columns: 48px 1fr; gap: 18px; }
  .contact-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .legal-hero { padding: 72px 0 52px; }
  .legal-layout { padding: 52px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
