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

:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --ink: #0d1117;
  --ink-2: #3b4250;
  --muted: #6b7280;
  --line: #e6e6e1;
  --accent: #1f6f5c;
  --accent-ink: #ffffff;
  --accent-soft: #e5f1ed;
  --dark: #0b1210;
  --dark-2: #121c19;
  --dark-line: #22302b;
  --dark-ink: #eef3f1;
  --dark-muted: #9aaba5;
  --glow: #5fd3ad;
  --radius: 14px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 100; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--dark) 94%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--dark-ink);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; font-size: 19px; }
.brand svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--dark-muted); transition: color .15s; }
.nav-links a:hover { color: var(--dark-ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px;
  font: inherit; font-size: 15px; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--glow); color: #04130e; }
.btn-primary:hover { background: #7be0bf; }
.btn-ghost { border-color: var(--dark-line); color: var(--dark-ink); }
.btn-ghost:hover { border-color: var(--dark-muted); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #222a35; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: var(--dark-ink);
  padding: clamp(72px, 12vw, 140px) 0 clamp(72px, 10vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(95,211,173,.18), transparent 70%),
    radial-gradient(500px 300px at 10% 100%, rgba(31,111,92,.35), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dark-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%);
  opacity: .55; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--glow);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 0 4px rgba(95,211,173,.18); }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  font-weight: 700; margin: 22px 0 22px; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--glow); }
.hero p.lead { font-size: clamp(18px, 2vw, 21px); color: var(--dark-muted); max-width: 58ch; margin: 0 0 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
  margin-top: clamp(56px, 8vw, 88px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden;
}
.hero-meta div { background: var(--dark-2); padding: 20px 22px; }
.hero-meta strong { display: block; font-size: 15px; font-weight: 600; color: var(--dark-ink); }
.hero-meta span { font-size: 14px; color: var(--dark-muted); }

/* Sections */
section { padding: clamp(72px, 10vw, 120px) 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head .kicker { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.section-head h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 14px; font-weight: 700; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 18px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: #cfd8d3; box-shadow: 0 12px 32px -18px rgba(13,17,23,.25); transform: translateY(-2px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 22px;
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; letter-spacing: -0.015em; margin: 0 0 10px; font-weight: 650; }
.card p { margin: 0; color: var(--ink-2); font-size: 16px; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: 13px; font-weight: 500; color: var(--ink-2); background: #f3f4f1; border-radius: 999px; padding: 4px 11px; }

/* Process */
.process { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .num { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .06em; }
.step h3 { font-size: 20px; margin: 10px 0 8px; letter-spacing: -0.015em; font-weight: 650; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

/* Principles */
.principle { display: flex; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); }
.principle:last-child { border-bottom: 1px solid var(--line); }
.principle .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.principle .tick svg { width: 14px; height: 14px; }
.principle h3 { margin: 0 0 4px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.principle p { margin: 0; color: var(--ink-2); font-size: 16px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-head { position: sticky; top: 108px; margin-bottom: 0; }

/* Company */
.company { background: var(--dark); color: var(--dark-ink); }
.company .section-head .kicker { color: var(--glow); }
.company .section-head p { color: var(--dark-muted); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--dark-2); padding: 24px 26px; }
.facts dt { font-size: 13px; color: var(--dark-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 17px; font-weight: 500; }
.facts a { color: var(--glow); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* Contact */
.contact-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(32px, 6vw, 64px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.contact-box h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 700; }
.contact-box p { color: var(--ink-2); margin: 0 0 28px; font-size: 18px; }
.mail-list { display: grid; gap: 12px; }
.mail-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.mail-list a:hover { border-color: var(--accent); background: var(--accent-soft); }
.mail-list span { font-size: 14px; color: var(--muted); }
.mail-list strong { font-weight: 600; font-size: 16px; word-break: break-all; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.footer-top .brand { color: var(--ink); font-size: 17px; }
.footer-top .brand svg { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink-2); }
.footer-links a:hover { color: var(--ink); }
.legal { margin: 0; line-height: 1.7; }

/* Legal pages */
.doc { padding: clamp(56px, 8vw, 96px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.doc .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc a { color: var(--accent); }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .step, .step + .step { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .steps { column-gap: 28px; row-gap: 32px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-box { grid-template-columns: 1fr; }
  .split .section-head { position: static; margin-bottom: 8px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .grid-2, .grid-4, .steps, .facts { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; }
  .card { padding: 24px; }
}
.doc .btn-dark { color: #fff; text-decoration: none; }
