/* StealthNetTech site. Tokens from the StealthNetTech design system (ds/stealthnettech/tokens.json). */
:root {
  --red: #c81e25;
  --red-deep: #a00d0f;
  --charcoal: #242222;
  --glow-ground: #242526;
  --surface: #141414;
  --surface-raised: #1e1e1e;
  --surface-strong: #333333;
  --border: #3a3a3a;
  --ink: #e6e6e6;
  --ink-strong: #ffffff;
  --ink-muted: #9a9a9a;
  --font: Montserrat, "Proxima Nova", Calibri, system-ui, sans-serif;
  --max: 1200px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink-strong); }
a:hover { color: var(--ink); }
img { display: block; }
input, textarea, select, button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); }
.section { padding: 112px 0; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 48px; }
h2 { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; color: var(--ink-strong); }
h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ink-strong); }
p { margin: 0; }

.btn {
  display: inline-block; text-decoration: none; border-radius: 2px;
  padding: 16px 28px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-strong);
}
.btn-primary { background: var(--red); border: 1px solid var(--red); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); color: var(--ink-strong); }
.btn-ghost { border: 1px solid var(--ink-muted); }
.btn-ghost:hover { border-color: var(--ink-strong); color: var(--ink-strong); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--ink-strong); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--ink); padding: 8px 12px; border-radius: 2px; cursor: pointer; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 100% 0%, var(--red) 0%, #6a1a1c 22%, var(--glow-ground) 48%);
  border-bottom: 4px solid var(--red);
}
.hero .mark { position: absolute; right: -80px; top: 40px; height: 620px; width: auto; opacity: 0.06; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 128px; display: flex; flex-direction: column; gap: 28px; }
.hero .eyebrow { color: var(--ink); }
.hero h1 { margin: 0; max-width: 820px; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-strong); }
.hero .lede { max-width: 640px; font-size: 18px; line-height: 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.card { background: var(--surface-raised); border-top: 3px solid var(--red); padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.card svg { width: 32px; height: 32px; }
.card p { font-size: 15px; line-height: 24px; }
.card ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 24px; color: var(--ink-muted); }

/* Approach */
.approach { background: var(--surface-raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 20px; }
.steps .num { font-size: 28px; font-weight: 700; color: var(--red); }
.steps h3 { font-size: 18px; line-height: 26px; }
.steps p { font-size: 15px; line-height: 24px; }

/* About */
.about { position: relative; overflow: hidden; }
.about .slab { position: absolute; right: 0; top: 0; bottom: 0; width: 34%; background: var(--red); clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.about .slab-dark { width: 14%; background: var(--charcoal); clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%); }
.about .wrap { position: relative; display: flex; flex-direction: column; gap: 24px; }
.about h2, .about p, .about ul { max-width: 620px; }
.about p { font-size: 16px; line-height: 26px; }
.about ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 28px; }

/* Contact */
.contact { background: var(--surface-raised); border-top: 4px solid var(--red); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 64px; }
.contact .intro { flex: 1 1 320px; display: flex; flex-direction: column; gap: 16px; }
.contact .intro p { font-size: 16px; line-height: 26px; }
.contact form { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.contact label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-strong); }
.contact input, .contact select, .contact textarea {
  background: var(--surface); color: var(--ink-strong); border: 1px solid var(--ink-muted); border-radius: 2px; padding: 14px 12px; font-size: 15px; width: 100%;
}
.contact textarea { resize: vertical; min-height: 140px; }
.contact .full { grid-column: 1 / -1; }
.contact button { background: var(--red); color: var(--ink-strong); border: 0; border-radius: 2px; padding: 16px 32px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; min-height: 48px; }
.contact button:hover { background: var(--red-deep); }
.contact button[disabled] { opacity: 0.6; cursor: wait; }
.form-status { grid-column: 1 / -1; font-size: 14px; line-height: 22px; min-height: 22px; }
.form-status.ok { color: var(--ink-strong); }
.form-status.err { color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 13px; color: var(--ink-muted); }
.site-footer img { height: 24px; width: auto; }
.site-footer a { color: var(--ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink-strong); }

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  h2 { font-size: 28px; line-height: 36px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 80px; }
  .hero .mark { height: 360px; right: -120px; top: 80px; }
  .about .slab, .about .slab-dark { display: none; }
  .about { border-left: 6px solid var(--red); }
  .contact .wrap { gap: 40px; }
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .nav a { padding: 16px var(--gutter); border-top: 1px solid var(--border); }
  .nav .btn { margin: 12px var(--gutter) 16px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
