:root {
  --y: #ffd400;
  --y-hot: #ffcd00;
  --y-soft: #ffe861;
  --y-pale: #fff6c2;
  --k: #111111;
  --k-2: #242424;
  --w: #fffef8;
  --paper: #ffffff;
  --mute: #5c5c5c;
  --line: 3px;
  --shift: 5px;
  --font-pixel: "Press Start 2P", ui-monospace, monospace;
  --font-display: "Pixelify Sans", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --evil: #ff1f1f;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--k);
  background: var(--w);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  background-image: radial-gradient(rgba(17, 17, 17, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: 20px;
  min-width: 0;
}

.skip {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 200;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
  background: var(--k);
  color: var(--y);
  font-family: var(--font-pixel);
  font-size: 8px;
  line-height: 1.4;
}

.skip:focus-visible {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 12px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  pointer-events: auto;
  border: 3px solid var(--y);
  box-shadow: 4px 4px 0 var(--k);
  outline: none;
}

main:focus {
  outline: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: var(--line) solid var(--k);
  background: var(--y);
  color: var(--k);
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 0.02em;
  box-shadow: var(--shift) var(--shift) 0 var(--k);
  cursor: pointer;
  user-select: none;
  transition: transform 0.08s steps(2, end), box-shadow 0.08s steps(2, end);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--k);
}

.btn:active {
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--k);
}

.btn:focus-visible {
  outline: 3px solid var(--k);
  outline-offset: 3px;
}

.btn--ghost {
  background: var(--paper);
}

.btn--halo {
  animation: halo 1.8s steps(2, end) infinite;
}

@keyframes halo {
  0%,
  100% {
    box-shadow: 5px 5px 0 var(--k), 0 0 0 0 rgba(17, 17, 17, 0.12);
  }
  50% {
    box-shadow: 5px 5px 0 var(--k), 0 0 0 8px rgba(17, 17, 17, 0.08);
  }
}

.nav {
  --nav-bg: var(--y);
  --nav-fg: #111111;
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  color: var(--nav-fg);
  border-bottom: var(--line) solid var(--k);
}

.nav.is-stuck {
  box-shadow: 0 6px 0 rgba(17, 17, 17, 0.12);
}

.nav__bar {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand__bg {
  fill: #111111;
}

.brand__fg {
  fill: #ffd400;
}

.brand__chip {
  padding: 4px 6px;
  border: 3px solid var(--k);
  background: var(--paper);
  font-family: var(--font-pixel);
  font-size: 8px;
}

.nav__links {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-weight: 600;
  font-size: 14px;
}

.nav__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav__tools .btn {
  min-height: 40px;
  padding: 0 12px;
  font-size: 9px;
  box-shadow: 3px 3px 0 var(--k);
}

.btn.nav__go {
  display: none;
}

.theme-btn {
  width: 40px;
  padding: 0;
}

.theme-btn svg {
  width: 18px;
  height: 18px;
}

.theme-btn__bg {
  fill: #111;
}

.theme-btn__eye,
.theme-btn__mouth {
  fill: #ffd400;
}

.nav__extra {
  display: block;
}

.nav__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: var(--line) solid var(--k);
  background: var(--paper);
  color: var(--k);
  box-shadow: 3px 3px 0 var(--k);
  cursor: pointer;
}

.hero-fold {
  min-height: calc(100svh - 67px);
  display: flex;
  flex-direction: column;
  background: var(--y);
}

.hero {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  border-bottom: var(--line) solid var(--k);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 2px, transparent 2px);
  background-size: 24px 24px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 24px;
}

.kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 3px solid var(--k);
  background: var(--paper);
  font-family: var(--font-pixel);
  font-size: 9px;
  line-height: 1.4;
  box-shadow: 3px 3px 0 var(--k);
}

.hero h1 {
  max-width: 680px;
  color: var(--k);
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  background: var(--k);
  color: var(--y);
  padding: 0 10px 4px;
  box-decoration-break: clone;
}

