:root {
  --bg: #020a13;
  --bg-soft: #04111f;
  --surface: rgba(8, 26, 43, .82);
  --surface-strong: #091b2d;
  --surface-hover: #0d253b;
  --text: #f5f8fc;
  --muted: #a8bbcc;
  --muted-2: #7890a5;
  --accent: #25b7ff;
  --accent-2: #1978ff;
  --accent-soft: rgba(37, 183, 255, .12);
  --border: rgba(84, 177, 230, .22);
  --border-strong: rgba(84, 177, 230, .45);
  --danger: #ff8f8f;
  --success: #80e8b7;
  --shadow: 0 24px 80px rgba(0, 0, 0, .34);
  --max: 1320px;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 78px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 22px); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(16, 98, 167, .16), transparent 30rem),
    radial-gradient(circle at 86% 28%, rgba(18, 91, 155, .10), transparent 34rem),
    var(--bg);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: rgba(25, 120, 255, .68); }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 1000;
  transform: translateY(-160%); padding: .7rem 1rem;
  color: #001322; background: #fff; border-radius: 8px;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--compact { padding: 68px 0; }
.eyebrow {
  margin: 0 0 14px; color: var(--accent); font-size: .78rem; font-weight: 750;
  letter-spacing: .18em; text-transform: uppercase;
}
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2, .legal h1 {
  margin: 0 0 14px; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.08; letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(84, 177, 230, .12);
  background: rgba(2, 10, 19, .76);
  backdrop-filter: blur(18px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-inner { width: min(calc(100% - 48px), 1800px); }
.hero-inner, .hero-proof { width: min(calc(100% - 128px), 1800px); }
.brand, .footer-brand {
  display: inline-flex; align-items: center; gap: 12px; width: max-content;
  color: var(--text); text-decoration: none;
}
.brand { min-width: 220px; }
.brand-mark {
  flex: 0 0 auto; width: 48px; height: 56px; object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.42));
}
.brand-wordmark { display: grid; align-content: center; line-height: 1; white-space: nowrap; }
.brand-wordmark strong { font-size: 1.62rem; font-weight: 660; letter-spacing: -.025em; }
.brand-wordmark span { margin-top: 7px; color: #dbe6ef; font-size: .63rem; font-weight: 620; letter-spacing: .42em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: #dce7f0; text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { margin-left: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--border);
  border-radius: 12px; background: var(--surface); color: var(--text);
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: .82rem 1.25rem; border: 1px solid transparent; border-radius: 10px;
  color: #fff; background: linear-gradient(135deg, var(--accent-2), #0b63cc);
  box-shadow: 0 12px 34px rgba(17, 119, 255, .20); text-decoration: none; font-weight: 720;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(17, 119, 255, .30); }
