.page-faq {
  --faq-line: rgba(159, 231, 236, 0.18);
  --faq-card: rgba(8, 59, 82, 0.62);
  --faq-card-deep: rgba(4, 30, 43, 0.78);
  background: var(--ink-950);
  color: var(--white);
  overflow-x: clip;
  font-family: var(--font-body);
}

.page-faq h1,
.page-faq h2,
.page-faq h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.01em;
}

.page-faq p {
  margin: 0;
  line-height: 1.75;
}

.page-faq img {
  display: block;
  max-width: 100%;
  height: auto;
}

.page-faq a {
  color: var(--pool-200);
}

.page-faq .crumbs {
  padding: 0;
  margin: 0 0 18px;
}

.page-faq .crumbs a {
  color: var(--pool-200);
}

.page-faq .eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pool-500);
}

/* ---------- hero ---------- */
.faq-hero {
  position: relative;
  padding: clamp(26px, 6vw, 58px) var(--gutter) clamp(38px, 7vw, 84px);
  background:
    radial-gradient(120% 90% at 88% 4%, rgba(15, 181, 201, 0.32), transparent 62%),
    linear-gradient(158deg, var(--ink-800) 0%, var(--ink-950) 72%);
  overflow: hidden;
}

.faq-hero::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 34%;
  width: 130%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(228, 255, 87, 0.5), transparent);
  transform: rotate(-14deg);
  pointer-events: none;
}

.faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(26px, 5vw, 52px);
}

.faq-hero__lead h1 {
  font-size: clamp(30px, 7.4vw, 62px);
  max-width: 15em;
  text-shadow: 0 10px 40px rgba(4, 30, 43, 0.55);
}

.faq-hero__intro {
  margin-top: 18px;
  max-width: 40em;
  font-size: clamp(15px, 2.6vw, 17px);
  color: var(--pool-200);
}

.faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.faq-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--pool-200);
}

.faq-hero__meta li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.faq-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--lemon-400);
}

.faq-hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
  box-shadow: 0 34px 70px rgba(4, 30, 43, 0.6);
}

.faq-hero__media img {
  width: 100%;
  height: clamp(200px, 46vw, 420px);
  object-fit: cover;
}

/* ---------- sticky filter ---------- */
.faq-filter {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px var(--gutter);
  background: rgba(4, 30, 43, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--faq-line);
  border-bottom: 1px solid var(--faq-line);
}

.faq-filter__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite-500);
}

.faq-filter__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 2px 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.faq-filter__list::-webkit-scrollbar {
  display: none;
}

.faq-filter__list a {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-decoration: none;
  color: var(--pool-200);
  transition: background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease);
}

.faq-filter__list a:hover,
.faq-filter__list a:focus-visible {
  background: var(--pool-500);
  border-color: transparent;
  color: var(--ink-950);
}

/* ---------- section shell ---------- */
.faq-section {
  padding: clamp(46px, 8vw, 92px) var(--gutter);
}

.faq-lanes__head,
.faq-tags__head {
  max-width: 44em;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.faq-lanes__head h2,
.faq-tags__head h2,
.faq-notice__lead h2,
.faq-support h2,
.item3__head h2 {
  font-size: clamp(24px, 5vw, 36px);
}

.faq-lanes__head p,
.faq-tags__head p {
  margin-top: 14px;
  color: var(--pool-200);
}

/* ---------- lanes ---------- */
.lanes {
  display: grid;
  gap: 14px;
}

.lane {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  padding: 20px 18px 20px 16px;
  border: 1px solid var(--faq-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(142deg, var(--faq-card), var(--faq-card-deep));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.lane:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.lane__index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--pool-500);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
}

.lane__body {
  min-width: 0;
}

.lane__body h3 {
  font-size: clamp(17px, 3.4vw, 20px);
  color: var(--white);
}

.lane__body > p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--pool-200);
}

.lane__points {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.lane__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: rgba(247, 252, 253, 0.84);
}

.lane__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--lemon-400);
}

.lane__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--coral-500);
  border-bottom: 1px solid transparent;
  transition: border-color 0.28s var(--ease);
}

.lane__link::after {
  content: " →";
}

.lane__link:hover,
.lane__link:focus-visible {
  border-color: var(--coral-500);
}

/* ---------- item 3 ---------- */
.faq-item3 {
  background:
    linear-gradient(180deg, rgba(15, 181, 201, 0.12), transparent 42%),
    var(--ink-900);
  border-top: 1px solid var(--faq-line);
  border-bottom: 1px solid var(--faq-line);
}

.item3__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(26px, 4vw, 44px);
}

.item3__head p {
  margin-top: 14px;
  max-width: 40em;
  color: var(--pool-200);
}

.item3__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 107, 74, 0.35);
}