.hero__lead {
  max-width: 680px;
  margin-top: 18px;
  font-size: 18px;
  color: var(--k-2);
  text-wrap: pretty;
}

.hero__lead--m {
  display: none;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pills li {
  padding: 7px 10px;
  border: 3px solid var(--k);
  background: var(--y-pale);
  font-size: 13px;
  font-weight: 600;
}

.stage {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 0 12px 12px 0;
}

.brick {
  width: min(300px, 100%);
  background: #d8d0b8;
  border: 4px solid var(--k);
  box-shadow: 10px 10px 0 var(--k);
  padding: 10px 12px 14px;
}

.brick__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-pixel);
  font-size: 8px;
}

.brick__rec {
  width: 8px;
  height: 8px;
  background: #c1121f;
  box-shadow: 0 0 0 2px var(--k);
  animation: rec 1s steps(2, end) infinite;
}

@keyframes rec {
  50% {
    opacity: 0.2;
  }
}

.brick__top b {
  flex: 1;
}

.brick__screen {
  aspect-ratio: 9 / 16;
  border: 4px solid var(--k);
  background: #0b0b0b;
  overflow: hidden;
  position: relative;
}

.reel {
  height: 100%;
  color: var(--w);
}

.reel__bars {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  right: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.reel__bars i {
  height: 3px;
  background: rgba(255, 254, 248, 0.28);
  overflow: hidden;
}

.reel__bars i::after {
  content: "";
  display: block;
  height: 100%;
  width: 0;
  background: var(--y);
}

.reel[data-on="0"] [data-bar="0"]::after,
.reel[data-on="1"] [data-bar="1"]::after,
.reel[data-on="2"] [data-bar="2"]::after {
  animation: fillbar 3.2s linear forwards;
}

.reel[data-on="1"] [data-bar="0"],
.reel[data-on="2"] [data-bar="0"],
.reel[data-on="2"] [data-bar="1"] {
  background: var(--y);
}

@keyframes fillbar {
  to {
    width: 100%;
  }
}

.shot {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 36px 16px 72px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.shot.is-on {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}

.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 254, 248, 0.08),
    rgba(255, 254, 248, 0.08) 1px,
    transparent 1px,
    transparent 4px
  );
}

.shot--a {
  background:
    linear-gradient(#1a1a1a, #1a1a1a) 0 0 / 100% 18px no-repeat,
    repeating-conic-gradient(#111 0% 25%, #1c1c1c 0% 50%) 0 0 / 24px 24px;
}

.shot--b {
  background: var(--y);
  color: var(--k);
}

.shot--c {
  background: #fffef8;
  color: var(--k);
}

.shot__kicker,
.shot__stamp {
  font-family: var(--font-pixel);
  font-size: 8px;
}

.shot h2 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.9;
  margin-top: 10px;
  text-wrap: balance;
}

.shot__price {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  font-weight: 700;
}

.shot__sub {
  margin-top: 8px;
  font-weight: 700;
}

.shot__btn {
  margin-top: 16px;
  width: max-content;
  padding: 8px 12px;
  border: 3px solid var(--k);
  background: var(--y);
  font-family: var(--font-pixel);
  font-size: 9px;
  box-shadow: 4px 4px 0 var(--k);
}

.reel__meta {
  position: absolute;
  z-index: 2;
  left: 12px;
  right: 12px;
  bottom: 12px;
  font-size: 13px;
}

.reel__meta span {
  font-weight: 700;
}

.brick__deck {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 0 8px;
}

.dpad {
  position: relative;
  width: 56px;
  height: 56px;
}

.dpad__v,
.dpad__h {
  position: absolute;
  background: var(--k);
}

.dpad__v {
  left: 20px;
  top: 0;
  width: 16px;
  height: 56px;
}

.dpad__h {
  left: 0;
  top: 20px;
  width: 56px;
  height: 16px;
}

.keys {
  display: flex;
  gap: 10px;
}

.key {
  width: 36px;
  height: 36px;
  border: 3px solid var(--k);
  background: #c1121f;
  color: var(--w);
  font-family: var(--font-pixel);
  font-size: 9px;
  box-shadow: 3px 3px 0 var(--k);
  cursor: pointer;
}

.key--b {
  background: #1d4ed8;
}

.key:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--k);
}