.btn--secondary { border-color: var(--border-strong); background: rgba(3, 14, 25, .54); box-shadow: none; }
.btn--secondary:hover { background: rgba(15, 48, 74, .7); }
.btn--small { min-height: 43px; padding: .68rem 1rem; font-size: .9rem; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero {
  position: relative;
  height: min(31.5vw, 610px);
  min-height: 340px;
  overflow: hidden;
  border-bottom: 1px solid rgba(84, 177, 230, .14);
  background:
    radial-gradient(circle at 9% 52%, rgba(15, 96, 170, .18), transparent 28rem),
    linear-gradient(90deg, #020a13 0%, #03101d 42%, #020a13 42%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,10,19,.04) 0%, rgba(2,10,19,.08) 34%, rgba(2,10,19,.30) 42%, transparent 58%),
    linear-gradient(180deg, transparent 70%, rgba(2,10,19,.72) 100%);
}
.hero-network {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 27%;
  height: 100%;
  pointer-events: none;
  opacity: .60;
}
.hero-network-lines { fill: none; stroke: rgba(31, 137, 238, .25); stroke-width: .42; vector-effect: non-scaling-stroke; }
.hero-network-nodes { fill: #168df5; opacity: .68; filter: drop-shadow(0 0 2px rgba(31,145,255,.58)); }
.hero-media { position: absolute; inset: 0 0 0 42%; z-index: 0; overflow: hidden; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #03101d 0%, rgba(3,16,29,.82) 7%, rgba(3,16,29,.30) 22%, rgba(3,16,29,.04) 42%, transparent 100%),
    linear-gradient(180deg, rgba(2,10,19,.02) 68%, rgba(2,10,19,.70) 100%);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.hero-copy { width: 43%; max-width: 610px; padding: 18px 0 70px; }
.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.048em;
  text-transform: uppercase;
}
.hero-title-line { display: block; white-space: nowrap; }
.hero-title-line em { color: var(--accent-2); font-style: normal; }
.hero-title-line--accent { color: var(--accent-2); }
.hero-lead { max-width: 535px; margin: 0 0 14px; color: #c3d1dd; font-size: clamp(.88rem, 1vw, 1.08rem); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: nowrap; gap: 12px; }
.hero .eyebrow { margin-bottom: 8px; }
.hero .btn { white-space: nowrap; min-height: 44px; padding: .65rem .92rem; font-size: .82rem; }
.hero-proof {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}
.proof-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  min-width: 0;
  padding: 8px 4px;
  background: transparent;
}
.proof-item + .proof-item { border-left: 1px solid rgba(84,177,230,.15); padding-left: 22px; }
.proof-item svg { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.proof-item strong { display: block; font-size: .89rem; }
.proof-item span { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; }

.services-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.service-card {
  grid-column: span 2; position: relative; min-height: 310px; padding: 30px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(12, 35, 56, .88), rgba(4, 17, 31, .88)); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; min-height: 290px; }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(37,183,255,.14), transparent 68%); }
.service-card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: linear-gradient(155deg, rgba(15, 45, 70, .94), rgba(5, 20, 35, .94)); }
.card-icon { width: 54px; height: 54px; padding: 12px; margin-bottom: 20px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--accent-soft); }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.service-card .tagline { margin: 0 0 16px; color: var(--accent); font-weight: 650; }
.service-card p { margin: 0 0 18px; color: var(--muted); }
.clean-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: #d5e0e9; font-size: .93rem; }
.clean-list li { position: relative; padding-left: 22px; }
.clean-list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(25,120,255,.12); }

