:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --radius: 14px;
  --shadow: 0 12px 30px rgb(15 23 42 / 7%);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--text);
  color: #fff;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  text-decoration: none;
  z-index: 999;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 82%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
}

.site-header .wrap {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
}

.nav-list a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-list a:hover {
  color: var(--text);
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-muted {
  background: var(--surface);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.1rem;
}

.lead {
  color: var(--muted);
  max-width: 60ch;
  margin: 1.4rem 0 0;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 2rem;
}

.cta-row,
.contact-links {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.stat-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-value {
  margin: 0.25rem 0 1rem;
  font-weight: 600;
}

.cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.card p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.logo-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.logo-item {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #64748b;
  min-height: 4.2rem;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.steps {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: var(--text);
}

.steps li + li {
  margin-top: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fff;
}

details + details {
  margin-top: 0.7rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.section-contact {
  border-top: 1px solid var(--line);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: var(--muted);
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgb(59 130 246 / 35%);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .hero-grid,
  .cards,
  .logo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header .wrap {
    min-height: 5.2rem;
    flex-direction: column;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .hero-grid,
  .cards,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.8rem 0;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}