.marquee {
  overflow: hidden;
  background: var(--k);
  color: var(--y);
  border-bottom: var(--line) solid var(--k);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 22s linear infinite;
  font-family: var(--font-pixel);
  font-size: 10px;
  line-height: 40px;
  white-space: nowrap;
}

.marquee b {
  color: var(--w);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 80px 0;
}

.section--white {
  background: var(--paper);
  border-bottom: var(--line) solid var(--k);
}

.section--yellow {
  background: var(--y);
  border-bottom: var(--line) solid var(--k);
}

.section--cream {
  background: var(--w);
  border-bottom: var(--line) solid var(--k);
}

.section__head {
  max-width: 680px;
  margin-bottom: 32px;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  text-wrap: balance;
}

.section__head h2 em {
  font-style: normal;
  background: var(--k);
  color: var(--y);
  padding: 0 8px 2px;
}

.section--yellow .section__head h2 em {
  background: var(--paper);
  color: var(--k);
}

.section__head p {
  margin-top: 12px;
  color: var(--mute);
  text-wrap: pretty;
}

.tagline {
  padding: 96px 0;
}

.tagline__text {
  max-width: 680px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  font-weight: 700;
  text-wrap: balance;
}

.word {
  color: color-mix(in srgb, var(--k) 30%, transparent);
  transition: color 0.7s var(--ease);
}

.word.is-on {
  color: var(--k);
}

.word--break::before {
  content: "";
  display: block;
}

.whys,
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why,
.step {
  padding: 20px;
  background: var(--y-pale);
  border: 3px solid var(--k);
}

.section--white .why {
  background: var(--y-pale);
}

.why h3,
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 6px;
}

.step__n {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: var(--k);
  color: var(--y);
  font-family: var(--font-pixel);
  font-size: 12px;
}

.studio .brief {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--paper);
  border: 4px solid var(--k);
  box-shadow: 8px 8px 0 var(--k);
}

.brief label {
  font-family: var(--font-pixel);
  font-size: 9px;
}

.brief textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 3px solid var(--k);
  background: var(--w);
  resize: vertical;
}

.brief textarea:focus {
  outline: 3px solid var(--k);
  outline-offset: 2px;
}

.brief__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brief__hint {
  color: var(--mute);
  font-size: 14px;
}

.plan {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 24px;
  padding: 28px;
  background: var(--paper);
  border: 4px solid var(--k);
  box-shadow: 8px 8px 0 var(--k);
  min-width: 0;
}

.plan__tag {
  font-family: var(--font-pixel);
  font-size: 8px;
  margin-bottom: 10px;
}

.plan h3 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1;
}

.plan ul {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.plan li {
  padding-left: 16px;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--y);
  border: 2px solid var(--k);
}

.plan__buy {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  background: var(--y);
  border: 3px solid var(--k);
  min-width: 0;
}

.plan__buy strong {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
}

.plan__buy span {
  font-size: 14px;
  text-wrap: pretty;
}

.plan__buy .btn {
  width: 100%;
  padding: 8px 10px;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  background: var(--paper);
  border: 3px solid var(--k);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--font-pixel);
  font-size: 12px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  padding: 0 18px 18px;
  color: var(--mute);
  text-wrap: pretty;
}

