:root {
  color-scheme: dark;
  --bg: #090d10;
  --panel: rgba(22, 26, 29, 0.82);
  --panel-line: rgba(255, 255, 255, 0.13);
  --gold: #ffc82e;
  --gold-deep: #f2ae17;
  --text: #f8f8f6;
  --muted: #b9bdc2;
  --ink: #101315;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 255, 255, 0.08), transparent 31rem),
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.05), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.unsubscribe-page {
  position: relative;
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 24px;
  overflow: hidden;
}

.unsubscribe-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.54));
}

.waves {
  position: absolute;
  top: 42px;
  width: 420px;
  height: 430px;
  opacity: 0.55;
  pointer-events: none;
}

.waves-left {
  left: -370px;
  transform: rotate(180deg);
}

.waves-right {
  right: -370px;
}

.brand-header {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  margin-bottom: 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 3.35rem);
  line-height: 1;
}

.brand-header img {
  width: 34px;
  height: 34px;
}

.hero {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3.1rem, 9vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 span,
.stay-line span {
  color: var(--gold);
}

.lead {
  margin: 0;
  color: #e2e5e8;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
}

.sublead {
  margin: 24px 0 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: 500;
}

.access-card,
.preference-card {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  border: 1px solid var(--panel-line);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.05);
}

.access-card {
  width: min(740px, 100%);
  padding: clamp(24px, 4vw, 32px) clamp(22px, 6vw, 54px) 22px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(31, 35, 38, 0.9), rgba(13, 17, 20, 0.86));
}

.access-card h2 {
  margin: 0 0 20px;
  text-align: center;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
}

.access-card ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.access-card li {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 28px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.access-card li:first-child {
  border-top: 0;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.icon-box img {
  width: 44px;
  height: 44px;
}

.access-card strong,
.access-card small {
  display: block;
}

.access-card strong {
  margin-bottom: 7px;
  font-size: clamp(1.08rem, 2.5vw, 1.4rem);
}

.access-card small {
  color: #c9ccd0;
  font-size: clamp(0.98rem, 2.2vw, 1.18rem);
}

.stay-line {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 22px 0 26px;
  font-size: clamp(1.1rem, 2.7vw, 1.48rem);
  font-weight: 800;
}

.stay-line img {
  width: 28px;
}

.preference-card {
  width: min(750px, 100%);
  padding: clamp(25px, 4vw, 34px) clamp(20px, 8vw, 104px);
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 105%, rgba(243, 229, 203, 0.58), transparent 18rem),
    #f4f1eb;
  color: var(--ink);
  text-align: center;
}

.preference-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 4vw, 2rem);
}

.preference-card p {
  margin: 0;
  color: #686d73;
  font-size: clamp(1rem, 2.4vw, 1.16rem);
}

.gold-button,
.grey-button {
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: clamp(1.05rem, 2.5vw, 1.26rem);
  font-weight: 850;
}

.gold-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 26px auto 26px;
  overflow: hidden;
  color: #080b0d;
  text-decoration: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 12px 26px rgba(255, 200, 46, 0.26);
}

.gold-button::after {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  width: 30%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: shine 2.8s ease-in-out infinite;
}

.gold-button img {
  width: 24px;
  height: 24px;
}

.divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin: 0 0 20px;
  color: #87817a;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #d7d2ca;
}

form {
  text-align: left;
}

label {
  display: block;
  margin: 0 0 8px;
  color: #16191c;
  font-size: 1rem;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 58px;
  margin: 0 0 20px;
  padding: 0 18px;
  border: 1px solid #c5c6c8;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: #111417;
  font: inherit;
  font-size: 1.18rem;
}

input:focus {
  outline: 3px solid rgba(255, 200, 46, 0.35);
  border-color: var(--gold-deep);
}

.grey-button {
  cursor: pointer;
  color: #181b1d;
  background: #e2ddd5;
}

.grey-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.status {
  min-height: 22px;
  margin: 12px 0 0;
  text-align: center;
  font-weight: 800;
}

.status[data-tone="success"] {
  color: #236d30;
}

.status[data-tone="error"] {
  color: #a92f2f;
}

footer {
  position: relative;
  z-index: 1;
  margin: 28px 0 0;
  text-align: center;
  color: #898d93;
  font-size: 1.08rem;
}

footer span {
  color: var(--gold);
  font-size: 1.5rem;
  vertical-align: -2px;
}

@keyframes shine {
  0% {
    left: -45%;
  }

  45%,
  100% {
    left: 118%;
  }
}

@media (max-width: 640px) {
  .unsubscribe-page {
    width: min(100% - 22px, 920px);
    padding-top: 20px;
  }

  .brand-header {
    margin-bottom: 28px;
  }

  .access-card li {
    grid-template-columns: 58px 1fr;
    gap: 16px;
  }

  .icon-box {
    width: 58px;
    height: 58px;
  }

  .icon-box img {
    width: 34px;
    height: 34px;
  }

  .preference-card {
    padding-inline: 18px;
  }
}
