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

.cookie-policy-page ul {
  list-style: none !important;
}

.nav-toggle {
  flex-direction: column;
}

.cookie-policy-page__hero {
  position: relative;
  isolation: isolate;
  padding-block: 7.5rem 4.5rem;
}

.cookie-policy-page__hero::after {
  position: absolute;
  z-index: -1;
  top: -9rem;
  right: -8rem;
  width: min(50vw, 42rem);
  height: min(46vw, 34rem);
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.25) 0%, rgba(79, 70, 229, 0.14) 38%, transparent 72%);
  content: "";
  filter: blur(38px);
  opacity: 0.76;
  pointer-events: none;
}

.cookie-policy-page__hero-container,
.cookie-policy-page__section > .container {
  min-width: 0;
}

.cookie-policy-page__hero-copy {
  display: flex;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cookie-policy-page__hero-copy .eyebrow,
.cookie-policy-page__hero-copy h1,
.cookie-policy-page__hero-copy p {
  margin: 0;
}

.cookie-policy-page__hero-copy .lead {
  max-width: 42.5rem;
}

.cookie-policy-page__effective-date {
  width: 100%;
  max-width: 42.5rem;
  padding-top: var(--space-4);
  border-top: var(--border-subtle);
  color: var(--color-text-muted);
  font-size: var(--text-meta);
  line-height: var(--leading-meta);
}

.cookie-policy-page__effective-date span {
  color: var(--color-text-secondary);
}

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

.cookie-policy-page__section + .cookie-policy-page__section {
  padding-top: 3rem;
}

.cookie-policy-page__section-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.cookie-policy-page__section-heading .eyebrow,
.cookie-policy-page__section-heading h2,
.cookie-policy-page__section-heading p {
  margin: 0;
}

.cookie-policy-page__section-heading--standard {
  width: 100%;
  max-width: 42.5rem;
}

.cookie-policy-page__section-heading--categories {
  width: 100%;
  max-width: 43.75rem;
}

.cookie-policy-page__section-heading--categories > p:not(.eyebrow) {
  max-width: 43.75rem;
}

.cookie-policy-page__document-panel {
  display: flex;
  width: 100%;
  max-width: 47rem;
  min-width: 0;
  align-items: flex-start;
  gap: 1.75rem;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
}

.cookie-policy-page__document-number {
  width: 2.75rem;
  min-width: 2.75rem;
  padding-top: 0.12rem;
  border-left: 2px solid var(--color-warm-copper);
  color: var(--color-warm-copper);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: var(--leading-meta);
}

.cookie-policy-page__document-copy {
  display: flex;
  width: min(100%, 43.75rem);
  min-width: 0;
  flex-direction: column;
  gap: var(--space-8);
}

.cookie-policy-page__copy-unit {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.cookie-policy-page__copy-unit h3,
.cookie-policy-page__copy-unit p {
  margin: 0;
}

.cookie-policy-page__term-list {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
}

.cookie-policy-page__term-list > li {
  min-width: 0;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(14, 16, 23, 0.72);
  color: var(--color-text-muted);
  font-size: var(--text-label);
  letter-spacing: 0.08em;
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.cookie-policy-page__category-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: var(--space-6);
}

.cookie-policy-page__category-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-8);
}

.cookie-policy-page__category-panel h3,
.cookie-policy-page__category-panel p {
  margin: 0;
}

.cookie-policy-page__category-panel--necessary {
  grid-column: 1;
  grid-row: 1;
}

.cookie-policy-page__category-panel--functional {
  grid-column: 2;
  grid-row: 1;
}

.cookie-policy-page__category-panel--optional {
  grid-column: 1 / -1;
  grid-row: 2;
  border-color: rgba(139, 92, 246, 0.42);
  background: linear-gradient(105deg, rgba(19, 21, 30, 0.9), rgba(29, 23, 48, 0.72));
}

.cookie-policy-page__category-panel--necessary > p:last-child {
  width: 100%;
  max-width: 35rem;
}

.cookie-policy-page__category-panel--functional > p:last-child {
  width: 100%;
  max-width: 30rem;
}

.cookie-policy-page__category-panel--optional > p:last-child {
  width: 100%;
  max-width: 35rem;
}

.cookie-policy-page__category-label {
  margin: 0;
  padding: 0.32rem 0.5rem;
  border: 1px solid rgba(139, 92, 246, 0.42);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: var(--leading-label);
  text-transform: uppercase;
}

.cookie-policy-page__category-label--copper {
  border-color: rgba(201, 138, 87, 0.48);
  color: var(--color-warm-copper);
}

.cookie-policy-page__consent-steps {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-8);
}

.cookie-policy-page__consent-steps::before {
  position: absolute;
  top: 0.75rem;
  bottom: 0.75rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(139, 92, 246, 0.36), transparent);
  content: "";
  pointer-events: none;
}

.cookie-policy-page__step-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.cookie-policy-page__step-number {
  display: inline-flex;
  width: 2.75rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: var(--border-accent);
  border-radius: var(--radius-md);
  color: var(--color-aurora-violet-hover);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 600;
  line-height: 1;
}

.cookie-policy-page__step-copy {
  display: flex;
  width: 100%;
  max-width: 32.5rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.cookie-policy-page__step-copy h3,
.cookie-policy-page__step-copy p {
  margin: 0;
}

.cookie-policy-page__browser-note {
  display: flex;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-6);
  border-left: 2px solid var(--color-warm-copper);
  background: rgba(201, 138, 87, 0.06);
}

