:root {
  --bg: #000;
  --surface: #0b0b0c;
  --line: rgba(255,255,255,.1);
  --text: #f4f5f5;
  --muted: #9a9fa3;
  --mint: #2effe3;
  --mint-soft: rgba(46,255,227,.12);
  --radius: 18px;
  --max: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--mint); color: #000; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--mint); margin: 0 0 20px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 48px); max-width: 18ch; }
.lead { color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: block; height: 22px; width: auto; color: var(--text); }
.nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { color: var(--muted); transition: color .2s; }
.nav ul a:hover { color: var(--text); }
.nav .cta-small { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--mint); color: #000; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px rgba(46,255,227,.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 14vw, 160px) 0 clamp(90px, 13vw, 150px); }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(46,255,227,.16), transparent 70%);
  pointer-events: none;
}
.hero-mark {
  position: absolute; right: max(-60px, calc((100vw - var(--max)) / 2 - 60px)); top: 50%;
  width: clamp(260px, 38vw, 480px); height: auto; transform: translateY(-50%);
  color: var(--mint); opacity: .9; pointer-events: none;
}
.hero-content { position: relative; max-width: 680px; }
.hero h1 { font-size: clamp(44px, 7.6vw, 92px); margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Sections */
section { padding: clamp(80px, 11vw, 130px) 0; }
.section-head { display: grid; gap: 20px; margin-bottom: 56px; }
.divider { border-top: 1px solid var(--line); }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 36px; transition: border-color .3s, transform .3s;
}
.card:hover { border-color: rgba(46,255,227,.4); transform: translateY(-4px); }
.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint-soft); color: var(--mint); margin-bottom: 28px;
}
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 22px; margin-bottom: 12px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* Approach */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: step; }
.step { border-top: 1px solid var(--line); padding-top: 28px; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--mint); margin-bottom: 18px;
}
.step::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 1px; background: var(--mint);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }

/* Contact */
.contact {
  position: relative; overflow: hidden; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(56px, 8vw, 96px) 24px;
}
.contact::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 600px; height: 300px; transform: translate(-50%, -60%);
  background: radial-gradient(closest-side, rgba(46,255,227,.22), transparent);
  pointer-events: none;
}
.contact h2 { margin: 0 auto 18px; max-width: 20ch; position: relative; }
.contact .lead { margin: 0 auto 36px; position: relative; }
.contact .btn { position: relative; }
.contact-meta { margin-top: 28px; color: var(--muted); font-size: 15px; position: relative; }
.contact-meta a:hover { color: var(--mint); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
.foot .wordmark { height: 18px; margin-bottom: 14px; }
.foot address { font-style: normal; line-height: 1.7; }
.foot-legal { text-align: right; line-height: 1.7; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero-mark .xl { transform-box: fill-box; transform-origin: 50% 50%; animation: split-l 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero-mark .xr { transform-box: fill-box; transform-origin: 50% 50%; animation: split-r 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes split-l { from { transform: translateX(-28px); opacity: 0; } }
@keyframes split-r { from { transform: translateX(28px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mark .xl, .hero-mark .xr { animation: none; }
  .card, .btn, .btn svg { transition: none; }
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .steps { gap: 36px; }
  .hero-mark { opacity: .18; right: -80px; }
}
@media (max-width: 640px) {
  .nav ul li:not(:last-child) { display: none; }
  .wordmark { height: 18px; }
  .foot-legal { text-align: left; }
}

/* Legal pages */
.legal { padding: clamp(64px, 9vw, 110px) 0 clamp(72px, 10vw, 120px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 48px; }
.legal h2 { font-size: 20px; max-width: none; margin: 44px 0 12px; letter-spacing: -.01em; }
.legal p, .legal address { color: var(--muted); margin: 0 0 12px; font-style: normal; }
.legal .eyebrow { color: var(--mint); margin-bottom: 20px; }
.legal a { color: var(--text); border-bottom: 1px solid rgba(46,255,227,.5); transition: color .2s; }
.legal a:hover { color: var(--mint); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; margin: 0; color: var(--muted); }
.facts dt { color: var(--text); font-weight: 500; }
.facts dd { margin: 0; }
.foot a:hover { color: var(--mint); }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.legal ul { color: var(--muted); margin: 0 0 12px; padding-left: 1.2em; }
.legal li { margin-bottom: 6px; }
.legal .stand { margin-top: 56px; font-size: 14px; }
