:root {
  color-scheme: light;
  --ink: #14212c;
  --paper: #fff8d9;
  --paper-bright: #fffdf1;
  --grass: #79bd55;
  --grass-dark: #4d8f3f;
  --sky: #8dd2ee;
  --cream: #fff1b5;
  --red: #bf4139;
  --red-dark: #8b2d2d;
  --blue: #266c9d;
  --blue-dark: #174968;
  --gold: #f1c34b;
  --muted-ink: #53616b;
  --chunk-shadow: rgba(20, 33, 44, 0.28);
  --danger: #9e2727;
  --success: #236442;
  --text: var(--ink);
  --muted: var(--muted-ink);
  --cyan: var(--blue);
  --border: rgba(20, 33, 44, 0.22);
}

html {
  min-width: 320px;
  background: #315a41;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.42), transparent 17rem),
    radial-gradient(circle at 83% 14%, rgba(255, 255, 255, 0.28), transparent 14rem),
    linear-gradient(180deg, var(--sky) 0 21rem, #4a7a50 21rem 100%);
}

body::before {
  inset: 21rem 0 0;
  z-index: 0;
  opacity: 0.18;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.24) 0 3px, transparent 3px 13px),
    radial-gradient(circle, #285d39 0 4px, transparent 5px);
  background-size: auto, 56px 56px;
}

body::after {
  position: fixed;
  z-index: 0;
  inset: 20.2rem 0 auto;
  height: 18px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #d8c66f 0 34px, #f4eeb2 34px 68px);
  border-block: 3px solid var(--ink);
  content: "";
  opacity: 0.82;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 2;
  width: min(1460px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 12px;
  border: 0;
}

.brand,
.home-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(20, 33, 44, 0.025) 0 1px, transparent 1px 5px),
    var(--paper);
  box-shadow: 0 5px 0 var(--chunk-shadow);
  font-size: 0.92rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-decoration: none;
}

.brand {
  color: #fff;
  background: var(--red);
  font-size: 1.08rem;
  letter-spacing: -0.025em;
}

.brand:hover,
.brand:focus-visible,
.home-link:hover,
.home-link:focus-visible {
  color: inherit;
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(-2px);
}

main {
  position: relative;
  z-index: 1;
  width: min(1460px, calc(100% - 36px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 26px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 430px);
  gap: clamp(26px, 3vw, 48px);
  align-items: start;
}

main#accountLayout.selection-pending {
  grid-template-columns: 1fr;
}

.intro {
  min-width: 0;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.5rem, 4.8vw, 5.2rem);
  font-weight: 1000;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-shadow:
    3px 3px 0 #20466f,
    6px 6px 0 rgba(20, 33, 44, 0.42);
}

.intro-copy {
  position: relative;
  max-width: 880px;
  margin: 24px 0 30px;
  padding: 14px 18px;
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 10px;
  background:
    repeating-linear-gradient(0deg, rgba(20, 33, 44, 0.022) 0 1px, transparent 1px 5px),
    var(--paper);
  box-shadow: 0 7px 0 rgba(20, 33, 44, 0.22);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-weight: 800;
  line-height: 1.45;
}

.intro-copy::before {
  position: absolute;
  top: -14px;
  left: 38px;
  width: 22px;
  height: 22px;
  background: var(--paper);
  border-top: 4px solid var(--ink);
  border-left: 4px solid var(--ink);
  content: "";
  transform: rotate(45deg);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}

.access-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 590px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 14px;
  background: #eef2eb;
  cursor: pointer;
  box-shadow:
    0 10px 0 var(--chunk-shadow),
    inset 0 0 0 4px rgba(255, 255, 255, 0.25);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tier-select-button {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  cursor: pointer;
}

.tier-select-button:hover,
.tier-select-button:focus-visible {
  border: 0;
  outline: 0;
  box-shadow: none;
  transform: none;
}

.access-card:has(.tier-select-button:focus-visible),
.access-card.is-selected {
  outline: 5px solid #fff8b5;
  outline-offset: 3px;
  transform: translateY(-5px);
  box-shadow:
    0 15px 0 var(--chunk-shadow),
    inset 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.access-card-god:has(.tier-select-button:focus-visible),
.access-card-god.is-selected {
  box-shadow:
    0 15px 0 rgba(20, 33, 44, 0.36),
    inset 0 0 0 4px rgba(255, 246, 195, 0.16);
}

.access-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 48%),
    repeating-linear-gradient(45deg, rgba(20, 33, 44, 0.025) 0 4px, transparent 4px 12px);
  content: "";
}

