.page-faq {
  --faq-card-line: 1px solid rgba(245, 247, 250, 0.14);
  position: relative;
  overflow-x: clip;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
}

.page-faq .breadcrumb {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 16px clamp(16px, 4vw, 24px) 0;
}

.faq-hero {
  position: relative;
  display: grid;
  gap: 28px;
  align-items: end;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 28px clamp(16px, 4vw, 24px) 40px;
}

.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 78, 0, 0.16) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(45deg, rgba(0, 255, 136, 0.06) 0%, rgba(0, 0, 0, 0) 60%);
}

.faq-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 220px;
  height: 220px;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 49.5%, rgba(255, 78, 0, 0.14) 50% 50.5%, transparent 51%),
    linear-gradient(45deg, transparent 0 49.5%, rgba(0, 255, 136, 0.1) 50% 50.5%, transparent 51%);
  background-size: 22px 22px;
}

.faq-hero > * {
  position: relative;
  z-index: 1;
}

.faq-hero-main {
  min-width: 0;
}

.faq-hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.faq-hero-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--grad-fire);
  flex: 0 0 34px;
}

.faq-hero h1 {
  margin: 0 0 16px;
  max-width: 900px;
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.2rem + 3.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.faq-hero-lead {
  max-width: 720px;
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.75;
}

.faq-hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
}

.faq-hero-trust::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--black);
  background: var(--green);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 18px;
}

.faq-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.faq-hero-metric {
  border: var(--faq-card-line);
  background: var(--card-bg);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.faq-hero-metric dt {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.faq-hero-metric dd {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.faq-hero-metric:first-child dd {
  color: var(--green);
}

.faq-topics {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 8px clamp(16px, 4vw, 24px) 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.faq-topics-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  margin-right: 2px;
  color: var(--orange);
}

.faq-topics-label::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--green);
  margin-top: 2px;
}

.faq-topic-link {
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 14px;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s;
}

.faq-topic-link:hover,
.faq-topic-link:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
  box-shadow: 0 4px 16px rgba(255, 78, 0, 0.16);
  outline: none;
}

.faq-note-bar {
  max-width: var(--content-max);
  margin: 0 auto 8px;
  padding: 12px clamp(16px, 4vw, 24px);
  border-left: 4px solid var(--green);
  background: rgba(0, 255, 136, 0.06);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.faq-note-bar strong {
  color: var(--text);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--content-max);
  margin-inline: auto;
  padding: 16px clamp(16px, 4vw, 24px) 64px;
}

.faq-main {
  min-width: 0;
}

.faq-index {
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  align-self: start;
}

.faq-index-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
}

.faq-index-title::after {
  content: "";
  width: 46px;
  height: 4px;
  background: var(--grad-fire);
  flex: 0 0 46px;
}

.faq-index-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.faq-index-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-left: 3px solid transparent;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.faq-index-list a:hover,
.faq-index-list a:focus-visible {
  background: rgba(255, 78, 0, 0.08);
  border-left-color: var(--orange);
  color: var(--orange);
  outline: none;
}

.faq-index-list span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.04em;
}

.faq-index-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.faq-section {
  padding-top: 8px;
}

.faq-section + .faq-section {
  margin-top: 56px;
  border-top: 1px dashed var(--border);
  padding-top: 44px;
}

.faq-section-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.faq-section-no {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 42px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.faq-section-no::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin-bottom: 10px;
  background: var(--orange);
}

.faq-section-title-wrap {
  min-width: 0;
}

.faq-section-head h2 {
  margin: 0 0 6px;
  font-family: var(--font-head);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 800;
  line-height: 1.1;
}

.faq-section-head p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.6;
}

.faq-section-sub {
  margin-left: auto;
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.faq-acc-list {
  display: grid;
  gap: 12px;
}

.faq-acc {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.faq-section-feature .faq-acc {
  border-left-color: var(--yellow);
}

.faq-section-plan .faq-acc {
  border-left-color: var(--green);
}

.faq-acc:hover {
  border-color: rgba(255, 78, 0, 0.5);
  border-left-color: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
}

.faq-acc[open] {
  border-left-color: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.faq-acc summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  user-select: none;
}

.faq-acc summary::-webkit-details-marker {
  display: none;
}

.faq-acc-index {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 78, 0, 0.12);
  color: var(--orange);
  border: 1px solid rgba(255, 78, 0, 0.35);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-acc[open] .faq-acc-index {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}

.faq-acc summary h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.faq-acc .tag {
  flex-shrink: 0;
  white-space: nowrap;
}

.faq-acc-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  position: relative;
  border: 1px solid var(--text-dim);
  color: var(--green);
}

.faq-acc-icon::before,
.faq-acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
}

