:root {
  --bg: #20262d;
  --bg-soft: #272f37;
  --surface: #d9ddd7;
  --surface-soft: rgba(217, 221, 215, 0.08);
  --line: rgba(217, 221, 215, 0.14);
  --text: #eef1eb;
  --muted: #aeb6af;
  --accent: #bcc7c0;
  --accent-deep: #7f9188;
  --shadow: 0 32px 70px rgba(6, 10, 14, 0.32);
  --max: 1320px;
  --radius: 28px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(188, 199, 192, 0.06), transparent 24%),
    radial-gradient(circle at bottom right, rgba(127, 145, 136, 0.10), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

section[id], .cta[id] { scroll-margin-top: 104px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(32, 38, 45, 0.84);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.brand-kicker {
  color: var(--accent-deep);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 800;
}

.brand-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--muted);
  transition: 0.2s ease;
}

.back-link {
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}

.back-link:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.05);
}

.hero {
  padding: 34px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 30px;
  align-items: stretch;
}

.hero-copy {
  padding: 26px 0 0;
  animation: rise 0.7s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(217, 221, 215, 0.36);
}

h1, h2, h3, p { margin: 0; }

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
}

.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--surface);
  color: #1f262d;
}

.btn-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.02);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.04);
}

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

.metric {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.metric strong {
  display: block;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.01);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 38, 45, 0.10) 0%, rgba(32, 38, 45, 0.02) 38%, rgba(32, 38, 45, 0.10) 100%),
    linear-gradient(180deg, rgba(32, 38, 45, 0.00), rgba(32, 38, 45, 0.14));
  pointer-events: none;
}

.hero-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 20px 22px;
  background: rgba(15, 19, 23, 0.52);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  backdrop-filter: blur(8px);
}

.hero-note strong {
  display: block;
  color: var(--surface);
  font-size: 1rem;
  margin-bottom: 8px;
}

.hero-note span {
  color: #dce1db;
  font-size: 0.96rem;
}

.section {
  padding: 44px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  max-width: 14ch;
}

.section-head p {
  max-width: 58ch;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
}

.panel,
.cta,
.related-card {
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 30px;
}

.panel h3 {
  font-size: 1.28rem;
  margin-bottom: 14px;
}

.panel p + p {
  margin-top: 12px;
}

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

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.63em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.step-grid,
.faq-grid,
.related-grid {
  display: grid;
  gap: 18px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.step span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 12px;
}

.step strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.faq-item {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
}

.related-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.related-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: end;
  padding: 32px;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  max-width: 13ch;
}

.cta p {
  color: var(--muted);
  max-width: 60ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.footer {
  padding: 32px 0 54px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .metric-grid,
  .step-grid,
  .faq-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }

  .topbar-inner {
    padding: 14px 0;
    align-items: flex-start;
  }

  .topbar-actions {
    gap: 10px;
  }

  .back-link {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .metric-grid,
  .step-grid,
  .faq-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .cta {
    padding: 24px;
  }

  .hero-media {
    min-height: 300px;
  }

  .hero-note {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
  }

  .btn {
    width: 100%;
  }

  .contact-actions {
    width: 100%;
  }
}
