.utility-page {
  min-height: 100%;
  overflow-x: clip;
  background:
    radial-gradient(70% 40% at 50% 0%, rgba(195, 244, 0, 0.14), transparent 70%),
    var(--yp-bg);
  color: var(--yp-text);
  display: flex;
  flex-direction: column;
}

.utility-page main {
  flex: 1;
  padding: 16px 20px 80px;
}

.utility-page a {
  color: var(--yp-lime);
}

.utility-page a:hover {
  text-decoration: underline;
}

.page-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  min-width: 0;
}

.legal-page .page-wrap {
  max-width: 1200px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yp-lime);
  margin-bottom: 14px;
}

.utility-page h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 46px;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-wrap: balance;
}

.meta {
  font-size: 14px;
  color: var(--yp-muted-dim);
  margin: 0 0 8px;
}

.meta strong {
  color: var(--yp-muted);
  font-weight: 600;
}

.lead {
  font-size: 17px;
  line-height: 27px;
  color: var(--yp-muted);
  margin: 24px 0 0;
}

.toc,
.card,
.policy-section,
.policy-highlight,
.legal-hero {
  background: rgba(30, 32, 33, 0.55);
  border: 1px solid var(--yp-line);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.legal-hero {
  display: grid;
  gap: 28px;
  align-items: stretch;
  padding: 34px;
  margin-top: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(204, 255, 0, 0.16), transparent 34%),
    rgba(30, 32, 33, 0.68);
}

.legal-hero > *,
.legal-layout > *,
.policy-stack,
.policy-section,
.toc {
  min-width: 0;
}

.legal-hero h1 {
  max-width: 760px;
}

.legal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--yp-muted);
  font-size: 14px;
}

.legal-meta-row strong {
  color: var(--yp-text);
}

.legal-highlights {
  display: grid;
  gap: 12px;
}

.policy-highlight {
  padding: 16px;
  background: rgba(18, 20, 21, 0.58);
}

.policy-highlight strong,
.policy-highlight span {
  display: block;
}

.policy-highlight strong {
  color: var(--yp-lime);
  font-size: 14px;
  margin-bottom: 6px;
}

.policy-highlight span {
  color: var(--yp-muted);
  font-size: 14px;
  line-height: 1.55;
}

.toc {
  margin: 0;
  padding: 20px 22px;
  align-self: start;
}

.toc-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--yp-muted-dim);
  margin: 0 0 12px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
  font-size: 14.5px;
  line-height: 26px;
}

.toc li {
  break-inside: avoid;
}

.toc a {
  color: var(--yp-muted);
  overflow-wrap: anywhere;
}

.toc a:hover {
  color: var(--yp-lime);
}

.legal-layout {
  display: grid;
  gap: 22px;
  margin-top: 24px;
  align-items: start;
}

.policy-stack {
  display: grid;
  gap: 18px;
}

.legal-page .policy-section {
  margin-top: 0;
  padding: 24px;
  scroll-margin-top: 88px;
  overflow: hidden;
}

.utility-page h2 {
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yp-line);
}

.utility-page h2 .num {
  color: var(--yp-lime);
  font-weight: 800;
  margin-right: 10px;
}

.utility-page h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}

.utility-page p,
.utility-page li {
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: anywhere;
}

.utility-page p {
  margin: 0 0 14px;
  color: var(--yp-text);
}

.utility-page ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.utility-page li {
  margin-bottom: 8px;
}

.utility-page li::marker {
  color: var(--yp-lime);
}

.utility-page strong {
  color: #f2f4ea;
  font-weight: 700;
}

.card {
  margin: 20px 0;
  padding: 20px 22px;
}

.card.warn {
  border-color: rgba(195, 244, 0, 0.35);
  background: rgba(195, 244, 0, 0.05);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 16px 0;
  border-radius: 12px;
  border: 1px solid var(--yp-line);
  -webkit-overflow-scrolling: touch;
}

.utility-page table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}

.utility-page th,
.utility-page td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--yp-line);
  vertical-align: top;
}

.utility-page th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: var(--yp-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.utility-page tr:last-child td {
  border-bottom: 0;
}

.contact-box {
  margin-top: 8px;
  font-size: 16px;
  line-height: 28px;
}

.contact-box strong {
  display: inline-block;
  min-width: 130px;
  color: var(--yp-muted);
  font-weight: 600;
}

.verified-page {
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(195, 244, 0, 0.18), transparent 70%),
    var(--yp-bg);
}

.verified-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px;
}

.verified-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--yp-text) !important;
  font-size: 18px;
  font-weight: 800;
}

.verified-brand:hover {
  text-decoration: none;
}

.verified-page main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 96px 20px 72px;
}

.verified-card {
  width: 100%;
  max-width: 460px;
  text-align: center;
  background: rgba(30, 32, 33, 0.6);
  border: 1px solid var(--yp-line);
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px 32px 40px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.verified-card .eyebrow {
  margin-bottom: 24px;
}

.ring {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(195, 244, 0, 0.08);
  border: 2px solid var(--yp-lime);
  box-shadow: 0 0 0 8px rgba(195, 244, 0, 0.05), 0 4px 28px rgba(195, 244, 0, 0.18);
  animation: ring-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.ring svg {
  width: 46px;
  height: 46px;
}

.ring path {
  fill: none;
  stroke: var(--yp-lime);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.45s 0.28s ease-out forwards;
}

.verified-card h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 12px;
}

.sub {
  font-size: 16px;
  line-height: 24px;
  color: var(--yp-muted);
  margin: 0 auto 32px;
  max-width: 34ch;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 18px 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  color: #161e00;
  background: var(--yp-lime);
  border-radius: 3rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.utility-page .cta,
.utility-page .cta span,
.utility-page .cta svg {
  color: #111111 !important;
}

.cta:hover {
  background: var(--yp-lime-dim);
  box-shadow: 0 6px 24px rgba(195, 244, 0, 0.18);
  text-decoration: none;
}

.cta:active {
  transform: translateY(1px);
}

.cta svg {
  width: 18px;
  height: 18px;
}

.home-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--yp-muted-dim);
  transition: color 0.15s ease;
}

.home-link:hover {
  color: var(--yp-muted);
}

.spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 3px solid rgba(195, 244, 0, 0.18);
  border-top-color: var(--yp-lime);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ring-in {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ring,
  .ring path {
    animation: none;
  }

  .ring path {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 560px) {
  .utility-page h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .utility-page h2 {
    font-size: 21px;
  }

  .toc ol {
    columns: 1;
  }

  .utility-page main {
    padding: 12px 18px 64px;
  }
}

@media (min-width: 900px) {
  .legal-hero {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  }

  .legal-layout {
    grid-template-columns: 290px minmax(0, 1fr);
  }

  .toc {
    position: sticky;
    top: 86px;
  }

  .toc ol {
    columns: 1;
  }
}

@media (max-width: 420px) {
  .verified-card {
    padding: 40px 22px 32px;
  }

  .verified-card h1 {
    font-size: 28px;
    line-height: 34px;
  }
}
