:root {
  --bg: #090b12;
  --surface: #171a22;
  --surface-strong: #1f2330;
  --text: #f3f4f6;
  --text-muted: #c4c7cf;
  --brand: #a7132f;
  --brand-hover: #bc1635;
  --border: #2f3547;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background: radial-gradient(circle at 20% 10%, #1a1f2c 0%, var(--bg) 45%);
  color: var(--text);
}

.page {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 5rem 0 4rem;
}

.hero {
  background: linear-gradient(145deg, #161924, #10131b);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.content-section {
  margin-top: 1.1rem;
  background: linear-gradient(160deg, #141824, #10131b);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.2rem, 3vw, 2.2rem);
}

.content-section h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.section-intro {
  margin-top: 0.6rem;
  color: var(--text-muted);
  max-width: 68ch;
}

.grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

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

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

.card {
  background: var(--surface-strong);
  border: 1px solid #353d53;
  border-radius: 14px;
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

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

.list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.list li + li {
  margin-top: 0.3rem;
}

.metric-card .metric {
  color: #ff6f8f;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.faq-list {
  margin-top: 0.5rem;
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface-strong);
  border: 1px solid #353d53;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
}

.final-cta p {
  color: var(--text-muted);
  max-width: 64ch;
  margin-bottom: 0;
}

.hero-kicker {
  margin: 0 0 0.75rem;
  color: #d64863;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(1.9rem, 5.2vw, 3.2rem);
  line-height: 1.12;
}

.hero-subline {
  margin: 1.2rem 0 0;
  max-width: 64ch;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-cta-group {
  margin-top: 2rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem 1.2rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.btn:focus-visible {
  outline: 2px solid #ff6f8f;
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(167, 19, 47, 0.35);
}

.btn-secondary {
  color: var(--text);
  background: transparent;
  border-color: #5b6071;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 6, 10, 0.75);
  backdrop-filter: blur(2px);
}

.hidden {
  display: none;
}

.overlay.hidden {
  display: none;
}

.popup {
  width: min(860px, 100%);
  background: linear-gradient(155deg, #191d28, var(--surface));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  position: relative;
}

.popup-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #f4f4f6;
  color: #14151b;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.popup-close:hover {
  background: #ffffff;
}

.popup-brand {
  margin: 0;
  text-align: center;
  color: #d64863;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.popup-title {
  margin: 1rem 0 0;
  text-align: center;
  font-size: clamp(1.8rem, 4.5vw, 3.1rem);
  line-height: 1.1;
}

.popup-text {
  margin: 1rem auto 0;
  max-width: 54ch;
  text-align: center;
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.popup-actions {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.popup-email-line {
  margin: 1.25rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.popup-email-line a {
  color: #f1f3f7;
  text-decoration-color: rgba(241, 243, 247, 0.5);
}

.popup-email-line a:hover {
  text-decoration-color: currentColor;
}

@media (max-width: 700px) {
  .page {
    padding-top: 2rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .popup-actions {
    grid-template-columns: 1fr;
  }

  .popup-actions .btn {
    width: 100%;
  }
}
