:root {
  --bg: #071018;
  --bg-elevated: rgba(10, 20, 31, 0.88);
  --surface: rgba(10, 19, 30, 0.94);
  --surface-soft: rgba(13, 24, 37, 0.92);
  --stroke: rgba(124, 157, 185, 0.18);
  --stroke-strong: rgba(124, 157, 185, 0.3);
  --text: #e6edf6;
  --muted: #a0afbe;
  --accent: #ffb454;
  --accent-strong: #ff8b3d;
  --teal: #51d4b9;
  --shadow: 0 24px 64px rgba(2, 7, 12, 0.36);
  --max-width: 1040px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(81, 212, 185, 0.14), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 180, 84, 0.12), transparent 28%),
    linear-gradient(180deg, #060d14 0%, #09131d 50%, #071018 100%);
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(124, 157, 185, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 157, 185, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent);
}

a {
  color: inherit;
  text-decoration-color: rgba(255, 180, 84, 0.55);
  text-underline-offset: 0.18em;
}

code,
pre,
.timeline-index,
.stats-table {
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3,
.brand-copy strong,
.faq-summary {
  font-family: "Space Grotesk", sans-serif;
}

code {
  font-size: 0.94em;
  overflow-wrap: anywhere;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(81, 212, 185, 0.35);
  background:
    linear-gradient(135deg, rgba(81, 212, 185, 0.18), rgba(255, 180, 84, 0.14)),
    rgba(11, 21, 32, 0.82);
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-copy strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.93rem;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--text);
}

.site-main {
  display: block;
}

.hero,
.panel,
.faq-item {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--surface-soft), var(--surface));
  box-shadow: var(--shadow);
}

.hero {
  padding: 2rem;
  border-radius: 1.8rem;
}

.hero h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 68ch;
  margin: 0;
  color: rgba(230, 237, 246, 0.9);
  font-size: 1.08rem;
  line-height: 1.78;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--stroke-strong);
  background: rgba(11, 21, 33, 0.78);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  border-color: rgba(255, 180, 84, 0.52);
  background: rgba(18, 31, 44, 0.9);
}

.button-primary {
  background: linear-gradient(135deg, rgba(255, 180, 84, 0.24), rgba(255, 139, 61, 0.16));
}

.section {
  margin-top: 3rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.panel {
  padding: 1.35rem;
  border-radius: 1.45rem;
}

.panel h3 {
  margin: 0 0 0.9rem;
  font-size: 1.25rem;
  line-height: 1.15;
}

.panel p,
.panel ul,
.panel ol,
.faq-content p,
.faq-content ul,
.faq-content ol {
  margin: 0;
  color: rgba(230, 237, 246, 0.84);
  line-height: 1.75;
}

.panel p + p,
.faq-content p + p {
  margin-top: 0.95rem;
}

.panel ul,
.panel ol,
.faq-content ul,
.faq-content ol {
  padding-left: 1.2rem;
}

.panel p + ul,
.panel p + ol,
.panel p + .table-shell,
.panel ul + p,
.panel ol + p,
.table-shell + p,
.faq-content p + ul,
.faq-content p + ol,
.faq-content ul + p,
.faq-content ol + p {
  margin-top: 0.95rem;
}

.panel li,
.faq-content li {
  margin-top: 0.45rem;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  margin: 0;
  padding-left: 1.25rem;
}

.feature-list li + li {
  margin-top: 0.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

.timeline {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.pipeline-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--stroke);
  border-radius: 1.35rem;
  background: rgba(10, 20, 31, 0.76);
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(81, 212, 185, 0.24);
  color: var(--teal);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pipeline-stage h3 {
  margin: 0;
  font-size: 1.12rem;
}

.pipeline-stage p {
  margin: 0.45rem 0 0;
  color: rgba(230, 237, 246, 0.82);
  line-height: 1.7;
}

.terminal-block {
  margin: 1rem 0;
  overflow-x: auto;
  padding: 1rem;
  border: 1px solid rgba(81, 212, 185, 0.16);
  border-radius: 1rem;
  background: rgba(6, 13, 20, 0.92);
  color: #d6e2ef;
  line-height: 1.5;
}

.table-shell {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(124, 157, 185, 0.16);
  border-radius: 1rem;
  background: rgba(6, 13, 20, 0.44);
}

.stats-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.stats-table th,
.stats-table td {
  padding: 0.78rem 0.85rem;
  border-bottom: 1px solid rgba(124, 157, 185, 0.13);
  color: rgba(230, 237, 246, 0.82);
  line-height: 1.55;
  text-align: left;
  vertical-align: top;
}

.stats-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(7, 16, 24, 0.96);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-table tbody th {
  color: var(--teal);
  font-weight: 600;
  white-space: nowrap;
}

.stats-table tbody tr:last-child th,
.stats-table tbody tr:last-child td {
  border-bottom: 0;
}

.stats-table .numeric {
  text-align: right;
  white-space: nowrap;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  overflow: hidden;
  border-radius: 1.25rem;
}

.faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-size: 1.08rem;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1rem;
}

.faq-item[open] .faq-summary::after {
  content: "-";
}

.faq-content {
  padding: 0 1.3rem 1.25rem;
}

@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-bottom: 3rem;
  }

  .hero {
    padding: 1.4rem;
    border-radius: 1.45rem;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .top-nav {
    gap: 0.7rem;
  }

  .section {
    margin-top: 2.5rem;
  }

  .panel,
  .pipeline-stage {
    padding: 1.1rem;
  }

  .faq-summary,
  .faq-content {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}