.access-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 0 var(--chunk-shadow),
    inset 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.access-card-member {
  background: #c9f3ff;
}

.access-card-god {
  color: #fff9df;
  border-color: var(--ink);
  background: linear-gradient(145deg, #8e232d, #e1433d);
  box-shadow:
    0 10px 0 rgba(20, 33, 44, 0.36),
    inset 0 0 0 4px rgba(255, 246, 195, 0.16);
}

.access-card-god:hover {
  box-shadow:
    0 15px 0 rgba(20, 33, 44, 0.36),
    inset 0 0 0 4px rgba(255, 246, 195, 0.16);
}

.access-card-topline {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.access-number,
.access-status {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 8px;
  border: 3px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 3px 0 rgba(20, 33, 44, 0.2);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.access-number {
  color: #fff;
  background: var(--blue);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

.access-status {
  min-height: 42px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fffdf1;
  box-shadow: 0 4px 0 rgba(20, 33, 44, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.015em;
  text-align: center;
  text-transform: none;
}

.access-card-god .access-number {
  color: var(--ink);
  background: var(--gold);
}

.character-stage {
  position: relative;
  min-height: 270px;
  margin: 5px -8px -4px;
  display: grid;
  place-items: end center;
}

.character-stage::after {
  position: absolute;
  z-index: -1;
  right: 10%;
  bottom: 14px;
  left: 10%;
  height: 22px;
  border: 3px solid rgba(20, 33, 44, 0.5);
  border-radius: 50%;
  background: rgba(20, 33, 44, 0.18);
  content: "";
}

.character-stage img {
  width: 100%;
  height: 270px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 0 rgba(20, 33, 44, 0.22));
  transform-origin: 50% 100%;
  transition: transform 180ms ease;
}

.access-card:hover .character-stage img {
  transform: translateY(-3px) rotate(-0.35deg);
}

.access-card-god .character-stage img {
  width: 116%;
  max-width: none;
}

.access-card-copy {
  position: relative;
  z-index: 2;
  min-height: 220px;
  margin-top: auto;
  padding: 13px 12px 12px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 253, 241, 0.94);
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.2);
  text-align: left;
}

.access-card-god .access-card-copy {
  color: #fff9df;
  background: rgba(91, 24, 37, 0.82);
  border-color: #3c1720;
}

.access-card h2 {
  margin: 0 0 7px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: uppercase;
}

.access-card p {
  margin: 0;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.42;
}

.access-card .access-tier-summary {
  min-height: 38px;
  text-align: center;
}

.access-card p strong {
  color: #ffe57e;
  font-weight: 1000;
}

.benefits-label {
  margin: 12px 0 7px !important;
  color: var(--blue) !important;
  font-size: 0.62rem !important;
  font-weight: 1000 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-card-god .benefits-label {
  color: var(--gold) !important;
}

.tier-benefits {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}

.tier-benefits li {
  position: relative;
  padding-left: 19px;
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.3;
}

.tier-benefits li::before {
  position: absolute;
  top: -1px;
  left: 0;
  color: var(--blue);
  content: "✓";
  font-size: 0.86rem;
  font-weight: 1000;
}

.access-card-god .tier-benefits li::before {
  color: var(--gold);
}

.account-panel {
  position: sticky;
  top: 18px;
  overflow: visible;
  min-height: 590px;
  margin-top: 8px;
  padding: 74px clamp(24px, 3vw, 36px) 32px;
  color: var(--ink);
  border: 5px solid var(--ink);
  border-radius: 16px;
  background:
    radial-gradient(circle at 92% 3%, rgba(241, 195, 75, 0.34), transparent 31%),
    repeating-linear-gradient(0deg, rgba(20, 33, 44, 0.025) 0 1px, transparent 1px 5px),
    var(--paper);
  box-shadow:
    0 14px 0 rgba(20, 33, 44, 0.34),
    0 28px 46px rgba(20, 33, 44, 0.24),
    inset 0 0 0 5px rgba(255, 255, 255, 0.28);
  backdrop-filter: none;
}

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

.account-panel:not([hidden]) {
  animation: panel-arrives 260ms cubic-bezier(.18, .8, .18, 1) both;
}

.account-panel:has(#godModeView:not([hidden])) {
  min-height: 0;
}

@keyframes panel-arrives {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.account-panel::before,
.account-panel::after {
  position: absolute;
  z-index: -1;
  top: -20px;
  width: 22px;
  height: 54px;
  background: #72503d;
  border: 3px solid var(--ink);
  content: "";
}

.account-panel::before {
  left: 39px;
}

.account-panel::after {
  right: 39px;
}

.panel-glow {
  display: none;
}

.panel-sign {
  position: absolute;
  z-index: 2;
  top: -28px;
  left: 50%;
  width: min(270px, calc(100% - 76px));
  min-height: 72px;
  padding: 10px 16px 8px;
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--blue);
  box-shadow:
    0 7px 0 rgba(20, 33, 44, 0.28),
    inset 0 -7px 0 rgba(20, 33, 44, 0.12);
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-1deg);
}

.panel-sign span,
.panel-sign small {
  display: block;
}

.panel-sign span {
  font-size: 1.35rem;
  font-weight: 1000;
  letter-spacing: -0.025em;
}

.panel-sign small {
  margin-top: 2px;
  color: var(--cream);
  font-size: 0.64rem;
  font-weight: 1000;
  letter-spacing: 0.1em;
}

.account-view {
  position: relative;
}

.account-view[hidden] {
  display: none !important;
}

.account-view h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 1000;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.account-view > p:not(.panel-kicker) {
  color: var(--muted-ink);
  font-weight: 750;
  line-height: 1.55;
}

#loadingView {
  min-height: 440px;
}

.spinner {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(38, 108, 157, 0.2);
  border-top-color: var(--blue);
}

form {
  margin-top: 24px;
}

label {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 1000;
  text-transform: uppercase;
}

input {
  min-height: 54px;
  padding: 0 14px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fffdf1;
  box-shadow: inset 0 -4px 0 rgba(20, 33, 44, 0.08);
  font-weight: 800;
}

input::placeholder {
  color: #78828a;
}

input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(38, 108, 157, 0.18);
}

