:root {
  --bg: #0b0f14;
  --bg-soft: #111823;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;

  --text: #e9eef5;
  --text-soft: #b4c0cf;
  --text-dark: #18202a;
  --text-mid: #4f5b68;

  --line: #223142;
  --line-soft: #dde4eb;

  --accent: #d88a2b;
  --accent-strong: #f3a33d;
  --accent-soft: rgba(216, 138, 43, 0.14);

  --shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  --shadow-soft: 0 14px 32px rgba(8, 15, 25, 0.08);

  --radius-lg: 22px;
  --radius-md: 16px;

  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--text-dark);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(92%, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.page-hero {
  padding: 78px 0 42px;
  background: linear-gradient(180deg, #0b0f14 0%, #0f141c 100%);
  color: var(--text);
}

.page-hero h1 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.page-hero .section-sub {
  color: #d3deea;
  margin: 0;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(11, 15, 20, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 18px;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-word {
  font-size: 1.15rem;
  line-height: 1;
}

.site-nav {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.site-nav a,
.footer-links a {
  color: #9fb0c3;
  font-size: 0.95rem;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, #0b0f14 0%, #0f141c 100%);
  padding: 64px 0 84px;
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0 0 16px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  max-width: 12ch;
}

.section h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  color: var(--text-dark);
}

.lead {
  max-width: 60ch;
  margin: 0 0 12px;
  font-size: 1.18rem;
  color: #dce6f2;
}

.lead-muted {
  max-width: 58ch;
  margin: 0 0 26px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero-actions,
.section-actions,
.status-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.section-actions-gap-xl {
  margin-top: 42px;
}

.hero-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-panel {
  display: flex;
  justify-content: center;
}

/* Value stack */

.value-stack {
  display: grid;
  gap: 14px;
  width: 100%;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 16px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.value-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent-strong);
  font-weight: 700;
  min-width: 82px;
  flex-shrink: 0;
}

.value-text {
  color: #d8e2ee;
  font-size: 0.94rem;
}

/* Sections */

.section {
  padding: 88px 0;
  background: var(--surface);
}

.section-alt {
  background: var(--surface-soft);
}

.section-dark {
  background: linear-gradient(180deg, #0e141c 0%, #101a25 100%);
  color: var(--text);
}

.section-dark h2,
.section-dark h3,
.section-dark p,
.section-dark li,
.section-dark .section-sub,
.section-dark .section-heading p {
  color: var(--text);
}

.section-border {
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.centered {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  max-width: 62ch;
  color: var(--text-mid);
  margin: 0 auto;
}

.section-sub-tight {
  margin-top: 10px;
}

.centered {
  justify-content: center;
  text-align: center;
}

/* Cards / grids */

.callout-grid,
.two-col-cards,
.three-col-cards,
.steps-grid,
.screenshots-grid-equal,
.team-grid,
.detail-grid-3 {
  display: grid;
  gap: 22px;
}

.callout-grid,
.two-col-cards,
.screenshots-grid-equal,
.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col-cards,
.detail-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.callout,
.info-card,
.shot-card,
.team-card,
.detail-card,
.status-card-flat,
.guide-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.callout,
.info-card,
.team-card,
.detail-card,
.guide-card {
  padding: 26px;
}

.callout-accent {
  border-color: rgba(216, 138, 43, 0.28);
  background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.list-tight {
  margin: 14px 0 0;
  padding-left: 20px;
}

.list-tight li + li {
  margin-top: 8px;
}

/* Light cards placed on dark sections must switch back to dark text */

.section-dark .info-card,
.section-dark .detail-card,
.section-dark .callout,
.section-dark .guide-card {
  background: var(--surface);
  border-color: var(--line-soft);
  color: var(--text-dark);
}

.section-dark .info-card h3,
.section-dark .detail-card h3,
.section-dark .callout h3,
.section-dark .guide-card h3 {
  color: var(--text-dark);
}

.section-dark .info-card p,
.section-dark .detail-card p,
.section-dark .callout p,
.section-dark .guide-card p,
.section-dark .info-card li,
.section-dark .detail-card li,
.section-dark .callout li,
.section-dark .guide-card li {
  color: var(--text-mid);
}

.section-dark .callout-accent {
  border-color: rgba(216, 138, 43, 0.28);
  background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}

.section-dark .callout-accent h3 {
  color: var(--text-dark);
}

.section-dark .callout-accent p,
.section-dark .callout-accent li {
  color: var(--text-mid);
}

/* System diagram */

.system-diagram {
  margin: 34px 0 52px;
  padding: 26px 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 50% 50%, rgba(216, 138, 43, 0.05) 0%, rgba(216, 138, 43, 0.015) 30%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(90deg, rgba(15, 24, 35, 0.96) 0%, rgba(11, 19, 30, 0.99) 50%, rgba(15, 24, 35, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.system-flow {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 108px minmax(240px, 1fr) 108px minmax(220px, 1fr);
  gap: 0;
  align-items: center;
}

.system-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.system-core {
  border-color: rgba(216, 138, 43, 0.55);
  background: linear-gradient(180deg, rgba(216, 138, 43, 0.10) 0%, rgba(216, 138, 43, 0.07) 100%);
  box-shadow: 0 0 0 1px rgba(216, 138, 43, 0.05);
}

.system-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.system-text {
  color: #d8e2ee;
  font-size: 0.98rem;
  margin-top: 6px;
}

.system-subtext {
  color: #c7d3e0;
  font-size: 0.88rem;
  margin-top: 10px;
}

.system-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-strong);
  min-height: 40px;
}

.system-line {
  width: 72px;
  height: 4px;
  background: currentColor;
  display: inline-block;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(243, 163, 61, 0.16);
  flex: 0 0 auto;
}

.system-arrow {
  width: 0;
  height: 0;
  margin-left: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 18px solid currentColor;
  filter: drop-shadow(0 0 8px rgba(243, 163, 61, 0.12));
  flex: 0 0 auto;
}

/* Steps */

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-card h3 {
  margin: 8px 0 8px;
  font-size: 1.06rem;
}

.step-card p {
  margin: 0;
  color: var(--text-soft);
}

.step-num {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 700;
}

/* Guide page */

.guide-steps {
  display: grid;
  gap: 24px;
}

.guide-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.guide-step-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8c5315;
  font-weight: 700;
  font-size: 1.05rem;
}

.guide-step-body h3 {
  margin: 2px 0 10px;
  font-size: 1.12rem;
}

.guide-step-body p {
  margin: 0;
  color: var(--text-mid);
}

.guide-step-body p + p {
  margin-top: 12px;
}

.guide-actions {
  margin-top: 34px;
}

/* Screenshots */

.shot-card {
  overflow: hidden;
}

.shot-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #0e1218;
}

.shot-crop-equal {
  aspect-ratio: 16 / 10;
}

.shot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1);
  transform-origin: top center;
  display: block;
}

.shot-card figcaption {
  padding: 16px 18px 18px;
  color: var(--text-mid);
  font-size: 0.96rem;
}

.screenshot-actions {
  margin-top: 26px;
}

/* Team */

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.team-name a {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--text-mid);
  text-underline-offset: 3px;
}

.team-name a:hover {
  text-decoration-color: var(--accent);
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.team-list {
  margin-top: 10px;
  padding-left: 18px;
}

.team-list li {
  margin-top: 6px;
  color: var(--text-mid);
}

/* Status */

.status-card-flat {
  padding: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.status-intro {
  margin: 14px 0 0;
  color: var(--text-mid);
}

.status-block + .status-block {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line-soft);
}

.status-block h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--text-dark);
}

.status-block .list-tight {
  margin-top: 0;
}

.status-block .list-tight li strong {
  color: var(--text-dark);
}

.status-actions-spaced {
  margin-top: 44px;
  padding-top: 10px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8c5315;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Documentation hub cards */

.info-card-featured {
  border-color: rgba(216, 138, 43, 0.4);
  background: linear-gradient(180deg, #fffcf7 0%, #ffffff 100%);
}

.info-card-muted {
  background: var(--surface-soft);
  border-color: var(--line-soft);
}

.card-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-actions {
  margin-top: 18px;
}

.card-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  font-size: 0.92rem;
  color: var(--text-mid);
}

/* Guide page note block */

.guide-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  color: var(--text-mid);
  font-size: 0.95rem;
}

.guide-note strong {
  color: var(--text-dark);
}

/* Breadcrumb eyebrow link */

.page-hero .eyebrow a {
  color: var(--accent-strong);
  text-decoration: none;
  opacity: 0.85;
}

.page-hero .eyebrow a:hover {
  opacity: 1;
}

/* Deployment layout */

.deployment-pair {
  align-items: stretch;
}

.roadmap-card-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.roadmap-card {
  width: 100%;
  max-width: calc((100% - 22px) / 2);
}

.deployment-actions {
  margin-top: 36px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.94rem;
}

.btn-primary {
  color: #11151c;
  background: linear-gradient(180deg, var(--accent-strong) 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px rgba(216, 138, 43, 0.24);
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  color: var(--text-dark);
  border-color: var(--line-soft);
  background: #fff;
  opacity: 0.88;
}

.btn-on-dark {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
}

/* Footer */

.site-footer {
  background: #0d1219;
  color: var(--text-soft);
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
}

.footer-brand {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-note {
  max-width: 36ch;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 2rem;
  align-content: start;
}

/* Responsive */

@media (max-width: 1024px) {
  .hero-grid,
  .callout-grid,
  .two-col-cards,
  .three-col-cards,
  .steps-grid,
  .screenshots-grid-equal,
  .team-grid,
  .detail-grid-3 {
    grid-template-columns: 1fr;
  }

  .system-flow {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .system-connector {
    display: none;
  }

  .site-nav {
    display: none;
    margin: 0;
  }

  .nav-actions {
    margin-left: auto;
  }

  .brand {
    border-right: none;
    padding-right: 0;
  }

  .roadmap-card {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .status-actions-spaced,
  .section-actions-gap-xl,
  .deployment-actions {
    margin-top: 36px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 44px 0 58px;
  }

  .page-hero {
    padding: 56px 0 34px;
  }

  .section {
    padding: 64px 0;
  }

  .hero h1 {
    max-width: none;
  }

  .value-item {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }

  .value-label {
    min-width: 0;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    gap: 8px;
    margin-left: auto;
  }

  .brand-word {
    /* display: none; */
	font-size: 1rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .nav-row {
    min-height: 78px;
  }

  .system-diagram {
    padding: 20px 16px;
  }

  .system-box {
    min-height: 0;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}