:root {
  --ink: #172026;
  --muted: #5f6f76;
  --line: #d7e2e0;
  --paper: #f6f8f7;
  --white: #ffffff;
  --teal: #109a8d;
  --teal-dark: #0b625b;
  --blue: #2f7bd9;
  --gold: #d69a2d;
  --coral: #cf5f4a;
  --shadow: 0 18px 50px rgba(23, 32, 38, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 20, 23, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(23, 32, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  text-decoration: none;
  font-weight: 760;
}

.brand img {
  width: 64px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 680;
}

.site-nav a {
  text-decoration: none;
  opacity: 0.86;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--teal);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 80px) 88px;
  color: var(--white);
}

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

.hero-media {
  background-image: url("assets/platform-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3, 15, 17, 0.94) 0%, rgba(3, 15, 17, 0.76) 42%, rgba(3, 15, 17, 0.22) 100%),
    linear-gradient(180deg, rgba(3, 15, 17, 0.12) 0%, rgba(3, 15, 17, 0.76) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

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

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.18rem, 2.2vw, 1.62rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 780;
  line-height: 1.1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.button.full {
  width: 100%;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: var(--max);
  margin: 0 auto;
  background: var(--line);
}

.summary-grid > div {
  min-height: 168px;
  padding: 30px;
  background: var(--white);
}

.metric {
  display: block;
  color: var(--teal-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 830;
  line-height: 1.1;
}

.summary-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 92px 24px;
}

.section.alt {
  max-width: none;
  background: #edf4f1;
}

.section.alt > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  width: min(850px, 100%);
  margin-bottom: 36px;
}

.section-head.compact {
  margin-bottom: 0;
}

.section-head h2,
.contact-layout h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-head p,
.contact-layout p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.market-grid,
.status-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.market-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.feature-card h3,
.market-grid h3,
.contact-panel h3 {
  margin: 0;
  font-size: 1.18rem;
}

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

.feature-card:nth-child(2) {
  border-top-color: var(--blue);
}

.feature-card:nth-child(3) {
  border-top-color: var(--gold);
}

.feature-card:nth-child(4) {
  border-top-color: var(--coral);
}

.wide-figure,
.workflow-figure {
  margin: 28px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.wide-figure img {
  width: 100%;
}

figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.two-column {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 42px;
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.workflow-figure {
  margin: 0;
}

.market-grid {
  grid-template-columns: repeat(4, 1fr);
}

.proof-band {
  max-width: none;
  background: var(--ink);
  color: var(--white);
}

.proof-band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.proof-band .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.status-grid {
  grid-template-columns: 0.8fr 0.9fr 1.3fr;
  margin-top: 36px;
}

.status-grid div {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.status-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 820;
  text-transform: uppercase;
}

.status-grid strong {
  font-size: 1.16rem;
  line-height: 1.35;
}

.contact-section {
  padding-bottom: 72px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin: 16px 0;
  color: var(--muted);
}

.contact-panel a:not(.button) {
  color: var(--teal-dark);
  font-weight: 720;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.7);
  background: #0e1518;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 150px;
  }

  .summary-grid,
  .feature-grid,
  .market-grid,
  .status-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .market-grid article {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .hero {
    min-height: 82vh;
    padding: 140px 20px 56px;
  }

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

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

  .button {
    width: 100%;
  }

  .section {
    padding: 68px 18px;
  }

  .summary-grid > div {
    min-height: 0;
    padding: 24px 20px;
  }

  .site-footer {
    flex-direction: column;
  }
}
