:root {
  --bg: #1f2428;
  --bg-elev: #252b30;
  --text: #f4f6f8;
  --muted: #b4bec7;
  --accent: #006241;
  --accent-soft: #0f7a56;
  --border: #374149;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Roboto, "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #1a1f23 0%, #20272c 55%, #1b2024 100%);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(24, 29, 33, 0.82);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.brand {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.hero {
  padding: 88px 0 72px;
}

.hero-content {
  max-width: 900px;
}

.hero-brand-title {
  margin: 0 0 8px;
  color: #f2f6f9;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

.hero-logo {
  display: block;
  width: min(338px, 65%);
  height: auto;
  margin: 0 0 10px;
}

.eyebrow {
  margin: 0;
  color: var(--accent-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

h1 {
  margin: 14px 0 18px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  max-width: 18ch;
}

.subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: #dde3e8;
  max-width: 58ch;
}

.btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid #0b7b56;
}

.btn:hover,
.btn:focus-visible {
  background: #05734e;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.3;
}

p {
  margin: 0;
  max-width: 78ch;
  color: #e3e9ee;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.flow-step {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 14px;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eef2f5;
  font-size: 0.94rem;
}

.flow-step:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-soft);
  font-weight: 700;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.card {
  margin: 0;
  padding: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  color: #f5f8fb;
}

.card p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: #97a4b0;
  font-size: 0.93rem;
}

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

  .flow-step {
    min-height: 76px;
    justify-content: flex-start;
    text-align: left;
    padding-right: 44px;
  }

  .flow-step:not(:last-child)::after {
    content: "\2193";
    right: 16px;
    top: auto;
    bottom: -18px;
    transform: none;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    min-height: 56px;
    gap: 14px;
    justify-content: flex-end;
    padding: 10px 0;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-logo {
    width: min(276px, 73%);
  }

  .hero {
    padding-top: 68px;
  }

}


p a {
  color: #9dd3bf;
}

p a:hover,
p a:focus-visible {
  color: #c6eadc;
}
