.legal-page {
  min-height: 100dvh;
  background: #091312;
}

.legal-topbar {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(207, 255, 253, 0.13);
  background: #0a1615;
}

.legal-topbar img { display: block; width: min(8rem, 28vw); height: auto; }
.legal-topbar nav, .legal-draft-nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.3rem; }
.legal-topbar nav a, .legal-draft-nav a { color: #aebbb8; font: 0.85rem/1.4 Arial, sans-serif; text-decoration: underline; text-underline-offset: 0.2em; }
.legal-topbar nav a:hover, .legal-draft-nav a:hover { color: #13e9ec; }

.legal-shell {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 0 5rem;
}

.draft-banner {
  margin: 0 0 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(237, 189, 106, 0.48);
  border-left: 4px solid #edbd6a;
  color: #f0d8ad;
  background: rgba(237, 189, 106, 0.07);
  font: 700 0.78rem/1.45 Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-copy {
  color: #d6dedb;
  font: 1rem/1.72 Arial, Helvetica, sans-serif;
}
.legal-copy h1, .legal-copy h2, .legal-copy h3, .legal-copy h4 {
  color: #f4f5f1;
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.2;
}
.legal-copy h1 { margin: 0 0 1.8rem; font-size: clamp(2.2rem, 6vw, 3.7rem); letter-spacing: -0.04em; }
.legal-copy h2 { margin: 2.25rem 0 0.8rem; padding-top: 1rem; border-top: 1px solid rgba(207, 255, 253, 0.13); font-size: 1.55rem; }
.legal-copy h3 { margin: 1.5rem 0 0.5rem; font-size: 1.2rem; }
.legal-copy h4 { margin: 1.25rem 0 0.4rem; font-size: 1.05rem; }
.legal-copy p { margin: 0.9rem 0; }
.legal-copy ul, .legal-copy ol { padding-left: 1.45rem; }
.legal-copy li { margin: 0.55rem 0; padding-left: 0.15rem; }
.legal-copy a { color: #75e5e4; text-decoration: underline; text-underline-offset: 0.18em; }
.legal-copy strong { color: #f2f4f0; }
.legal-copy .legal-review-marker { display: inline-block; margin-right: 0.4rem; padding: 0.14rem 0.38rem; border: 1px solid rgba(237, 189, 106, 0.55); border-radius: 0.2rem; background: rgba(237, 189, 106, 0.1); color: #f0c36d; font: 700 0.68rem/1.35 Arial, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; vertical-align: baseline; }
.legal-copy code { padding: 0.08rem 0.25rem; color: #c5dcda; background: #132221; font-size: 0.9em; }
.legal-copy blockquote { margin: 1rem 0; padding-left: 1rem; border-left: 2px solid #edbd6a; color: #e7d2ad; }
.legal-copy hr { margin: 2rem 0; border: 0; border-top: 1px solid rgba(207, 255, 253, 0.13); }
.legal-draft-nav { margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(207, 255, 253, 0.13); }
.legal-bottom-note { margin: 2.5rem 0 0; color: #84918e; font: 0.72rem/1.5 Arial, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 560px) {
  .legal-topbar { min-height: 66px; }
  .legal-copy { font-size: 0.96rem; }
  .legal-shell { width: min(100% - 1.5rem, 820px); }
}


.support-faq {
  margin-top: 0.5rem;
  border-bottom: 1px solid rgba(207, 255, 253, 0.13);
}

.support-faq__item {
  border-top: 1px solid rgba(207, 255, 253, 0.13);
}

.support-faq__item > summary {
  position: relative;
  padding: 1rem 2rem 1rem 0;
  color: #d6dedb;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
}

.support-faq__item > summary::-webkit-details-marker {
  display: none;
}

.support-faq__item > summary::after {
  position: absolute;
  top: 1rem;
  right: 0.2rem;
  color: #75e5e4;
  content: "+";
  font-size: 1.15rem;
  line-height: 1.2;
}

.support-faq__item[open] > summary::after {
  content: "−";
}

.support-faq__item > summary:hover,
.support-faq__item > summary:focus-visible {
  color: #75e5e4;
}

.support-faq__item > summary:focus-visible {
  outline: 2px solid #75e5e4;
  outline-offset: 3px;
}

.support-faq__answer {
  padding: 0 0 1.1rem;
}

.support-faq__answer > :first-child {
  margin-top: 0;
}

.support-faq__answer > :last-child {
  margin-bottom: 0;
}

.support-faq__table-wrap {
  margin: 1.1rem 0;
  overflow-x: auto;
  border-top: 1px solid rgba(207, 255, 253, 0.13);
  border-bottom: 1px solid rgba(207, 255, 253, 0.13);
}

.support-faq__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  line-height: 1.45;
  text-align: left;
}

.support-faq__table caption {
  padding: 0.8rem 0;
  color: #aebbb8;
  font-size: 0.82rem;
  text-align: left;
}

.support-faq__table thead {
  color: #aebbb8;
  font-size: 0.73rem;
}

.support-faq__table th,
.support-faq__table td {
  padding: 0.65rem 0.55rem;
  border-bottom: 1px solid rgba(207, 255, 253, 0.1);
  vertical-align: top;
}

.support-faq__table tbody th {
  width: 34%;
  color: #f2f4f0;
  font-weight: 600;
}

.support-faq__table td {
  color: #d6dedb;
  font-variant-numeric: tabular-nums;
}

.support-faq__table--returns td {
  white-space: nowrap;
}

.support-faq__note {
  color: #aebbb8;
  font-size: 0.9rem;
}

@media (max-width: 560px) {
  .support-faq__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .support-faq__table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(207, 255, 253, 0.1);
  }

  .support-faq__table tbody th,
  .support-faq__table tbody td {
    width: auto;
    padding: 0;
    border: 0;
  }

  .support-faq__table tbody th {
    grid-column: 1 / -1;
  }

  .support-faq__table tbody td::before {
    display: block;
    margin-bottom: 0.15rem;
    color: #91aaa5;
    content: attr(data-label);
    font-size: 0.67rem;
    font-weight: 600;
    line-height: 1.4;
  }
}
