.page-faq {
  --faq-radius: 2px;
  --faq-ring: 0 0 0 2px var(--yellow);
  background: var(--fog);
  color: var(--ink);
}

.page-faq a {
  color: inherit;
}

.page-faq .faq-hero {
  position: relative;
  padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(245, 197, 24, 0.16), transparent 62%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink) 58%, var(--ink-2) 100%);
  color: var(--fog);
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -36%;
  width: min(560px, 66vw);
  aspect-ratio: 1;
  border: 1px dashed var(--line-light);
  border-radius: 50%;
  pointer-events: none;
}

.page-faq .faq-crumbs {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(20px, 4vw, 36px);
  color: rgba(244, 246, 248, 0.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.page-faq .yy-crumbs__item:hover {
  color: var(--mint);
}

.page-faq .faq-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.page-faq .faq-hero__copy .yy-kicker {
  color: var(--yellow);
}

.page-faq .faq-hero__copy .yy-h1 {
  margin: 14px 0 18px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  max-width: 15em;
}

.page-faq .faq-hero__lead {
  max-width: 34em;
  color: rgba(244, 246, 248, 0.78);
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.8;
}

.page-faq .faq-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 34px);
}

.page-faq .faq-hero__figure {
  margin: 0;
  position: relative;
}

.page-faq .faq-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--faq-radius);
  filter: saturate(0.85) contrast(1.05);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
}

.page-faq .faq-hero__figure::before {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  width: 64px;
  height: 64px;
  border-top: 3px solid var(--yellow);
  border-right: 3px solid var(--yellow);
  pointer-events: none;
}

.page-faq .faq-hero__cap {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244, 246, 248, 0.55);
}

.page-faq .faq-body {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 7vw, 96px);
}

.page-faq .faq-shell {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
}

.page-faq .faq-legend {
  position: static;
  align-self: start;
  padding: 18px 18px 16px;
  background: var(--ink);
  color: var(--fog);
  border-radius: var(--faq-radius);
  border-left: 4px solid var(--yellow);
}

.page-faq .faq-legend__title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.6);
}

.page-faq .faq-legend__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.page-faq .faq-legend__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  font-size: 14px;
  border-radius: var(--faq-radius);
  cursor: pointer;
  transition: background 220ms var(--ease);
}

.page-faq .faq-legend__item:hover,
.page-faq .faq-legend__item:focus-visible {
  background: rgba(244, 246, 248, 0.08);
  outline: none;
}

.page-faq .faq-legend__name {
  flex: 1;
}

.page-faq .faq-legend__code {
  font-size: 11px;
  color: rgba(244, 246, 248, 0.5);
}

.page-faq .faq-legend__note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(244, 246, 248, 0.5);
}

.page-faq .faq-main {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  min-width: 0;
}

.page-faq .yy-section__head .yy-h2,
.page-faq .faq-steps__head .yy-h2,
.page-faq .faq-more .yy-h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 4.4vw, 38px);
  line-height: 1.18;
}

.page-faq .yy-section__head .yy-text {
  max-width: 40em;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.8;
}

.page-faq .faq-tiles {
  display: grid;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
}

.page-faq .faq-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 3.4vw, 28px);
  text-decoration: none;
  border-radius: var(--faq-radius);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), opacity 260ms var(--ease);
  border-left: 5px solid var(--yellow);
}

.page-faq .faq-tile--nav {
  background: var(--ink);
  color: var(--fog);
  border-left-color: var(--yellow);
}

.page-faq .faq-tile--news {
  background: var(--sand);
  color: var(--ink);
  border-left-color: var(--orange);
}

.page-faq .faq-tile--test {
  background: var(--ink-2);
  color: var(--fog);
  border-left-color: var(--red);
}

.page-faq .faq-tile--sub {
  background: var(--fog);
  color: var(--ink);
  border-left-color: var(--mint);
  box-shadow: inset 0 0 0 1px var(--line);
}

.page-faq .faq-tile:hover,
.page-faq .faq-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -26px rgba(14, 27, 44, 0.55);
  outline: none;
}

.page-faq .faq-tile:focus-visible {
  box-shadow: var(--faq-ring);
}

.page-faq .faq-tile .yy-tile__idx {
  font-size: 11px;
  letter-spacing: 0.16em;
  opacity: 0.62;
}

.page-faq .faq-tile .yy-tile__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.25;
}

.page-faq .faq-tile .yy-tile__text {
  font-size: 14.5px;
  line-height: 1.75;
  opacity: 0.82;
}