.faq-acc-icon::before {
  width: 12px;
  height: 2px;
}

.faq-acc-icon::after {
  width: 2px;
  height: 12px;
}

.faq-acc[open] .faq-acc-icon::after {
  opacity: 0;
}

.faq-acc-body {
  padding: 14px 16px 18px;
  border-top: 1px dashed var(--border);
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
}

.faq-acc-body p {
  margin: 0 0 10px;
}

.faq-acc-body p:last-child {
  margin-bottom: 0;
}

.faq-acc[open] .faq-acc-body {
  animation: faq-fade-in 0.2s ease;
}

@keyframes faq-fade-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-plot {
  position: relative;
  margin: 28px 0;
  border: 1px solid var(--border);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.faq-plot::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  border-top: 46px solid var(--orange);
  border-left: 46px solid transparent;
}

.faq-plot-plan::after {
  border-top-color: var(--green);
}

.faq-plot img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.faq-plot figcaption {
  padding: 12px 16px;
  border-top: 1px dashed var(--border);
  background: var(--black);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
}

.faq-section-feature .faq-plot {
  margin-left: auto;
  max-width: 480px;
}

.faq-section-plan .faq-plot {
  margin-right: auto;
  max-width: 480px;
}

.faq-help-grid {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.faq-help-card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--orange);
  background: var(--card-bg);
  padding: 20px 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-help-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.faq-help-card-mail {
  border-top-color: var(--green);
}

.faq-help-card-phone {
  border-top-color: var(--orange);
}

.faq-help-card-address {
  border-top-color: var(--yellow);
}

.faq-help-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.faq-help-value {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
  word-break: break-all;
}

.faq-help-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.faq-help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.faq-help-links .btn {
  text-decoration: none;
}

@media (max-width: 979px) {
  .faq-index {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }

  .faq-index-title {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 16px;
  }

  .faq-index-title::after {
    display: none;
  }

  .faq-index-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-index-list a {
    border: 1px solid var(--border);
    border-left: 1px solid var(--border);
    background: var(--card-bg);
    border-radius: 999px;
    padding: 6px 12px;
  }

  .faq-index-list a:hover {
    border-color: var(--orange);
    border-left-color: var(--orange);
  }

  .faq-index-list span {
    display: none;
  }

  .faq-index-note {
    display: none;
  }
}

@media (max-width: 640px) {
  .faq-acc summary {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 12px;
  }

  .faq-acc-index {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .faq-acc summary h3 {
    flex: 1 1 calc(100% - 100px);
    font-size: 16px;
  }

  .faq-acc .tag {
    order: 3;
    margin-left: 48px;
  }

  .faq-acc-icon {
    order: 4;
    margin-left: auto;
  }

  .faq-acc-body {
    padding: 12px;
    font-size: 13px;
  }

  .faq-help-value {
    font-size: 16px;
  }
}

@media (min-width: 640px) {
  .faq-acc summary {
    padding: 16px 20px;
  }

  .faq-acc-body {
    padding: 16px 20px 20px 76px;
  }
}

@media (min-width: 720px) {
  .faq-help-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 780px) {
  .faq-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 36%);
  }

  .faq-hero-metrics {
    gap: 12px;
  }

  .faq-hero-metric {
    padding: 22px 12px;
  }

  .faq-hero-metric dd {
    font-size: 34px;
  }
}

@media (min-width: 980px) {
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 40px;
  }

  .faq-index {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 88px;
  }

  .faq-main {
    grid-column: 1;
    grid-row: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-acc,
  .faq-index-list a,
  .faq-topic-link,
  .faq-help-card {
    transition: none;
  }

  .faq-acc[open] .faq-acc-body {
    animation: none;
  }
}
