:root {
  font: 16px/1.45 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
  color: #252722;
  background: #10100e;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
h1, p { margin: 0; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible { outline: 3px solid #a87424; outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

body[data-view="landing"], body[data-view="cookie-help"], body:not([data-view]) {
  color: #f9f5e9;
  background: radial-gradient(ellipse at 50% 16%, #41301c 0%, #1c1711 35%, #0d0c0b 72%);
}
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  gap: 13px;
  padding: max(24px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(24px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
}
.landing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(600px, 100%);
  padding: clamp(33px, 6vw, 56px) clamp(22px, 6vw, 67px) clamp(35px, 7vw, 59px);
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #62482740, transparent 64%), linear-gradient(155deg, #231c14, #131211 66%);
  border: 1px solid #78603c;
  border-top-color: #ba8b50;
  border-radius: 23px;
  box-shadow: 0 27px 95px #000a, inset 0 0 0 5px #eed4a10d;
}
.landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 370px;
  aspect-ratio: 1;
  left: calc(50% - 185px);
  top: -207px;
  border-radius: 50%;
  border: 1px solid #d7ac612b;
  box-shadow: 0 0 0 25px #d7ac610f, 0 0 0 52px #d7ac610b;
  pointer-events: none;
}
.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #f2cc8a;
  font: 700 1.48rem/1.2 Georgia, serif;
  letter-spacing: .12em;
  margin-bottom: 33px;
}
.brand-symbol { width: 12px; height: 12px; border: 1px solid #f2cc8a; transform: rotate(45deg); box-shadow: inset 0 0 0 3px #312619; background: #e8b66a; }
.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid #97744375;
  border-radius: 999px;
  color: #f1cd8f;
  background: #c2975320;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .025em;
  margin-bottom: 17px;
}
.event-badge span { width: 5px; height: 5px; border-radius: 50%; background: #edc27b; box-shadow: 0 0 8px #edc27b78; }
.landing h1 { font: 700 clamp(2rem, 6.7vw, 3.45rem)/1.12 Georgia, "Times New Roman", serif; text-wrap: balance; color: #ffeac3; }
.landing p { color: #d2c4ad; font-size: clamp(.94rem, 2.6vw, 1.06rem); margin: 16px auto 27px; max-width: 34ch; text-wrap: pretty; }
.enter {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 53px;
  width: 100%;
  padding: 10px 37px;
  text-align: center;
  border-radius: 11px;
  border: 1px solid #e4bd6e;
  background: linear-gradient(160deg, #ffe4a7, #eac078 55%, #d5a052);
  color: #21170a;
  box-shadow: 0 5px 18px #b17e3529, inset 0 1px #fff4ce;
  font-weight: 780;
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
}
.enter:hover { background: linear-gradient(177deg, #f7de98, #dfb15c); }
.cta-arrow { position: absolute; right: 15px; font-size: 1.17rem; }
.system-card { width: min(430px, 100%); }
.system-card h1 { font-size: clamp(1.7rem, 5vw, 2.12rem); }
.system-symbol { display: grid; place-items: center; width: 43px; height: 43px; margin: 0 auto 20px; border: 1px solid #a98047; border-radius: 50%; background: #9d733b2b; color: #f2cc8a; font-weight: 750; }

body[data-view="check"], body[data-view="success"], .handoff, .credit-page { background: #f2f3f1; color: #252722; }
.card {
  width: min(364px, 100%);
  padding: 21px 19px 19px;
  border: 1px solid #e1e4dd;
  border-radius: 14px;
  background: #fff;
  color: #252722;
  box-shadow: 0 9px 27px #17241310;
}
.challenge h1 {
  text-align: center;
  font-size: clamp(.91rem, 4.2vw, 1.07rem);
  font-weight: 750;
  line-height: 1.45;
}
.challenge h1 strong { color: #bd252b; font-weight: 850; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 15px 0 17px; }
.tile {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #eef1ec;
  cursor: pointer;
}
.tile img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; user-select: none; }
.tile:hover:not(:disabled) { border-color: #85aa8c; }
.tile[aria-pressed="true"] { border-color: #267b42; background: #def0df; }
.tile:disabled { cursor: default; }
.tick {
  display: none;
  position: absolute;
  bottom: 2%;
  right: 2%;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #267b42;
  color: white;
  font-size: .73rem;
  font-weight: 800;
}
.tile[aria-pressed="true"] .tick { display: grid; }
.primary {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 45px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: #267b42;
  color: white;
  font-weight: 730;
  text-decoration: none;
  cursor: pointer;
}
.primary:hover { background: #1f6937; }
.primary:disabled { opacity: .65; cursor: wait; }
.notice { margin-bottom: 10px; padding: 8px 9px; border-radius: 7px; background: #fff2df; color: #694719; font-size: .85rem; }
.credit-link { color: #626b60; text-underline-offset: 3px; font-size: .76rem; }
.loading { color: inherit; font-size: .92rem; }
.compact h1 { margin-bottom: 13px; font-size: 1.3rem; }
.handoff { display: grid; place-items: center; padding: 20px; }
.credits { max-width: 760px; margin: 32px auto; width: calc(100% - 38px); }
.credits h1 { font-size: 2rem; letter-spacing: -.04em; margin: 12px 0; }
.credits p { color: #536158; }
.credits li { padding-block: 8px; }

@media (max-width: 480px) {
  .landing { padding-inline: clamp(16px, 5.6vw, 26px); }
  .landing h1 { overflow-wrap: anywhere; }
  .enter { padding-inline: 31px; }
  .cta-arrow { right: 12px; }
  .card { padding-inline: clamp(12px, 4vw, 19px); }
  .tiles { gap: clamp(7px, 2.8vw, 11px); }
}

@media (max-height: 560px) {
  .page {
    align-content: safe center;
    padding-top: max(14px, env(safe-area-inset-top, 0px));
    padding-bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }
  .landing { padding-block: 22px; }
  .wordmark { margin-bottom: 16px; }
  .event-badge { margin-bottom: 10px; }
  .landing h1 { font-size: clamp(1.8rem, 5.6vw, 2.55rem); }
  .landing p { margin-block: 10px 17px; }
  .card { padding-block: 15px; }
  .tiles { margin-block: 12px; }
}