.page-faq .faq-tile__qs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px dashed currentColor;
}

.page-faq .faq-tile__qs > span {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  opacity: 0.85;
}

.page-faq .faq-tile__qs > span::before {
  content: "›";
  position: absolute;
  left: 2px;
  font-family: var(--font-mono);
  opacity: 0.7;
}

.page-faq .faq-tile__foot {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mint);
}

.page-faq .faq-tile--news .faq-tile__foot {
  color: #9a5b12;
}

.page-faq .faq-tile--sub .faq-tile__foot {
  color: #12805f;
}

.page-faq .faq-tile:hover .faq-tile__foot span,
.page-faq .faq-tile:focus-visible .faq-tile__foot span {
  transform: translateX(4px);
  display: inline-block;
  transition: transform 220ms var(--ease);
}

.page-faq .faq-tile.is-dim {
  opacity: 0.32;
  transform: none;
}

.page-faq .faq-tile.is-lit {
  box-shadow: 0 0 0 3px var(--yellow), 0 22px 40px -26px rgba(14, 27, 44, 0.55);
}

.page-faq .faq-steps-section {
  padding: clamp(28px, 5vw, 44px) clamp(20px, 4vw, 40px);
  border-radius: var(--faq-radius);
}

.page-faq .faq-steps {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
}

.page-faq .faq-steps__head .yy-text {
  max-width: 36em;
  color: #4a4132;
  line-height: 1.8;
}

.page-faq .faq-steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.page-faq .faq-step {
  position: relative;
  padding: 20px 22px 20px 26px;
  background: rgba(255, 255, 255, 0.62);
  border-left: 4px solid var(--ink);
  border-radius: var(--faq-radius);
}

.page-faq .faq-step::after {
  content: "";
  position: absolute;
  left: 26px;
  bottom: -16px;
  width: 1px;
  height: 16px;
  border-left: 1px dashed var(--ink);
  opacity: 0.35;
}

.page-faq .faq-step:last-child::after {
  display: none;
}

.page-faq .faq-step__num {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--graphite);
}

.page-faq .faq-step .yy-h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2.8vw, 21px);
}

.page-faq .faq-step__text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: #3d372c;
}

.page-faq .faq-step__text a {
  color: #0d5f47;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page-faq .faq-step__text a:hover {
  color: var(--ink);
}

.page-faq .faq-steps__figure {
  margin: 0;
}

.page-faq .faq-steps__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 2;
  object-fit: cover;
  border-radius: var(--faq-radius);
  filter: grayscale(0.25) contrast(1.04);
}

.page-faq .faq-qa-section .yy-section__head .yy-text {
  color: var(--graphite);
}

.page-faq .faq-qa-groups {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  margin-top: clamp(20px, 3vw, 30px);
}

.page-faq .faq-group {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.page-faq .faq-group__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.page-faq .faq-acc {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-faq .faq-acc:first-of-type {
  border-top: 1px solid var(--line);
}

.page-faq .faq-acc__q {
  position: relative;
  padding: 16px 44px 16px 18px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.page-faq .faq-acc__q::-webkit-details-marker {
  display: none;
}

.page-faq .faq-acc__q::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--graphite);
  transition: transform 240ms var(--ease), color 240ms var(--ease);
}

.page-faq .faq-acc[open] .faq-acc__q {
  background: var(--ink);
  color: var(--fog);
}

.page-faq .faq-acc[open] .faq-acc__q::after {
  content: "−";
  color: var(--yellow);
}

.page-faq .faq-acc__q:hover {
  background: rgba(245, 197, 24, 0.16);
}

.page-faq .faq-acc[open] .faq-acc__q:hover {
  background: var(--ink-2);
}

.page-faq .faq-acc__q:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: -2px;
}

.page-faq .faq-acc__a {
  padding: 14px 18px 18px;
  border-left: 3px solid var(--yellow);
  background: var(--fog);
}

.page-faq .faq-acc__a p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: #33414f;
}

.page-faq .faq-acc__a a {
  color: #0d6b50;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-acc__a a:hover {
  color: var(--ink);
}

.page-faq .faq-sub-section {
  position: relative;
  padding: clamp(30px, 5vw, 52px) clamp(20px, 4vw, 44px);
  border-radius: var(--faq-radius);
  color: var(--fog);
  overflow: hidden;
}

.page-faq .faq-sub-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--mint), var(--yellow));
}

.page-faq .faq-sub-section .yy-kicker {
  color: var(--mint);
}

