html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #f3f5f7;
  --ink: #0f1720;
  --muted: #5f6d79;
  --line: rgba(15, 23, 32, 0.1);
  --panel: #ffffff;
  --panel-soft: #eef3f8;
  --sam-blue: #2b6df6;
  --sam-blue-deep: #173d86;
  --hero-shadow: rgba(7, 15, 28, 0.42);
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

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

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #0f1720;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 15, 28, 0.84) 0%, rgba(7, 15, 28, 0.56) 38%, rgba(7, 15, 28, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 15, 28, 0.28) 0%, rgba(7, 15, 28, 0.42) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px 0 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

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

.button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button-primary {
  background: var(--sam-blue);
  border-color: var(--sam-blue);
  color: #ffffff;
}

.button-primary:hover {
  background: #235ed4;
  border-color: #235ed4;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: 0 0 28px;
}

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

.section-intro {
  margin-top: -72px;
  position: relative;
  z-index: 5;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: stretch;
}

.section-copy,
.metric-strip,
.flow-grid,
.cta-shell {
  background: var(--panel);
  border: 1px solid var(--line);
}

.section-copy,
.cta-shell {
  padding: 30px 32px;
}

.section-copy h2,
.section-heading h2,
.cta-shell h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.08;
  text-wrap: balance;
}

.section-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.metric-strip {
  display: grid;
  grid-template-columns: 1fr;
}

.metric-card {
  padding: 26px 26px 24px;
  border-bottom: 1px solid var(--line);
}

.metric-card:last-child {
  border-bottom: 0;
}

.metric-card strong,
.flow-item h3 {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
}

.metric-card span,
.flow-item p {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.section-band .section-shell,
.cta-shell {
  padding: 30px 32px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-item {
  min-height: 220px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}

.flow-item:last-child {
  border-right: 0;
}

.flow-index {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sam-blue);
}

.cta-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 980px) {
  .intro-grid,
  .flow-grid,
  .cta-shell {
    grid-template-columns: 1fr;
    display: grid;
  }

  .flow-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-item:last-child {
    border-bottom: 0;
  }

  .cta-actions {
    margin-top: 4px;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .hero-content,
  .section-shell {
    width: min(100% - 28px, 1180px);
  }

  .header-nav {
    gap: 14px;
  }

  .header-nav a {
    font-size: 0.88rem;
  }

  .hero-content {
    padding: 120px 0 84px;
    justify-content: end;
  }

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

  .section-copy,
  .section-band .section-shell,
  .cta-shell {
    padding: 24px 22px;
  }

  .metric-card,
  .flow-item {
    padding: 22px;
  }
}
