.ginko-legal-route main {
  background: #18191b;
}

.ginko-legal-page {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
  padding: 108px 0 112px;
  color: #fff;
}

.ginko-legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
  margin: 0 0 36px;
}

.ginko-legal-kicker {
  margin: 0 0 12px;
  color: #fedf40;
  font: 900 13px/1 "Poppins", "Geist", sans-serif;
  text-transform: uppercase;
}

.ginko-legal-title {
  margin: 0;
  max-width: 980px;
  color: #fff;
  font: 900 clamp(48px, 8vw, 116px) / 0.86 "Gasoek One", "Poppins", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 5px 0 #050505;
}

.ginko-legal-intro {
  margin: 18px 0 0;
  max-width: 820px;
  color: #d8dde5;
  font: 800 17px/1.55 "Geist", "Inter", sans-serif;
}

.ginko-legal-updated {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  padding: 18px;
  background: #202123;
  border: 2px solid #050505;
  border-radius: 18px;
  box-shadow: 0 5px 0 #050505;
  color: #d8dde5;
  font: 800 14px/1.5 "Geist", "Inter", sans-serif;
}

.ginko-legal-updated strong {
  display: block;
  margin: 0 0 6px;
  color: #fedf40;
  font: 900 13px/1 "Poppins", "Geist", sans-serif;
  text-transform: uppercase;
}

.ginko-legal-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ginko-legal-toc {
  position: sticky;
  top: 104px;
  padding: 18px;
  background: #202123;
  border: 2px solid #050505;
  border-radius: 18px;
  box-shadow: 0 5px 0 #050505;
}

.ginko-legal-toc strong {
  display: block;
  margin: 0 0 12px;
  color: #fedf40;
  font: 900 13px/1 "Poppins", "Geist", sans-serif;
  text-transform: uppercase;
}

.ginko-legal-toc a {
  display: block;
  padding: 10px 0;
  color: #d8dde5;
  font: 800 14px/1.35 "Geist", "Inter", sans-serif;
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ginko-legal-toc a:hover,
.ginko-legal-toc a:focus-visible {
  color: #fedf40;
}

.ginko-legal-content {
  display: grid;
  gap: 18px;
}

.ginko-legal-section,
.ginko-cookie-settings-panel {
  padding: 24px;
  background: #202123;
  border: 2px solid #050505;
  border-radius: 20px;
  box-shadow: 0 5px 0 #050505;
}

.ginko-legal-section h2,
.ginko-cookie-settings-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font: 900 clamp(26px, 4vw, 48px) / 0.92 "Gasoek One", "Poppins", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #050505;
}

.ginko-legal-section p,
.ginko-cookie-settings-panel p {
  margin: 0 0 14px;
  color: #d8dde5;
  font: 800 16px/1.65 "Geist", "Inter", sans-serif;
}

.ginko-legal-section p:last-child,
.ginko-cookie-settings-panel p:last-child {
  margin-bottom: 0;
}

.ginko-legal-section ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ginko-legal-section li {
  position: relative;
  padding-left: 24px;
  color: #d8dde5;
  font: 800 16px/1.6 "Geist", "Inter", sans-serif;
}

.ginko-legal-section li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: #fedf40;
  border: 2px solid #050505;
  border-radius: 50%;
}

.ginko-legal-note {
  padding: 18px;
  background: #111214;
  border: 2px solid #050505;
  border-radius: 16px;
  color: #d8dde5;
  font: 800 15px/1.55 "Geist", "Inter", sans-serif;
}

.ginko-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
}

.ginko-footer-legal-column-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.ginko-footer-legal-column-links a {
  display: block;
  text-decoration: none;
}

.ginko-footer-legal-column-links a:hover,
.ginko-footer-legal-column-links a:focus-visible {
  color: #fedf40;
}

.ginko-footer-legal a {
  color: #d8dde5;
  font: 900 12px/1 "Poppins", "Geist", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
}

.ginko-footer-legal a:hover,
.ginko-footer-legal a:focus-visible {
  color: #fedf40;
}

.ginko-cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483000;
  width: min(560px, calc(100vw - 48px));
  padding: 18px;
  background: #202123;
  border: 3px solid #050505;
  border-radius: 20px;
  box-shadow: 0 6px 0 #050505;
  color: #fff;
}

.ginko-cookie-banner[hidden] {
  display: none !important;
}

.ginko-cookie-banner h2 {
  margin: 0 0 10px;
  color: #fff;
  font: 900 26px/0.95 "Gasoek One", "Poppins", sans-serif;
  text-transform: uppercase;
  text-shadow: 0 3px 0 #050505;
}

.ginko-cookie-banner p {
  margin: 0;
  color: #d8dde5;
  font: 800 14px/1.5 "Geist", "Inter", sans-serif;
}

.ginko-cookie-actions,
.ginko-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.ginko-legal-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #050505;
  background: #fedf40;
  border: 3px solid #050505;
  border-radius: 14px;
  box-shadow: 0 3px 0 #050505;
  font: 900 13px/1 "Poppins", "Geist", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.ginko-legal-button:hover,
.ginko-legal-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 4px 0 #050505;
}

.ginko-legal-button:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #050505;
}

.ginko-legal-button.is-dark {
  color: #fff;
  background: #111214;
}

.ginko-legal-button.is-purple {
  color: #050505;
  background: #b69cff;
}

.ginko-cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: #111214;
  border: 2px solid #050505;
  border-radius: 16px;
}

.ginko-cookie-option + .ginko-cookie-option {
  margin-top: 14px;
}

.ginko-cookie-option strong {
  display: block;
  margin: 0 0 6px;
  color: #fff;
  font: 900 17px/1.1 "Poppins", "Geist", sans-serif;
}

.ginko-cookie-option span {
  color: #d8dde5;
  font: 800 14px/1.5 "Geist", "Inter", sans-serif;
}

.ginko-cookie-toggle {
  width: 58px;
  height: 34px;
  appearance: none;
  background: #2a2b31;
  border: 3px solid #050505;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.ginko-cookie-toggle::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 160ms ease, background-color 160ms ease;
}

.ginko-cookie-toggle:checked {
  background: #fedf40;
}

.ginko-cookie-toggle:checked::before {
  transform: translateX(24px);
  background: #050505;
}

.ginko-cookie-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .ginko-legal-page {
    width: min(100% - 28px, 720px);
    padding: 84px 0 88px;
  }

  .ginko-legal-hero,
  .ginko-legal-layout {
    grid-template-columns: 1fr;
  }

  .ginko-legal-updated {
    justify-self: stretch;
    max-width: none;
  }

  .ginko-legal-toc {
    position: static;
  }
}

@media (max-width: 560px) {
  .ginko-legal-page {
    width: calc(100% - 22px);
    padding-top: 72px;
  }

  .ginko-legal-section,
  .ginko-cookie-settings-panel {
    padding: 18px;
  }

  .ginko-cookie-banner {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .ginko-cookie-actions,
  .ginko-legal-actions {
    display: grid;
  }
}
