.cookie-policy-page {
  overflow: hidden;
  background: var(--color-ink-950);
}

.cookie-policy-page__hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(4rem, 9vw, 8rem) clamp(4rem, 7vw, 7rem);
  background:
    radial-gradient(circle at 82% 22%, rgb(23 60 56 / 0.72) 0, rgb(23 60 56 / 0.22) 19%, transparent 47%),
    linear-gradient(135deg, var(--color-ink-950) 0%, var(--color-ink-900) 57%, var(--color-forest-800) 100%);
}

.cookie-policy-page__hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgb(8 12 20 / 0.14), transparent 62%);
  content: "";
  pointer-events: none;
}

.cookie-policy-page__hero-grid,
.cookie-policy-page__role-grid,
.cookie-policy-page__controls-grid,
.cookie-policy-page__related-grid,
.cookie-policy-page__closing-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
}

.cookie-policy-page__hero-copy {
  grid-column: 1 / span 7;
  min-width: 0;
  max-width: 52ch;
}

.cookie-policy-page__status {
  margin-block-end: var(--space-2);
}

.cookie-policy-page__status-detail {
  margin-block-end: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-small);
  letter-spacing: 0.02em;
}

.cookie-policy-page__hero-introduction {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-6);
}

.cookie-policy-page__hero-introduction > p {
  margin: 0;
}

.cookie-policy-page__hero-rule {
  margin-block: var(--space-8);
}

.cookie-policy-page__scope-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  width: min(100%, 55ch);
  padding: var(--space-6);
  border: 1px solid rgb(145 184 163 / 0.72);
  border-radius: var(--radius-panel);
  background: rgb(16 24 39 / 0.84);
  box-shadow: var(--shadow-inset), var(--shadow-panel);
}

.cookie-policy-page__scope-note > p {
  margin: 0;
}

.cookie-policy-page__section {
  padding-block: 7rem;
}

.cookie-policy-page__section--role {
  background: var(--color-ink-950);
}

.cookie-policy-page__role-copy {
  grid-column: 1 / span 8;
  min-width: 0;
  width: 100%;
}

.cookie-policy-page__role-copy > h2 {
  width: min(100%, 16ch);
}

.cookie-policy-page__definition-copy {
  width: min(100%, 62ch);
}

.cookie-policy-page__definition-copy > h3 {
  margin-block-start: var(--space-8);
}

.cookie-policy-page__technology-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  width: min(100%, 62ch);
  margin-block: var(--space-8);
  padding: var(--space-4) 0 var(--space-4) var(--space-6);
  border-inline-start: 2px solid var(--color-sage-300);
}

.cookie-policy-page__technology-note > :is(h3, p) {
  margin: 0;
}

.cookie-policy-page__purpose-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-6);
  width: min(100%, 55ch);
}

.cookie-policy-page__purpose-item {
  min-width: 0;
  padding-block-end: var(--space-6);
  border-block-end: 1px solid var(--color-border);
}

