:root {
  --slate: #414957;
  --slate-dark: #303642;
  --slate-deep: #262d37;
  --plum: #4d1449;
  --pink: #ff989f;
  --gold: #ffda7a;
  --green: #02db76;
  --cream: #fff5dd;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display: 'Arial Black', Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--cream); background: var(--slate-dark); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--green); color: var(--plum); }
.site-frame { position: relative; display: flex; flex-direction: column; min-height: 100svh; isolation: isolate; overflow: hidden; background: var(--slate); }
.grid-texture { position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 48px 48px; }
.diagonal-ribbon { position: absolute; z-index: 2; top: 82px; left: 0; width: 100%; height: 18px; background: var(--pink); clip-path: polygon(0 0,100% 0,100% 36%,66% 100%,29% 39%,0 74%); }
.oversized-brand { position: absolute; z-index: -1; left: -115px; bottom: 11%; font: 900 clamp(100px, 15vw, 245px)/.8 var(--display); letter-spacing: -.11em; white-space: nowrap; color: #ffffff08; transform: rotate(-9deg); pointer-events: none; }
.oversized-brand span { color: #02db7610; }
.doodle { position: absolute; z-index: -1; pointer-events: none; line-height: 1; }
.doodle-one { color: var(--green); font-size: 76px; left: 12%; top: 39%; transform: rotate(15deg); }
.doodle-two { color: var(--gold); font-size: 66px; right: 13%; top: 30%; }
.doodle-three { color: var(--pink); font-size: 52px; right: 15%; bottom: 19%; transform: rotate(-18deg); }
.masthead { height: 82px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 clamp(22px, 5vw, 72px); background: var(--slate-dark); border-bottom: 2px solid #8b71855e; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { object-fit: contain; width: 47px; height: 43px; filter: drop-shadow(0 2px 0 var(--plum)); }
.brand > span { font: 900 20px/1 var(--display); color: var(--gold); letter-spacing: -.06em; white-space: nowrap; }
.brand b { font: inherit; color: var(--green); }
.brand-period { color: var(--pink); }
.masthead-note { display: flex; align-items: center; gap: 11px; font: 800 10px var(--mono); letter-spacing: .06em; color: var(--gold); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #02db7623; }
.note-id { color: var(--pink); }
.content { flex: 1; display: grid; place-items: center; padding: 64px 24px 70px; }
.access-wrap { position: relative; width: min(100%, 460px); }
.access-annotation { position: absolute; top: -33px; left: 0; font: 800 10px var(--mono); color: var(--gold); letter-spacing: .07em; }
.access-annotation span { color: var(--green); font-size: 21px; vertical-align: middle; padding-right: 6px; }
.login-card { position: relative; background: var(--slate-dark); border: 3px solid var(--pink); box-shadow: 11px 12px 0 var(--plum); padding: 40px 39px 0; }
.card-top-ribbon { position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--pink); }
.card-heading { position: relative; }
.eyebrow { margin: 0; display: flex; gap: 12px; align-items: center; color: var(--gold); font: 800 10px var(--mono); letter-spacing: .055em; }
.indicator { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #02db7623; }
.lab-stamp { position: absolute; top: 18px; right: -16px; width: 79px; height: 79px; background: var(--green); color: var(--plum); border: 2px solid var(--plum); box-shadow: 5px 5px 0 var(--gold); transform: rotate(11deg); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0; }
.lab-stamp span { font: 800 8px var(--mono); letter-spacing: .1em; }
.lab-stamp strong { font: 900 39px/.9 var(--display); letter-spacing: -.1em; }
.lab-stamp small { font: 800 4px var(--mono); letter-spacing: .08em; }
h1 { margin: 29px 0 14px; max-width: 360px; font: 900 clamp(54px, 6vw, 70px)/.94 var(--display); letter-spacing: -.085em; color: var(--cream); }
h1 > span { color: var(--pink); }
.heading-period { color: var(--green); }
.card-description { margin: 0 0 30px; color: #d9dce0; line-height: 1.65; font-size: 14px; }
.login-form { display: grid; gap: 18px; }
.field label { display: flex; justify-content: space-between; margin-bottom: 9px; font: 800 10px var(--mono); letter-spacing: .08em; color: var(--gold); }
.field label span { color: var(--pink); }
.field input { width: 100%; height: 49px; border-radius: 0; border: 2px solid #8a8793; background: #252c35; padding: 0 15px; outline: none; color: var(--cream); font-size: 14px; transition: border-color .2s, background .2s; }
.field input::placeholder { color: #a4a8ae; }
.field input:focus { border-color: var(--green); outline: 2px solid #02db7640; outline-offset: 1px; background: #1e252e; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 76px; }
.password-toggle { position: absolute; right: 3px; top: 3px; height: calc(100% - 6px); min-width: 69px; background: transparent; border: none; color: var(--pink); font: 800 11px var(--mono); }
.password-toggle:hover { color: var(--gold); }
.submit-button { width: 100%; height: 56px; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 18px; background: var(--green); border: 2px solid var(--plum); color: var(--plum); font: 900 13px var(--sans); padding: 0 17px 0 19px; box-shadow: 5px 5px 0 var(--plum); transition: transform .16s, box-shadow .16s, background .16s; }
.submit-button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--plum); background: #16f289; }
.submit-arrow { font-size: 25px; line-height: 1; font-weight: 400; }
.demo-feedback { font-size: 12px; margin: -6px 0 0; padding: 12px 13px; color: var(--cream); line-height: 1.55; border: 1px solid var(--gold); background: #ffda7a13; }
.demo-feedback[hidden] { display: none; }
.card-bottom { display: flex; align-items: center; gap: 12px; margin-top: 31px; border-top: 1px solid #ffffff34; padding: 19px 0 23px; }
.asterisk { color: var(--green); font-size: 25px; line-height: 1; }
.card-bottom p { font: 800 9px/1.5 var(--mono); color: #d5bccb; letter-spacing: .02em; margin: 0; }
.card-serial { margin-left: auto; font: 800 10px var(--mono); color: var(--pink); }
.access-after { display: flex; justify-content: space-between; padding: 23px 1px 0; font: 800 10px var(--mono); color: var(--gold); letter-spacing: .08em; }
.access-after span { color: var(--pink); font-size: 28px; line-height: .7; }
.page-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px clamp(22px, 5vw, 72px); border-top: 2px solid var(--plum); background: var(--slate-dark); color: #dbcbd1; font: 800 9px var(--mono); letter-spacing: .02em; }
.footer-right { color: var(--gold); }
.footer-right span { color: var(--green); font-size: 15px; margin-left: 6px; }
@media (max-width: 700px) {
  .masthead { height: 70px; padding-inline: 20px; }
  .brand img { width: 40px; height: 38px; }
  .brand > span { font-size: 17px; }
  .masthead-note { font-size: 8px; }
  .note-id { display: none; }
  .diagonal-ribbon { top: 70px; height: 14px; }
  .content { padding: 72px 21px 66px; }
  .doodle-one { left: -25px; top: 32%; font-size: 51px; opacity: .7; }
  .doodle-two { right: 0; top: 16%; font-size: 41px; }
  .doodle-three { right: -20px; bottom: 12%; font-size: 42px; }
  .login-card { padding: 35px 28px 0; box-shadow: 7px 8px 0 var(--plum); }
  .lab-stamp { width: 68px; height: 68px; right: -7px; top: 19px; }
  .lab-stamp strong { font-size: 31px; }
  h1 { font-size: clamp(51px, 12vw, 66px); }
  .card-description { font-size: 13px; }
  .page-footer { padding: 18px 20px; }
  .page-footer > span:nth-child(2) { display: none; }
  .page-footer span { font-size: 8px; }
}
@media (max-width: 375px) {
  .masthead-note { letter-spacing: 0; font-size: 7px; }
  .content { padding-inline: 17px; }
  .login-card { padding-inline: 23px; }
  .lab-stamp { width: 58px; height: 58px; right: -8px; }
  .lab-stamp strong { font-size: 26px; }
  h1 { font-size: 51px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
