:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --ink: #14202a;
  --muted: #667386;
  --panel: #ffffff;
  --line: #dbe3ea;
  --accent: #0f6d75;
  --accent-dark: #0b4f56;
  --danger: #b42318;
  --warn: #c65f12;
  --good: #2d7c57;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(14px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  gap: 8px;
}

.brand,
.site-header a {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
  font-size: 0.85rem;
}

.brand-logo {
  max-width: min(520px, 42vw);
  max-height: 148px;
  object-fit: contain;
}

.hidden {
  display: none !important;
}

.site-header nav {
  color: var(--muted);
  font-size: 0.93rem;
}

.header-button,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
}

.header-button,
.primary-link {
  color: #fff;
  background: var(--accent);
}

.header-button:hover,
.primary-link:hover {
  background: var(--accent-dark);
}

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

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: clamp(70px, 10vw, 120px) clamp(18px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(9, 23, 32, 0.92), rgba(9, 23, 32, 0.62), rgba(9, 23, 32, 0.15)),
    url("assets/epss-preview.svg") center right / min(920px, 92vw) auto no-repeat,
    #112530;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 23, 32, 0.8), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
  color: #fff;
}

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

.hero .eyebrow {
  color: #8de1db;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 6.7rem);
  line-height: 0.98;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.18rem;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.62;
}

.product-strip {
  width: min(1180px, calc(100vw - 36px));
  margin: -70px auto 0;
  position: relative;
  z-index: 2;
}

.product-strip img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(219, 227, 234, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(12, 27, 38, 0.22);
}

.section,
.process-band {
  padding: clamp(58px, 9vw, 112px) clamp(18px, 5vw, 64px);
}

.section-headline {
  width: min(780px, 100%);
  margin-bottom: 30px;
}

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

.feature-grid article {
  min-height: 238px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--accent);
  font-weight: 900;
}

.feature-grid p,
.copy-block p,
.steps span {
  color: var(--muted);
  line-height: 1.58;
}

.process-band {
  background: #e9f0f3;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 156px;
  padding: 22px;
  background: #fff;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 6vw, 86px);
}

.copy-block {
  font-size: 1.05rem;
}

.primary-link.inline {
  margin-top: 12px;
}

.site-footer {
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  text-decoration: none;
  font-weight: 800;
}

.legal-page {
  width: min(980px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0;
}

.legal-page h1 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

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

.legal-page h2 {
  margin-bottom: 10px;
  font-size: clamp(1.28rem, 2.5vw, 1.8rem);
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.68;
}

.legal-page a {
  color: var(--accent);
  font-weight: 800;
}

.legal-page ul {
  padding-left: 22px;
}

.legal-note {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: 1.05rem;
}

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

  .site-header nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 82vh;
    background:
      linear-gradient(0deg, rgba(9, 23, 32, 0.95), rgba(9, 23, 32, 0.46)),
      url("assets/epss-preview.svg") center top 90px / 880px auto no-repeat,
      #112530;
  }

  .feature-grid,
  .steps,
  .two-column {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    padding-top: 230px;
  }

  .product-strip {
    margin-top: -34px;
  }
}
