:root {
  --page-bg: #030509;
  --page-bg-soft: #070a10;
  --page-surface: #090c12;
  --page-surface-strong: #0d1119;
  --page-text: #f7f7f5;
  --page-muted: #a9adb7;
  --page-muted-strong: #c9ccd3;
  --page-gold: #f4c84a;
  --page-gold-bright: #ffd600;
  --page-gold-deep: #b77906;
  --page-line: rgba(244, 200, 74, 0.22);
  --page-line-soft: rgba(255, 255, 255, 0.1);
  --page-danger: #ff8e8e;
  --page-container: 1240px;
  --page-header-height: 78px;
  --page-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--page-header-height) + 20px);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(244, 200, 74, 0.075), transparent 25%),
    var(--page-bg);
  color: var(--page-text);
  font-family: "Manrope", "Inter", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--page-gold);
  color: var(--page-bg);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

.access-container {
  width: min(var(--page-container), calc(100% - 80px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--page-gold);
  color: var(--page-bg);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.access-header {
  position: relative;
  z-index: 100;
  height: var(--page-header-height);
  border-bottom: 1px solid var(--page-line-soft);
  background: rgba(3, 5, 9, 0.88);
  backdrop-filter: blur(18px);
}

.access-header-inner {
  display: grid;
  height: 100%;
  grid-template-columns: 230px 1fr 230px;
  align-items: center;
}

.access-brand {
  display: inline-flex;
  width: 208px;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.access-brand img {
  width: 208px;
  height: 60px;
  object-fit: contain;
}

.access-nav {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.access-nav a {
  position: relative;
  color: var(--page-muted-strong);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.access-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  background: var(--page-gold);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.access-nav a:hover,
.access-nav a:focus-visible,
.access-nav a[aria-current="page"] {
  color: var(--page-text);
}

.access-nav a:hover::after,
.access-nav a:focus-visible::after,
.access-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.page-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms var(--page-ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.page-button:hover {
  transform: translateY(-2px);
}

.page-button-primary {
  background: linear-gradient(135deg, var(--page-gold-bright), var(--page-gold));
  color: #090a0d;
  box-shadow: 0 12px 32px rgba(244, 200, 74, 0.13);
}

.page-button-outline {
  border-color: rgba(244, 200, 74, 0.48);
  background: rgba(244, 200, 74, 0.025);
  color: var(--page-text);
}

.header-action {
  min-width: 116px;
  justify-self: end;
}

.page-button svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms var(--page-ease);
}

.page-button:hover svg {
  transform: translateX(3px);
}

.page-button:focus-visible,
.access-brand:focus-visible,
.access-nav a:focus-visible,
.auth-link:focus-visible,
.document-toc a:focus-visible,
.legal-tabs a:focus-visible,
.legal-footer a:focus-visible {
  outline: 2px solid var(--page-gold);
  outline-offset: 4px;
}

.page-orbits {
  position: absolute;
  z-index: -1;
  top: -140px;
  left: 50%;
  width: 980px;
  height: 980px;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px dashed rgba(244, 200, 74, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.page-orbit:nth-child(1) { width: 520px; animation: page-orbit 46s linear infinite; }
.page-orbit:nth-child(2) { width: 720px; animation: page-orbit 68s linear infinite reverse; }
.page-orbit:nth-child(3) { width: 920px; animation: page-orbit 92s linear infinite; }

.page-orbit-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--page-gold-bright);
  border-radius: 50%;
  background: #15140d;
  box-shadow: 0 0 18px rgba(255, 214, 0, 0.75);
  animation: page-dot-orbit 34s linear infinite;
}

.page-meta {
  position: relative;
  display: inline-grid;
  overflow: hidden;
  padding: 1px;
  border-radius: 999px;
  color: var(--page-muted-strong);
  font-size: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 12px 35px rgba(0, 0, 0, 0.28);
}

.page-meta::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 300deg, var(--page-gold) 345deg, white 360deg);
  content: "";
  animation: page-meta-spin 4.5s linear infinite;
  transform: translate(-50%, -50%);
}

.page-meta-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 7px;
  border-radius: inherit;
  background: rgba(14, 16, 20, 0.96);
}

.page-meta-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--page-gold-bright), var(--page-gold-deep));
  color: #090a0d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

