@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #111113;
  --panel: #1a1a1e;
  --line: #343438;
  --text: #f5f2ec;
  --muted: #b6b2c0;
  --accent: #dfef79;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 4px; }
::selection { color: var(--bg); background: var(--accent); }
h1, h2, h3, p, a { overflow-wrap: anywhere; }
.landing { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; max-width: calc(100% - 24px); padding: 12px 18px; background: var(--accent); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { min-width: 0; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.nav-link { flex-shrink: 0; padding-block: 12px; font-size: 12px; }
.nav-link span { margin-left: 8px; color: var(--accent); }
.nav-link:hover, .text-link:hover, .footer a:hover { color: var(--accent); }
.entry-screen { display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "copy character" "entry character"; column-gap: 44px; align-items: center; padding-block: 46px 36px; }
.hero-copy { grid-area: copy; min-width: 0; }
.eyebrow { margin: 0 0 12px; font-size: 10px; font-weight: 700; letter-spacing: .15em; color: #c6b2e0; }
h1 { margin: 0; font-size: clamp(34px, 4.8vw, 62px); line-height: 1.05; letter-spacing: -.05em; font-weight: 800; }
.hero-description { margin: 16px 0 24px; max-width: 420px; color: var(--muted); font-size: 16px; }
.character-frame { grid-area: character; align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; border-radius: 140px 140px 22px 22px; background: radial-gradient(ellipse at 50% 45%, #393047, #211d29 52%, transparent 75%); }
.reze-character { display: block; width: 100%; height: 400px; max-width: 280px; object-fit: contain; }
.entry { grid-area: entry; min-width: 0; }
h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.03em; }
.entry > h2 { margin-bottom: 12px; font-size: 17px; font-weight: 600; }
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.card--main { border-color: #4c5137; background: linear-gradient(125deg, #292c21, #1c1e1a); }
h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; font-size: 17px; line-height: 1.3; }
h3 span { color: var(--accent); font-weight: 400; }
.card--mirror h3 span { color: #c6b2e0; }
.card p { margin: 8px 0 16px; color: var(--muted); font-size: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; max-width: 100%; padding: 11px 14px; border: 1px solid transparent; border-radius: 7px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.4; transition: background-color .18s, border-color .18s; }
.entry-grid .button { width: 100%; }
.button--primary { color: #171a0e; background: var(--accent); }
.button--primary:not(.is-disabled):hover { background: #edf9ac; }
.button--secondary { color: var(--text); border-color: #655b73; background: #292430; }
.button--secondary:not(.is-disabled):hover { border-color: var(--accent); background: #34302f; }
.button.is-disabled { cursor: not-allowed; color: #b7b5bc; border-color: #46464b; background: #29292e; }
.card--main .button.is-disabled { color: #c4c8ae; border-color: #575d40; background: #34382a; }
.status { margin: 12px 0 0; max-width: 620px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.text-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; padding-block: 8px; font-size: 12px; }
.text-link span { color: var(--accent); }
.packs { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; margin-block: 12px 32px; padding: 26px; background: linear-gradient(120deg, #23202b, #19191d); }
.packs .eyebrow { margin-bottom: 10px; }
.packs p:not(.eyebrow) { margin: 12px 0 0; max-width: 570px; font-size: 13px; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid var(--line); padding-block: 20px; color: var(--muted); font-size: 10px; }
.footer > [data-brand] { color: var(--text); font-weight: 700; letter-spacing: .1em; }

@media (max-width: 760px) {
  .landing { width: calc(100% - 32px); }
  .header { min-height: 58px; gap: 12px; }
  .brand { font-size: 11px; }
  .nav-link { font-size: 11px; }
  .entry-screen { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "character" "entry"; gap: 0; padding-block: 24px 22px; }
  .eyebrow { margin-bottom: 9px; font-size: 9px; }
  h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-description { margin: 12px 0 0; max-width: 350px; font-size: 14px; }
  .character-frame { justify-self: center; width: 100%; max-width: 260px; margin-block: 8px 10px; }
  .reze-character { width: 180px; height: 160px; object-fit: cover; object-position: 50% 0; border-radius: 16px; }
  .entry > h2 { font-size: 15px; margin-bottom: 10px; }
  .entry-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
  .entry-grid .card { padding: 12px; }
  h3 { font-size: 15px; }
  .entry-grid .card p { margin: 3px 0 9px; font-size: 11px; }
  .button { min-height: 44px; padding: 10px 12px; font-size: 12px; }
  .status { margin-top: 10px; font-size: 10px; }
  .text-link { margin-top: 5px; }
  .packs { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-block: 8px 24px; padding: 20px; }
  .packs .button { width: 100%; }
  .footer > [data-brand] { flex-basis: 100%; }
  .footer a { margin-left: auto; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .entry-screen { padding-top: 16px; }
  .character-frame { margin-block: 4px 8px; }
  .reze-character { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
