:root {
  color-scheme: dark;
  --ink: #f3f6ef;
  --muted: #adbfba;
  --lime: #c9f98c;
  --line: #30443f;
  --base: #111a19;
  --panel: #172723;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(ellipse at 75% 0, #1a2d26 0, transparent 45rem), var(--base);
  color: var(--ink);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
.shell { width: min(1160px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--lime); color: var(--base); padding: .5rem 1rem; z-index: 1; }
.skip:focus { top: 1rem; }

.masthead { min-height: 86px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; font-weight: 750; letter-spacing: -.04em; font-size: 1.45rem; white-space: nowrap; }
.brand img { margin-right: .6rem; }
.brand span, h1 span { color: var(--lime); }
.nav, .languages { display: flex; align-items: center; }
.nav { gap: clamp(.75rem, 2.4vw, 2.2rem); color: var(--muted); font-size: .92rem; }
.nav-section:hover, .text-link:hover { color: var(--lime); }
.languages { border: 1px solid var(--line); padding: 3px; border-radius: 7px; }
.languages a { padding: .25rem .52rem; font-weight: 700; font-size: .75rem; letter-spacing: .08em; }
.languages a[aria-current] { background: #314c3d; color: var(--lime); border-radius: 4px; }
.languages a:hover { color: var(--lime); }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3.75rem, 8vw, 7rem); }
.eyebrow { display: flex; align-items: center; gap: .7rem; color: var(--lime); font: 700 .77rem/1.5 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { width: 1.55rem; height: 1px; background: var(--lime); }
h1 { max-width: 13ch; margin-top: 1.2rem; font-size: clamp(2.7rem, 5.35vw, 4.75rem); font-weight: 750; line-height: 1.01; letter-spacing: -.062em; }
.intro { max-width: 36rem; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.45rem; margin-top: 1.85rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1rem; border-radius: 7px; background: var(--lime); color: #152017; font-size: .94rem; font-weight: 750; }
.button:hover { background: #e1ffb6; }
.button svg { width: 1.17rem; height: 1.17rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.text-link { font-size: .94rem; font-weight: 650; white-space: nowrap; }
.text-link span { margin-left: .25rem; color: var(--lime); }

.diagram { position: relative; border: 1px solid #385448; border-radius: 14px; overflow: hidden; background: #14241e; }
.diagram-top, .diagram figcaption { display: flex; align-items: center; gap: .6rem; color: #c3d8cc; font: 650 .68rem/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; padding: .9rem 1rem; }
.diagram-top { border-bottom: 1px solid #30443c; }
.signal { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #afff69; }
.diagram-number { margin-left: auto; color: #8ca89b; white-space: nowrap; }
.diagram img { display: block; width: 100%; height: auto; }
.diagram figcaption { border-top: 1px solid #30443c; color: #a1baab; }

.services { padding-block: 2.8rem 4.15rem; border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); line-height: 1.15; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.65rem; border-block: 1px solid var(--line); }
.service-grid article { padding: 1.35rem 1.6rem 1.65rem; }
.service-grid article:first-child { padding-left: 0; }
.service-grid article + article { border-left: 1px solid var(--line); }
.service-grid .item-number { color: var(--lime); font: 650 .85rem/1.4 ui-monospace, Consolas, monospace; }
.service-grid h3 { margin: .65rem 0 .4rem; font-size: 1.23rem; line-height: 1.3; letter-spacing: -.025em; }
.service-grid p { color: var(--muted); font-size: .98rem; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; background: var(--panel); padding: clamp(1.45rem, 3vw, 2.5rem); border: 1px solid #3b5247; border-radius: 12px; }
.contact p { margin-top: .55rem; color: var(--muted); }
.contact .button { flex-shrink: 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.6rem; padding-block: 1.2rem 1.65rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }

@media (max-width: 820px) {
  .shell { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: 17ch; }
  .diagram { width: min(100%, 520px); }
  .service-grid article { padding-inline: 1rem; }
}

@media (max-width: 550px) {
  .shell { width: calc(100% - 36px); }
  .masthead { min-height: 68px; }
  .brand { font-size: 1.2rem; }
  .brand img { width: 29px; height: 29px; margin-right: .45rem; }
  .nav-section { display: none; }
  .hero { padding-block: 3.2rem; }
  .eyebrow { font-size: .66rem; }
  h1 { font-size: clamp(2.4rem, 9.8vw, 3.45rem); }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { padding-inline: 0; }
  .service-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .services { padding-block: 2.2rem 3rem; }
  .contact { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
