.cookies-body {
  background:
    radial-gradient(circle at 12% 14%, rgba(89, 214, 255, 0.08), transparent 24%),
    radial-gradient(circle at 84% 20%, rgba(99, 240, 165, 0.06), transparent 22%),
    radial-gradient(circle at 76% 82%, rgba(42, 168, 255, 0.08), transparent 24%),
    var(--bg);
}

.cookies-page::before {
  background: radial-gradient(circle, rgba(89, 214, 255, 0.22), transparent 66%);
}

.cookies-page::after {
  background: radial-gradient(circle, rgba(99, 240, 165, 0.16), transparent 68%);
}

.cookies-hero {
  display: grid;
  gap: 20px;
  padding: 72px 0 38px;
}

.cookies-hero__frame {
  position: relative;
  display: grid;
  gap: 22px;
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(89, 214, 255, 0.14);
  border-radius: 42px;
  background:
    linear-gradient(120deg, rgba(7, 14, 20, 0.98) 0%, rgba(5, 11, 17, 0.94) 36%, rgba(7, 24, 29, 0.92) 68%, rgba(5, 11, 16, 0.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 34px 100px rgba(0, 0, 0, 0.34),
    0 0 72px rgba(89, 214, 255, 0.08);
}

.cookies-hero__frame::before,
.cookies-hero__frame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.cookies-hero__frame::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(89, 214, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89, 214, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 42%, black 0%, rgba(0, 0, 0, 0.72) 46%, transparent 90%);
  opacity: 0.56;
}

.cookies-hero__frame::after {
  top: 18px;
  right: 18px;
  width: 180px;
  height: 180px;
  border-radius: 26px;
  border: 1px solid rgba(99, 240, 165, 0.12);
  background: linear-gradient(135deg, rgba(89, 214, 255, 0.1), rgba(99, 240, 165, 0.04));
  transform: rotate(14deg);
  opacity: 0.9;
}

.cookies-hero__intro,
.cookies-hero__stage {
  position: relative;
  z-index: 1;
}

.cookies-hero__intro {
  display: grid;
  align-content: start;
  padding: clamp(10px, 2vw, 20px);
}

.cookies-hero__signal {
  display: inline-flex;
  gap: 8px;
  margin: 0 0 16px;
}

.cookies-hero__signal span {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8ef5ff 0%, #43dcff 55%, #79ffe1 100%);
  box-shadow:
    0 0 16px rgba(89, 214, 255, 0.18),
    0 0 30px rgba(99, 240, 165, 0.08);
  animation: cookiesSignalFlow 3.8s ease-in-out infinite;
}

.cookies-hero__signal span:nth-child(1) {
  width: 54px;
}

.cookies-hero__signal span:nth-child(2) {
  width: 24px;
  animation-delay: 0.2s;
}

.cookies-hero__signal span:nth-child(3) {
  width: 72px;
  animation-delay: 0.4s;
}

.cookies-hero h1 {
  max-width: 8.8ch;
  margin-bottom: 14px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-wrap: balance;
  text-shadow: 0 0 26px rgba(89, 214, 255, 0.1);
}

.cookies-hero__lead,
.cookies-hero__copy {
  max-width: 56ch;
  color: rgba(228, 236, 241, 0.84);
  line-height: 1.72;
}

.cookies-hero__lead {
  margin-bottom: 10px;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
}

.cookies-hero__copy {
  margin: 0 0 10px;
  font-size: 1rem;
}

.cookies-hero__copy--muted {
  color: rgba(198, 211, 218, 0.68);
}

.cookies-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.cookies-hero__meta span {
  padding: 10px 14px;
  border: 1px solid rgba(89, 214, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #eaf9ff;
  font-size: 0.8rem;
}

.cookies-hero__stage {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(89, 214, 255, 0.1);
  border-radius: 34px;
  background:
    radial-gradient(circle at center, rgba(89, 214, 255, 0.09), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(8, 14, 18, 0.76);
  overflow: hidden;
}

.cookies-flow,
.cookies-link,
.cookies-orb,
.cookies-hero__panel {
  position: absolute;
}

.cookies-flow {
  display: grid;
  align-content: center;
  gap: 6px;
  min-width: 150px;
  min-height: 104px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(89, 214, 255, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(17, 31, 41, 0.94), rgba(9, 17, 23, 0.96)),
    rgba(255, 255, 255, 0.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.cookies-flow__label {
  color: rgba(157, 239, 255, 0.74);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cookies-flow strong {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.1;
}

.cookies-flow--input {
  top: 16%;
  left: 9%;
}

.cookies-flow--decision {
  top: 38%;
  left: 50%;
  transform: translateX(-50%);
  border-color: rgba(99, 240, 165, 0.18);
}

.cookies-flow--output {
  right: 9%;
  bottom: 18%;
}

.cookies-link {
  height: 1px;
  background: linear-gradient(90deg, rgba(89, 214, 255, 0), rgba(89, 214, 255, 0.8), rgba(99, 240, 165, 0));
  box-shadow: 0 0 18px rgba(89, 214, 255, 0.18);
}

.cookies-link--one {
  top: 34%;
  left: 27%;
  width: 34%;
  transform: rotate(18deg);
}

.cookies-link--two {
  top: 58%;
  right: 23%;
  width: 30%;
  transform: rotate(-20deg);
}

.cookies-orb {
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.9;
}

.cookies-orb--cyan {
  top: 20%;
  right: 16%;
  width: 70px;
  height: 70px;
  background: radial-gradient(circle, rgba(89, 214, 255, 0.7), transparent 70%);
  animation: cookiesOrbFloat 7s ease-in-out infinite;
}

.cookies-orb--green {
  bottom: 14%;
  left: 20%;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(99, 240, 165, 0.44), transparent 72%);
  animation: cookiesOrbFloat 9s ease-in-out infinite;
}

.cookies-orb--blue {
  top: 48%;
  left: 18%;
  width: 42px;
  height: 42px;
  background: radial-gradient(circle, rgba(42, 168, 255, 0.8), transparent 70%);
  animation: cookiesOrbFloat 6s ease-in-out infinite;
}

.cookies-hero__panel {
  right: 7%;
  top: 12%;
  width: min(34vw, 240px);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 14, 19, 0.86);
}

.cookies-hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.cookies-hero__panel-head span {
  color: rgba(157, 239, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cookies-hero__panel-head strong {
  font-size: 0.84rem;
}

.cookies-hero__panel-grid {
  display: grid;
  gap: 10px;
}

.cookies-hero__panel-grid article {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.cookies-hero__panel-grid small,
.cookies-hero__panel-grid strong {
  display: block;
}

.cookies-hero__panel-grid small {
  margin-bottom: 5px;
  color: rgba(198, 211, 218, 0.66);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cookies-layout {
  display: grid;
  gap: 24px;
}

.cookies-rail__card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(89, 214, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 18, 25, 0.96), rgba(8, 12, 18, 0.92)),
    rgba(255, 255, 255, 0.03);
}

.cookies-rail__card a {
  color: rgba(229, 236, 241, 0.72);
  font-size: 0.92rem;
  transition: color 180ms ease, transform 180ms ease;
}

.cookies-rail__card a:hover,
.cookies-rail__card a:focus-visible {
  color: #f7fbff;
  transform: translateX(2px);
}

.cookies-content {
  display: grid;
  gap: 24px;
}

.cookies-overview-grid,
.cookies-reasons-grid,
.cookies-consent-shell,
.cookies-provider-grid,
.cookies-management-grid {
  display: grid;
  gap: 16px;
}

.cookies-overview-card,
.cookies-reason-card,
.cookies-consent-card,
.cookies-provider-card,
.cookies-management-card {
  padding: 20px;
  border: 1px solid rgba(89, 214, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(89, 214, 255, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(9, 13, 18, 0.72);
}

.cookies-overview-card h3,
.cookies-reason-card strong,
.cookies-consent-card h3,
.cookies-provider-card h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.cookies-overview-card p,
.cookies-reason-card p,
.cookies-consent-card p,
.cookies-management-card p,
.cookies-management-card li,
.cookies-provider-card p {
  color: rgba(224, 231, 236, 0.76);
  line-height: 1.72;
}

.cookies-overview-card p:last-child,
.cookies-consent-card p:last-child,
.cookies-provider-card p:last-child,
.cookies-management-card p:last-child {
  margin-bottom: 0;
}

.cookies-reason-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
}

.cookies-reason-card::after {
  position: absolute;
  right: -12px;
  bottom: -18px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(89, 214, 255, 0.14), transparent 70%);
}

.cookies-reason-card span {
  display: block;
  margin-bottom: 18px;
  color: rgba(157, 239, 255, 0.76);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.cookies-reason-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.cookies-consent-card--primary,
.cookies-category-card--accent {
  border-color: rgba(99, 240, 165, 0.16);
  background:
    radial-gradient(circle at top right, rgba(99, 240, 165, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(9, 16, 18, 0.76);
}

.cookies-consent-card ul,
.cookies-management-card ul,
.cookies-category-card ul {
  margin: 0;
  padding-left: 18px;
}

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

.cookies-category-card {
  padding: 22px;
  border: 1px solid rgba(89, 214, 255, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(89, 214, 255, 0.07), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(9, 13, 18, 0.72);
}

.cookies-category-card--necessary {
  border-color: rgba(89, 214, 255, 0.18);
  box-shadow: 0 0 0 1px rgba(89, 214, 255, 0.03), 0 18px 42px rgba(0, 0, 0, 0.2);
}

.cookies-category-card__head {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.cookies-category-card__head span {
  color: rgba(157, 239, 255, 0.78);
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
}

.cookies-category-card h3 {
  margin-bottom: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.cookies-category-card p,
.cookies-category-card li {
  color: rgba(224, 231, 236, 0.76);
  line-height: 1.72;
}

.cookies-example {
  color: #dffcf1;
}

.cookies-provider-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cookies-provider-tags span {
  padding: 10px 14px;
  border: 1px solid rgba(89, 214, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef8ff;
  font-size: 0.8rem;
}

.cookies-entity-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008)),
    rgba(4, 8, 10, 0.62);
}

.cookies-entity-card {
  border-color: rgba(89, 214, 255, 0.08);
}

@media (min-width: 760px) {
  .cookies-overview-grid,
  .cookies-provider-grid,
  .cookies-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookies-reasons-grid,
  .cookies-consent-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookies-overview-card--wide,
  .cookies-provider-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .cookies-hero__frame {
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.85fr);
    align-items: center;
  }

  .cookies-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
  }

  .cookies-rail {
    position: sticky;
    top: 104px;
  }

  .cookies-reasons-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cookies-consent-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .cookies-consent-card--primary {
    grid-row: span 2;
  }
}

@media (max-width: 979px) {
  .cookies-header .site-nav {
    display: none;
  }
}

@media (max-width: 759px) {
  .cookies-hero {
    padding-top: 44px;
  }

  .cookies-hero__frame {
    padding: 16px;
    border-radius: 28px;
  }

  .cookies-hero__intro {
    padding: 8px;
  }

  .cookies-hero__stage {
    min-height: 380px;
    border-radius: 24px;
  }

  .cookies-flow {
    min-width: 112px;
    min-height: 86px;
    padding: 14px;
    border-radius: 18px;
  }

  .cookies-flow--input {
    top: 10%;
    left: 5%;
  }

  .cookies-flow--decision {
    top: 38%;
    width: 150px;
  }

  .cookies-flow--output {
    right: 5%;
    bottom: 12%;
  }

  .cookies-link--one {
    top: 30%;
    left: 20%;
    width: 44%;
  }

  .cookies-link--two {
    top: 60%;
    right: 16%;
    width: 36%;
  }

  .cookies-hero__panel {
    right: 4%;
    top: 8%;
    width: 132px;
    padding: 12px;
  }
}

@keyframes cookiesSignalFlow {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }

  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@keyframes cookiesOrbFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -8px, 0) scale(1.05);
  }
}
