:root {
  --access-ink: #382b2a;
  --access-muted: #806f69;
  --access-line: rgba(139, 102, 82, 0.2);
  --access-paper: rgba(255, 251, 246, 0.94);
  --access-plum: #4a3635;
  --access-violet: #7962b1;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--access-ink);
  background: #f7f1eb;
  font-family: "Albert Sans", sans-serif;
}

.access-page { min-height: 100vh; }

.access-hero {
  min-height: 350px;
  color: #fffaf4;
  overflow: hidden;
}

.access-hero-inner {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 102px;
}

.access-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 72px;
}

.access-topline > a {
  color: inherit;
  font-family: "Source Serif 4", serif;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.access-topline button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.access-eyebrow,
.access-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.access-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f4d9bd;
}

.access-eyebrow .material-symbols-rounded { font-size: 18px; }

.access-hero h1,
.access-card h2 {
  margin: 0;
  font-family: "Source Serif 4", serif;
  font-weight: 600;
}

.access-hero h1 {
  max-width: 620px;
  margin-top: 14px;
  font-size: clamp(42px, 7vw, 64px);
  line-height: 1;
}

.access-hero p {
  max-width: 610px;
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
}

.access-main {
  position: relative;
  z-index: 4;
  width: min(760px, calc(100% - 32px));
  margin: -58px auto 0;
  padding-bottom: 42px;
}

.access-card {
  min-height: 250px;
  padding: 36px;
  border: 1px solid var(--access-line);
  border-radius: 28px;
  background: var(--access-paper);
  box-shadow: 0 22px 50px rgba(69, 45, 42, 0.12);
}

.access-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 176px;
}

.access-panel[hidden] {
  display: none !important;
}

.access-stack { align-items: flex-start; flex-wrap: wrap; }

.access-panel > div:nth-child(2) { flex: 1; min-width: 0; }

.access-spinner {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border: 4px solid rgba(121, 98, 177, 0.16);
  border-top-color: var(--access-violet);
  border-radius: 50%;
  animation: access-spin 0.9s linear infinite;
}

@keyframes access-spin { to { transform: rotate(360deg); } }

.access-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--access-violet);
  border-radius: 20px;
  background: rgba(121, 98, 177, 0.11);
}

.access-icon .material-symbols-rounded { font-size: 31px; }
.access-icon.warning { color: #b96742; background: rgba(220, 119, 69, 0.12); }
.access-icon.success { color: #5d8754; background: rgba(104, 145, 87, 0.13); }

.access-kicker { margin: 0 0 7px; color: #a07664; }
.access-card h2 { font-size: 32px; line-height: 1.1; }
.access-card p:not(.access-kicker) { margin: 9px 0 0; color: var(--access-muted); line-height: 1.55; }

.access-choices {
  display: grid;
  width: 100%;
  gap: 10px;
  margin-top: 4px;
}

.access-choice {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  color: var(--access-ink);
  text-align: left;
  border: 1px solid var(--access-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.access-choice:hover { border-color: rgba(121, 98, 177, 0.45); transform: translateY(-1px); }
.access-choice:disabled { cursor: default; opacity: 0.68; transform: none; }
.access-choice-logo { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: rgba(121, 98, 177, 0.1); color: var(--access-violet); font-family: "Source Serif 4", serif; font-weight: 600; }
.access-choice-copy { flex: 1; }
.access-choice strong, .access-choice small { display: block; }
.access-choice small { margin-top: 3px; color: var(--access-muted); text-transform: capitalize; }

.access-actions {
  display: flex;
  width: 100%;
  gap: 10px;
  margin-top: 6px;
}

.access-primary,
.access-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
}

.access-primary { color: #fff; border: 0; background: var(--access-plum); }
.access-primary[hidden] { display: none !important; }
.access-secondary { color: var(--access-ink); border: 1px solid var(--access-line); background: transparent; }
.access-privacy { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 18px 18px 0; color: #8b7871; font-size: 13px; text-align: center; }
.access-privacy .material-symbols-rounded { font-size: 18px; }

.dark body { background: #1f191b; }
.dark .access-card { --access-ink: #f5ebe2; --access-muted: #c9b9b1; --access-paper: rgba(49, 38, 42, 0.96); --access-line: rgba(255, 232, 214, 0.13); }
.dark .access-choice { background: rgba(255, 255, 255, 0.035); }
.dark .access-secondary { color: #f5ebe2; }

@media (max-width: 600px) {
  .access-hero { min-height: 330px; }
  .access-hero-inner { width: calc(100% - 34px); padding-top: 22px; }
  .access-topline { margin-bottom: 62px; }
  .access-topline > a { font-size: 21px; }
  .access-topline button { width: 46px; height: 46px; }
  .access-hero h1 { font-size: 43px; }
  .access-hero p { font-size: 16px; }
  .access-main { width: calc(100% - 24px); margin-top: -48px; }
  .access-card { min-height: 285px; padding: 27px 22px; border-radius: 24px; }
  .access-panel { align-items: flex-start; gap: 17px; }
  .access-spinner { width: 44px; height: 44px; }
  .access-icon { width: 52px; height: 52px; border-radius: 16px; }
  .access-card h2 { font-size: 27px; }
  .access-actions { flex-direction: column; }
  .access-primary, .access-secondary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .access-spinner { animation-duration: 1.8s; }
  .access-choice { transition: none; }
}
