@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b0d12;
  --ink-2: #12161f;
  --ink-3: #1b2130;
  --paper: #ffffff;
  --paper-2: #f5f6f4;
  --text: #11141b;
  --muted: #5a6170;
  --muted-dark: #9aa3b5;
  --line: #e3e5e9;
  --line-dark: #262d3d;
  --accent: #3ee0a8;
  --accent-ink: #087a58;
  --accent-soft: #e3faf1;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -12px rgba(16, 24, 40, .14);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv11", "ss01";
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.03em; margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--ink); padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(11, 13, 18, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-color: rgba(255, 255, 255, .07);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.brand img { width: 34px; height: 34px; }
.brand span b { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: rgba(255, 255, 255, .78); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; }
  .nav-links .btn { display: flex; margin: 8px 0 0; padding: 14px 20px; border-radius: 999px; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--ink) !important; }
.btn-primary:hover { background: #5ff0bd; }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: 160px 0 110px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -260px; top: -380px;
  background: radial-gradient(circle, rgba(62, 224, 168, .22), transparent 62%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: rgba(62, 224, 168, .1);
  border: 1px solid rgba(62, 224, 168, .25);
  padding: 6px 12px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(62, 224, 168, .18); }
.hero h1 { font-size: clamp(42px, 6.4vw, 76px); margin: 22px 0 22px; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-dark); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 44px; padding: 0; list-style: none; color: var(--muted-dark); font-size: 14px; }
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Status card */
.status-card {
  background: linear-gradient(180deg, var(--ink-2), #0e1219);
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
  overflow: hidden; font-size: 14px;
}
.status-head { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 13px; }
.status-head i { width: 11px; height: 11px; border-radius: 50%; background: #2a3142; display: inline-block; }
.status-head span { margin-left: auto; font-family: var(--mono); font-size: 12px; }
.status-body { padding: 8px 18px 18px; }
.status-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-dark); }
.status-row:last-of-type { border-bottom: 0; }
.status-row .name { display: flex; align-items: center; gap: 10px; color: #e7eaf0; }
.status-row .name svg { width: 18px; height: 18px; color: var(--muted-dark); }
.pill { font-family: var(--mono); font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(62, 224, 168, .12); color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-top: 14px; }
.spark b { flex: 1; background: linear-gradient(180deg, var(--accent), rgba(62, 224, 168, .25)); border-radius: 3px 3px 0 0; opacity: .85; }
.status-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; color: var(--muted-dark); font-size: 12px; font-family: var(--mono); margin-top: 10px; }

@media (max-width: 960px) {
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .status-card { max-width: 520px; }
}

/* ---------- Sections ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 112px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 12px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 700px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d8de; }
.icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 22px;
}
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } .card { padding: 24px; } }

/* Feature band */
.band { background: var(--ink); color: #fff; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.band-copy { padding: 96px 64px 96px 0; display: flex; flex-direction: column; justify-content: center; }
.band-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 12px 0 18px; }
.band-copy .kicker { color: var(--accent); }
.band-copy p { color: var(--muted-dark); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #dfe3ea; }
.checks svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.band-media { position: relative; margin-right: calc((100vw - min(100vw, var(--wrap))) / -2 - 24px); }
.band-media picture, .band-media img { height: 100%; width: 100%; object-fit: cover; }
.band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(11, 13, 18, .2) 35%, transparent 70%); }
@media (max-width: 900px) {
  .band-grid { grid-template-columns: 1fr; }
  .band-copy { padding: 80px 0 48px; }
  .band-media { margin: 0 -24px; height: 300px; }
  .band-media::after { background: linear-gradient(180deg, var(--ink) 0%, transparent 45%); }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--mono); font-size: 14px; font-weight: 600; color: var(--accent-ink);
  display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); margin-bottom: 20px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; }
.person { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.person picture { display: block; }
.person img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; object-position: center 20%; }
.person-body { padding: 24px 26px 28px; }
.person h3 { font-size: 22px; letter-spacing: -0.02em; }
.person .role { color: var(--accent-ink); font-weight: 600; font-size: 15px; margin: 10px 0 12px; }
.person p { color: var(--muted); font-size: 16px; }
.person .role .tag { display: table; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 8px; }
.person .role .tag-muted { background: #eef0f3; color: #4a5160; }
@media (max-width: 680px) { .team { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 12px 0 16px; }
.contact-info > p { color: var(--muted); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.contact-list a, .contact-list div {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
}
.contact-list a:hover { border-color: #cfd4db; box-shadow: var(--shadow); }
.contact-list .icon { margin: 0; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list strong { font-weight: 600; }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--text);
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1px solid #d5d9df; background: #fcfcfd;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent-ink); background: #fff; box-shadow: 0 0 0 4px rgba(8, 122, 88, .12); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 24px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent-ink); flex: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; justify-content: center; padding: 15px 22px; font-size: 16px; }
.form-status { margin-top: 16px; font-size: 15px; padding: 12px 14px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: var(--accent-soft); color: #05543c; }
.form-status.err { display: block; background: #fdecec; color: #9b1c1c; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form { padding: 24px; } .form-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 56px 0 40px; font-size: 15px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copy { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--ink); color: #fff; padding: 140px 0 64px; }
.legal-hero h1 { font-size: clamp(36px, 5vw, 56px); }
.legal-hero p { color: var(--muted-dark); margin-top: 12px; }
.legal { padding: 64px 0 96px; }
.legal .wrap > * { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; letter-spacing: -0.02em; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #383e4a; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent-ink); }
.legal address { font-style: normal; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
