:root {
  --ink: #252b37;
  --muted: #667085;
  --line: #e5e7eb;
  --panel: #ffffff;
  --green: #12b886;
  --green-dark: #079569;
  --soft: #f8fafc;
  --shadow: 0 34px 90px rgba(5, 10, 24, 0.32);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: #08070a;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
}

.site-preview {
  position: absolute;
  inset: 0;
  background-image: url("./official-bg.png");
  background-size: cover;
  background-position: top center;
  transform: scale(1.025);
  filter: blur(1.5px);
}

.privacy-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 6, 21, 0.62), rgba(0, 0, 0, 0.7)),
    rgba(30, 6, 26, 0.42);
}

.cookie-modal {
  position: relative;
  width: min(750px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.modal-accent {
  height: 5px;
  background: linear-gradient(90deg, #5056ff, #9d3df3 45%, #f0449e);
}

.modal-content {
  padding: 52px 40px 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #8a94a6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 26px;
  color: #252b37;
  font-size: clamp(31px, 4vw, 38px);
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

p {
  margin: 0;
}

#cookie-description {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
}

.action-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 42px auto 30px;
}

.button {
  width: 156px;
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 18px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:focus-visible {
  outline: 4px solid rgba(80, 86, 255, 0.28);
  outline-offset: 4px;
}

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

.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 16px 28px rgba(18, 184, 134, 0.28);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-secondary {
  color: #344054;
  background: var(--soft);
  border: 2px solid #dbe3ee;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.05);
}

.button-secondary:hover {
  border-color: #cbd5e1;
  background: #eef3f8;
}

.divider {
  height: 1px;
  max-width: 670px;
  margin: 0 auto 32px;
  background: var(--line);
}

.privacy-note {
  color: #98a2b3;
  font-size: 14px;
}

@media (max-width: 620px) {
  .page-shell {
    padding: 18px;
  }

  .site-preview {
    background-position: top center;
    transform: scale(1.08);
  }

  .cookie-modal {
    border-radius: 24px;
  }

  .modal-content {
    padding: 38px 22px 34px;
  }

  #cookie-description {
    font-size: 16px;
  }

  .action-row {
    gap: 12px;
    margin-top: 34px;
  }

  .button {
    width: min(43vw, 148px);
    min-height: 64px;
    border-radius: 16px;
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .modal-content {
    padding-inline: 18px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