.cookie-policy-page__browser-note h3,
.cookie-policy-page__browser-note p {
  margin: 0;
}

.cookie-policy-page__retention-pair {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  padding-bottom: var(--space-8);
  border-bottom: var(--border-subtle);
}

.cookie-policy-page__retention-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.cookie-policy-page__retention-item + .cookie-policy-page__retention-item {
  padding-left: 3rem;
  border-left: var(--border-subtle);
}

.cookie-policy-page__retention-item h3,
.cookie-policy-page__retention-item h4,
.cookie-policy-page__retention-item p {
  margin: 0;
}

.cookie-policy-page__retention-item h3,
.cookie-policy-page__retention-item p {
  width: 100%;
  max-width: 26.25rem;
}

.cookie-policy-page__retention-item h4 {
  color: var(--color-warm-copper);
  font-family: var(--font-heading);
  font-size: var(--text-meta);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: var(--leading-meta);
  text-transform: uppercase;
}

.cookie-policy-page__third-party-panel {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding: var(--space-8);
}

.cookie-policy-page__third-party-panel h3,
.cookie-policy-page__third-party-panel p {
  margin: 0;
}

.cookie-policy-page__third-party-panel > p:last-child {
  width: 100%;
  max-width: 43.75rem;
}

.cookie-policy-page__section--closing {
  padding-bottom: 7.5rem;
}

.cookie-policy-page__contact-panel {
  display: grid;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  padding: var(--space-8);
  border-color: rgba(139, 92, 246, 0.42);
}

.cookie-policy-page__contact-copy {
  display: flex;
  width: 100%;
  max-width: 36.25rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
}

.cookie-policy-page__contact-copy h3,
.cookie-policy-page__contact-copy p {
  margin: 0;
}

.cookie-policy-page__contact-links {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.cookie-policy-page__contact-links > a {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 2.75rem;
  align-items: center;
  padding-block: var(--space-2);
  color: var(--color-text-primary);
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-decoration-color: rgba(139, 92, 246, 0.72);
}

.cookie-policy-page__contact-links > a:hover {
  color: var(--color-aurora-violet-hover);
  text-decoration-thickness: 2px;
}

.cookie-policy-page__contact-links > .cookie-policy-page__contact-text-link {
  min-height: 2.75rem;
  margin-top: var(--space-2);
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
}

.cookie-policy-page__update-note {
  display: flex;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: var(--border-subtle);
}

.cookie-policy-page__update-note h3,
.cookie-policy-page__update-note p {
  margin: 0;
}

@media (max-width: 64rem) {
  .cookie-policy-page__category-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-policy-page__category-panel--necessary,
  .cookie-policy-page__category-panel--functional,
  .cookie-policy-page__category-panel--optional {
    grid-column: 1;
  }

  .cookie-policy-page__category-panel--necessary {
    grid-row: 1;
  }

  .cookie-policy-page__category-panel--functional {
    grid-row: 2;
  }

  .cookie-policy-page__category-panel--optional {
    grid-row: 3;
  }
}

@media (max-width: 47.5rem) {
  .cookie-policy-page__consent-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .cookie-policy-page__consent-steps::before {
    top: 3.5rem;
    bottom: 3.5rem;
    left: 1.375rem;
  }

  .cookie-policy-page__step-panel {
    position: relative;
    padding-left: 4rem;
  }

  .cookie-policy-page__step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .cookie-policy-page__step-copy {
    max-width: none;
  }
}

@media (max-width: 46.25rem) {
  .cookie-policy-page__retention-pair {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
  }

  .cookie-policy-page__retention-item + .cookie-policy-page__retention-item {
    padding-top: var(--space-6);
    padding-left: 0;
    border-top: var(--border-subtle);
    border-left: 0;
  }

  .cookie-policy-page__retention-item h3,
  .cookie-policy-page__retention-item p {
    max-width: none;
  }
}

@media (max-width: 43.75rem) {
  .cookie-policy-page__document-panel {
    flex-direction: column;
    gap: var(--space-4);
  }

  .cookie-policy-page__document-number {
    width: auto;
    min-width: 0;
    padding-left: var(--space-3);
    border-left: 2px solid var(--color-warm-copper);
  }
}

@media (max-width: 40rem) {
  .cookie-policy-page__hero {
    padding-block: 5rem 3rem;
  }

  .cookie-policy-page__hero::after {
    top: -5rem;
    right: -7rem;
    width: 22rem;
    height: 18rem;
    filter: blur(26px);
    opacity: 0.46;
  }

  .cookie-policy-page__hero-copy h1 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .cookie-policy-page__hero-copy .lead {
    font-size: var(--text-body);
    line-height: var(--leading-body);
  }

  .cookie-policy-page__section,
  .cookie-policy-page__section + .cookie-policy-page__section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .cookie-policy-page__section-heading {
    margin-bottom: var(--space-6);
  }

  .cookie-policy-page__document-panel,
  .cookie-policy-page__category-panel,
  .cookie-policy-page__third-party-panel,
  .cookie-policy-page__contact-panel {
    padding: var(--space-6);
  }

  .cookie-policy-page__document-copy {
    gap: var(--space-6);
  }

  .cookie-policy-page__category-grid {
    gap: var(--space-4);
  }

  .cookie-policy-page__browser-note {
    padding: var(--space-4) var(--space-6);
  }

  .cookie-policy-page__section--closing {
    padding-bottom: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-policy-page__hero::after {
    filter: blur(22px);
  }
}