.process { background: linear-gradient(180deg, rgba(5,18,32,.2), rgba(10,35,55,.38), rgba(5,18,32,.2)); border-block: 1px solid rgba(84,177,230,.12); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: process; }
.process-step { position: relative; padding: 26px 24px; border-top: 1px solid var(--border-strong); background: rgba(4,17,31,.42); counter-increment: process; }
.process-step::before { content: "0" counter(process); display: block; margin-bottom: 28px; color: rgba(37,183,255,.48); font-size: 2rem; font-weight: 800; letter-spacing: -.04em; }
.process-step h3 { margin: 0 0 8px; }
.process-step p { margin: 0; color: var(--muted); }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.why-panel { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(12,35,56,.75), rgba(4,17,31,.76)); }
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.why-list li { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.why-list .check { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.why-list strong { display: block; margin-bottom: 2px; }
.why-list span { color: var(--muted); font-size: .92rem; }

.contact { border-top: 1px solid rgba(84,177,230,.14); background: radial-gradient(circle at 50% 0%, rgba(27,117,187,.13), transparent 42rem); }
.contact-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; margin-bottom: 40px; align-items: end; }
.direct-contact { display: grid; gap: 12px; justify-self: end; }
.contact-line { display: flex; align-items: center; gap: 12px; color: #dce7ef; text-decoration: none; }
.contact-line:hover { color: var(--accent); }
.contact-line svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.tab-button { padding: .78rem 1rem; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); background: rgba(7,24,40,.56); font-weight: 700; }
.tab-button[aria-selected="true"] { color: #fff; border-color: var(--border-strong); background: linear-gradient(135deg, rgba(25,120,255,.88), rgba(11,99,204,.88)); }
.form-panel { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(6,21,35,.86); box-shadow: var(--shadow); }
.form-panel[hidden] { display: none; }
.form-panel h3 { margin: 0 0 4px; font-size: 1.4rem; }
.form-panel > p { margin: 0 0 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 650; }
.field .optional { color: var(--muted-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .78rem .9rem; border: 1px solid rgba(112,171,206,.28); border-radius: 9px;
  color: var(--text); background: #061522; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37,183,255,.12); }
.field select { color-scheme: dark; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 20px; }
.form-note { max-width: 660px; margin: 0; color: var(--muted); font-size: .83rem; }
.form-note a { color: var(--accent); }
.form-status { min-height: 1.5em; margin: 14px 0 0; font-weight: 650; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }

.site-footer { border-top: 1px solid rgba(84,177,230,.16); background: #01070d; }
.footer-main { display: grid; grid-template-columns: .75fr 1.25fr auto; gap: 40px; align-items: center; padding: 34px 0; }
.footer-brand .brand-mark { width: 52px; height: 52px; }
.footer-brand .brand-wordmark strong { font-size: 1.42rem; }
.footer-brand .brand-wordmark span { font-size: .64rem; }
.footer-copy { color: var(--muted); font-size: .92rem; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #d4e0e9; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0 28px; border-top: 1px solid rgba(84,177,230,.1); color: var(--muted-2); font-size: .82rem; }

.legal { min-height: calc(100vh - var(--header-h)); padding: 76px 0 100px; }
.legal-wrap { max-width: 860px; }
.legal h1 { margin-bottom: 16px; }
.legal .updated { color: var(--muted-2); margin: 0 0 38px; }
.legal h2 { margin: 38px 0 12px; font-size: 1.35rem; }
.legal h3 { margin: 28px 0 10px; font-size: 1.08rem; }
.legal p, .legal li { color: #c6d3de; }
.legal a { color: var(--accent); }
.legal address { font-style: normal; color: #dbe6ee; }
.notice { padding: 18px 20px; border-left: 3px solid var(--accent); background: rgba(37,183,255,.08); color: #cbdbe7; }
.error-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; }
.error-code { margin: 0; color: var(--accent); font-size: clamp(5rem, 18vw, 10rem); font-weight: 850; line-height: .9; opacity: .45; }
.error-page h1 { margin: 18px 0 10px; font-size: clamp(2rem, 5vw, 3.5rem); }
.error-page p { max-width: 580px; margin: 0 auto 28px; color: var(--muted); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1050px) {
  .nav { gap: 18px; }
  .nav .btn { display: none; }
  .hero-media { left: 42%; }
  .hero-copy { width: 43%; }
  .hero-copy h1 { font-size: clamp(2rem, 3vw, 2.8rem); }
  .hero-proof { gap: 10px; }
  .proof-item { padding-inline: 11px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .service-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 72px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner, .hero-inner, .hero-proof { width: min(calc(100% - 28px), var(--max)); }
  .brand { min-width: 0; gap: 9px; }
  .brand-mark { width: 41px; height: 48px; }
  .brand-wordmark strong { font-size: 1.32rem; }
  .brand-wordmark span { margin-top: 5px; font-size: .55rem; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; display: grid; gap: 0; padding: 14px;
    border-bottom: 1px solid var(--border); background: rgba(2,10,19,.97); transform: translateY(-130%); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .menu-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 14px; border-bottom: 1px solid rgba(84,177,230,.1); }
  .nav a:last-child { border-bottom: 0; }
  .hero { height: auto; min-height: auto; display: flex; flex-direction: column; background: var(--bg); }
  .hero-network { display: none; }
  .hero-inner { order: 1; min-height: auto; display: block; }
  .hero-copy { width: 100%; max-width: none; padding: 68px 0 34px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 9.8vw, 4rem); }
  .hero-media { order: 2; position: relative; inset: auto; height: 440px; margin-top: 0; }
  .hero-media::before { background: linear-gradient(180deg, var(--bg) 0%, rgba(2,10,19,.08) 22%, rgba(2,10,19,.10) 62%, rgba(2,10,19,.72) 100%); }
  .hero-media img { object-position: center right; }
  .hero-proof { order: 3; position: relative; left: auto; bottom: auto; transform: none; grid-template-columns: repeat(2, minmax(0,1fr)); padding-block: 18px 28px; }
  .proof-item + .proof-item { border-left: 0; padding-left: 4px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-grid, .contact-intro { grid-template-columns: 1fr; }
  .direct-contact { justify-self: start; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero-copy { padding-top: 64px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-media { height: 360px; }
  .hero-title-line { white-space: normal; }
  .hero-proof { grid-template-columns: 1fr; gap: 8px; }
  .proof-item { padding: 8px 6px 8px 0; }
  .proof-item svg { width: 24px; height: 24px; flex-basis: 24px; }
  .services-grid, .process-grid, .form-grid { grid-template-columns: 1fr; }
  .service-card:last-child { grid-column: auto; }
  .form-tabs { display: grid; grid-template-columns: 1fr; }
  .form-panel { padding: 22px 18px; }
  .field--full { grid-column: auto; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.turnstile-wrap {
  width: 100%;
  max-width: 420px;
  margin-top: 18px;
  min-height: 65px;
}
.turnstile-wrap > [data-turnstile] { width: 100%; }
.form-status[data-state="turnstile"] { color: #f1c86b; }
