@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap");

:root{
  --bg: #06060f;
  --surface: #0d0d1f;
  --surface-2: #13132a;
  --surface-3: #1a1a38;
  --text: #e4e4f0;
  --muted: #a0a0c0;
  --brand: #00d4ff;
  --brand-2: #7c3aed;
  --accent-green: #00ff88;
  --border: rgba(100, 120, 220, 0.12);
  --border-glow: rgba(0, 212, 255, 0.2);
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --glow: 0 0 20px rgba(0, 212, 255, 0.15);
  --glow-purple: 0 0 20px rgba(124, 58, 237, 0.15);
  --max: 1120px;
  --radius: 8px;
  --heading-font: "Space Grotesk", "Segoe UI", sans-serif;
  --body-font: "Inter", "Segoe UI", sans-serif;
  --mono-font: "JetBrains Mono", "Consolas", monospace;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  line-height:1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
  color: #ffffff;
  font-weight: 700;
}

a{color: var(--brand); transition: color .15s ease}
a:hover{color: #66e5ff}
img{max-width:100%;height:auto}

.nowrap{white-space:nowrap}

.container{
  max-width: var(--max);
  padding: 0 24px;
  margin: 0 auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top: 0;
  background: var(--brand);
  color: #06060f;
  padding:10px 14px;
  border-radius: 8px;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus{left:12px;top:12px}

/* ─── Topbar ─── */
.topbar{
  background: linear-gradient(90deg, #004d66 0%, #2d1466 100%);
  color: #e4e4f0;
  font-family: var(--mono-font);
  position: relative;
  overflow: hidden;
}
.topbar::after{
  content:"";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,.03) 2px,
    rgba(255,255,255,.03) 4px
  );
  pointer-events: none;
}
.topbar .container{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  padding:10px 24px;
  font-size: 12px;
  letter-spacing:.06em;
  text-align:center;
  text-transform: uppercase;
}
.topbar a{color:#e4e4f0; text-decoration:none}
.topbar a:hover{opacity:.85}

/* ─── Header ─── */
.header{
  position: sticky;
  top:12px;
  z-index: 60;
  width: min(calc(100% - 24px), calc(var(--max) + 48px));
  margin: 12px auto 0;
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  background: rgba(13, 13, 31, .85);
  box-shadow: 0 8px 32px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 18px 0 12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  min-width:0;
  color: #ffffff;
}
.brand:hover{color:#ffffff}
.brand-logo{
  width:56px;
  height:56px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--surface-2);
  box-shadow: 0 0 16px rgba(0,212,255,.15);
  border: 1px solid var(--border-glow);
}
.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.15;
  min-width:0;
}
.brand-name strong{
  font-size: 17px;
  font-family: var(--heading-font);
  overflow-wrap:anywhere;
  letter-spacing: -0.01em;
}
.brand-name span{
  font-size: 11px;
  color: var(--brand);
  letter-spacing:.08em;
  text-transform:uppercase;
  overflow-wrap:anywhere;
  font-family: var(--mono-font);
}

.header-links{
  display:flex;
  gap:14px;
  align-items:center;
  font-size: 13px;
}
.header-links a{
  text-decoration:none;
  color: var(--muted);
}
.header-links a:hover{color: var(--brand)}

/* ─── Navigation ─── */
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  position: relative;
  padding-bottom: 14px;
}
.nav a,
.nav-group > summary{
  text-decoration:none;
  color: #c0c0d8;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 12px;
  text-transform:uppercase;
  letter-spacing:.1em;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover,
.nav-group > summary:hover{
  color: var(--brand);
  background: rgba(0,212,255,.06);
}
.nav-group{
  position: relative;
}
.nav-group > summary{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
  cursor:pointer;
}
.nav-group > summary > .nav-parent-link{
  padding:0;
  min-width:0;
  color: inherit;
  text-decoration:none;
}
.nav-group > summary::-webkit-details-marker{
  display:none;
}
.nav-group > summary::after{
  content:"";
  width:7px;
  height:7px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.nav-group[open] > summary::after{
  transform: translateY(1px) rotate(-135deg);
}
.nav a[aria-current="page"]{
  color: var(--brand);
  background: rgba(0,212,255,.08);
  border-bottom: none;
}
.nav-group > summary:hover,
.nav-group > summary:focus-visible,
.nav-group[data-has-current="true"] > summary{
  color: var(--brand);
}
.nav-group[data-has-current="true"] > summary{
  background: rgba(0,212,255,.08);
  border-bottom: none;
}
.nav-panel{
  position:absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 10;
  min-width: 260px;
  padding: 18px;
  display:grid;
  gap:16px;
  background: rgba(13, 13, 31, .95);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  box-shadow: var(--shadow), var(--glow);
  transform: translateX(-50%);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}
.nav-panel-grid{
  width: min(920px, calc(100vw - 80px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nav-panel-section{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width: 0;
}
.nav-section-label{
  font-size: 10px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-family: var(--mono-font);
}
.nav-panel-section a{
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .06em;
  text-transform:none;
}
.nav-panel-section a[aria-current="page"]{
  border-bottom: 0;
}

.nav-cta{
  text-decoration:none;
  background: linear-gradient(135deg, var(--brand) 0%, #0099cc 100%);
  color: #06060f;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  box-shadow: 0 4px 16px rgba(0,212,255,.2);
  border: none;
  transition: box-shadow .2s ease, transform .15s ease;
}
.nav-cta:hover{
  color: #06060f;
  box-shadow: 0 4px 24px rgba(0,212,255,.35);
  transform: translateY(-1px);
}

.nav-toggle{
  display:none;
  border: 1px solid var(--border-glow);
  background: rgba(13, 13, 31, .8);
  color: var(--text);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight:700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

/* ─── Hero ─── */
.hero{
  padding: 100px 0 80px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0,212,255,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(124,58,237,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo{
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--glow);
  margin-bottom: 14px;
  border: 1px solid var(--border-glow);
}
.hero-card{
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  padding: 12px 18px;
  position: relative;
  z-index: 1;
}
.hero h1{
  margin:0 0 8px;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 30%, var(--brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p{
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 65ch;
  line-height: 1.7;
}

.pill-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 24px;
  justify-content:center;
}
.pill{
  display:inline-flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-glow);
  background: rgba(0,212,255,.06);
  color: var(--brand);
  text-decoration:none;
  font-size: 12px;
  font-weight: 600;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition: all .2s ease;
  backdrop-filter: blur(8px);
}
.pill:hover{
  background: rgba(0,212,255,.12);
  border-color: rgba(0,212,255,.4);
  color: #ffffff;
  box-shadow: var(--glow);
}

/* ─── Sections ─── */
.section{
  padding: 72px 0;
}
.section h2{
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.section > .container > h2{
  display: inline-block;
  width: auto;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(0,212,255,.1) 0%, rgba(124,58,237,.1) 100%);
  color: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-glow);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  font-family: var(--mono-font);
  box-shadow: var(--glow);
  margin: 0 0 28px;
}
.section p.lead{
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 80ch;
  line-height: 1.7;
}

/* ─── Staggered layout ─── */
.staggered{
  display:flex;
  flex-direction:column;
  gap: 48px;
}
.staggered-item{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items:center;
}
.staggered-media img{
  width:100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display:block;
}
.staggered-content h3{
  margin: 0 0 12px;
  font-size: 22px;
}
.staggered-content p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}
.staggered-item:nth-child(even) .staggered-media{
  order: 2;
}

.text-link{
  color: var(--brand);
  text-decoration:none;
  font-weight:700;
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-family: var(--mono-font);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .15s ease;
}
.text-link::after{
  content: "\2192";
}
.text-link:hover{
  color: #66e5ff;
  gap: 10px;
}

/* ─── Split layout ─── */
.section-split .split{
  display:grid;
  gap: 32px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items:center;
}
.section-split .split-content .lead{
  margin-top: 0;
}
.section-split .split-media img{
  width:100%;
  display:block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.section-split .actions{
  margin-top: 20px;
}

/* ─── Grid system ─── */
.grid{
  display:grid;
  gap: 20px;
}
.grid.cols-2{grid-template-columns: repeat(2, minmax(0, 1fr));}
.grid.cols-3{grid-template-columns: repeat(3, minmax(0, 1fr));}
.grid.cols-4{grid-template-columns: repeat(4, minmax(0, 1fr));}

/* ─── Cards ─── */
.card{
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover{
  border-color: var(--border-glow);
}
.card-media{
  width:100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  display:block;
}
.card h3{margin:0 0 10px; font-size: 18px; color: #ffffff}
.card p{margin:0; color: var(--muted); line-height: 1.6}
.card .actions{margin-top: 16px; display:flex; gap:12px; flex-wrap:wrap}

/* ─── Buttons ─── */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight:700;
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  transition: all .2s ease;
  cursor: pointer;
}
.btn:hover{
  background: rgba(0,212,255,.08);
  box-shadow: var(--glow);
  color: #ffffff;
}
.btn.primary{
  background: linear-gradient(135deg, var(--brand) 0%, #0099cc 100%);
  border: 1px solid var(--brand);
  color: #06060f;
  font-weight: 700;
}
.btn.primary:hover{
  box-shadow: 0 0 28px rgba(0,212,255,.35);
  transform: translateY(-1px);
}

/* ─── KPIs ─── */
.kpi{
  display:flex;
  flex-direction:column;
  gap:6px;
  align-items:center;
  text-align:center;
}
.kpi-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.kpi-section{
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-3) 100%);
  border-top: 1px solid var(--border-glow);
  border-bottom: 1px solid var(--border-glow);
}
.kpi-section .card.kpi{
  background: rgba(0,212,255,.04);
  border: 1px solid var(--border-glow);
  box-shadow: none;
}
.kpi-section .kpi strong{
  color: var(--brand);
}
.kpi-section .kpi span{
  color: var(--muted);
}
.kpi-section .kpi .icon{
  filter: brightness(0) invert(1);
  opacity:.9;
}
.card.kpi{
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 20px 14px;
}
.kpi strong{
  font-size: 28px;
  color: var(--brand);
  font-family: var(--heading-font);
  letter-spacing: -0.02em;
}
.kpi span{
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-family: var(--mono-font);
}

/* ─── Icons ─── */
.icon{
  width: 44px;
  height: 44px;
  display:block;
  margin-bottom: 8px;
}
.kpi .icon{
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
}

/* ─── Feature & Specialty cards ─── */
.specialty h3,
.feature h3{
  margin-top: 2px;
}
.feature{
  text-align:center;
}
.feature .icon{
  margin: 0 auto 10px;
}
.specialty{
  text-align:center;
}
.specialty .icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
}

.actions-center{
  display:flex;
  justify-content:center;
}

/* ─── Badge ─── */
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border: 1px solid var(--border-glow);
  background: rgba(0,212,255,.06);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight:700;
  color: var(--brand);
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size: 11px;
  font-family: var(--mono-font);
}

/* ─── Lists ─── */
.list{
  margin:0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{margin: 8px 0}
.list li::marker{color: var(--brand)}

/* ─── Article ─── */
.article{
  max-width: 80ch;
}
.article h1,.article h2,.article h3{letter-spacing: -0.01em}
.article h1{margin-top:0}
.article p{color: var(--muted)}
.article ul{color: var(--muted)}
.article a{color: var(--brand)}

.post-meta{color: var(--muted); margin-top: 6px; font-size: 14px}
.post-header{margin-bottom: 18px}
.post-thumb{
  width:100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
  display:block;
}
.post-hero-media{
  width:100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 18px 0 10px;
  box-shadow: var(--shadow);
}
.post-list a{ text-decoration:none }
.post-list .card{ transition: transform .15s ease, border-color .15s ease; }
.post-list .card:hover{ transform: translateY(-2px); border-color: var(--border-glow); }

/* ─── Contact ─── */
.contact{
  margin-top: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin-top: 12px;
}
.contact-form label{
  display:block;
  font-weight: 600;
  font-size: 12px;
  margin: 12px 0 6px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-form input, .contact-form textarea{
  width:100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease;
}
.contact-form input:focus, .contact-form textarea:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.contact-form textarea{min-height: 120px; resize: vertical}
.form-message{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
}
.form-message.is-success{
  background: rgba(0,255,136,.08);
  border-color: rgba(0,255,136,.3);
  color: var(--accent-green);
}
.form-message.is-error{
  background: rgba(255,80,80,.08);
  border-color: rgba(255,80,80,.3);
  color: #ff5050;
}
.contact-honeypot{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.fine-print{
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.contact-details h4{margin: 10px 0 6px; color: #ffffff}
.contact-details p{margin: 0 0 8px; color: var(--muted)}
.contact-details a{color: var(--brand); text-decoration:none; overflow-wrap:anywhere}
.contact-details a:hover{color: #66e5ff}

/* Contact form: selects */
.contact-form select{
  width:100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color .15s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%238888aa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}
.contact-form select:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0,212,255,.1);
}
.contact-form select option{
  background: var(--surface-2);
  color: var(--text);
}
.contact-form select optgroup{
  color: var(--brand);
  font-weight: 700;
  font-style: normal;
}

/* Contact form: rows */
.contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-field{
  display: flex;
  flex-direction: column;
}
.contact-field label{
  margin-top: 12px;
}

/* Contact form: fieldset & radio */
.contact-fieldset{
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px 12px;
  margin: 12px 0 0;
  background: var(--surface);
}
.contact-fieldset legend{
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 0 6px;
}
.contact-radio-group{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.contact-radio{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  margin: 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.contact-radio:hover{
  border-color: var(--border-glow);
  background: rgba(0,212,255,.03);
}
.contact-radio input[type="radio"]{
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
  margin: 0;
  flex-shrink: 0;
}
.contact-radio-label{
  color: var(--text);
  font-size: 13px;
}
.contact-radio:has(input:checked){
  border-color: var(--brand);
  background: rgba(0,212,255,.06);
  box-shadow: 0 0 0 1px rgba(0,212,255,.15);
}

/* Contact form: validation */
.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid{
  border-color: #ff5050;
  box-shadow: 0 0 0 3px rgba(255,80,80,.1);
}

/* Contact form: required marker */
.required{
  color: #ff5050;
  font-weight: 700;
}

/* Contact form: placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(136,136,170,.5);
}

/* Contact form: submit button */
.contact-form .btn{
  margin-top: 8px;
}

@media (max-width: 720px){
  .contact-row{
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-radio-group{
    grid-template-columns: 1fr;
  }
}

/* ─── FAQ ─── */
.faq-grid{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.faq-item h3{
  margin: 0 0 8px;
  font-size: 17px;
}
.faq-item p{
  margin: 0;
  color: var(--muted);
}

/* ─── Footer ─── */
.footer{
  border-top: 1px solid var(--border);
  background: #030308;
  color: var(--text);
  margin-top: 0;
  position: relative;
}
.footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
}
.footer-inner{
  padding: 36px 0 28px;
  display:flex;
  flex-direction:column;
  gap: 24px;
}
.footer-main{
  display:grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .8fr) minmax(180px, .8fr);
  gap: 28px;
  align-items:start;
}
.footer-brand{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.footer-kicker{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand);
  font-family: var(--mono-font);
}
.footer-brand strong{
  display:block;
  font-size: 20px;
  line-height: 1.25;
  font-family: var(--heading-font);
  color: #ffffff;
}
.footer-brand p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.footer-column{
  display:flex;
  flex-direction:column;
  gap: 12px;
}
.footer-heading{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--mono-font);
}
.footer-link-list,
.footer-contact-list{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.footer-bottom{
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.footer small{color: var(--muted); font-size: 12px}
.footer a{color: rgba(255,255,255,.7); text-decoration:none; overflow-wrap:anywhere; transition: color .15s ease}
.footer a:hover{color: var(--brand)}

/* ─── Responsive ─── */
@media (max-width: 980px){
  .footer-main{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand{
    grid-column: 1 / -1;
  }
  .header{
    width: calc(100% - 16px);
    margin-top: 8px;
    top: 8px;
  }
  .header-inner{
    padding: 14px 0 10px;
  }
  .brand-logo{
    width:48px;
    height:48px;
  }
  .brand-name strong{
    font-size: 15px;
  }
  .brand-name span{
    font-size: 10px;
  }
  .nav{
    display:none;
  }
  .nav-toggle{
    display:inline-flex;
  }
  .nav.is-open{
    display:flex;
    position:absolute;
    top: calc(100% - 4px);
    right: 12px;
    left: 12px;
    flex-direction:column;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--border-glow);
    background: rgba(13, 13, 31, .96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
  }
  .nav a,
  .nav-group > summary{
    width:100%;
    padding: 10px 12px;
  }
  .nav a[aria-current="page"],
  .nav-group[data-has-current="true"] > summary{
    border-bottom: 0;
    background: rgba(0,212,255,.08);
    color: var(--brand);
  }
  .nav-group{
    width:100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow:hidden;
  }
  .nav-group > summary{
    justify-content:space-between;
  }
  .nav-panel,
  .nav-panel-grid{
    position: static;
    width:100%;
    min-width: 0;
    padding: 0 12px 12px;
    transform: none;
    border: 0;
    box-shadow: none;
    grid-template-columns: 1fr;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-panel-section{
    gap:4px;
  }
  .nav-panel-section + .nav-panel-section{
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav-panel-section a{
    padding: 6px 0;
  }
  .nav-cta{
    margin-top: 4px;
  }
}

@media (max-width: 900px){
  .grid.cols-4{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .grid.cols-3{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .faq-grid{grid-template-columns: 1fr;}
  .contact-grid{grid-template-columns: 1fr;}
  .header-links{display:none}
  .kpi-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
  .section-split .split{
    grid-template-columns: 1fr;
  }
  .section-split .split-media{
    order:-1;
  }
  .staggered-item{
    grid-template-columns: 1fr;
  }
  .staggered-item:nth-child(even) .staggered-media{
    order: 0;
  }
}
@media (max-width: 720px){
  .topbar .container{
    font-size: 10px;
    padding: 8px 14px;
  }
  .header{
    border-radius: 12px;
  }
  .brand-logo{
    width:44px;
    height:44px;
  }
  .brand-name strong{
    font-size: 14px;
  }
  .brand-name span{
    font-size: 9px;
    letter-spacing:.04em;
  }
  .hero{
    padding: 80px 0 60px;
  }
  .hero p{
    font-size: 15px;
  }
  .section{
    padding: 48px 0;
  }
  .section > .container > h2{
    padding: 10px 16px;
    margin-bottom: 20px;
    font-size: 12px;
  }
  .grid.cols-2{
    grid-template-columns: 1fr;
  }
  .kpi-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}
  .card,
  .contact{
    padding: 18px;
  }
  .post-thumb{
    height: 180px;
  }
  .post-hero-media{
    height: 220px;
  }
  .staggered-media img{
    height: 210px;
  }
  .hero-card{
    padding: 12px;
  }
  .footer-inner{
    gap: 18px;
  }
  .footer-main{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-brand strong{
    font-size: 18px;
  }
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap: 8px;
  }
}