button,
.button-link {
  min-height: 52px;
  border-radius: 8px;
  font-weight: 1000;
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

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

.primary-button {
  color: #fff;
  border: 3px solid var(--ink);
  background: var(--blue);
  box-shadow:
    0 6px 0 var(--blue-dark),
    inset 0 -5px 0 rgba(20, 33, 44, 0.12);
}

.primary-button:hover,
.primary-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
  filter: brightness(1.08);
}

.secondary-button {
  color: var(--ink);
  border: 3px solid var(--ink);
  background: #eef2eb;
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.22);
}

.google-button {
  min-height: 56px;
  margin-top: 22px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 0 rgba(20, 33, 44, 0.24);
}

.google-button:hover,
.google-button:focus-visible {
  border-color: var(--ink);
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 8px 0 rgba(20, 33, 44, 0.24);
}

.sign-in-divider,
.membership-divider {
  color: #68747d;
  font-weight: 1000;
}

.sign-in-divider::before,
.sign-in-divider::after,
.membership-divider::before,
.membership-divider::after {
  height: 2px;
  background: rgba(20, 33, 44, 0.22);
}

.privacy-note {
  color: var(--muted-ink) !important;
  font-weight: 700 !important;
}

.privacy-note a {
  color: var(--blue);
  font-weight: 1000;
}

.privacy-note a:hover,
.privacy-note a:focus-visible {
  color: var(--red-dark);
}

.account-details {
  border-top: 3px solid var(--ink);
}

.account-details > div {
  border-bottom: 3px solid var(--ink);
}

dt {
  color: var(--muted-ink);
  font-weight: 1000;
}

dd {
  color: var(--ink);
  font-weight: 900;
}

.access-badge {
  color: var(--success);
  border: 3px solid var(--ink);
  background: #d9f1d2;
  box-shadow: 0 3px 0 rgba(20, 33, 44, 0.18);
}

.access-badge.full {
  color: #fff9df;
  border-color: var(--ink);
  background: linear-gradient(145deg, #9f242e, #e1433d);
}

.university-purchase {
  margin: 0 0 22px;
  padding: 17px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(38, 108, 157, 0.2), transparent 46%),
    #e6f7f4;
  box-shadow: 0 6px 0 rgba(20, 33, 44, 0.2);
}

