:root {
  color-scheme: dark;
  --bg: #071014;
  --bg-soft: #0b181e;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-strong: rgba(255, 255, 255, 0.055);
  --text: #eef7f4;
  --muted: #91a8a6;
  --line: rgba(210, 239, 234, 0.14);
  --line-strong: rgba(210, 239, 234, 0.26);
  --acid: #a8ff5b;
  --cyan: #54d9ff;
  --blue: #6684ff;
  --max: 1220px;
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--bg);
  background-size: 72px 72px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--acid);
  color: var(--bg);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus { transform: translateY(0); }

.ambient {
  position: fixed;
  z-index: 0;
  width: 38rem;
  height: 38rem;
  border-radius: 50%;
  filter: blur(145px);
  opacity: .1;
  pointer-events: none;
}
.ambient-one { top: -13rem; right: -11rem; background: var(--cyan); }
.ambient-two { bottom: -8rem; left: -15rem; background: var(--blue); }

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .15em;
  text-decoration: none;
}

.mark {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  align-items: end;
  gap: 3px;
  width: 18px;
  height: 18px;
}
.mark span { display: block; border-radius: 1px; background: var(--acid); }
.mark span:nth-child(1) { height: 18px; }
.mark span:nth-child(2) { height: 12px; }
.mark span:nth-child(3) { height: 6px; }

nav { display: flex; gap: 30px; }
nav a {
  color: var(--muted);
  font-size: .88rem;
  text-decoration: none;
  transition: color 160ms ease;
}
nav a:hover, nav a:focus-visible { color: var(--text); }

main {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero {
  min-height: 720px;
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: 72px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-kicker,
.product-domain,
.card-meta,
.state,
.panel-head,
.panel-foot {
  font-size: .71rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 18px rgba(168,255,91,.7);
}

.hero h1 {
  max-width: 800px;
  margin: 26px 0 28px;
  font-size: clamp(4.2rem, 7.8vw, 7.5rem);
  font-weight: 520;
  letter-spacing: -.072em;
  line-height: .88;
}
.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(238,247,244,.58);
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 760;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary:hover, .button-primary:focus-visible {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--bg);
}
.button-quiet { color: var(--muted); }
.button-quiet:hover, .button-quiet:focus-visible { color: var(--text); border-color: var(--line-strong); }

.system-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.018));
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0,0,0,.2);
}

.panel-head,
.panel-foot {
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}
.panel-head { border-bottom: 1px solid var(--line); }
.panel-foot { border-top: 1px solid var(--line); font-size: .61rem; }
.panel-live { display: flex; align-items: center; gap: 7px; color: var(--acid); }
.panel-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.system-row {
  min-height: 104px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 160ms ease;
}
.system-row:last-of-type { border-bottom: 0; }
.system-row:hover { background: rgba(255,255,255,.025); }

.system-id,
.product-mark {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: rgba(7,16,20,.55);
  font-weight: 850;
}
.system-id { width: 48px; height: 48px; border-radius: 13px; }
.system-id-e { color: var(--acid); }
.system-id-w { color: var(--cyan); }
.system-name { display: flex; flex-direction: column; gap: 6px; }
.system-name strong { font-size: 1rem; font-weight: 720; }
.system-name small { color: var(--muted); font-size: .75rem; }

.state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .61rem;
}
.state-live { color: var(--acid); }
.state-pilot { color: var(--cyan); }

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.proof-strip > div {
  min-height: 118px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.proof-strip > div:first-child { padding-left: 0; }
.proof-strip > div:last-child { border-right: 0; }
.proof-strip strong {
  font-size: 1.65rem;
  font-weight: 620;
  letter-spacing: -.035em;
}
.proof-strip span { margin-top: 6px; color: var(--muted); font-size: .78rem; }

.section {
  padding: 112px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(150px, .45fr) 1.55fr;
  gap: 48px;
  margin-bottom: 64px;
}
.section-kicker { margin: 7px 0 0; color: var(--acid); }
.section-heading h2,
.standard-lead h2,
.founder h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.4vw, 5.3rem);
  font-weight: 520;
  letter-spacing: -.06em;
  line-height: .98;
}
.section-heading > div > p {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product-card {
  position: relative;
  min-height: 590px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255,255,255,.052), rgba(255,255,255,.014));
  transition: transform 180ms ease, border-color 180ms ease;
}
.product-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -145px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  pointer-events: none;
}
.eblocki-card::after { background: var(--acid); }
.workproof-card::after { background: var(--cyan); }
.product-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

