.page-faq {
  --faq-line: rgba(217, 230, 225, 0.18);
  --faq-soft: rgba(244, 251, 248, 0.07);
  --faq-body: rgba(244, 251, 248, 0.82);
  background:
    radial-gradient(circle at 88% 0, rgba(30, 111, 168, 0.22), transparent 32rem),
    var(--pitch);
  color: var(--snow);
  padding: clamp(24px, 5vw, 56px) 0 clamp(56px, 8vw, 96px);
}

.page-faq .breadcrumbs {
  color: var(--mist);
  font-size: 0.8rem;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.page-faq .breadcrumbs a {
  color: var(--snow);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.page-faq .breadcrumbs a:hover {
  border-bottom-color: var(--screen);
}

.guide-hero {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.hero-main {
  border-left: 3px solid var(--signal);
  padding-left: clamp(18px, 3vw, 34px);
}

.page-faq .eyebrow {
  color: var(--signal);
  font-family: var(--font-data);
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  margin: 0 0 14px;
}

.guide-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 8vw, 5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--snow);
  max-width: 12em;
}

.hero-lead {
  margin: clamp(18px, 3vw, 26px) 0 0;
  max-width: 46rem;
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.78;
  color: var(--faq-body);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 30px);
}

.hero-note {
  background: linear-gradient(155deg, rgba(13, 58, 45, 0.96), var(--panel-deep));
  border: 1px solid var(--faq-line);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  padding: clamp(20px, 3vw, 28px);
}

.hero-note-label {
  margin: 0 0 14px;
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}

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

.hero-note-list li {
  position: relative;
  padding-left: 18px;
  color: var(--faq-body);
  font-size: 0.92rem;
  line-height: 1.7;
}

.hero-note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--signal);
}

.status-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--faq-line);
  border-bottom: 1px solid var(--faq-line);
}

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

.status-item:first-child {
  border-left: 0;
}

.page-faq .stat-number {
  display: block;
  color: var(--screen);
  font-family: var(--font-data);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status-label {
  display: block;
  margin-top: 6px;
  color: var(--mist);
  font-size: 0.78rem;
  line-height: 1.5;
}

.guide-layout {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(40px, 7vw, 80px);
}

.guide-toc {
  border-top: 1px solid var(--faq-line);
  padding-top: 16px;
}

.toc-label {
  margin: 0 0 12px;
  color: var(--mist);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.toc-list {
  list-style: none;
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin: 0;
  padding: 0 0 4px;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 12px;
  border: 1px solid var(--faq-line);
  color: var(--mist);
  text-decoration: none;
  font-size: 0.86rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.toc-link span {
  color: var(--signal);
  font-family: var(--font-data);
  font-size: 0.68rem;
}

.toc-link:hover {
  color: var(--snow);
  border-color: var(--screen);
}

.toc-aside {
  display: none;
}

.guide-section {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.guide-section + .guide-section {
  margin-top: clamp(48px, 8vw, 80px);
  padding-top: clamp(30px, 5vw, 46px);
  border-top: 1px solid var(--faq-line);
}

.page-faq .section-kicker {
  color: var(--signal);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}

.page-faq .section-title {
  color: var(--snow);
  font-size: clamp(1.55rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.guide-body p {
  margin: 0 0 1em;
  color: var(--faq-body);
  line-height: 1.78;
  font-size: 0.98rem;
}

.guide-body strong {
  color: var(--snow);
}

.text-link {
  color: var(--screen);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--amber);
}

.step-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step-card {
  background: linear-gradient(155deg, var(--panel), var(--panel-deep));
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  padding: 24px 20px 22px;
}

.step-num {
  display: block;
  color: var(--signal);
  font-family: var(--font-data);
  font-size: 2.25rem;
  line-height: 1;
  font-weight: 700;
}

.step-card:nth-child(2) .step-num {
  color: var(--screen);
}

.step-card:nth-child(3) .step-num {
  color: var(--amber);
}

.step-title {
  margin: 14px 0 8px;
  color: var(--snow);
  font-size: 1.05rem;
  line-height: 1.4;
}

.step-text {
  margin: 0 0 16px;
  color: var(--mist);
  font-size: 0.9rem;
  line-height: 1.72;
}

.step-link {
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 0.8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--faq-line);
  padding-bottom: 2px;
}

.step-link:hover {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.guide-figure {
  margin: 24px 0 0;
  padding: 10px;
  background: var(--night);
  border: 1px solid var(--faq-line);
}

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

.guide-figure figcaption {
  padding: 10px 2px 2px;
  color: var(--mist);
  font-size: 0.76rem;
  line-height: 1.6;
}

.subhead {
  margin: 28px 0 12px;
  color: var(--snow);
  font-size: 1.05rem;
  line-height: 1.4;
}

.action-list {
  counter-reset: action;
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
  padding: 0;
}

.action-item {
  counter-increment: action;
  position: relative;
  padding: 14px 16px 14px 52px;
  background: var(--faq-soft);
  border-left: 2px solid var(--plateau);
  color: var(--faq-body);
  font-size: 0.94rem;
  line-height: 1.72;
}

.action-item::before {
  content: counter(action, decimal-leading-zero);
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 0.8rem;
}

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

.update-list li {
  position: relative;
  padding-left: 18px;
  color: var(--faq-body);
  line-height: 1.72;
  font-size: 0.94rem;
}

.update-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--signal);
}

.table-caption {
  margin: 24px 0 10px;
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--faq-line);
  background: var(--night);
}

.page-faq .data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.page-faq .data-table th {
  padding: 12px 14px;
  text-align: left;
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--faq-line);
  white-space: nowrap;
}

.page-faq .data-table td {
  padding: 12px 14px;
  color: var(--faq-body);
  border-bottom: 1px solid var(--faq-line);
  line-height: 1.6;
}

.page-faq .data-table tr:last-child td {
  border-bottom: 0;
}

.page-faq .data-table tbody tr:hover {
  background: rgba(0, 214, 154, 0.06);
}

.page-faq .data-table .is-num {
  font-family: var(--font-data);
  color: var(--snow);
}

.mail-template {
  margin: 18px 0;
  padding: 18px;
  background: var(--night);
  border: 1px solid var(--faq-line);
  border-left: 3px solid var(--signal);
  color: var(--snow);
  font-family: var(--font-data);
  font-size: 0.84rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.mail-line {
  margin: 0 0 6px;
}

.mail-line:last-child {
  margin-bottom: 0;
}

.mail-label {
  display: inline-block;
  min-width: 4.6em;
  color: var(--signal);
}

.contact-inline {
  color: var(--faq-body);
}

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

.faq-fold {
  border-bottom: 1px solid var(--faq-line);
}

.faq-fold summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--snow);
  font-weight: 700;
  line-height: 1.6;
}

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

