@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/Inter-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090b;
  --bg-soft: #0d1014;
  --panel: #11161b;
  --panel-alt: #171d24;
  --line: #242c35;
  --line-soft: #36404a;
  --text: #f1f4f7;
  --muted: #9aa6b2;
  --muted-strong: #d7dde4;
  --accent: #b7ff3c;
  --accent-soft: #dfffa4;
  --blue: #88d5ff;
  --orange: #ffb454;
  --shadow: rgba(5, 7, 10, 0.7);
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  font-synthesis-weight: none;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button {
  color: inherit;
  background: transparent;
  border: 0;
}
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
section { padding: 96px 0; }
.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { margin-bottom: 28px; }
.label {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.narrow { max-width: 760px; }
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 9, 11, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font: 600 14px var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo b { color: var(--accent); }
.nav-panel {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
}
nav {
  flex: 1 1 auto;
  min-width: 0;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
nav li { flex: 0 0 auto; }
nav a {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
nav a:hover, nav a:focus-visible { color: var(--text); }
.nav-cta {
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.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);
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 800;
}
h2 {
  max-width: 760px;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.narrow-block h2 {
  max-width: 620px;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.12;
}
h3 { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.2; letter-spacing: -0.03em; }
p { color: var(--muted); }
.lead { margin-top: 18px; max-width: 700px; font-size: 18px; line-height: 1.6; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: 600 11px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.btn:hover,
.btn:focus-visible {
  border-color: #5f6d7a;
  background: rgba(255,255,255,0.02);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #08100b;
}
.btn.primary:hover,
.btn.primary:focus-visible { background: var(--accent-soft); border-color: var(--accent-soft); }

.hero { padding: 92px 0 80px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}
.hero-copy .lead { font-size: 19px; }
.cta {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-start;
}

.cta .btn,
.contact-actions .btn {
  width: auto;
  flex: 0 0 auto;
}
.stack {
  margin-top: 25px;
  color: var(--muted);
  font: 400 11px var(--mono);
  letter-spacing: 0.04em;
}
.hero-visual {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,0.025) 50%, transparent 50.2%), linear-gradient(transparent 49.8%, rgba(255,255,255,0.025) 50%, transparent 50.2%), #0b0e11;
  background-size: 42px 42px;
  overflow: hidden;
  isolation: isolate;
}
.hero-visual:after {
  content: "";
  display: none;
}
.hud {
  position: absolute;
  left: 28px;
  top: 26px;
  color: var(--muted);
  font: 400 10px var(--mono);
}
.hud b { color: var(--accent); font-weight: 500; }
.machine {
  position: absolute;
  left: clamp(40px, 9%, 120px);
  right: clamp(40px, 9%, 120px);
  bottom: 65px;
  height: 160px;
  border: 1px solid #313842;
  border-radius: 15px;
  background: #101419;
  overflow: visible;
}
.machine:before, .machine:after {
  content: "";
  position: absolute;
  width: 42px;
  height: 42px;
  bottom: -23px;
  border: 1px solid #454d57;
  border-radius: 50%;
  background: #0b0e11;
}
.machine:before { left: 30px; }
.machine:after { right: 30px; }
.screen {
  position: absolute;
  left: clamp(18px, 2vw, 30px);
  top: -92px;
  width: clamp(160px, 58%, 320px);
  min-height: 92px;
  height: auto;
  border: 1px solid #343b44;
  border-radius: 9px 9px 0 0;
  background: #090c0f;
  padding: 15px;
  font: 400 11px/1.75 var(--mono);
  overflow: visible;
  z-index: 2;
}
.screen .g { color: var(--accent); }
.screen .b { color: var(--blue); }
.chip {
  position: absolute;
  right: clamp(18px, 3vw, 30px);
  top: 28px;
  width: clamp(68px, 9vw, 82px);
  height: clamp(68px, 9vw, 82px);
  border: 1px solid #4a535e;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: 500 10px var(--mono);
  overflow: hidden;
}
.chip:before, .chip:after {
  content: "";
  position: absolute;
  inset: -10px;
  border-top: 1px solid #2e353d;
  border-bottom: 1px solid #2e353d;
}
.chip:after { transform: rotate(90deg); }
.data-line {
  position: absolute;
  left: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  bottom: 23px;
  color: var(--muted);
  font: 400 10px var(--mono);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.data-line b { color: var(--accent); font-weight: 500; }

.split-grid,
.community-grid,
.pricing-grid,
.feature-grid,
.path-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}
.split-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.text-box,
.feature-card,
.path-step,
.support-box,
.project-card,
.narrow-block,
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.text-box { padding: 24px; }
.text-box p { font-size: 17px; line-height: 1.6; }
.price-card {
  padding: 24px;
  display: grid;
  gap: 18px;
  align-content: start;
}
.price-card.accent {
  background: linear-gradient(180deg, rgba(73, 95, 244, 0.08), rgba(15, 17, 20, 0.78));
  border-color: rgba(117, 138, 255, 0.35);
}
.price-label {
  color: var(--accent);
  font: 600 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.price-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-value span {
  font-size: clamp(32px, 3.2vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}
.price-value small {
  color: var(--muted);
  font: 500 14px var(--mono);
}
.price-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.price-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  line-height: 1.55;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-card { padding: 24px; }
.feature-tag {
  display: inline-block;
  color: var(--accent);
  font: 500 10px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-card h3 { margin-top: 14px; font-size: 22px; }

.path-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.path-step { padding: 22px 18px; }
.path-step span {
  display: inline-block;
  color: var(--accent);
  font: 600 11px var(--mono);
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.path-step h3 { margin-bottom: 8px; font-size: 20px; }
.path-step p { font-size: 14px; }

.project-board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.project-card { grid-column: span 6; overflow: hidden; padding: 0; }
.project-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b1013;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0b1013;
}
.project-media.no-image:after {
  content: "IMAGE / TO DO";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #535d68;
  font: 400 10px var(--mono);
  letter-spacing: 0.12em;
  background: repeating-linear-gradient(45deg, #0d1013, #0d1013 10px, #0a0d11 10px, #0a0d11 20px);
}
.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 7, 9, 0.45);
  opacity: 0;
  transition: opacity 0.18s ease;
}
.project-media:hover .project-overlay { opacity: 1; }
.zoom-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(8,9,11,0.7);
  font-size: 22px;
}
.project-body { padding: 22px; }
.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}
.num { color: var(--muted); font: 500 11px var(--mono); }
.project-status {
  color: var(--accent);
  font: 500 10px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.project-body h3 { margin-bottom: 10px; }
.project-body p { font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 400 10px var(--mono);
}
.project-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.project-actions .btn { min-height: 38px; padding: 10px 14px; }

.support-box,
.narrow-block {
  padding: 28px;
}
.narrow-block { max-width: 920px; margin-inline: auto; }
.support-box {
  display: grid;
  gap: 18px;
}
.support-box h2 { max-width: 640px; }

@media (max-width: 720px) {
  .narrow-block h2 {
    max-width: none;
    font-size: clamp(26px, 7vw, 36px);
    line-height: 1.15;
  }
}
.bullet-list {
  margin-top: 22px;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.contact-wrap {
  display: grid;
  gap: 24px;
  align-items: center;
  justify-items: center;
  text-align: center;
}
.contact-copy {
  display: grid;
  gap: 12px;
  max-width: 760px;
}
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.contact-email-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}
.contact-email-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
}
.contact-email-value {
  color: var(--text);
  font: 600 20px/1.4 var(--mono);
  letter-spacing: 0.02em;
}
.contact-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
}
.copy-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

footer {
  padding: 42px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
}
.footer-brand { display: grid; gap: 14px; }
.footer-brand p {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.footer-title {
  margin-bottom: 12px;
  color: var(--muted-strong);
  font: 500 11px var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
footer ul { list-style: none; display: grid; gap: 8px; }
footer li a { color: var(--muted); }
footer li a:hover, footer li a:focus-visible { color: var(--text); }
.copy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 10px var(--mono);
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 4, 5, 0.96);
}
.modal.open { display: flex; }
.modal img {
  max-width: min(1200px, 92vw);
  max-height: 84vh;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  object-fit: contain;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(241, 244, 247, 0.8);
  font-size: 30px;
  line-height: 1;
  font-weight: 400;
  cursor: pointer;
}
.modal-close:hover,
.modal-close:focus-visible {
  color: var(--accent);
}
.modal-caption {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  color: var(--muted);
  font: 400 10px var(--mono);
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .path-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card { grid-column: span 12; }

  .cta {
    flex-wrap: wrap;
  }
  .hero-visual {
    min-height: 360px;
  }
  .machine {
    left: 12%;
    right: 12%;
    bottom: 42px;
    height: 132px;
  }
  .screen {
    left: 22px;
    top: -72px;
    width: min(48%, 260px);
    min-height: 76px;
  }
  .chip {
    right: 22px;
    top: 24px;
    width: 68px;
    height: 68px;
    font-size: 9px;
  }
  .data-line {
    bottom: 16px;
    font-size: 9px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    position: relative;
    justify-content: space-between;
  }
  .nav-toggle { display: inline-flex; flex-direction: column; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(8, 9, 11, 0.97);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  }
  .nav-panel.is-open { display: flex; }
  nav {
    width: 100%;
  }
  nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    white-space: normal;
  }
  nav li,
  nav a {
    width: 100%;
  }
  nav a {
    display: block;
    padding: 8px 0;
  }
  .nav-cta {
    display: inline-flex;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 28px, 1180px); }
  section { padding: 72px 0; }
  .feature-grid,
  .path-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand { grid-column: 1 / -1; }
  .btn {
    width: auto;
  }
  .cta,
  .contact-actions {
    width: auto;
  }
  .cta a,
  .contact-actions a {
    flex: 0 0 auto;
  }
  .contact-email-row {
    flex-direction: column;
    align-items: stretch;
  }
  .contact-email-box {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .contact-copy-btn {
    width: 100%;
  }
  .hero-visual { min-height: 350px; }
  .data-line {
    left: 52px;
    right: 52px;
    bottom: 16px;
    font-size: 9px;
    letter-spacing: 0.04em;
  }
  .modal { padding: 20px 12px; }
  .modal-caption { bottom: 8px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }

  .hero-visual { min-height: 320px; }
  .machine {
    left: 18px;
    right: 18px;
    bottom: 48px;
    height: 118px;
  }
  .screen {
    left: 17px;
    top: -72px;
    width: clamp(140px, 58%, 240px);
    min-height: 76px;
    font-size: 9px;
  }
  .chip {
    right: 18px;
    top: 20px;
    width: 62px;
    height: 62px;
    font-size: 8px;
  }
  .data-line {
    left: 56px;
    right: 56px;
    bottom: 14px;
    font-size: 8px;
    white-space: nowrap;
    letter-spacing: 0.04em;
  }
  .cta {
    gap: 8px;
    flex-wrap: nowrap;
  }
  .cta .btn {
    min-height: 40px;
    padding: 10px 14px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