.card-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}
.product-mark {
  position: relative;
  z-index: 1;
  width: 78px;
  height: 78px;
  margin: 70px 0 48px;
  border-radius: 18px;
  font-size: 2rem;
}
.product-domain { position: relative; z-index: 1; margin: 0 0 14px; color: var(--muted); }
.product-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.8rem);
  font-weight: 520;
  letter-spacing: -.06em;
}
.product-description {
  position: relative;
  z-index: 1;
  max-width: 470px;
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.62;
}
.flow {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.flow b { color: var(--line-strong); font-weight: 500; }
.card-link {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: .88rem;
  font-weight: 760;
  text-decoration: none;
}
.card-link span { font-size: 1rem; transition: transform 160ms ease; }
.card-link:hover span { transform: translate(3px,-3px); }

.studio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.studio-grid article {
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid var(--line);
}
.studio-grid article:first-child { padding-left: 0; }
.studio-grid article:last-child { border-right: 0; }
.studio-grid span { color: var(--acid); font-size: .7rem; font-weight: 800; }
.studio-grid h3 { margin: 74px 0 16px; font-size: 1.35rem; font-weight: 560; letter-spacing: -.025em; }
.studio-grid p { margin: 0; color: var(--muted); line-height: 1.6; }

.standard {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
}
.standard-lead .section-kicker { margin-bottom: 25px; }
.standard-list { border-top: 1px solid var(--line); }
.standard-row {
  display: grid;
  grid-template-columns: 50px .75fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.standard-row > span { color: var(--acid); font-size: .7rem; font-weight: 800; }
.standard-row h3 { margin: 0; font-size: 1.08rem; font-weight: 580; }
.standard-row p { margin: 0; color: var(--muted); line-height: 1.55; }

.founder {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
}
.founder .section-kicker { margin-bottom: 24px; }
.founder-copy p { margin: 0 0 32px; color: var(--muted); font-size: 1.05rem; line-height: 1.72; }

footer {
  width: min(calc(100% - 48px), var(--max));
  min-height: 150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 28px;
  align-items: center;
  color: var(--muted);
  font-size: .77rem;
}
footer p { margin: 0; }
.footer-mark { color: var(--text); }

:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 55px; padding-top: 78px; }
  .system-panel { max-width: 620px; }
  .proof-strip { grid-template-columns: 1fr 1fr; }
  .proof-strip > div:nth-child(2) { border-right: 0; }
  .proof-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .proof-strip > div:nth-child(3) { padding-left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 540px; }
  .standard { grid-template-columns: 1fr; gap: 50px; }
  .founder { grid-template-columns: 1fr; gap: 45px; }
  footer { grid-template-columns: 1fr auto; }
  footer p:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  .site-header, main, footer { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 74px; }
  nav { gap: 16px; }
  nav a { font-size: .78rem; }
  nav a:nth-child(2) { display: none; }
  .hero { min-height: auto; padding: 72px 0 64px; }
  .hero h1 { font-size: clamp(3.6rem, 16vw, 5.7rem); }
  .hero-copy { font-size: 1rem; }
  .system-row { grid-template-columns: 44px 1fr auto; padding: 16px; }
  .panel-head, .panel-foot { padding: 0 16px; }
  .panel-foot { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .proof-strip > div { min-height: 100px; padding: 18px 14px; }
  .proof-strip strong { font-size: 1.35rem; }
  .section { padding: 82px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .section-heading h2, .standard-lead h2, .founder h2 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .product-card { min-height: 520px; padding: 22px; }
  .product-mark { margin: 54px 0 36px; }
  .flow { gap: 6px; }
  .studio-grid { grid-template-columns: 1fr; }
  .studio-grid article, .studio-grid article:first-child { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-grid article:last-child { border-bottom: 0; }
  .studio-grid h3 { margin-top: 40px; }
  .standard-row { grid-template-columns: 38px 1fr; gap: 14px; }
  .standard-row p { grid-column: 2; }
  footer { min-height: 130px; }
}

@media (max-width: 460px) {
  .wordmark { font-size: .72rem; }
  nav a:nth-child(3) { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div, .proof-strip > div:nth-child(2), .proof-strip > div:nth-child(3) { padding-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > div:last-child { border-bottom: 0; }
  .system-row { grid-template-columns: 40px 1fr; }
  .system-row .state { grid-column: 2; justify-self: start; }
  .system-id { width: 40px; height: 40px; border-radius: 11px; }
  .flow b { display: none; }
  .flow span { padding-right: 8px; }
  footer { grid-template-columns: 1fr; gap: 12px; align-content: center; }
  footer p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