.faq a {
  text-decoration: underline;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: var(--paper);
  border: 4px solid var(--k);
  box-shadow: 8px 8px 0 var(--k);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.cta-band p {
  margin-top: 8px;
  color: var(--mute);
}

.foot {
  background: var(--k);
  color: var(--w);
  padding: 48px 0 28px;
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.foot a {
  color: var(--y-soft);
}

.foot p,
.foot li {
  color: #d7d7d7;
  font-size: 14px;
}

.foot ul {
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.foot h3 {
  font-family: var(--font-pixel);
  font-size: 9px;
  color: var(--y);
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--y);
}

.foot__copy {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 3px solid #2a2a2a;
  font-size: 12px;
  color: #9a9a9a;
}

.cookies {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 80;
  display: none;
  width: min(252px, calc(100vw - 24px));
}

.cookies.is-on {
  display: block;
}

.cookies__box {
  display: grid;
  gap: 8px;
  padding: 10px;
  background: var(--paper);
  border: 3px solid var(--k);
  box-shadow: 4px 4px 0 var(--k);
}

.cookies__kicker {
  font-family: var(--font-pixel);
  font-size: 7px;
}

.cookies__copy p {
  color: var(--mute);
  font-size: 12px;
  line-height: 1.35;
}

.cookies__copy a {
  text-decoration: underline;
}

.cookies__actions {
  display: flex;
  gap: 6px;
}

.cookies__actions .btn {
  min-height: 36px;
  padding: 0 8px;
  font-size: 8px;
}

.rv {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.rv.is-on {
  opacity: 1;
  transform: none;
  filter: none;
}

@media (min-width: 961px) {
  .nav__links {
    display: flex;
  }

  .btn.nav__go {
    display: inline-flex;
  }

  .nav__extra,
  .nav__burger {
    display: none;
  }
}

@media (max-width: 1100px) {
  .plan,
  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .hero__grid,
  .whys,
  .steps,
  .plan,
  .foot__grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .nav.is-open .nav__links {
    display: grid;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    background: var(--y);
    border-bottom: 3px solid var(--k);
    gap: 0;
  }

  .nav.is-open .nav__links a {
    padding: 14px 0;
    border-bottom: 3px solid var(--k);
  }
}

@media (max-width: 720px) {
  :root {
    --font-pixel: "Outfit", ui-monospace, monospace;
  }

  .hero__copy {
    order: 1;
    text-align: center;
  }

  .stage {
    order: 0;
    min-height: 0;
  }

  .brick {
    width: min(240px, 72vw);
  }

  .hero h1 {
    margin-inline: auto;
    font-size: 36px;
  }

  .hero__lead--desk {
    display: none;
  }

  .hero__lead--m {
    display: block;
    max-width: 28ch;
    margin: 10px auto 0;
  }

  .hero__actions,
  .pills,
  .brief__row {
    justify-content: center;
  }

  .kicker {
    margin-inline: auto;
  }

  .btn {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .kicker,
  .brand__chip,
  .brick__top,
  .plan__tag,
  .foot h3,
  .brief label {
    font-size: 12px;
    letter-spacing: 0.03em;
    font-weight: 700;
  }
}

html[data-theme="dark"] {
  --w: #12080a;
  --paper: #1a1012;
  --k: #f3ead8;
  --k-2: #f3ead8;
  --mute: #c9b8a4;
  --y-pale: #2a0008;
}

html[data-theme="dark"] body {
  background: #12080a;
  background-image: radial-gradient(rgba(255, 31, 31, 0.16) 1px, transparent 1px);
}

html[data-theme="dark"] .nav {
  --nav-bg: #1a0004;
  --nav-fg: #f3ead8;
  border-color: var(--evil);
}

html[data-theme="dark"] .brand__bg {
  fill: #ffd400;
}

html[data-theme="dark"] .brand__fg {
  fill: #12080a;
}

html[data-theme="dark"] .hero,
html[data-theme="dark"] .hero-fold {
  background: #12080a;
}

html[data-theme="dark"] .hero {
  background-image:
    linear-gradient(rgba(255, 31, 31, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 31, 31, 0.14) 2px, transparent 2px);
}

html[data-theme="dark"] .hero h1 em,
html[data-theme="dark"] .section__head h2 em {
  background: var(--evil);
  color: #12080a;
}

html[data-theme="dark"] .btn {
  border-color: var(--evil);
  box-shadow: 5px 5px 0 #5a0008;
}

html[data-theme="dark"] .brick,
html[data-theme="dark"] .why,
html[data-theme="dark"] .step,
html[data-theme="dark"] .plan,
html[data-theme="dark"] .faq details,
html[data-theme="dark"] .cta-band,
html[data-theme="dark"] .brief,
html[data-theme="dark"] .pills li,
html[data-theme="dark"] .kicker {
  border-color: var(--evil);
  box-shadow: 6px 6px 0 #5a0008;
}

html[data-theme="dark"] .marquee {
  background: #1a0004;
  color: var(--evil);
}

html[data-theme="dark"] .theme-btn__eye,
html[data-theme="dark"] .theme-btn__mouth {
  fill: #ff1a1a;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .rv {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

[hidden] {
  display: none !important;
}

.auth-page,
.pay-page,
.dash-page {
  min-height: 100dvh;
}

.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - 67px);
}

.auth__stage {
  display: grid;
  place-items: center;
  padding: 96px 28px 48px;
  background: var(--y);
  border-right: var(--line) solid var(--k);
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.06) 2px, transparent 2px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.06) 2px, transparent 2px);
  background-size: 24px 24px;
}

