@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #06101c;
  --bg-elev: #0a1828;
  --surface: #102236;
  --surface-2: #163047;
  --line: rgba(184, 212, 230, 0.14);
  --text: #eef4fa;
  --muted: #9eb0c4;
  --accent: #2dd4bf;
  --accent-deep: #149b8c;
  --accent-ink: #042f2c;
  --gold: #f0b429;
  --gold-soft: rgba(240, 180, 41, 0.16);
  --accent-glow: rgba(45, 212, 191, 0.3);
  --font: "Manrope", system-ui, "Segoe UI", sans-serif;
  --max: 1160px;
  --radius: 16px;
  --header-h: 72px;
  --focus: #5eead4;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: #5eead4; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.wrap {
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 28, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 3rem, var(--max));
  margin-inline: auto;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.wordmark:hover { color: var(--text); }
.wordmark-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: linear-gradient(160deg, #0c2436, #06101c);
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}
.wordmark small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.site-nav ul {
  display: flex;
  gap: 0.2rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:not(.btn):hover { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: #5eead4;
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(45, 212, 191, 0.08);
  transform: translateY(-2px);
}
.btn-nav {
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 7rem 0 8.5rem;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 100%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  from { background-position: 0 0; }
  to { background-position: 56px 56px; }
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  animation: orb-float 16s ease-in-out infinite;
}
.hero-orb-a {
  width: 620px; height: 620px;
  top: -8%; left: 22%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.16) 0%, transparent 68%);
}
.hero-orb-b {
  width: 420px; height: 420px;
  right: -4%; bottom: 8%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.12) 0%, transparent 68%);
  animation-delay: -6s;
  animation-duration: 20s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.06); }
}

.hero-constellation {
  position: absolute;
  right: 4%;
  top: 22%;
  width: min(42vw, 480px);
  opacity: 0.55;
  animation: fade-in 1.4s ease both;
}
.hero-constellation circle { fill: var(--accent); }
.hero-constellation .gold { fill: var(--gold); }
.hero-constellation line {
  stroke: rgba(45, 212, 191, 0.35);
  stroke-width: 1;
}
.hero-constellation .pulse-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3.2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 0.55; }
}

.hero-inner { position: relative; z-index: 1; max-width: 46rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.55); }
  50% { box-shadow: 0 0 0 7px rgba(45, 212, 191, 0); }
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 5.4vw, 4.35rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero h1 .grad {
  display: block;
  background: linear-gradient(100deg, var(--accent) 0%, #7ee7d6 45%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Stats */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -4.5rem;
  padding-bottom: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(16, 34, 54, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.2rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.stat { padding: 0.4rem 0.8rem; }
.stat-num {
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.stat-num span { color: var(--accent); }
.stat-label {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.stat-certs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(240, 180, 41, 0.28);
  color: #f6d889;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}
.cert-badge svg { flex: 0 0 14px; width: 14px; height: 14px; }

/* Sections */
.section { padding: 5.5rem 0; }
.section-kicker {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2.4rem;
}

.about-copy p { color: var(--muted); margin: 0 0 1rem; max-width: 46rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* Services bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem 1.3rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.7;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(45, 212, 191, 0.08);
}
.card.span-4 { grid-column: span 4; }
.card.span-3 { grid-column: span 3; }
.card.span-2 { grid-column: span 2; }
.card.span-6 { grid-column: span 6; }
.card.span-6 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 2.2rem;
}
.icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.22);
  color: var(--accent);
}
.icon-box svg { width: 22px; height: 22px; }
.card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card ul {
  margin: 0;
  padding: 0 0 0 1.05rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.card li + li { margin-top: 0.4rem; }

/* Why */
.why { background: var(--bg-elev); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.why-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.45rem;
  transition: transform 0.22s ease, border-color 0.22s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 41, 0.35);
}
.why-num {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.85rem;
}
.why-card h3 { margin: 0 0 0.55rem; font-size: 1.15rem; }
.why-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* MSP band */
.msp-band {
  background:
    radial-gradient(ellipse 80% 80% at 90% 0%, rgba(240, 180, 41, 0.16), transparent 50%),
    linear-gradient(135deg, #0f766e 0%, #127a72 40%, #0b4f4a 100%);
  color: #f3fffc;
  padding: 5rem 0;
}
.msp-band .section-kicker { color: #d9fff4; }
.msp-band h2 { color: #fff; }
.msp-band p { color: rgba(243, 255, 252, 0.9); max-width: 40rem; font-size: 1.08rem; }
.msp-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.msp-chips li {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 700;
  font-size: 0.88rem;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.45), rgba(240, 180, 41, 0.45), transparent);
}
.step { text-align: center; padding: 0 0.6rem; position: relative; }
.step-dot {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent);
  box-shadow: 0 0 0 8px var(--bg);
  position: relative;
  z-index: 1;
}
.step h3 { margin: 0 0 0.45rem; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); }
.process-note { margin: 2.2rem 0 0; color: var(--muted); text-align: center; }

/* CTA */
.cta {
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(45, 212, 191, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 70% at 90% 80%, rgba(240, 180, 41, 0.1), transparent 50%),
    var(--bg-elev);
}
.cta-inner { max-width: 40rem; }
.cta h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta p { color: var(--muted); margin: 0 0 1.6rem; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.cta-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.65rem; }
.cta-list a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(45, 212, 191, 0.4); }
.cta-list a:hover { color: var(--accent); }
.cta-list li { display: flex; gap: 0.6rem; align-items: center; color: var(--muted); }
.cta-list svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 18px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #040b14;
  padding: 3.2rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2.4rem;
}
.footer-brand p { margin: 0.7rem 0 0; max-width: 18rem; }
.site-footer h2 {
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.88rem;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible,
.preview .reveal,
html.preview .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-grid, .hero-orb, .pulse-node, .badge::before { animation: none; }
  .card:hover, .why-card:hover, .btn:hover { transform: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card.span-4, .card.span-3, .card.span-2, .card.span-6 { grid-column: span 1; }
  .card.span-6 ul { grid-template-columns: 1fr; }
  .why-grid, .process-steps, .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .hero-constellation { opacity: 0.28; }
}

@media (max-width: 760px) {
  .wrap, .header-inner { width: min(100% - 1.5rem, var(--max)); }
  .nav-toggle { display: flex; }
  html.js .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(6, 16, 28, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.3rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  html.js .site-nav.is-open { display: flex; }
  html.js .site-nav ul { flex-direction: column; width: 100%; gap: 0.15rem; }
  .hero { padding: 6rem 0 7rem; }
  .hero-constellation { display: none; }
  .stats { margin-top: -3rem; }
  .stats-grid,
  .bento,
  .why-grid,
  .process-steps,
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.6rem 0; }
  .msp-band, .cta { padding: 3.6rem 0; }
}
