:root {
  color: #121111;
  background: #fbf8f3;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(720px 360px at 50% -8%, rgba(53, 182, 255, 0.12), transparent 68%),
    #fbf8f3;
}

main {
  width: min(calc(100% - 44px), 840px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

a {
  color: #0579bf;
  font-weight: 760;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  display: none;
}

.legal-back {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin-bottom: 42px;
  padding: 0 17px;
  color: #0b111d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 46px -34px rgba(15, 23, 42, 0.5);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition:
    border-color 160ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.legal-back::before {
  content: "←";
  margin-right: 8px;
}

[dir="rtl"] .legal-back::before {
  margin-right: 0;
  margin-left: 8px;
  content: "→";
}

.legal-back:hover {
  border-color: rgba(53, 182, 255, 0.4);
  box-shadow: 0 22px 54px -36px rgba(15, 23, 42, 0.58);
  transform: translateY(-1px);
}

.eyebrow {
  margin: 0 0 12px;
  color: #1198ee;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  color: #0b111d;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 42px 0 12px;
  color: #0b111d;
  font-size: 24px;
  line-height: 1.1;
}

p,
li {
  color: rgba(18, 17, 17, 0.72);
  font-size: 17px;
  line-height: 1.65;
}

ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 72px -54px rgba(15, 23, 42, 0.46);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(18, 17, 17, 0.72);
  font-size: 14px;
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  box-sizing: border-box;
  color: #0b111d;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  font: inherit;
  outline: none;
}

input {
  height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

form button {
  width: fit-content;
  min-height: 46px;
  padding: 0 20px;
  color: #04131d;
  background: linear-gradient(180deg, #7fdaff 0%, #35b6ff 100%);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 18px 30px -18px rgba(53, 182, 255, 0.72);
}

.form-status {
  min-height: 24px;
  margin-top: 6px;
  font-size: 15px;
}

.legal-cookie-preferences {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 28px;
  padding: 0 17px;
  color: #0b111d;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  box-shadow: 0 18px 46px -34px rgba(15, 23, 42, 0.5);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(18px);
}

.amanda-consent,
.amanda-consent * {
  box-sizing: border-box;
}

.amanda-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 119;
  background: rgba(4, 8, 15, 0.34);
  backdrop-filter: blur(10px);
}

.amanda-consent-backdrop[hidden] {
  display: none;
}

.amanda-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(720px, calc(100vw - 36px));
  padding: 16px;
  color: #121111;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 24px;
  box-shadow: 0 28px 72px -42px rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(20px) saturate(1.16);
}

.amanda-consent.is-modal {
  top: 50%;
  right: auto;
  bottom: auto;
  left: 50%;
  width: min(560px, calc(100vw - 36px));
  grid-template-columns: 1fr;
  padding: 20px;
  transform: translate(-50%, -50%);
}

.amanda-consent__copy {
  display: grid;
  gap: 6px;
}

.amanda-consent__copy strong {
  color: #0b111d;
  font-size: 15px;
  font-weight: 860;
}

.amanda-consent p {
  margin: 0;
  color: rgba(18, 17, 17, 0.66);
  font-size: 14px;
  font-weight: 620;
  line-height: 1.42;
}

.amanda-consent__actions,
.amanda-consent__modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.amanda-consent button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: rgba(18, 17, 17, 0.74);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.amanda-consent button[data-consent-action="accept"],
.amanda-consent button[data-consent-action="save"] {
  color: #07111f;
  background: linear-gradient(180deg, #52c7ff 0%, #35b6ff 100%);
  box-shadow: 0 12px 18px -12px rgba(0, 122, 255, 0.58);
}

.amanda-consent__prefs {
  display: grid;
  gap: 10px;
  margin: 2px 0 0;
}

.amanda-consent__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: rgba(247, 250, 252, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
}

.amanda-consent__row strong,
.amanda-consent__row small {
  display: block;
}

.amanda-consent__row strong {
  color: #0b111d;
  font-size: 14px;
  font-weight: 840;
}

.amanda-consent__row small {
  margin-top: 4px;
  color: rgba(18, 17, 17, 0.58);
  font-size: 13px;
  font-weight: 620;
  line-height: 1.4;
}

.amanda-consent__row input {
  width: 20px;
  height: 20px;
  accent-color: #35b6ff;
}

.amanda-consent__row.is-disabled {
  opacity: 0.72;
}

@media (max-width: 640px) {
  main {
    width: min(calc(100% - 28px), 840px);
    padding-top: 48px;
  }

  .amanda-consent {
    right: auto;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 14px;
    border-radius: 20px;
  }

  .amanda-consent.is-modal {
    width: calc(100vw - 28px);
    max-height: calc(100dvh - 28px);
    overflow: auto;
  }

  .amanda-consent__actions,
  .amanda-consent__modal-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .amanda-consent button {
    min-width: 0;
    width: 100%;
  }
}