.cookie-policy-page__purpose-item > h3 {
  margin-block-end: var(--space-2);
  color: var(--color-ivory-100);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cookie-policy-page__purpose-item > p {
  margin: 0;
}

.cookie-policy-page__section--categories {
  background: var(--color-ink-900);
}

.cookie-policy-page__categories-intro {
  width: min(100%, 52ch);
}

.cookie-policy-page__categories-intro > h2 {
  width: min(100%, 14ch);
}

.cookie-policy-page__table-hint {
  display: none;
}

.cookie-policy-page__table-wrap {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: rgb(8 12 20 / 0.36);
  box-shadow: var(--shadow-panel), var(--shadow-inset);
  scrollbar-color: var(--color-sage-300) var(--color-ink-950);
  scrollbar-width: thin;
}

.cookie-policy-page__category-table {
  min-width: 50rem;
  margin: 0;
  table-layout: fixed;
}

.cookie-policy-page__category-table th,
.cookie-policy-page__category-table td {
  padding: var(--space-6);
  border-bottom-color: var(--color-border);
}

.cookie-policy-page__category-table thead th {
  background: rgb(8 12 20 / 0.54);
  color: var(--color-sage-300);
  font-size: var(--text-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookie-policy-page__category-table thead th:nth-child(1) {
  width: 25%;
}

.cookie-policy-page__category-table thead th:nth-child(2) {
  width: 58.333%;
}

.cookie-policy-page__category-table thead th:nth-child(3) {
  width: 16.667%;
}

.cookie-policy-page__category-table tbody tr:last-child > * {
  border-bottom: 0;
}

.cookie-policy-page__category-table tbody th {
  position: relative;
  padding-inline-start: calc(var(--space-6) + 0.5rem);
  color: var(--color-ivory-100);
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.12;
}

.cookie-policy-page__category-table tbody th::before {
  position: absolute;
  top: var(--space-6);
  bottom: var(--space-6);
  left: var(--space-4);
  width: 2px;
  background: var(--color-sage-300);
  content: "";
}

.cookie-policy-page__category-row--statistics tbody,
.cookie-policy-page__category-row--statistics {
  border: 0;
}

.cookie-policy-page__category-row--statistics th::before {
  background: var(--color-gold-400);
}

.cookie-policy-page__category-row--external > * {
  border-top: 1px solid rgb(43 55 68 / 0.96);
}

.cookie-policy-page__category-row--external th::before {
  background: rgb(184 115 74 / 0.7);
}

.cookie-policy-page__category-table td {
  color: var(--color-text-muted);
}

.cookie-policy-page__category-table td:last-child {
  color: var(--color-sage-300);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.cookie-policy-page__section--controls {
  background: var(--color-ink-950);
}

.cookie-policy-page__controls-copy {
  grid-column: 1 / span 8;
  min-width: 0;
}

.cookie-policy-page__controls-copy > h2,
.cookie-policy-page__controls-intro {
  width: min(100%, 52ch);
}

.cookie-policy-page__steps {
  display: flex;
  position: relative;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-8);
  width: min(100%, 60ch);
  margin-block: var(--space-12);
  padding-inline-start: var(--space-8);
}

.cookie-policy-page__steps::before {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.35rem;
  width: 1px;
  background: var(--color-gold-400);
  content: "";
}

.cookie-policy-page__step {
  position: relative;
  min-width: 0;
}

.cookie-policy-page__step::before {
  position: absolute;
  top: 0.35rem;
  left: calc(-1 * var(--space-8) + 0.08rem);
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--color-gold-400);
  border-radius: 50%;
  background: var(--color-ink-950);
  content: "";
}

.cookie-policy-page__step > h3 {
  margin-block-end: var(--space-2);
}

.cookie-policy-page__step > p {
  margin: 0;
}

.cookie-policy-page__consequence-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  width: min(100%, 55ch);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-inline-start: 2px solid rgb(184 115 74 / 0.78);
  border-radius: var(--radius-panel);
  background: var(--color-ink-950);
  box-shadow: var(--shadow-panel), var(--shadow-inset);
}

.cookie-policy-page__consequence-note > :is(h3, p) {
  margin: 0;
}

.cookie-policy-page__section--related {
  background: var(--color-ink-900);
}

.cookie-policy-page__related-copy {
  grid-column: 1 / span 7;
  min-width: 0;
  width: min(100%, 62ch);
}

.cookie-policy-page__related-copy > h2 {
  width: min(100%, 15ch);
}

.cookie-policy-page__privacy-link {
  position: relative;
  display: inline-block;
  color: var(--color-sage-300);
  font-weight: 650;
}

.cookie-policy-page__privacy-link::after {
  position: absolute;
  inset: -0.55rem -0.2rem;
  content: "";
}

.cookie-policy-page__external-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin-block-start: var(--space-8);
  padding-block-start: var(--space-8);
  border-block-start: 1px solid var(--color-border);
}

.cookie-policy-page__external-copy > :is(h3, p) {
  margin: 0;
}

.cookie-policy-page__closing {
  position: relative;
  isolation: isolate;
  padding-block: 7rem;
  background:
    radial-gradient(circle at 76% 16%, rgb(214 174 88 / 0.14), transparent 29%),
    radial-gradient(circle at 16% 78%, rgb(8 12 20 / 0.52), transparent 42%),
    var(--color-forest-800);
}

.cookie-policy-page__closing::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(125deg, rgb(8 12 20 / 0.28), transparent 56%);
  content: "";
}

.cookie-policy-page__closing-copy {
  grid-column: 4 / span 6;
  min-width: 0;
  width: min(100%, 54ch);
}

.cookie-policy-page__closing-copy > h2 {
  width: min(100%, 14ch);
}

.cookie-policy-page__closing-rule {
  margin-block: var(--space-8);
}

.cookie-policy-page__closing-note {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  width: min(100%, 52ch);
}

.cookie-policy-page__closing-note > :is(h3, p, small) {
  margin: 0;
}

.cookie-policy-page__closing-note > small {
  color: var(--color-text-muted);
}

@media (max-width: 63.9375rem) {
  .cookie-policy-page__hero-grid,
  .cookie-policy-page__role-grid,
  .cookie-policy-page__controls-grid,
  .cookie-policy-page__related-grid,
  .cookie-policy-page__closing-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: 1.25rem;
  }

  .cookie-policy-page__hero-copy {
    grid-column: 1 / span 6;
  }

  .cookie-policy-page__role-copy {
    grid-column: 1 / span 7;
  }

  .cookie-policy-page__controls-copy {
    grid-column: 1 / span 7;
  }

  .cookie-policy-page__related-copy {
    grid-column: 1 / span 6;
  }

  .cookie-policy-page__closing-copy {
    grid-column: 2 / span 6;
  }

  .cookie-policy-page__section,
  .cookie-policy-page__closing {
    padding-block: 5.5rem;
  }
}