.auth__copy {
  width: min(420px, 100%);
  text-align: center;
}

.auth__copy h1 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.auth__copy h1 em {
  font-style: normal;
  background: var(--k);
  color: var(--y);
  padding: 0 8px 2px;
}

.auth__copy p {
  margin-top: 12px;
  color: var(--k-2);
}

.auth__panel {
  display: grid;
  align-items: center;
  padding: 72px 28px 40px;
  background: var(--paper);
}

.auth__card {
  width: min(440px, 100%);
  margin-inline: auto;
}

.auth__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  border: var(--line) solid var(--k);
  box-shadow: 4px 4px 0 var(--k);
}

.auth__tabs button {
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  background: var(--paper);
  font-family: var(--font-pixel);
  font-size: 8px;
  cursor: pointer;
}

.auth__tabs button.is-on {
  background: var(--y);
}

.auth__card h2 {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 22px;
  text-align: center;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field span,
.auth-label {
  font-family: var(--font-pixel);
  font-size: 8px;
}

.field input,
.field select,
.auth-email-wrap .input,
.pay__code {
  min-height: 48px;
  width: 100%;
  padding: 0 12px;
  border: 3px solid var(--k);
  background: var(--w);
  box-shadow: 3px 3px 0 var(--k);
}

.field input:focus,
.field select:focus,
.auth-email-wrap .input:focus,
.pay__code:focus {
  outline: 3px solid var(--y);
  outline-offset: 0;
}

.auth-email-wrap {
  position: relative;
}

.auth-email-suggest {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 8;
  display: grid;
  overflow: hidden;
  background: var(--paper);
  border: 3px solid var(--k);
  box-shadow: 5px 5px 0 var(--k);
}

.auth-email-suggest[hidden] {
  display: none;
}

.auth-email-suggest-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-bottom: 3px solid var(--k);
  background: var(--paper);
  color: var(--k);
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}

.auth-email-suggest-item:last-child {
  border-bottom: 0;
}

.auth-email-suggest-item:hover,
.auth-email-suggest-item.is-on {
  background: var(--y);
}

.auth-email-suggest-local {
  font-weight: 700;
}

.auth-email-suggest-domain {
  color: var(--mute);
}

.field__pass {
  position: relative;
}

.field__pass input {
  width: 100%;
  padding-right: 84px;
}

.field__pass button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-family: var(--font-pixel);
  font-size: 8px;
  cursor: pointer;
}

.chk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 12px;
  font-size: 14px;
  color: var(--k-2);
}

.chk input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--y);
  flex: none;
}

.auth__card .btn,
.pay-page form .btn {
  width: 100%;
  margin-top: 6px;
}

.auth__error,
.pay__err,
.dash__err {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 3px solid var(--k);
  background: var(--y-pale);
  font-size: 14px;
}

.pay__err {
  background: #ffd0d0;
}

.auth__switch {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--mute);
}

.auth__switch button {
  border: 0;
  background: none;
  color: var(--k);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.auth-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--mute);
  text-align: center;
}

