/* ==========================================================================
   base.css — dark theme resets and typography defaults
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-heading);
  overflow-wrap: anywhere;
}
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: var(--fw-display);
  line-height: var(--lh-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 { font-family: var(--font-display); font-size: var(--fs-h2); letter-spacing: 0.01em; text-transform: uppercase; }
h3 { font-size: var(--fs-h3); line-height: var(--lh-card); letter-spacing: var(--ls-snug); }
h4 { font-size: var(--fs-h4); letter-spacing: var(--ls-base); }

p { margin: 0; }
p, li, a, span, strong { overflow-wrap: anywhere; }

a {
  color: var(--ink);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--brand); }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
input, textarea, select { font: inherit; color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 980px) { h1 { font-size: var(--fs-h1-md); } }
@media (max-width: 720px) {
  h1 { font-size: var(--fs-h1-sm); }
  h2 { font-size: clamp(24px, 8vw, var(--fs-h2-sm)); line-height: 1.12; }
}


.faq-section {
  padding: 86px 20px;
  background: #070b16;
}

.faq-container {
  max-width: 960px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 38px;
}

.faq-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 220, 145, 0.45);
  border-radius: 999px;
  background: rgba(0, 220, 145, 0.12);
  color: #21f0a0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-title {
  margin: 0;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 3px 3px 0 #173b78;
}

.faq-subtitle {
  max-width: 720px;
  margin: 18px auto 0;
  color: #94a6d8;
  font-size: 19px;
  line-height: 1.55;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(90, 113, 168, 0.34);
  border-radius: 8px;
  background: #0d1425;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item.active {
  border-color: rgba(33, 240, 160, 0.65);
  background: #101a30;
}

.faq-question {
  width: 100%;
  min-height: 70px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 1px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #21f0a0;
  transition: transform 0.25s ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-icon::after {
  transform: rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: #aab7df;
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 62px 16px;
  }

  .faq-title {
    font-size: 30px;
    text-shadow: 2px 2px 0 #173b78;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-question {
    min-height: 64px;
    padding: 18px;
    font-size: 16px;
  }

  .faq-answer p {
    padding: 0 18px 20px;
    font-size: 15px;
  }
}