/* Login */
.login-page {
  overflow-x: hidden;
}

.login-main {
  position: relative;
  display: flex;
  min-height: calc(100svh - var(--page-header-height));
  align-items: center;
  overflow: hidden;
  padding-block: 72px;
  isolation: isolate;
}

.login-main::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, transparent 49.93%, rgba(244, 200, 74, 0.035) 50%, transparent 50.07%),
    linear-gradient(0deg, transparent 49.93%, rgba(244, 200, 74, 0.025) 50%, transparent 50.07%);
  background-size: 92px 92px;
  content: "";
  mask-image: radial-gradient(circle at 50% 48%, black, transparent 64%);
}

.login-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  align-items: center;
  gap: clamp(60px, 8vw, 130px);
}

.login-intro {
  max-width: 650px;
}

.login-intro h1 {
  margin: 30px 0 0;
  font-size: clamp(58px, 5.5vw, 86px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.login-intro h1 strong {
  display: block;
  color: var(--page-gold);
  font-weight: 800;
}

.login-intro > p {
  max-width: 560px;
  margin: 28px 0 0;
  color: var(--page-muted-strong);
  font-size: 17px;
  line-height: 1.75;
}

.login-points {
  display: grid;
  gap: 15px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.login-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--page-muted);
  font-size: 13px;
}

.login-points span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 200, 74, 0.4);
  border-radius: 50%;
  color: var(--page-gold);
}

.login-points svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.auth-frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(244, 200, 74, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  isolation: isolate;
}

.auth-frame::before {
  position: absolute;
  z-index: -2;
  top: 8%;
  left: 50%;
  width: 78%;
  height: 55%;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.34);
  content: "";
  filter: blur(85px);
  opacity: 0.55;
  transform: translateX(-50%);
  animation: page-glow 5s ease-in-out infinite alternate;
}

.auth-panel {
  overflow: hidden;
  border: 1px solid var(--page-line-soft);
  border-radius: 20px;
  background: rgba(8, 11, 17, 0.98);
}

.auth-panel-top {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  border-bottom: 1px solid var(--page-line-soft);
  color: #747a85;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.auth-panel-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--page-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
}

.auth-panel-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page-gold);
  box-shadow: 0 0 12px rgba(244, 200, 74, 0.8);
}

.auth-content {
  padding: 38px;
}

.auth-content h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.auth-content > p {
  margin: 9px 0 28px;
  color: var(--page-muted);
  font-size: 14px;
}

.auth-error {
  margin-bottom: 22px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 142, 142, 0.28);
  border-radius: 11px;
  background: rgba(135, 31, 31, 0.16);
  color: var(--page-danger);
  font-size: 13px;
  font-weight: 700;
}