.faq-fold summary::after {
  content: "+";
  color: var(--screen);
  font-family: var(--font-data);
  font-size: 1.2rem;
  line-height: 1;
  padding-top: 2px;
}

.faq-fold[open] summary::after {
  content: "–";
  color: var(--signal);
}

.faq-a {
  padding: 0 0 20px;
  color: var(--mist);
  font-size: 0.93rem;
  line-height: 1.75;
}

.faq-a p {
  margin: 0;
}

.next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 8vw, 84px);
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(120deg, rgba(30, 111, 168, 0.28), rgba(0, 214, 154, 0.1));
  border: 1px solid var(--faq-line);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.next-step .section-kicker {
  margin-bottom: 8px;
}

.next-step h2 {
  margin: 0 0 8px;
  color: var(--snow);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.next-step p {
  margin: 0;
  max-width: 36rem;
  color: var(--faq-body);
  line-height: 1.7;
}

.next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 760px) {
  .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .guide-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  }

  .guide-layout {
    grid-template-columns: 246px minmax(0, 1fr);
    align-items: start;
  }

  .guide-toc {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    border-top: 0;
    padding-top: 0;
  }

  .toc-list {
    display: block;
    overflow: visible;
    padding-bottom: 0;
  }

  .toc-link {
    border: 0;
    border-left: 2px solid transparent;
    padding: 8px 0 8px 12px;
  }

  .toc-link:hover {
    border-left-color: var(--screen);
  }

  .toc-aside {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--faq-line);
  }

  .toc-aside-title {
    margin: 0 0 2px;
    color: var(--mist);
    font-family: var(--font-data);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .toc-aside a {
    color: var(--faq-body);
    text-decoration: none;
    font-size: 0.84rem;
  }

  .toc-aside a:hover {
    color: var(--screen);
  }
}

@media (max-width: 600px) {
  .status-item {
    border-left: 0;
    border-top: 1px solid var(--faq-line);
  }

  .status-item:first-child {
    border-top: 0;
  }

  .hero-note {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
  }

  .next-step {
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  }
}