.item3__media img {
  width: 100%;
  height: clamp(160px, 40vw, 220px);
  object-fit: cover;
}

.item3__grid {
  display: grid;
  gap: 16px;
}

.item3__panel {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(8, 59, 82, 0.9), rgba(4, 30, 43, 0.86));
  border: 1px solid var(--faq-line);
}

.item3__panel h3 {
  font-size: clamp(17px, 3.6vw, 21px);
  color: var(--white);
}

.item3__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: var(--coral-500);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(255, 107, 74, 0.32);
}

.steps {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
}

.steps__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--pool-200);
}

.steps strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.steps p {
  margin-top: 5px;
  font-size: 14px;
  color: var(--pool-200);
}

.item3__foot {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 3px solid var(--lemon-400);
  background: rgba(228, 255, 87, 0.07);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  color: rgba(247, 252, 253, 0.88);
}

/* ---------- notice ---------- */
.faq-notice__grid {
  display: grid;
  gap: clamp(24px, 4vw, 46px);
}

.faq-notice__lead p {
  margin-top: 14px;
  max-width: 38em;
  color: var(--pool-200);
}

.faq-notice__lead p a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--pool-500);
  text-underline-offset: 3px;
}

.faq-notice__lead .btn {
  margin-top: 22px;
}

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

.faq-notice__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(159, 231, 236, 0.06);
  border: 1px dashed var(--line-strong);
}

.faq-notice__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: var(--radius-pill);
  background: var(--lemon-400);
  box-shadow: 0 0 0 4px rgba(228, 255, 87, 0.16);
}

.faq-notice__list h3 {
  font-size: 15px;
  color: var(--white);
}

.faq-notice__list p {
  margin-top: 5px;
  font-size: 13px;
  color: var(--pool-200);
}

/* ---------- tags / paper ---------- */
.faq-tags {
  background: var(--paper-100);
  color: var(--graphite-900);
}

.faq-tags .eyebrow {
  color: var(--coral-600);
}

.faq-tags__head p {
  color: var(--graphite-500);
}

.faq-tabs {
  border-top: 1px solid rgba(28, 35, 41, 0.14);
  padding-top: 18px;
}

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

.faq-tab {
  padding: 10px 20px;
  border: 1px solid rgba(28, 35, 41, 0.2);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--graphite-900);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.26s var(--ease), color 0.26s var(--ease), border-color 0.26s var(--ease);
}

.faq-tab:hover,
.faq-tab:focus-visible {
  border-color: var(--ink-950);
}

.faq-tab[aria-selected="true"] {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: var(--white);
}

.faq-panel {
  padding-top: 24px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel h3 {
  font-size: clamp(18px, 3.6vw, 22px);
  color: var(--ink-950);
}

.steps--paper .steps__dot {
  border-color: rgba(28, 35, 41, 0.28);
  color: var(--ink-950);
}

.steps--paper strong {
  color: var(--ink-950);
}

.steps--paper p {
  color: var(--graphite-500);
}

.faq-panel__note {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--paper-200);
  font-size: 14px;
  color: var(--graphite-900);
}

/* ---------- support ---------- */
.faq-support {
  background:
    radial-gradient(90% 80% at 10% 0%, rgba(15, 181, 201, 0.22), transparent 60%),
    var(--ink-950);
}

.faq-support__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.faq-support h2 {
  font-size: clamp(24px, 5vw, 34px);
}

.faq-support p {
  margin-top: 14px;
  max-width: 34em;
  color: var(--pool-200);
}

.faq-support .btn {
  margin-top: 22px;
}

.faq-support__aside {
  font-size: 13px;
  color: var(--graphite-500);
}

.faq-support__aside a {
  color: var(--pool-500);
  text-underline-offset: 3px;
}

.faq-support__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  align-content: start;
}

.faq-support__list li {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--faq-line);
  background: rgba(8, 59, 82, 0.55);
}

.faq-support__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--graphite-500);
}

.faq-support__value {
  font-family: var(--font-mono);
  font-size: clamp(14px, 3.4vw, 17px);
  font-weight: 700;
  color: var(--lemon-400);
  overflow-wrap: anywhere;
}

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .lanes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lane--wide {
    grid-column: 1 / -1;
  }

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

  .faq-notice__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .faq-support__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
  }
}

@media (min-width: 960px) {
  .faq-hero__grid {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
    align-items: end;
  }

  .faq-hero__media img {
    height: clamp(320px, 34vw, 460px);
  }

  .item3__head {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: center;
    gap: 36px;
  }

  .item3__media img {
    height: 240px;
  }

  .lane {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 24px 24px 24px 20px;
  }

  .faq-filter__label {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .lane,
  .page-faq .faq-tab,
  .page-faq .faq-filter__list a {
    transition: none;
  }

  .page-faq .lane:hover {
    transform: none;
  }
}