.auth-field + .auth-field {
  margin-top: 18px;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--page-muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.input-shell {
  position: relative;
}

.input-shell svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  fill: none;
  stroke: #747a85;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-shell input {
  width: 100%;
  height: 52px;
  padding: 0 15px 0 45px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  outline: none;
  background: #05070c;
  color: var(--page-text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.input-shell input::placeholder {
  color: #5f6570;
}

.input-shell input:focus {
  border-color: rgba(244, 200, 74, 0.72);
  background: #070a10;
  box-shadow: 0 0 0 3px rgba(244, 200, 74, 0.08);
}

.auth-submit {
  width: 100%;
  margin-top: 24px;
  cursor: pointer;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.auth-link {
  color: var(--page-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.auth-link:hover {
  color: var(--page-gold);
}

/* Legal pages */
.legal-page {
  background: linear-gradient(180deg, var(--page-bg) 0%, var(--page-bg-soft) 48%, var(--page-bg) 100%);
}

.legal-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.legal-hero {
  position: relative;
  display: flex;
  min-height: 510px;
  align-items: center;
  padding: 82px 0 64px;
  text-align: center;
}

.legal-hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 50% 100%, rgba(244, 200, 74, 0.13), transparent 35%),
    linear-gradient(90deg, transparent 49.93%, rgba(244, 200, 74, 0.035) 50%, transparent 50.07%);
  content: "";
  mask-image: linear-gradient(black 75%, transparent);
}

.legal-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-hero h1 {
  max-width: 950px;
  margin: 30px auto 0;
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.legal-hero h1 strong {
  color: var(--page-gold);
  font-weight: 800;
}

.legal-hero p {
  max-width: 720px;
  margin: 26px auto 0;
  color: var(--page-muted-strong);
  font-size: 16px;
  line-height: 1.75;
}

.legal-tabs {
  position: relative;
  z-index: 3;
  display: inline-flex;
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border: 1px solid var(--page-line-soft);
  border-radius: 13px;
  background: rgba(8, 11, 17, 0.84);
  backdrop-filter: blur(12px);
}

.legal-tabs a {
  padding: 9px 15px;
  border-radius: 9px;
  color: var(--page-muted);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.legal-tabs a:hover,
.legal-tabs a[aria-current="page"] {
  background: rgba(244, 200, 74, 0.1);
  color: var(--page-gold);
}

.legal-document-wrap {
  position: relative;
  z-index: 4;
  margin-top: -24px;
  padding-bottom: 110px;
}

.legal-document-frame {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(244, 200, 74, 0.28);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.56);
  backdrop-filter: blur(16px);
  isolation: isolate;
}

.legal-document-frame::before {
  position: absolute;
  z-index: -2;
  top: -70px;
  left: 50%;
  width: 68%;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 214, 0, 0.34);
  content: "";
  filter: blur(90px);
  opacity: 0.52;
  transform: translateX(-50%);
  animation: page-glow 5s ease-in-out infinite alternate;
}

.legal-document {
  overflow: hidden;
  border: 1px solid var(--page-line-soft);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(244, 200, 74, 0.05), transparent 28%),
    var(--page-surface);
}

.document-topbar {
  display: grid;
  min-height: 64px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  border-bottom: 1px solid var(--page-line-soft);
  background: rgba(5, 7, 11, 0.84);
}

.document-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--page-muted-strong);
  font-size: 11px;
  font-weight: 800;
}

.document-brand img {
  width: 105px;
  height: 42px;
  object-fit: contain;
}

.document-type {
  color: #747a85;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.document-status {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  color: var(--page-muted);
  font-size: 10px;
}

.document-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page-gold);
  box-shadow: 0 0 12px rgba(244, 200, 74, 0.75);
}

.document-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.document-toc {
  padding: 42px 26px;
  border-right: 1px solid var(--page-line-soft);
  background: rgba(5, 7, 11, 0.42);
}

