@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-greek-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

:root {
  --bg: #07080b;
  --bg-1: #0d0f14;
  --bg-2: #13161d;
  --fg: #eceef2;
  --fg-2: #a3a9b6;
  --fg-3: #6b7280;
  --line: #1f232d;
  --line-2: #2b303c;
  --accent: #b9f25b;
  --accent-ink: #0b0d07;
  --warm: #ffb547;
  --cool: #6ad8ff;
  --radius: 14px;
  --max: 1180px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 100; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 11, .78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.logo svg { width: 26px; height: 26px; }
.logo b { color: var(--fg-2); font-weight: 500; }
.links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.links a { text-decoration: none; color: var(--fg-2); }
.links a:hover { color: var(--fg); }
.lang { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg-1); }
.lang a { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px 5px 7px; border-radius: 7px; text-decoration: none; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg-3); transition: background .15s ease, color .15s ease; }
.lang a:hover { color: var(--fg); background: var(--bg-2); }
.lang a.on { color: var(--fg); background: var(--line-2); }
.lang .flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.12); opacity: .55; transition: opacity .15s ease; }
.lang a.on .flag, .lang a:hover .flag { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg-3); }
.btn-nav { padding: 8px 14px; font-size: 14px; border: 1px solid var(--line-2); color: var(--fg); background: transparent; }
.btn-nav:hover { border-color: var(--fg-3); background: var(--bg-2); }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 96px; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: .55;
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(185, 242, 91, .14), transparent);
}
.hero .wrap { position: relative; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px 6px 8px;
  font-size: 13px; color: var(--fg-2); background: rgba(13, 15, 20, .7);
}
.tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(185, 242, 91, .15); font-style: normal; }
h1 {
  font-size: clamp(40px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -.035em;
  font-weight: 650; margin: 28px 0 24px; max-width: 14ch;
}
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--fg-2); max-width: 600px; margin: 0 0 36px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 88px; border-top: 1px solid var(--line); }
.strip div { padding: 20px 20px 0 0; }
.strip div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.strip b { display: block; font-size: 15px; font-weight: 600; }
.strip span { color: var(--fg-3); font-size: 13px; }

/* ---------- sections ---------- */
.section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.kicker { color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.028em; font-weight: 640; margin: 0 0 20px; max-width: 20ch; }
.section > .wrap > .sub { color: var(--fg-2); font-size: 18px; max-width: 640px; margin: 0 0 64px; }

/* ---------- products ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center;
  padding: 72px 0; border-top: 1px solid var(--line);
}
.product:nth-of-type(even) .p-copy { order: 2; }
.p-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.p-num { font-family: var(--mono); font-size: 12px; color: var(--fg-3); }
.p-name { font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.p-cat { font-size: 13px; color: var(--fg-3); }
.product h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.022em; font-weight: 620; margin: 0 0 16px; }
.product p { color: var(--fg-2); margin: 0 0 22px; }
.feat { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 26px; color: var(--fg); font-size: 15px; }
.feat li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--fg-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 10px; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status.beta i { background: var(--warm); }

/* mock panels */
.panel {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  overflow: hidden; font-size: 13px;
}
.panel-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--fg-3); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.panel-body { padding: 18px; }