@media (max-width: 53.125rem) {
  .cookie-policy-page__hero-copy,
  .cookie-policy-page__role-copy,
  .cookie-policy-page__controls-copy,
  .cookie-policy-page__related-copy,
  .cookie-policy-page__closing-copy {
    grid-column: 1 / -1;
  }

  .cookie-policy-page__hero-copy {
    max-width: 52ch;
  }

  .cookie-policy-page__role-copy,
  .cookie-policy-page__controls-copy,
  .cookie-policy-page__related-copy {
    width: min(100%, 62ch);
  }

  .cookie-policy-page__closing-copy {
    width: min(100%, 54ch);
    margin-inline: auto;
  }

  .cookie-policy-page__category-table {
    min-width: 47rem;
  }
}

@media (max-width: 47.9375rem) {
  .cookie-policy-page__hero {
    padding-block: 4rem;
    background:
      radial-gradient(circle at 96% 2%, rgb(23 60 56 / 0.38), transparent 36%),
      linear-gradient(145deg, var(--color-ink-950), var(--color-ink-900));
  }

  .cookie-policy-page__hero-grid,
  .cookie-policy-page__role-grid,
  .cookie-policy-page__controls-grid,
  .cookie-policy-page__related-grid,
  .cookie-policy-page__closing-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .cookie-policy-page__hero-copy,
  .cookie-policy-page__role-copy,
  .cookie-policy-page__controls-copy,
  .cookie-policy-page__related-copy,
  .cookie-policy-page__closing-copy {
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin-inline: 0;
  }

  .cookie-policy-page__section,
  .cookie-policy-page__closing {
    padding-block: 4rem;
  }

  .cookie-policy-page__hero-copy > h1 {
    max-width: 11ch;
    font-size: clamp(2.625rem, 13vw, 3.125rem);
    line-height: 1.02;
  }

  .cookie-policy-page__role-copy > h2,
  .cookie-policy-page__categories-intro > h2,
  .cookie-policy-page__controls-copy > h2,
  .cookie-policy-page__related-copy > h2,
  .cookie-policy-page__closing-copy > h2 {
    width: 100%;
    max-width: 14ch;
    font-size: clamp(2rem, 9vw, 2.375rem);
  }

  .cookie-policy-page__scope-note,
  .cookie-policy-page__definition-copy,
  .cookie-policy-page__technology-note,
  .cookie-policy-page__purpose-list,
  .cookie-policy-page__controls-intro,
  .cookie-policy-page__steps,
  .cookie-policy-page__consequence-note,
  .cookie-policy-page__related-copy,
  .cookie-policy-page__closing-note {
    width: 100%;
  }

  .cookie-policy-page__scope-note,
  .cookie-policy-page__consequence-note {
    padding: var(--space-4);
  }

  .cookie-policy-page__technology-note {
    padding-inline-start: var(--space-4);
  }

  .cookie-policy-page__purpose-list {
    gap: var(--space-6);
  }

  .cookie-policy-page__categories-intro {
    width: 100%;
  }

  .cookie-policy-page__table-hint {
    display: block;
    margin-block: 0 var(--space-3);
    color: var(--color-sage-300);
    font-size: var(--text-small);
    line-height: var(--leading-small);
  }

  .cookie-policy-page__table-wrap {
    position: relative;
    border-radius: var(--radius-control);
  }

  .cookie-policy-page__category-table {
    min-width: 43rem;
  }

  .cookie-policy-page__category-table th,
  .cookie-policy-page__category-table td {
    padding: var(--space-4);
  }

  .cookie-policy-page__category-table tbody th {
    padding-inline-start: 1.5rem;
  }

  .cookie-policy-page__category-table tbody th::before {
    top: var(--space-4);
    bottom: var(--space-4);
    left: var(--space-3);
  }

  .cookie-policy-page__steps {
    gap: var(--space-8);
    margin-block: var(--space-8);
    padding-inline-start: 0;
  }

  .cookie-policy-page__steps::before {
    display: none;
  }

  .cookie-policy-page__step {
    padding-block-start: var(--space-6);
    border-block-start: 1px solid var(--color-border);
  }

  .cookie-policy-page__step::before {
    top: 0;
    left: 0;
    width: 1.75rem;
    height: 1px;
    border: 0;
    border-radius: 0;
    background: var(--color-gold-400);
  }

  .cookie-policy-page__closing {
    background:
      radial-gradient(circle at 96% 3%, rgb(214 174 88 / 0.09), transparent 34%),
      var(--color-forest-800);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-policy-page__table-wrap {
    scroll-behavior: auto;
  }
}