.university-purchase[hidden] { display: none !important; }

.purchase-kicker {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.university-purchase h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.purchase-copy {
  margin: 10px 0 15px;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.5;
}

.purchase-details {
  margin: 0;
  border-top: 3px solid var(--ink);
}

.purchase-details > div {
  padding: 12px 0;
  border-bottom: 3px solid var(--ink);
}

.purchase-actions {
  margin-top: 15px;
  display: grid;
  gap: 9px;
}

.purchase-actions button { width: 100%; }

.membership-actions {
  padding: 17px;
  border: 3px solid var(--ink);
  border-radius: 10px;
  background: #c9f3ff;
  box-shadow: 0 6px 0 rgba(20, 33, 44, 0.2);
}

.guest-purchase-options {
  margin-top: 24px;
}

.membership-actions.is-full {
  border-color: var(--ink);
  background: #fff1b5;
  box-shadow: 0 6px 0 rgba(20, 33, 44, 0.2);
}

.membership-kicker {
  color: var(--blue);
  font-weight: 1000;
}

.membership-heading-row h3,
.preview-access h3 {
  color: var(--ink);
  font-weight: 1000;
  text-transform: uppercase;
}

.connection-status {
  color: var(--ink);
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 1000;
}

.membership-actions.is-full .connection-status {
  color: #fff9df;
  border-color: var(--ink);
  background: var(--red);
}

.membership-copy,
.provider-note,
.billing-note {
  color: var(--muted-ink);
  font-weight: 750;
}

.plan-prompt {
  color: var(--ink);
  font-weight: 1000;
}

.god-mode-plan-tabs {
  margin-top: 14px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  border: 3px solid var(--ink);
  border-radius: 11px;
  background: rgba(20, 33, 44, 0.1);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.god-mode-plan-tab {
  min-height: 106px;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--ink);
  border: 3px solid transparent;
  border-radius: 7px;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.god-mode-plan-tab[aria-selected="true"] {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(241, 195, 75, 0.6), transparent 52%),
    #fff1b5;
  box-shadow: 0 4px 0 rgba(20, 33, 44, 0.22);
}

.god-mode-plan-tab:hover,
.god-mode-plan-tab:focus-visible {
  border-color: var(--ink);
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(-2px);
}

.god-mode-plan-tab .plan-name {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-tab-price {
  margin-top: 5px;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 1000;
  letter-spacing: -0.04em;
  line-height: 1;
}

.plan-tab-detail {
  margin-top: 5px;
  color: var(--red-dark);
  font-size: 0.68rem;
  font-weight: 1000;
  line-height: 1.25;
}

.god-mode-plan-panel {
  margin-top: 14px;
  padding: 14px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 9px;
  background: #fffdf1;
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.2);
}

.god-mode-plan-panel[hidden] {
  display: none !important;
}

.god-mode-plan-panel > p {
  margin: 0;
  color: var(--muted-ink);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.god-mode-plan-panel .plan-selected-price {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 1000;
  line-height: 1.15;
}

.god-mode-plan-panel .primary-button {
  width: 100%;
  margin-top: 14px;
}

.plan-option {
  min-height: 142px;
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 9px;
  background: #fffdf1;
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.2);
}

.plan-option-featured {
  border-color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(241, 195, 75, 0.56), transparent 48%),
    #fff1b5;
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.2);
}

.plan-option:hover,
.plan-option:focus-visible,
.plan-option-featured:hover,
.plan-option-featured:focus-visible {
  border-color: var(--ink);
  outline: 3px solid #fff;
  outline-offset: 2px;
  transform: translateY(-3px);
  box-shadow: 0 8px 0 rgba(20, 33, 44, 0.2);
}

.plan-option.is-selected {
  outline: 4px solid var(--red);
  outline-offset: 2px;
  box-shadow: 0 8px 0 rgba(20, 33, 44, 0.24);
}

.plan-badge {
  color: var(--ink);
  border: 2px solid var(--ink);
  background: var(--gold);
}

.plan-name,
.plan-price,
.plan-price small,
.plan-equivalent {
  color: var(--ink);
}

.plan-name,
.plan-price {
  font-weight: 1000;
}

.plan-saving,
.plan-option-featured .plan-saving {
  color: var(--red-dark);
  font-weight: 1000;
}