.pay {
  padding: 36px 0 72px;
}

.pay__box,
.dash__box {
  width: min(560px, 100%);
  margin: 0 auto;
  background: var(--paper);
  border: 4px solid var(--k);
  box-shadow: 8px 8px 0 var(--k);
}

.dash__box {
  width: min(720px, 100%);
}

.pay__bar,
.dash__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--k);
  color: var(--y);
  font-family: var(--font-pixel);
  font-size: 9px;
}

.pay__body,
.dash__body {
  padding: 28px 24px 24px;
}

.pay__body h1,
.dash__body h1 {
  font-family: var(--font-display);
  font-size: 42px;
  line-height: 0.95;
  text-align: center;
}

.pay__price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 18px;
  padding: 14px 16px;
  background: var(--y);
  border: 3px solid var(--k);
  box-shadow: 4px 4px 0 var(--k);
}

.pay__price strong {
  font-family: var(--font-pixel);
  font-size: 16px;
}

.pay__price span {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-family: var(--font-pixel);
  font-size: 8px;
  text-align: right;
}

.pay__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
  border: 3px solid var(--k);
  box-shadow: 4px 4px 0 var(--k);
}

.pay__tabs button {
  min-height: 48px;
  padding: 0 8px;
  border: 0;
  background: var(--paper);
  font-family: var(--font-pixel);
  font-size: 8px;
  cursor: pointer;
}

.pay__tabs button + button {
  border-left: 3px solid var(--k);
}

.pay__tabs button.is-on {
  background: var(--y);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--k) 50%), linear-gradient(135deg, var(--k) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.pay__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay__qr {
  width: 220px;
  height: 220px;
  margin: 14px auto;
  image-rendering: pixelated;
  border: 3px solid var(--k);
  background: #fff;
}

.pay__code {
  min-height: 88px;
  padding: 10px 12px;
  resize: none;
  font-size: 12px;
  line-height: 1.4;
}

.pay__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pay__note,
.dash__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--mute);
}

.dash {
  padding: 36px 0 80px;
}

.dash__lead {
  margin: 10px 0 22px;
  text-align: center;
  color: var(--k-2);
}

.gate {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 3px solid var(--k);
  background: var(--y-pale);
}

.gate p {
  font-size: 15px;
}

.studio textarea {
  width: 100%;
  min-height: 140px;
  padding: 12px;
  border: 3px solid var(--k);
  background: var(--w);
  resize: vertical;
  box-shadow: 3px 3px 0 var(--k);
}

.studio textarea:focus {
  outline: 3px solid var(--k);
  outline-offset: 2px;
}

.gens {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.gen {
  padding: 14px 16px;
  border: 3px solid var(--k);
  background: var(--w);
  box-shadow: 4px 4px 0 var(--k);
}

.gen__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-pixel);
  font-size: 8px;
  margin-bottom: 8px;
}

.gen p {
  font-size: 14px;
  color: var(--k-2);
}

.dash__out {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

html[data-theme="dark"] .auth__stage,
html[data-theme="dark"] .pay__price,
html[data-theme="dark"] .pay__tabs button.is-on,
html[data-theme="dark"] .auth__tabs button.is-on,
html[data-theme="dark"] .gate {
  background: var(--evil);
  color: #fff;
}

html[data-theme="dark"] .pay__err,
html[data-theme="dark"] .auth__error,
html[data-theme="dark"] .dash__err {
  background: #3a1014;
  color: #f3ead8;
  border-color: var(--evil);
}

html[data-theme="dark"] .pay__box,
html[data-theme="dark"] .dash__box,
html[data-theme="dark"] .auth__tabs,
html[data-theme="dark"] .pay__tabs,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .gen,
html[data-theme="dark"] .studio textarea {
  border-color: var(--evil);
  box-shadow: 6px 6px 0 #5a0008;
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }

  .auth__stage {
    border-right: 0;
    border-bottom: var(--line) solid var(--k);
    min-height: auto;
    padding: 88px 20px 36px;
  }
}
