:root {
  color-scheme: light;
  --ink: #182126;
  --muted: #5e6a70;
  --line: #dce4e6;
  --paper: #f7f8f6;
  --panel: #ffffff;
  --green: #2f7d62;
  --blue: #226c8f;
  --amber: #b36a2e;
  --dark: #10181c;
  --shadow: 0 20px 56px rgba(16, 24, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 40px;
  background: rgba(247, 248, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

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

.login-link {
  padding: 9px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(620px, 84vh, 760px);
  overflow: hidden;
  color: #ffffff;
}

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

.hero-bg {
  background: #172026 url("/site/assets/hero-dashboard.png") center / cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 16, 18, 0.88), rgba(10, 16, 18, 0.56) 52%, rgba(10, 16, 18, 0.3)),
    linear-gradient(0deg, rgba(10, 16, 18, 0.45), rgba(10, 16, 18, 0.08) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 108px);
  padding: 44px 0;
}

.hero-logo {
  display: block;
  width: min(238px, 70vw);
  height: auto;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3d806b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9be0c8;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.12;
}

h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action {
  background: #ffffff;
  color: var(--dark);
}

.primary-action.dark {
  background: var(--dark);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

.status-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.status-strip div {
  min-height: 92px;
  padding: 22px 34px;
  border-right: 1px solid var(--line);
}

.status-strip div:last-child {
  border-right: 0;
}

.metric,
.label {
  display: block;
}

.metric {
  font-size: 24px;
  font-weight: 850;
}

.label {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  padding-bottom: 64px;
}

.section-heading {
  max-width: 780px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr;
  align-items: stretch;
  margin-top: 34px;
}

.flow-step,
.feature-grid article,
.security-list article,
.object-grid article,
.proof-list div,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 8px 28px rgba(16, 24, 28, 0.05);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-grid article {
  min-height: 198px;
  padding: 24px;
}

.flow-step {
  padding: 24px;
  min-height: 190px;
}

.flow-step p,
.feature-grid p,
.security-list p,
.object-grid p,
.proof-list p,
.timeline p {
  margin: 0;
  color: var(--muted);
}

.step-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--amber);
  font-weight: 850;
}

.flow-line {
  align-self: center;
  height: 2px;
  background: var(--line);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.compact {
  position: sticky;
  top: 102px;
}

.security-list {
  display: grid;
  gap: 14px;
}

.security-list article {
  padding: 22px;
}

.alt {
  align-items: stretch;
}

.proof-list {
  display: grid;
  gap: 14px;
}

.proof-list div {
  padding: 22px;
}

.proof-list span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 850;
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.object-grid article {
  padding: 22px;
  min-height: 210px;
}

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

.timeline article {
  min-height: 236px;
  padding: 22px;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--amber);
  font-weight: 850;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 80px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9f1ec;
}

.cta-band h2 {
  font-size: 30px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.plain-link {
  color: var(--green);
  font-weight: 800;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--panel);
}

.footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
}

@media (max-width: 940px) {
  .topbar {
    padding: 0 20px;
  }

  .nav {
    gap: 14px;
    font-size: 14px;
  }

  h1 {
    font-size: 56px;
  }

  .status-strip,
  .feature-grid,
  .object-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .flow-line {
    width: 2px;
    height: 30px;
    justify-self: center;
  }

  .compact {
    position: static;
  }
}

@media (max-width: 640px) {
  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }

  .nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 590px;
  }

  .hero-inner {
    width: min(100% - 32px, 720px);
    margin-left: 16px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 28px;
  }

  .hero-copy,
  .section-heading p:not(.eyebrow) {
    font-size: 17px;
  }

  .status-strip,
  .feature-grid,
  .object-grid {
    grid-template-columns: 1fr;
  }

  .status-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 58px 0;
  }

  .cta-band,
  .footer {
    width: auto;
    margin-left: 16px;
    margin-right: 16px;
  }

  .cta-band,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding: 22px 20px;
  }
}
