@font-face {
  font-family: "Exo 2";
  src: url("/assets/fonts/exo2-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #060d12;
  --bg-alt: #0a161d;
  --surface: #0f1f28;
  --line: #1b3340;
  --text: #e4f1f5;
  --muted: #93aeb8;
  --cyan: #1ce1f0;
  --cyan-deep: #0bb8c7;
  --on-cyan: #031418;
  --radius: 14px;
  --wrap: 1160px;
  --head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -48px; background: var(--cyan); color: var(--on-cyan); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: 999px;
  background: var(--cyan); color: var(--on-cyan);
  font: 600 16px/1 var(--body); border: 1px solid var(--cyan);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { text-decoration: none; background: #5aeaf5; transform: translateY(-1px); box-shadow: 0 8px 24px -10px rgba(28, 225, 240, .6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(28, 225, 240, .08); border-color: var(--cyan); box-shadow: none; }
.btn-small { padding: 9px 18px; font-size: 15px; }
.btn-large { padding: 18px 34px; font-size: 19px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 13, 18, .82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(27, 51, 64, .7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--text); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(28, 225, 240, .13), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(11, 184, 199, .08), transparent 70%);
  pointer-events: none;
}
.hero-rings { position: absolute; right: -160px; top: -60px; width: 640px; opacity: .55; pointer-events: none; }
.hero-rings svg { fill: none; stroke: var(--line); stroke-width: 1.5; }
.hero-rings .dash { stroke: rgba(28, 225, 240, .35); stroke-dasharray: 18 14; animation: spin 80s linear infinite; transform-origin: 300px 300px; }
.hero-rings .arc { stroke: rgba(28, 225, 240, .55); stroke-width: 10; stroke-linecap: round; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-rings .dash { animation: none; } html { scroll-behavior: auto; } }

.hero-inner { position: relative; }
.eyebrow {
  font: 600 13px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; max-width: 15ch; }
.hero h1 .accent { color: var(--cyan); }
.lead { margin-top: 22px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tiles {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-top: 64px;
}
.hero-tiles li {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(15, 31, 40, .6); font-weight: 500; font-size: 15px; color: var(--text);
}
.hero-tiles svg, .card svg { width: 30px; height: 30px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2, .promise h2, .contact h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(28, 225, 240, .5); transform: translateY(-2px); }
.card h3 { font-size: 20px; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }

.solutions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.solutions article { padding: 28px 26px; border-left: 2px solid var(--cyan); background: linear-gradient(90deg, rgba(28, 225, 240, .06), transparent 70%); border-radius: 0 var(--radius) var(--radius) 0; }
.solutions h3 { font-size: 20px; margin-bottom: 10px; }
.solutions p { color: var(--muted); font-size: 15.5px; }

.stack { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 40px; }
.stack h3 { font-size: 15px; font-family: var(--body); font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; background: var(--surface); }

.steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: step; }
.steps li { position: relative; padding: 22px 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font: 700 26px/1 var(--head); color: var(--cyan); margin-bottom: 14px;
}
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }

.promise { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.promise-list { display: grid; gap: 18px; }
.promise-list li { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.promise-list strong { color: var(--text); }

.contact { text-align: center; background: radial-gradient(60% 80% at 50% 0%, rgba(28, 225, 240, .14), transparent 70%), var(--bg-alt); border-top: 1px solid var(--line); }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.contact p { color: var(--muted); font-size: 18px; max-width: 52ch; margin-bottom: 12px; }
.socials { display: flex; gap: 24px; margin-top: 12px; }
.socials a { color: var(--muted); font-weight: 500; }
.socials a:hover { color: var(--cyan); }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14.5px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }

/* Responsive */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .solutions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; font-size: 17px; }
  .site-nav .btn { margin-top: 8px; }
  .hero { padding: 64px 0 56px; }
  .hero-rings { width: 420px; right: -200px; top: -40px; opacity: .4; }
  .hero-tiles { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
  .promise { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 34px; }
  .hero-tiles { grid-template-columns: repeat(2, 1fr); }
  .hero-tiles li:last-child { grid-column: span 2; }
  .cards, .solutions { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stack { grid-template-columns: 1fr; }
  .btn-large { font-size: 17px; padding: 16px 24px; max-width: 100%; }
}
