:root {
  --bg: #0d1014;
  --bg-soft: #131820;
  --surface: #171d25;
  --surface-strong: #202834;
  --text: #f8f4ec;
  --muted: #b9c0c8;
  --line: rgba(248, 244, 236, 0.14);
  --green: #20c997;
  --amber: #ffb545;
  --cyan: #4cc9f0;
  --coral: #e85d75;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(13, 16, 20, 0.78);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px 6%;
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(13, 16, 20, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
  position: relative;
  z-index: 2;
}

.brand-logo {
  display: block;
  height: 44px;
  object-fit: contain;
  object-position: left center;
  width: 195px;
}

.brand-mark {
  align-items: center;
  background: var(--text);
  color: var(--bg);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.nav-toggle {
  background: transparent;
  border: 0;
  color: var(--text);
  display: none;
  height: 44px;
  padding: 0;
  position: relative;
  width: 44px;
  z-index: 2;
}

.nav-toggle span {
  background: currentColor;
  display: block;
  height: 2px;
  left: 10px;
  position: absolute;
  right: 10px;
  transition: transform 180ms ease, top 180ms ease;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.hero {
  align-items: center;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  min-height: calc(100svh - 44px);
  overflow: hidden;
  padding: 132px 6% 76px;
  position: relative;
}

.hero-canvas,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-canvas {
  height: 100%;
  width: 100%;
  z-index: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 16, 20, 0.84) 0%, rgba(13, 16, 20, 0.58) 42%, rgba(13, 16, 20, 0.3) 100%),
    repeating-linear-gradient(90deg, rgba(248, 244, 236, 0.025) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(248, 244, 236, 0.018) 0 1px, transparent 1px 96px);
  z-index: 1;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

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

.hero h1,
.section h2,
.cta-section h2 {
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: 4.3rem;
  max-width: 880px;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.18rem;
  margin: 26px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: #07100d;
}

.button-primary:hover {
  background: #35ddb0;
}

.button-secondary {
  background: rgba(248, 244, 236, 0.06);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  background: rgba(248, 244, 236, 0.12);
}

.hero-panel {
  background: rgba(23, 29, 37, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-left: auto;
  max-width: 430px;
  width: 100%;
}

.panel-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 16px;
}

.panel-header span {
  background: var(--muted);
  height: 10px;
  width: 10px;
}

.panel-header span:nth-child(1) {
  background: var(--coral);
}

.panel-header span:nth-child(2) {
  background: var(--amber);
}

.panel-header span:nth-child(3) {
  background: var(--green);
}

.panel-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.metric {
  padding-bottom: 0;
}

.metric span,
.delivery-card span,
.board-top span,
.board-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-top: 6px;
}

.delivery-card {
  align-items: center;
  background: linear-gradient(135deg, rgba(248, 244, 236, 0.08), rgba(76, 201, 240, 0.08));
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding: 14px 16px;
}

.delivery-card strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
  margin-top: 4px;
}

.company-state {
  background: rgba(32, 201, 151, 0.14);
  border: 1px solid rgba(32, 201, 151, 0.35);
  color: var(--green) !important;
  flex: 0 0 auto;
  font-size: 0.72rem !important;
  padding: 6px 8px;
}

.pipeline {
  align-items: start;
  display: flex;
  gap: 0;
  justify-content: space-between;
  padding-top: 4px;
}

.pipeline-step {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  position: relative;
  text-align: center;
}

.pipeline-step strong {
  font-size: 0.68rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.pipeline-mark {
  background: rgba(248, 244, 236, 0.14);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(248, 244, 236, 0.04);
  height: 10px;
  position: relative;
  width: 10px;
}

.pipeline-step:not(:last-child)::after {
  background: var(--line);
  content: "";
  height: 1px;
  left: calc(50% + 8px);
  position: absolute;
  right: calc(-50% + 8px);
  top: 5px;
}

.pipeline-step.is-done .pipeline-mark {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(32, 201, 151, 0.14);
}

.pipeline-step.is-active {
  color: var(--text);
}

.pipeline-step.is-active .pipeline-mark {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 181, 69, 0.14);
}

.section {
  padding: 92px 6%;
}

.intro,
.showcase,
.cta-section,
.site-footer {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.65fr);
}

.section-copy h2,
.section-heading h2,
.showcase h2,
.cta-section h2 {
  font-size: 2.6rem;
  max-width: 760px;
}

.intro > p,
.showcase p,
.cta-section p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 34px;
}

.card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 260px;
  padding: 26px;
}

.card-index {
  color: var(--amber);
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 54px;
}

.value-card h3,
.timeline h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  margin: 0;
}

