/* Sysolv Solution — site styles. No build step; no third-party origins. */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy-950: #071126;
  --navy-900: #0a1730;
  --navy-800: #12244a;
  --navy-700: #1b3366;
  --blue-600: #2d5fc4;
  --blue-500: #3a74d6;
  --blue-300: #5ab4ea;
  --blue-100: #dcebfb;
  --ink: #0e1a2f;
  --ink-2: #44506a;
  --ink-3: #6b7690;
  --line: #e2e8f2;
  --paper: #ffffff;
  --tint: #f4f7fc;
  --radius: 14px;
  --wrap: 1160px;
  --shadow: 0 1px 2px rgba(10, 23, 48, .06), 0 8px 24px -12px rgba(10, 23, 48, .18);
  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-underline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem); font-weight: 750; max-width: 24ch; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--mono); letter-spacing: .02em; }

.wrap { 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: 12px; top: -48px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; white-space: nowrap;
  color: #fff; background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 6px 18px -8px rgba(45, 95, 196, .8);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(45, 95, 196, .9); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .8); }
.btn-sm { padding: .55em 1.05em; font-size: .9rem; }
.btn-lg { padding: 1em 1.6em; font-size: 1.02rem; white-space: normal; text-align: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-word { width: 118px; height: auto; }
.brand-sub { font-size: .66rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(90, 180, 234, .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(45, 95, 196, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero-rings {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-radial-gradient(circle at 78% 46%, transparent 0 46px, rgba(90, 180, 234, .08) 46px 47px);
  -webkit-mask-image: radial-gradient(circle at 78% 46%, #000 0, transparent 62%);
          mask-image: radial-gradient(circle at 78% 46%, #000 0, transparent 62%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px;
  align-items: center; padding-top: 96px; padding-bottom: 104px;
}
.eyebrow, .kicker {
  font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 1.2em;
}
.eyebrow { color: var(--blue-300); }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: .45em; }
.hero h1 span {
  background: linear-gradient(90deg, #8fd0f5, var(--blue-300) 40%, #7aa5ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.16rem; color: #c3cee4; max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 40px; }
.hero-facts {
  list-style: none; padding: 22px 0 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 28px;
  border-top: 1px solid rgba(255, 255, 255, .12); color: #9fb0cf; font-size: .92rem;
}
.hero-facts strong { color: #fff; font-weight: 700; }

/* topology figure */
.topology {
  margin: 0; padding: 22px 22px 16px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.topology figcaption { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: #8496b9; text-align: center; margin-top: 6px; }
.t-links path { stroke: rgba(90, 180, 234, .45); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.t-pulses circle { fill: #8fd0f5; filter: drop-shadow(0 0 4px rgba(143, 208, 245, .9)); }
.ring { fill: none; stroke: rgba(90, 180, 234, .28); stroke-width: 1.2; }
.ring.r2 { stroke: rgba(90, 180, 234, .14); }
.t-node rect { fill: var(--navy-800); stroke: rgba(90, 180, 234, .4); stroke-width: 1.2; }
.t-probe rect { stroke-dasharray: 4 4; }
.t-label { fill: #fff; font: 700 13px var(--sans); }
.t-sub { fill: #7fe0b0; font: 500 10.5px var(--mono); letter-spacing: .02em; }
.t-probe .t-sub { fill: #9fb0cf; }
.t-label-in { fill: #fff; font: 800 15px var(--sans); }
.t-sub-in { fill: rgba(255, 255, 255, .8); font: 500 9.5px var(--mono); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-lede { color: var(--ink-2); font-size: 1.1rem; max-width: 40em; }
.kicker { color: var(--blue-600); display: flex; align-items: center; gap: 10px; }
.kicker span {
  display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px;
  border-radius: 6px; background: var(--blue-100); color: var(--blue-600); letter-spacing: .04em;
}
.kicker-light { color: var(--blue-300); }
.kicker-light span { background: rgba(90, 180, 234, .16); color: var(--blue-300); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 28px 26px 26px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #c9d8f0; }
.card p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #e8f3fd, #dbe7fb);
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 28px 28px 8px 0; counter-increment: s; }
.steps li::before {
  content: "0" counter(s); display: block; font-family: var(--mono); font-size: .78rem; color: var(--ink-3); margin-bottom: 14px;
}
.steps li::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-300));
  opacity: calc(.35 + .2 * var(--o, 0));
}
.steps li:nth-child(2)::after { --o: 1; }
.steps li:nth-child(3)::after { --o: 2; }
.steps li:nth-child(4)::after { --o: 3; }
.step-n { display: block; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .97rem; }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split p { color: var(--ink-2); max-width: 38em; }

/* report mock (contents only — no figures) */
.report {
  border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.report-head {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 22px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff;
}
.report-title { font-weight: 750; letter-spacing: -0.01em; }
.report-tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
.report-list { list-style: none; margin: 0; padding: 8px 0; counter-reset: r; }
.report-list li {
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; padding: 14px 22px;
  counter-increment: r; border-bottom: 1px solid var(--line);
}
.report-list li:last-child { border-bottom: 0; }
.report-list li::before {
  content: counter(r); grid-row: 1 / span 2; align-self: center; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font: 500 .78rem var(--mono); color: var(--blue-600); background: var(--blue-100);
}
.report-list span { font-weight: 700; }
.report-list em { font-style: normal; color: var(--ink-3); font-size: .9rem; }

/* dark about */
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section-dark p { color: #b9c5dd; }
.facts { margin: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.facts div { background: rgba(10, 23, 48, .92); padding: 18px 22px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.facts dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #7f92b6; }
.facts dd { margin: 0; font-weight: 650; }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contact p { color: var(--ink-2); max-width: 36em; }
.contact-card {
  padding: 30px; border-radius: 18px; background: var(--tint); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 24px;
}
.contact-card address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
.contact-card .label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: .9rem; color: var(--ink-3); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-top { color: var(--ink-2); text-decoration: none; font-weight: 600; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound .code { font-family: var(--mono); color: var(--blue-600); letter-spacing: .14em; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split, .contact { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { padding-top: 64px; padding-bottom: 72px; }
  .topology { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 8px 28px; }
  .section { padding: 80px 0; }
}
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 12px; background: var(--paper); cursor: pointer;
  }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
    content: ""; display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative;
  }
  .nav-toggle-bar::before { position: absolute; top: -6px; }
  .nav-toggle-bar::after { position: absolute; top: 6px; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 16px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  body { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .t-pulses { display: none; }
  .btn, .card { transition: none; }
}
@media print {
  .site-header, .hero-rings, .topology, .hero-cta { display: none; }
  .hero, .section-dark { background: none; color: var(--ink); }
}
.notfound-mark { margin: 0 auto 24px; }
