:root {
  --ink: #111827;
  --ink-soft: #273244;
  --muted: #657186;
  --line: #dce3ec;
  --line-strong: #c9d3df;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --panel: #101827;
  --panel-2: #172033;
  --blue: #2457a6;
  --teal: #0f8a8a;
  --amber: #c88a16;
  --green: #2f7d59;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 18px 48px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 236, 0.86);
  backdrop-filter: blur(18px);
}

.site-nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.06rem;
  font-weight: 760;
  white-space: nowrap;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 128px;
  height: 80px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.logo-mark img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a,
.nav-cta {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 680;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6fa;
}

.lang-switcher button {
  min-height: 32px;
  min-width: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 760;
  cursor: pointer;
}

.lang-switcher button.active {
  color: #fff;
  background: var(--ink);
}

.nav-links a {
  padding: 0 12px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: #eef3f8;
}

.nav-cta {
  padding: 0 15px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.nav-cta:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 78%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.88fr);
  gap: 64px;
  align-items: center;
  padding: 86px 0 78px;
}

.hero-copy {
  max-width: 710px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 5rem;
  text-wrap: balance;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.13rem;
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 14px 30px rgba(36, 87, 166, 0.2);
}

.btn-primary:hover {
  background: #1d4a91;
  border-color: #1d4a91;
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.btn-light {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.hero-stats dt {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 820;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-system {
  position: relative;
  min-height: 460px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent 48%),
    linear-gradient(135deg, var(--panel) 0%, #13283c 54%, #0b1624 100%);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.24);
  overflow: hidden;
}

.hero-system::before {
  content: "";
  position: absolute;
  inset: 58px 20px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 34px 34px;
}

.console-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.console-top span + span {
  color: #98e3cf;
}

.compute-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.compute-node,
.throughput-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(10px);
}

.compute-node {
  min-height: 116px;
  padding: 18px;
}

.compute-node.wide {
  grid-column: 1 / -1;
  min-height: 138px;
  background:
    linear-gradient(90deg, rgba(36, 87, 166, 0.34), rgba(15, 138, 138, 0.18)),
    rgba(255, 255, 255, 0.075);
}

.compute-node span,
.panel-label {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.compute-node strong {
  display: block;
  margin-top: 26px;
  color: #fff;
  font-size: 1.42rem;
  line-height: 1;
}

.throughput-panel {
  position: absolute;
  z-index: 2;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px;
}

.flow-line {
  display: grid;
  grid-template-columns: 0.65fr 0.9fr 1.15fr;
  gap: 8px;
  margin: 14px 0 12px;
}

.flow-line span {
  height: 7px;
  border-radius: 999px;
  background: #98e3cf;
}

.flow-line span:nth-child(2) {
  background: #78a8f2;
}

.flow-line span:nth-child(3) {
  background: #d6a852;
}

.throughput-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.proof-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-grid p {
  margin: 0;
  padding: 22px 20px;
  border-left: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 780;
  text-align: center;
}

.proof-grid p:last-child {
  border-right: 1px solid var(--line);
}

.section {
  padding: 94px 0;
  background: #fff;
}

.section-muted {
  background: #f1f5f8;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 0.68fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 38px;
}

.section-heading h2 {
  max-width: 740px;
  color: var(--ink);
  font-size: 3.25rem;
  text-wrap: balance;
}

.features-grid,
.commitment-grid {
  display: grid;
  gap: 16px;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.commitment-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 242px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #b5c5d8;
  box-shadow: var(--shadow-md);
}

.card-index {
  width: max-content;
  margin-bottom: 28px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--teal);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 820;
}

.feature-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 12px 0 0;
  color: var(--muted);
}

.compact-card {
  min-height: 210px;
}

.cta-section {
  padding: 76px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 138, 138, 0.18), transparent 42%),
    var(--panel);
}

.cta-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-section .eyebrow {
  color: #98e3cf;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.65rem;
}

.cta-section p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

footer {
  padding: 52px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #0a101a;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.25fr 0.78fr 1fr 1.32fr;
  gap: 30px;
}

.footer-section h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.98rem;
}

.footer-section p {
  margin: 0;
}

.footer-section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-section li + li {
  margin-top: 8px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-section a:hover {
  color: #fff;
}

.copyright {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-panel {
    position: fixed;
    inset: 96px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 24px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  body.nav-open .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-cta,
  .lang-switcher {
    justify-content: flex-start;
    width: 100%;
  }

  .lang-switcher {
    width: max-content;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 64px 0;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .section-heading h2 {
    font-size: 2.8rem;
  }

  .hero-system {
    min-height: 430px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .features-grid,
  .commitment-grid,
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-grid p:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .cta-layout {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .site-nav {
    min-height: 84px;
  }

  .logo {
    font-size: 1rem;
  }

  .logo-mark {
    width: 112px;
    height: 70px;
    padding: 8px 10px;
  }

  .nav-panel {
    top: 84px;
  }

  .hero-layout {
    gap: 38px;
    padding: 48px 0 54px;
  }

  .hero h1 {
    font-size: 2.72rem;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .section-heading h2 {
    font-size: 2.15rem;
  }

  .cta-section h2 {
    font-size: 2.05rem;
  }

  .hero-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }

  .hero-stats,
  .features-grid,
  .commitment-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-system {
    min-height: 410px;
    padding: 16px;
  }

  .hero-system::before {
    inset: 54px 16px 16px;
  }

  .compute-stack {
    gap: 10px;
  }

  .compute-node {
    min-height: 104px;
    padding: 15px;
  }

  .compute-node strong {
    font-size: 1.15rem;
  }

  .throughput-panel {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid p,
  .proof-grid p:last-child,
  .proof-grid p:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .feature-card {
    min-height: auto;
    padding: 24px;
  }
}