.value-card p,
.timeline p,
.advantage-list p {
  color: var(--muted);
  margin: 14px 0 0;
}

.advantages {
  background: var(--text);
  color: var(--bg);
}

.advantages .eyebrow {
  color: #08785a;
}

.advantage-list {
  border-top: 1px solid rgba(13, 16, 20, 0.16);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advantage-list div {
  border-right: 1px solid rgba(13, 16, 20, 0.16);
  padding: 30px;
}

.advantage-list div:last-child {
  border-right: 0;
}

.advantage-list strong {
  display: block;
  font-size: 1.12rem;
}

.advantage-list p {
  color: #4d5762;
}

.timeline {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  border: 1px solid var(--line);
  min-height: 220px;
  padding: 24px;
}

.timeline span {
  align-items: center;
  background: var(--surface-strong);
  color: var(--green);
  display: inline-flex;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-bottom: 34px;
  width: 36px;
}

.showcase {
  align-items: center;
  background: var(--bg-soft);
}

.showcase-board {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  justify-self: end;
  max-width: 540px;
  padding: 24px;
  width: 100%;
}

.board-top,
.board-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.board-top strong {
  color: var(--green);
  font-size: 2rem;
}

.board-chart {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, 1fr);
  height: 210px;
  margin: 24px 0;
}

.board-chart span {
  background: linear-gradient(180deg, var(--cyan), var(--green));
  display: block;
  min-height: 28px;
}

.board-row {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.board-row:last-child {
  padding-bottom: 0;
}

.board-row strong {
  color: var(--amber);
}

.cta-section {
  align-items: center;
  background: var(--text);
  color: var(--bg);
  padding: 72px 6%;
}

.cta-section .eyebrow {
  color: #08785a;
}

.cta-section p {
  color: #4d5762;
  margin-top: 18px;
}

.cta-section .button {
  justify-self: end;
}

.company-id {
  font-size: 0.82rem;
}

.legal-page {
  background: var(--bg);
  min-height: 100svh;
}

.legal-main {
  margin: 0 auto;
  max-width: 920px;
  padding: 150px 6% 90px;
}

.legal-main h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: 1;
  margin: 0;
}

.legal-lead {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 24px 0 0;
  max-width: 720px;
}

.legal-meta {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  margin: 28px 0 54px;
  padding-bottom: 22px;
}

.legal-content {
  display: grid;
  gap: 34px;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.legal-content h2 {
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.96rem;
}

.legal-content p {
  margin: 14px 0 0;
}

.legal-content ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.legal-back {
  color: var(--green);
  display: inline-flex;
  font-weight: 800;
  margin-top: 44px;
}

.site-footer {
  align-items: center;
  background: #090b0e;
  border-top: 1px solid var(--line);
  padding: 34px 6%;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: end;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .hero-panel {
    margin-left: 0;
    max-width: 620px;
  }

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

@media (max-width: 920px) {
  .showcase {
    grid-template-columns: 1fr;
  }

  .showcase-board {
    justify-self: start;
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 38px;
    width: 170px;
  }

  .site-header {
    padding: 14px 5%;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: rgba(13, 16, 20, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 78px 5% 22px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-top: 1px solid var(--line);
    font-size: 1rem;
    padding: 16px 0;
    width: 100%;
  }

  .hero {
    gap: 34px;
    min-height: calc(100svh - 40px);
    padding: 108px 5% 36px;
  }

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

  .hero-copy {
    font-size: 1rem;
  }

  .hero-panel {
    display: none;
  }

  .button {
    width: 100%;
  }

  .section,
  .cta-section {
    padding: 64px 5%;
  }

  .intro,
  .showcase,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .section-copy h2,
  .section-heading h2,
  .showcase h2,
  .cta-section h2 {
    font-size: 2rem;
  }

  .section-heading {
    display: block;
  }

  .card-grid,
  .timeline,
  .advantage-list {
    grid-template-columns: 1fr;
  }

  .advantage-list div {
    border-bottom: 1px solid rgba(13, 16, 20, 0.16);
    border-right: 0;
    padding: 24px 0;
  }

  .advantage-list div:last-child {
    border-bottom: 0;
  }

  .value-card,
  .timeline article {
    min-height: auto;
  }

  .card-index {
    margin-bottom: 34px;
  }

  .showcase-board {
    max-width: 100%;
    padding: 18px;
  }

  .board-top strong {
    font-size: 1.55rem;
  }

  .board-chart {
    gap: 8px;
    height: 150px;
    margin: 18px 0;
  }

  .board-row {
    align-items: flex-start;
    gap: 14px;
  }

  .cta-section .button,
  .footer-links {
    justify-self: stretch;
    justify-content: start;
  }
}

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