.document-toc > span {
  display: block;
  margin-bottom: 20px;
  color: var(--page-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.document-toc nav {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 5px;
}

.document-toc a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  padding: 8px 9px;
  border-radius: 8px;
  color: #858a94;
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.document-toc a span {
  color: rgba(244, 200, 74, 0.5);
  font-weight: 800;
}

.document-toc a:hover {
  background: rgba(244, 200, 74, 0.06);
  color: var(--page-text);
}

.document-content {
  padding: 18px 52px 50px;
}

.document-section {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 24px;
  padding: 42px 0;
  border-bottom: 1px solid var(--page-line-soft);
  scroll-margin-top: calc(var(--page-header-height) + 24px);
}

.document-section:last-child {
  border-bottom: 0;
}

.document-number {
  color: rgba(244, 200, 74, 0.42);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.document-copy h2 {
  margin: 0;
  color: var(--page-text);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.document-copy p,
.document-copy li {
  color: var(--page-muted-strong);
  font-size: 14px;
  line-height: 1.8;
}

.document-copy p {
  margin: 14px 0 0;
}

.document-copy ul {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.document-copy li {
  position: relative;
  padding-left: 20px;
}

.document-copy li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--page-gold);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  border-top: 1px solid var(--page-line-soft);
  background: rgba(5, 7, 11, 0.55);
}

.legal-footer p {
  margin: 0;
  color: #747a85;
  font-size: 11px;
}

.legal-footer-actions {
  display: flex;
  gap: 10px;
}

@keyframes page-orbit {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes page-dot-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(360px) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg) translateX(360px) rotate(-360deg); }
}

@keyframes page-meta-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes page-glow {
  to { opacity: 0.85; transform: translateX(-50%) scale(1.06); }
}

@media (max-width: 1040px) {
  .access-header-inner {
    grid-template-columns: 195px 1fr 130px;
  }

  .access-brand,
  .access-brand img {
    width: 184px;
  }

  .access-brand img {
    height: 54px;
  }

  .access-nav {
    gap: 24px;
  }

  .login-layout {
    gap: 48px;
  }

  .login-intro h1 {
    font-size: clamp(54px, 6.7vw, 72px);
  }

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

  .document-content {
    padding-inline: 36px;
  }
}

@media (max-width: 820px) {
  :root {
    --page-header-height: 70px;
  }

  .access-container {
    width: min(100% - 40px, var(--page-container));
  }

  .access-header-inner {
    grid-template-columns: 1fr auto;
  }

  .access-nav {
    display: none;
  }

  .login-main {
    padding-block: 66px 82px;
  }

  .login-layout {
    grid-template-columns: 1fr;
  }

  .login-intro {
    max-width: 700px;
    text-align: center;
  }

  .login-intro .page-meta {
    margin-inline: auto;
  }

  .login-intro > p {
    margin-inline: auto;
  }

  .login-points {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }

  .auth-frame {
    width: min(500px, 100%);
    margin-inline: auto;
  }

  .legal-hero {
    min-height: 480px;
  }

  .legal-document-wrap {
    margin-top: -12px;
  }

  .document-layout {
    grid-template-columns: 1fr;
  }

  .document-toc {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--page-line-soft);
  }

  .document-toc > span {
    margin-bottom: 12px;
  }

  .document-toc nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .access-container {
    width: min(100% - 32px, var(--page-container));
  }

  .access-brand,
  .access-brand img {
    width: 151px;
  }

  .access-brand img {
    height: 46px;
  }

  .header-action {
    min-width: 84px;
    min-height: 42px;
    padding-inline: 16px;
  }

  .login-main {
    padding-top: 52px;
  }

  .login-intro h1 {
    margin-top: 26px;
    font-size: clamp(46px, 13.5vw, 62px);
  }

  .login-intro > p {
    margin-top: 23px;
    font-size: 15px;
  }

  .login-points {
    margin-top: 28px;
  }

  .auth-frame {
    padding: 5px;
    border-radius: 22px;
  }

  .auth-panel {
    border-radius: 16px;
  }

  .auth-panel-top {
    min-height: 52px;
    padding-inline: 16px;
  }

  .auth-content {
    padding: 28px 20px 24px;
  }

  .auth-links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .page-orbits {
    transform: translateX(-50%) scale(0.72);
    transform-origin: top center;
  }

  .page-meta {
    font-size: 10px;
  }

  .page-meta-inner {
    gap: 7px;
  }

  .legal-hero {
    min-height: 430px;
    padding: 62px 0 44px;
  }

  .legal-hero h1 {
    margin-top: 26px;
    font-size: clamp(48px, 14vw, 65px);
  }

  .legal-hero p {
    margin-top: 22px;
    font-size: 14px;
  }

  .legal-tabs {
    width: 100%;
    margin-top: 26px;
  }

  .legal-tabs a {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-inline: 8px;
    font-size: 9px;
  }

  .legal-document-wrap {
    padding-bottom: 76px;
  }

  .legal-document-frame {
    padding: 5px;
    border-radius: 21px;
  }

  .legal-document {
    border-radius: 15px;
  }

  .document-topbar {
    min-height: 58px;
    grid-template-columns: 1fr auto;
    padding-inline: 14px;
  }

  .document-brand img {
    width: 94px;
    height: 38px;
  }

  .document-brand span,
  .document-type {
    display: none;
  }

  .document-status {
    font-size: 9px;
  }

  .document-toc {
    padding: 20px 14px;
  }

  .document-toc nav {
    grid-template-columns: 1fr;
  }

  .document-toc a {
    padding-block: 6px;
  }

  .document-content {
    padding: 0 20px 20px;
  }

  .document-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 32px 0;
  }

  .document-number {
    font-size: 24px;
  }

  .document-copy h2 {
    font-size: 21px;
  }

  .document-copy p,
  .document-copy li {
    font-size: 13px;
  }

  .legal-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
  }

  .legal-footer-actions {
    width: 100%;
  }

  .legal-footer-actions .page-button {
    flex: 1;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
