:root {
  font-family: "Helvetica Neue", Helvetica, sans-serif;
  color: #23272b;
  background: #eceeef;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: #eceeef;
}

button {
  font: inherit;
}

.consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  background: rgb(20 24 28 / 72%);
}

.consent-box {
  width: min(100%, 620px);
  margin: auto;
  padding: 38px;
  border: 1px solid #6f757b;
  background: #ffffff;
}

.consent-box h1 {
  margin: 0 0 16px;
  color: #20252a;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.consent-box p {
  margin: 0;
  color: #464c52;
  font-size: 1rem;
  line-height: 1.65;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  padding: 12px 16px;
  border: 2px solid #315f75;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.button-primary {
  color: #ffffff;
  background: #006edc;
  border-color: #006edc;
  min-height: 56px;
  padding: 14px 20px;
  font-size: 1rem;
}

.button-secondary {
  color: #315f75;
  background: #ffffff;
}

.button:hover {
  border-color: #24495b;
}

.button-primary:hover {
  border-color: #0058b3;
  background: #0058b3;
}

.button-secondary:hover {
  color: #24495b;
  background: #f1f3f4;
}

.button:focus-visible {
  outline: 3px solid #23272b;
  outline-offset: 3px;
}

.button:active {
  background: #193744;
  color: #ffffff;
}

@media (max-width: 520px) {
  .consent-overlay {
    padding: 16px;
  }

  .consent-box {
    padding: 28px 22px;
  }

  .consent-actions {
    gap: 8px;
  }

  .button {
    min-height: 52px;
    padding: 10px 8px;
    font-size: 0.8rem;
  }

  .button-primary {
    min-height: 56px;
    font-size: 0.9rem;
  }
}