.page-faq .faq-sub-section .yy-h2 {
  margin: 10px 0 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(23px, 4.2vw, 36px);
  line-height: 1.2;
  color: #fff;
}

.page-faq .faq-sub__intro {
  max-width: 40em;
  color: rgba(244, 246, 248, 0.76);
  line-height: 1.8;
}

.page-faq .faq-sub-grid {
  display: grid;
  gap: 12px;
  margin-top: clamp(22px, 4vw, 32px);
}

.page-faq .faq-sub-card {
  padding: 20px;
  background: rgba(244, 246, 248, 0.06);
  border: 1px solid var(--line-light);
  border-radius: var(--faq-radius);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}

.page-faq .faq-sub-card:hover {
  background: rgba(244, 246, 248, 0.1);
  border-color: rgba(63, 214, 168, 0.5);
}

.page-faq .faq-sub-card__code {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--mint);
}

.page-faq .faq-sub-card .yy-h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

.page-faq .faq-sub-card__text {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(244, 246, 248, 0.74);
}

.page-faq .faq-sub-note {
  border-top: 1px dashed var(--line-light);
  padding-top: 10px;
}

.page-faq .faq-sub-note__toggle {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--yellow);
  transition: color 200ms var(--ease);
}

.page-faq .faq-sub-note__toggle::-webkit-details-marker {
  display: none;
}

.page-faq .faq-sub-note__toggle::before {
  content: "＋ ";
}

.page-faq .faq-sub-note[open] .faq-sub-note__toggle::before {
  content: "－ ";
}

.page-faq .faq-sub-note__toggle:hover {
  color: var(--mint);
}

.page-faq .faq-sub-note__toggle:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.page-faq .faq-sub-note__body {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(244, 246, 248, 0.8);
}

.page-faq .faq-sub-note__body a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-faq .faq-more__grid {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
  align-items: start;
}

.page-faq .faq-more .yy-text {
  max-width: 36em;
  color: var(--graphite);
  line-height: 1.8;
}

.page-faq .faq-more__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.page-faq .faq-more__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #33414f;
}

.page-faq .faq-more__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.page-faq .faq-more__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(20px, 3vw, 28px);
}

.page-faq .faq-more__panel {
  padding: 22px;
  border-radius: var(--faq-radius);
  background: var(--ink);
  color: var(--fog);
  border-top: 4px solid var(--yellow);
}

.page-faq .faq-more__panel-code {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(244, 246, 248, 0.5);
}

.page-faq .faq-more__panel-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

.page-faq .faq-more__panel-line > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(244, 246, 248, 0.5);
}

.page-faq .faq-more__panel-line a {
  color: var(--mint);
  font-size: 15px;
  word-break: break-all;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.page-faq .faq-more__panel-line a:hover {
  border-bottom-color: var(--mint);
}

.page-faq .faq-more__panel-note {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line-light);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(244, 246, 248, 0.6);
}

@media (min-width: 600px) {
  .page-faq .faq-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-faq .faq-step::after {
    left: auto;
    right: -16px;
    top: 34px;
    bottom: auto;
    width: 16px;
    height: 1px;
    border-left: 0;
    border-top: 1px dashed var(--ink);
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero__grid {
    grid-template-columns: 5fr 7fr;
    gap: clamp(32px, 5vw, 64px);
  }

  .page-faq .faq-shell {
    grid-template-columns: 208px minmax(0, 1fr);
    align-items: start;
  }

  .page-faq .faq-legend {
    position: sticky;
    top: calc(var(--header-h) + 20px);
  }

  .page-faq .faq-qa-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 32px;
  }

  .page-faq .faq-more__grid {
    grid-template-columns: 7fr 5fr;
    gap: clamp(28px, 4vw, 56px);
  }
}

@media (min-width: 1100px) {
  .page-faq .faq-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq .faq-tile {
    min-height: 100%;
  }

  .page-faq .faq-sub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .page-faq .faq-steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .page-faq .faq-steps__figure {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: stretch;
  }

  .page-faq .faq-steps__figure img {
    height: 100%;
    aspect-ratio: auto;
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-faq .faq-tile,
  .page-faq .faq-tile__foot span,
  .page-faq .faq-sub-card,
  .page-faq .faq-acc__q,
  .page-faq .faq-acc__q::after,
  .page-faq .faq-legend__item {
    transition: none;
  }

  .page-faq .faq-tile:hover,
  .page-faq .faq-tile:focus-visible {
    transform: none;
  }

  .page-faq .faq-tile:hover .faq-tile__foot span {
    transform: none;
  }
}