/* nephos */
.np-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.np-sum div { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.np-sum span { display: block; color: var(--fg-3); font-size: 11px; }
.np-sum b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.np-sum .good { color: var(--accent); }
.np-row { display: grid; grid-template-columns: 1.3fr 1.5fr .9fr; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.np-row .w { font-family: var(--mono); font-size: 12px; }
.np-row .where { display: flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 12px; }
.prov { font-family: var(--mono); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--line); color: var(--fg); }
.prov.aws { color: var(--warm); }
.prov.az { color: var(--cool); }
.prov.gcp { color: #ff7a8a; }
.np-row .cost { text-align: right; font-family: var(--mono); font-size: 12px; }
.np-row .cost s { color: var(--fg-3); margin-right: 6px; }
.np-row .cost b { color: var(--accent); font-weight: 600; }
.np-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { font-family: var(--mono); font-size: 11px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; color: var(--fg-2); }

/* skiron */
.sk { position: relative; aspect-ratio: 16 / 11; background: #0a0d0b; }
.sk svg { width: 100%; height: 100%; }
.sk .hud { position: absolute; font-family: var(--mono); font-size: 11px; color: var(--accent); text-shadow: 0 0 8px rgba(185, 242, 91, .35); }
.sk .tl { top: 12px; left: 14px; }
.sk .tr { top: 12px; right: 14px; text-align: right; }
.sk .bl { bottom: 12px; left: 14px; color: var(--fg-2); text-shadow: none; }
.sk .br { bottom: 12px; right: 14px; text-align: right; color: var(--warm); text-shadow: none; }
.scan { animation: scan 5s linear infinite; }
@keyframes scan { from { transform: translateY(-10%); } to { transform: translateY(110%); } }
.pulse { animation: pulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* syndesis */
.flow { display: grid; gap: 10px; }
.flow-step { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: rgba(255, 255, 255, .01); }
.flow-step .ic { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--line); font-family: var(--mono); font-size: 11px; color: var(--fg-2); }
.flow-step b { display: block; font-weight: 600; font-size: 13px; }
.flow-step span { color: var(--fg-3); font-size: 12px; }
.flow-step .ok { font-family: var(--mono); font-size: 11px; color: var(--accent); }
.flow-step .wait { font-family: var(--mono); font-size: 11px; color: var(--warm); }
.flow-step.active { border-color: rgba(185, 242, 91, .35); }
.flow-meter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.flow-meter div { border-top: 1px solid var(--line); padding-top: 10px; }
.flow-meter span { display: block; color: var(--fg-3); font-size: 11px; }
.flow-meter b { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }

/* kleos */
.kl-budget { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.kl-budget b { font-size: 34px; letter-spacing: -.03em; font-weight: 650; }
.kl-budget span { color: var(--fg-3); font-size: 12px; }
.kl-bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin-bottom: 16px; }
.kl-bar i:nth-child(1) { background: var(--accent); width: 41%; }
.kl-bar i:nth-child(2) { background: var(--cool); width: 27%; }
.kl-bar i:nth-child(3) { background: var(--warm); width: 18%; }
.kl-bar i:nth-child(4) { background: var(--line-2); width: 14%; }
.kl-row { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.kl-row i { width: 10px; height: 10px; border-radius: 3px; }
.kl-row .m { font-family: var(--mono); font-size: 12px; color: var(--fg-2); }
.kl-row .d { font-family: var(--mono); font-size: 11px; }
.up { color: var(--accent); }
.down { color: #ff7a8a; }
.kl-log { margin-top: 14px; padding: 12px; border-radius: 10px; background: rgba(185, 242, 91, .06); border: 1px solid rgba(185, 242, 91, .18); font-family: var(--mono); font-size: 11.5px; color: var(--fg-2); line-height: 1.55; }
.kl-log b { color: var(--accent); font-weight: 600; }

/* ---------- team / capabilities ---------- */
.cap { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap div { padding: 28px 24px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap .mono { color: var(--fg-3); }
.cap h4 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 14px 0 10px; }
.cap p { color: var(--fg-2); font-size: 14.5px; margin: 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.steps b { display: block; font-weight: 600; margin-bottom: 4px; }
.steps span { color: var(--fg-2); font-size: 15px; }

/* ---------- principles ---------- */
.prin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prin div { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--bg-1); }
.prin svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.prin h4 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.prin p { color: var(--fg-2); margin: 0; font-size: 15px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 900px; height: 500px; left: 50%; bottom: -320px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(185, 242, 91, .12), transparent);
}
.contact .wrap { position: relative; text-align: center; }
.contact h2 { margin-left: auto; margin-right: auto; max-width: 18ch; }
.contact .sub { margin-left: auto !important; margin-right: auto !important; margin-bottom: 36px !important; }
.contact .cta-row { justify-content: center; }
.addr { margin-top: 40px; color: var(--fg-3); font-size: 14px; }

/* ---------- footer ---------- */
.foot { padding: 40px 0; font-size: 13px; color: var(--fg-3); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--fg-3); text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* ---------- legal page ---------- */
.legal { padding: 80px 24px 100px; }
.legal h1 { font-size: 36px; max-width: none; margin: 0 0 32px; }
.legal h2 { font-size: 20px; margin: 48px 0 16px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 32px; margin: 0; border-top: 1px solid var(--line); padding-top: 24px; }
.legal dt { color: var(--fg-3); }
.legal dd { margin: 0; }
.legal ul { color: var(--fg-2); padding-left: 20px; }
.note { color: var(--fg-3); font-size: 14px; margin-top: 48px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; }
  .product:nth-of-type(even) .p-copy { order: 0; }
  .cap { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; gap: 32px; }
  .prin { grid-template-columns: 1fr; }
  .links > a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 80px 0 64px; }
  .section { padding: 80px 0; }
  .strip { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .strip div:nth-child(3) { padding-left: 0; border-left: 0; }
  .cap { grid-template-columns: 1fr; }
  .np-sum b { font-size: 16px; }
  .np-row { grid-template-columns: 1fr 1fr; }
  .np-row .cost { grid-column: 1 / -1; text-align: left; }
  .legal { padding: 56px 16px 80px; }
  .legal dl { grid-template-columns: 1fr; gap: 2px; }
  .legal dd { margin-bottom: 14px; }
  .nav .btn-nav { display: none; }
}

/* utility (no inline styles: CSP style-src 'self') */
.kl-row i.c1 { background: var(--accent); }
.kl-row i.c2 { background: var(--cool); }
.kl-row i.c3 { background: var(--warm); }
.kl-row i.c4 { background: var(--line-2); }
.two.mt { margin-top: 96px; }
.note.intro { margin: -16px 0 32px; }

/* prevent grid children from forcing horizontal overflow on small screens */
.product > *, .two > *, .cap > *, .prin > *, .np-row > *, .flow-step > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }
body { overflow-x: hidden; }
.mail { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 0; }
.mail span { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); }
.mail a { font-size: clamp(24px, 3.4vw, 36px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; color: var(--fg); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.mail a:hover { color: var(--accent); }