.provider-button {
  color: #fff9df;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: linear-gradient(135deg, #54224a, #9f242e 54%, #e1433d);
  box-shadow: 0 5px 0 rgba(20, 33, 44, 0.25);
  font-weight: 1000;
}

.patreon-button {
  border-color: var(--ink);
}

.provider-button:hover,
.provider-button:focus-visible {
  border-color: var(--ink);
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.preview-access {
  border: 3px solid var(--ink);
  border-radius: 10px;
  background:
    radial-gradient(circle at 100% 0, rgba(241, 195, 75, 0.36), transparent 48%),
    var(--cream);
  box-shadow: 0 6px 0 rgba(20, 33, 44, 0.2);
}

.preview-kicker {
  color: var(--red-dark);
  font-weight: 1000;
}

.preview-access > p:not(.preview-kicker) {
  color: var(--muted-ink);
  font-weight: 750;
}

.preview-button {
  color: var(--ink);
  border: 3px solid var(--ink);
  background: var(--gold);
  box-shadow: 0 6px 0 #b18b27;
}

.account-message {
  color: var(--success);
  font-weight: 900;
}

.account-message.error {
  color: var(--danger);
}

.legal-footer {
  position: relative;
  z-index: 1;
  width: min(1460px, calc(100% - 36px));
  color: var(--paper);
  border-top: 3px solid rgba(20, 33, 44, 0.38);
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(20, 33, 44, 0.3);
}

.legal-footer a {
  display: inline-flex;
  min-width: 24px;
  min-height: 24px;
  align-items: center;
  justify-content: center;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #fff;
}

.legal-footer a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 1240px) {
  main {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px);
    gap: 26px;
  }

  .access-card {
    min-height: 570px;
    padding: 13px;
  }

  .character-stage {
    min-height: 250px;
  }

  .character-stage img {
    height: 250px;
  }
}

@media (max-width: 1020px) {
  main {
    grid-template-columns: 1fr;
  }

  .account-panel {
    position: relative;
    top: auto;
    width: min(620px, 100%);
    margin: 54px auto 0;
  }
}

@media (max-width: 760px) {
  .site-header,
  main,
  .legal-footer {
    width: min(100% - 24px, 1460px);
  }

  .home-link {
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 4rem);
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .access-card {
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(145px, 0.8fr) minmax(160px, 1fr);
    grid-template-rows: auto 1fr;
    gap: 8px 10px;
  }

  .access-card-topline {
    grid-column: 1 / -1;
  }

  .character-stage {
    min-height: 230px;
    margin: 0 -8px -6px;
  }

  .character-stage img {
    height: 230px;
  }

  .access-card-copy {
    align-self: center;
    min-height: 0;
    margin: 0;
  }

  .access-card .access-tier-summary {
    min-height: 0;
  }

  .access-card-god .character-stage img {
    width: 120%;
  }

  .account-panel {
    padding-inline: 22px;
  }
}

@media (max-width: 480px) {
  .site-header {
    align-items: stretch;
    gap: 9px;
  }

  .brand,
  .home-link {
    min-height: 42px;
    padding-inline: 10px;
    font-size: 0.73rem;
    text-align: center;
  }

  .brand {
    font-size: 0.84rem;
  }

  main {
    padding-top: 18px;
  }

  .intro-copy {
    margin-bottom: 22px;
  }

  .access-card {
    min-height: 320px;
    grid-template-columns: minmax(118px, 0.72fr) minmax(150px, 1fr);
    padding: 11px;
  }

  .access-number,
  .access-status {
    padding-inline: 6px;
    font-size: 0.64rem;
  }

  .character-stage {
    min-height: 230px;
  }

  .character-stage img {
    height: 230px;
  }

  .access-card-copy {
    padding-inline: 8px;
  }

  .account-panel {
    margin-top: 48px;
    padding: 66px 16px 24px;
  }

  .direct-plan-grid {
    grid-template-columns: 1fr;
  }

  .god-mode-plan-tabs {
    gap: 5px;
    padding: 5px;
  }

  .god-mode-plan-tab {
    min-height: 96px;
    padding: 10px 7px 8px;
  }

  .god-mode-plan-tab .plan-name {
    font-size: 0.68rem;
  }

  .plan-tab-price {
    font-size: 1rem;
  }

  .plan-tab-detail {
    font-size: 0.58rem;
  }

  .membership-heading-row {
    display: grid;
  }

  .connection-status {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
