:root {
  --bg: #0e1013;
  --surface: #161a1f;
  --border: #252b33;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --accent: #b8f35b;
  --accent-ink: #0e1013;
  --radius: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #fafaf7;
    --surface: #ffffff;
    --border: #e4e4de;
    --text: #15181c;
    --muted: #5d6670;
    --accent: #3f7d0b;
    --accent-ink: #ffffff;
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 750; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 500; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.logo span { color: var(--accent); }
.nav nav { display: flex; gap: 20px; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.nav nav a:hover { color: var(--text); }

/* sections */
section { padding: clamp(64px, 10vw, 112px) 0; border-bottom: 1px solid var(--border); }
.section-lead { color: var(--muted); margin-bottom: 2rem; }

.hero { padding-top: clamp(72px, 14vw, 160px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
}
.lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--muted); max-width: 36ch; margin: 1rem 0 2rem; }

/* buttons */
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s, border-color .15s;
}
.btn:hover { border-color: var(--muted); transform: translateY(-1px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { border-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

/* cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card__head h3 { margin: 0; }
.card > p:first-of-type { margin-top: .75rem; }
.badge {
  font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}
.pse { margin: 0 0 1.25rem; display: grid; gap: 10px; }
.pse div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: .95rem; }
.pse dt { color: var(--muted); }
.pse dd { margin: 0; }
@media (max-width: 480px) { .pse div { grid-template-columns: 1fr; gap: 0; } }

.tags { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-size: .82rem; padding: 4px 10px; border-radius: 6px;
  background: color-mix(in srgb, var(--text) 6%, transparent); color: var(--muted);
}
.tags--lg li { font-size: .95rem; padding: 6px 12px; }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; margin-bottom: 0; font-weight: 600; }

/* services */
.grid--services { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.service { border-top: 2px solid var(--border); padding-top: 18px; }
.service__n { color: var(--accent); font-weight: 700; font-size: .9rem; display: block; margin-bottom: .5rem; }
.service p { color: var(--muted); }

/* split */
.split { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.mail { font-size: 1.3rem; font-weight: 650; }

/* form */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .92rem; font-weight: 600; }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.6em; font-size: .95rem; }
.form__status.ok { color: var(--accent); }
.form__status.err { color: #ff7a7a; }

.footer { padding: 32px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 520px) {
  .nav nav { gap: 14px; }
  .nav nav a { font-size: .88rem; }
}
