@font-face {
  font-family: "Rowdies";
  src: url("/fonts/rowdies-light-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rowdies";
  src: url("/fonts/rowdies-regular-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #171512;
  --ink-deep: #100f0d;
  --ink-soft: #24201a;
  --surface: rgba(37, 33, 27, 0.9);
  --surface-strong: #29241d;
  --paper: #f5efe5;
  --paper-muted: #bcb3a6;
  --muted: #91887c;
  --canvas: #eee7db;
  --canvas-ink: #211e19;
  --canvas-muted: #686055;
  --line: rgba(245, 239, 229, 0.13);
  --line-strong: rgba(245, 239, 229, 0.28);
  --accent: #d96c3e;
  --accent-hover: #e37a4e;
  --success: #8ca67e;
  --error: #e88467;
  --focus: #f09670;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.32);
  --content: 74rem;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 8% -5%, rgba(217, 108, 62, 0.18), transparent 28rem),
    linear-gradient(155deg, #1b1814 0%, #12110e 58%, #1b1713 100%);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  touch-action: manipulation;
}

h1,
h2,
.brand,
.kicker,
.eyebrow,
.mode-tab,
.submit-button,
.process b,
.faq summary {
  font-family: "Rowdies", sans-serif;
  font-weight: 300;
}

p,
h1,
h2 {
  margin-top: 0;
}

strong,
b {
  font-weight: 700;
}

::selection {
  color: var(--ink);
  background: var(--accent);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  min-height: 100dvh;
}

.site-header {
  display: flex;
  width: min(100%, calc(var(--content) + 2rem));
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 1rem 0.65rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.65rem;
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand b {
  color: var(--paper-muted);
  font-weight: 300;
}

.brand__mark {
  display: grid;
  width: 2.25rem;
  aspect-ratio: 1;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(217, 108, 62, 0.52);
  border-radius: 0.68rem;
  background: rgba(217, 108, 62, 0.08);
  transform: rotate(-3deg);
}

.brand__mark svg {
  width: 1.35rem;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.monitor {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.48rem;
  color: var(--paper-muted);
  font-size: 0.65rem;
  line-height: 1.25;
  text-align: right;
}

.monitor__signal {
  position: relative;
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #8a8177;
  transition: background-color 180ms ease;
}

.monitor__signal::after {
  position: absolute;
  inset: -0.28rem;
  content: "";
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0;
}

.monitor.is-online .monitor__signal {
  color: var(--success);
  background: var(--success);
}

.monitor.is-online .monitor__signal::after {
  animation: signal-pulse 2.4s ease-out infinite;
}

.monitor.is-offline .monitor__signal {
  background: var(--error);
}

.hero {
  display: grid;
  width: min(100%, calc(var(--content) + 2rem));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.intro {
  display: grid;
  min-width: 0;
  padding: 2.5rem 1.15rem 1.6rem;
}

.intro__body {
  max-width: 42rem;
}

.eyebrow,
.kicker {
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.7rem, 13.2vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

h1 span {
  display: block;
  margin-top: 0.12em;
  color: var(--accent);
}

.intro__copy {
  max-width: 37rem;
  margin-bottom: 1.35rem;
  color: var(--paper-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  margin: 0;
  padding: 0;
  color: var(--paper);
  font-size: 0.76rem;
  list-style: none;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.trust-list svg {
  width: 0.88rem;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.intro__foot {
  align-self: end;
  margin: 2rem 0 0;
  color: #81796e;
  font-size: 0.68rem;
  line-height: 1.45;
}

.registration {
  position: relative;
  min-width: 0;
  scroll-margin-top: 1rem;
  padding: 0 0.75rem;
}

.registration__rule,
.form-panel__crest {
  display: none;
}

.form-panel {
  position: relative;
  width: 100%;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid rgba(245, 239, 229, 0.13);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 42%),
    var(--surface);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.form-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 100% 0, rgba(217, 108, 62, 0.11), transparent 15rem);
}

.mode-tabs {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  margin-bottom: 1.35rem;
  padding: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.88rem;
  background: rgba(13, 12, 10, 0.35);
}

.mode-tab {
  min-height: 3rem;
  padding: 0.55rem 0.72rem;
  border: 0;
  border-radius: 0.64rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.73rem;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.mode-tab.is-active {
  color: var(--paper);
  background: rgba(217, 108, 62, 0.16);
  box-shadow: inset 0 0 0 1px rgba(217, 108, 62, 0.3);
}

.mode-tab:active {
  transform: scale(0.98);
}

.form-mode {
  position: relative;
  z-index: 1;
  animation: mode-in 260ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-mode h2 {
  max-width: 14ch;
  margin-bottom: 0.65rem;
  font-size: clamp(1.85rem, 8vw, 2.35rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.form-panel__intro {
  max-width: 36rem;
  margin-bottom: 1.4rem;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field + .field {
  margin-top: 1.2rem;
}

.field label {
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
}

.input-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 3.65rem;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 0.85rem;
  background: rgba(13, 12, 10, 0.4);
  transition: border-color 160ms ease, background-color 160ms ease, outline-color 160ms ease;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  background: rgba(13, 12, 10, 0.58);
}

.input-wrap:has(input[aria-invalid="true"]) {
  border-color: var(--error);
}

.input-wrap:has(input[aria-invalid="true"]):focus-within {
  outline-color: var(--error);
}

.input-wrap__prefix {
  display: grid;
  min-width: 3.45rem;
  height: 2.3rem;
  padding-inline: 0.75rem;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--accent);
  font-family: "Rowdies", sans-serif;
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
}

.input-wrap input {
  min-width: 0;
  height: 100%;
  padding: 0 0.85rem;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.input-wrap input::placeholder {
  color: #746d63;
  opacity: 1;
}

.field__hint,
.field__error {
  min-height: 1rem;
  margin-bottom: 0;
  font-size: 0.72rem;
  line-height: 1.4;
}

.field__hint {
  color: #8f877c;
}

.field__error {
  display: none;
  color: var(--error);
}

.field__error:not(:empty) {
  display: block;
}

.code-picker {
  display: grid;
  gap: 0.58rem;
  padding: 0.72rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(13, 12, 10, 0.26);
}

.code-picker__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.code-picker__header b {
  color: var(--paper);
  font-family: "Rowdies", sans-serif;
  font-size: 0.66rem;
  font-weight: 300;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.code-picker__header span,
.code-picker__state {
  color: var(--muted);
  font-size: 0.67rem;
}

.code-picker__options {
  display: flex;
  gap: 0.45rem;
  margin-inline: -0.1rem;
  padding: 0.1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
}

.code-picker__options::-webkit-scrollbar {
  display: none;
}

.code-picker__state {
  min-height: 0.85rem;
  margin: 0;
  line-height: 1.35;
}

.code-picker__state.is-error {
  color: #efb29f;
}

.code-picker__skeleton {
  width: 8.5rem;
  height: 3.15rem;
  flex: 0 0 auto;
  border-radius: 0.65rem;
  background: rgba(245, 239, 229, 0.08);
  animation: picker-pulse 850ms ease-in-out infinite alternate;
}

.code-picker__skeleton:nth-child(2) {
  width: 9.5rem;
  animation-delay: 120ms;
}

.code-picker__skeleton:nth-child(3) {
  width: 7.5rem;
  animation-delay: 240ms;
}

.code-chip {
  display: grid;
  min-width: 0;
  min-height: 3.15rem;
  flex: 0 0 min(10.5rem, 72vw);
  gap: 0.12rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  color: var(--paper);
  background: rgba(245, 239, 229, 0.035);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.code-chip[aria-pressed="true"] {
  border-color: rgba(217, 108, 62, 0.78);
  background: rgba(217, 108, 62, 0.14);
}

.code-chip:active {
  transform: scale(0.98);
}

.code-chip__code,
.code-chip__expiry {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.code-chip__code {
  font-family: "Rowdies", sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
}

.code-chip__expiry {
  color: var(--muted);
  font-size: 0.65rem;
}

.submit-button {
  display: grid;
  grid-template-columns: 1fr auto;
  width: 100%;
  min-height: 3.7rem;
  align-items: center;
  margin-top: 1.15rem;
  padding: 0.8rem 1rem 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  color: #1a1511;
  background: var(--accent);
  box-shadow: 0 12px 28px rgba(170, 72, 43, 0.22);
  cursor: pointer;
  font-size: 0.83rem;
  text-align: left;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.submit-button:active {
  transform: scale(0.985);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submit-button svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.submit-button__loader {
  display: none;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(23, 21, 18, 0.28);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button.is-loading .submit-button__loader {
  display: block;
}

.submit-button.is-loading svg {
  display: none;
}

.form-status {
  align-items: flex-start;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(140, 166, 126, 0.38);
  border-radius: 0.78rem;
  color: #d0dfc7;
  background: rgba(140, 166, 126, 0.09);
  outline: none;
}

.form-status:not([hidden]) {
  display: grid;
  animation: status-in 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-status.is-error {
  border-color: rgba(232, 132, 103, 0.38);
  color: #efb29f;
  background: rgba(232, 132, 103, 0.09);
}

.form-status__icon {
  display: grid;
  width: 1.55rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.form-status__icon svg {
  width: 0.88rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-status.is-error .form-status__icon svg {
  transform: rotate(45deg);
}

.form-status b,
.form-status small {
  display: block;
}

.form-status b {
  margin-bottom: 0.18rem;
  font-size: 0.8rem;
}

.form-status small {
  color: var(--paper-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.player-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 4.15rem minmax(0, 1fr);
  gap: 0.72rem 0.85rem;
  align-items: center;
  margin-top: 0.18rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 244, 224, 0.11);
  border-radius: 0.72rem;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(218, 92, 50, 0.08), transparent 54%),
    rgba(9, 8, 7, 0.32);
}

.player-card[hidden] {
  display: none;
}

.player-card__portrait {
  position: relative;
  display: grid;
  width: 4.15rem;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(218, 92, 50, 0.55);
  border-radius: 0.72rem;
  color: #201713;
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.player-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-card__fallback {
  font-family: "Rowdies", sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
}

.player-card__identity {
  min-width: 0;
}

.player-card__verified {
  display: block;
  margin-bottom: 0.2rem;
  color: #a9c799;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.player-card__name {
  display: block;
  overflow: hidden;
  color: var(--paper);
  font-family: "Rowdies", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-card__id {
  display: block;
  margin-top: 0.22rem;
  color: var(--paper-muted);
  font-size: 0.7rem;
  font-variant-numeric: tabular-nums;
}

.player-card__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0;
}

.player-card__stats div {
  padding: 0.48rem 0.58rem;
  border: 1px solid rgba(255, 244, 224, 0.08);
  border-radius: 0.52rem;
  background: rgba(255, 244, 224, 0.035);
}

.player-card__stats dt {
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.player-card__stats dd {
  margin: 0.1rem 0 0;
  color: var(--paper);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.privacy-note {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  margin-top: 1.1rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.privacy-note svg {
  width: 0.92rem;
  margin-top: 0.05rem;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.guide {
  color: var(--canvas-ink);
  background: var(--canvas);
}

.guide__inner {
  width: min(100%, calc(var(--content) + 2rem));
  margin: 0 auto;
  padding: 4rem 1.15rem 4.5rem;
}

.guide .eyebrow {
  color: #b5502a;
}

.guide__heading {
  max-width: 50rem;
}

.guide h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 9vw, 3.45rem);
  letter-spacing: -0.03em;
  line-height: 1.03;
}

.guide__heading > p:last-child {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--canvas-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.process {
  display: grid;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(33, 30, 25, 0.2);
  list-style: none;
}

.process li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.7rem;
  padding: 1.1rem 0;
}

.process li + li {
  border-top: 1px solid rgba(33, 30, 25, 0.14);
}

.process__number {
  color: #b5502a;
  font-family: "Rowdies", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.process b,
.process small {
  display: block;
}

.process b {
  margin-bottom: 0.28rem;
  font-size: 0.85rem;
}

.process small {
  max-width: 28rem;
  color: var(--canvas-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.faq {
  display: grid;
  gap: 1.5rem;
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(33, 30, 25, 0.2);
}

.faq h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.faq__list {
  border-top: 1px solid rgba(33, 30, 25, 0.26);
}

.faq details {
  border-bottom: 1px solid rgba(33, 30, 25, 0.2);
}

.faq summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.35;
  list-style: none;
}

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

.faq summary::before,
.faq summary::after {
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 0.9rem;
  height: 1px;
  content: "";
  background: #8d4328;
  transition: transform 180ms ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq details p {
  max-width: 45rem;
  margin: -0.15rem 2.5rem 1.2rem 0;
  color: var(--canvas-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  width: min(100%, calc(var(--content) + 2rem));
  gap: 1rem;
  margin: 0 auto;
  padding: 2rem 1.15rem max(2rem, env(safe-area-inset-bottom));
}

.brand--footer {
  width: fit-content;
}

.site-footer p {
  margin: 0;
  color: #81796e;
  font-size: 0.7rem;
  line-height: 1.5;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  animation: reveal 520ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal--one { animation-delay: 40ms; }
.reveal--two { animation-delay: 80ms; }
.reveal--three { animation-delay: 120ms; }
.reveal--four { animation-delay: 170ms; }
.reveal--five { animation-delay: 220ms; }
.reveal--six { animation-delay: 270ms; }
.reveal--panel { animation-delay: 130ms; }

.ambient {
  display: none;
}

@media (hover: hover) {
  .mode-tab:hover {
    color: var(--paper);
  }

  .code-chip:hover {
    border-color: rgba(217, 108, 62, 0.72);
    background: rgba(217, 108, 62, 0.12);
  }

  .submit-button:hover {
    background: var(--accent-hover);
    box-shadow: 0 16px 34px rgba(170, 72, 43, 0.3);
    transform: translateY(-2px);
  }

  .submit-button:hover svg {
    transform: translateX(3px);
  }

  .faq summary:hover {
    color: #9f4728;
  }
}

@media (min-width: 720px) {
  .site-header,
  .site-footer {
    padding-inline: 2rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .intro {
    padding-inline: 1rem;
  }

  .registration {
    padding-inline: 1rem;
  }

  .form-panel {
    width: min(100%, 39rem);
    margin-inline: auto;
    padding: 1.65rem;
  }

  .code-picker__options {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .code-chip {
    flex: 1 1 9rem;
  }

  .guide__inner {
    padding: 5.5rem 2rem 6rem;
  }

  .process {
    grid-template-columns: repeat(3, 1fr);
  }

  .process li {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding: 1.2rem 1.3rem 0 0;
  }

  .process li + li {
    padding-left: 1.3rem;
    border-top: 0;
    border-left: 1px solid rgba(33, 30, 25, 0.16);
  }

  .faq {
    grid-template-columns: minmax(14rem, 0.68fr) minmax(0, 1.32fr);
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .site-footer p {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 980px) {
  .ambient {
    position: fixed;
    z-index: -1;
    display: block;
    width: 34rem;
    aspect-ratio: 1;
    border: 1px solid rgba(217, 108, 62, 0.1);
    border-radius: 50%;
    pointer-events: none;
  }

  .ambient::before,
  .ambient::after {
    position: absolute;
    inset: 12%;
    content: "";
    border: 1px solid rgba(245, 239, 229, 0.06);
    border-radius: inherit;
  }

  .ambient::after {
    inset: 28%;
    border-color: rgba(217, 108, 62, 0.13);
  }

  .ambient--one {
    top: -20rem;
    right: -10rem;
  }

  .ambient--two {
    bottom: -25rem;
    left: 28%;
    width: 44rem;
  }

  .site-header {
    padding: clamp(1.6rem, 3vw, 2.7rem) 2rem 0;
  }

  .brand {
    gap: 0.78rem;
    font-size: 0.9rem;
  }

  .brand__mark {
    width: 2.5rem;
  }

  .brand__mark svg {
    width: 1.52rem;
  }

  .monitor {
    font-size: 0.7rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(29rem, 0.94fr);
    min-height: calc(100dvh - 5rem);
    align-items: center;
    padding: 1.5rem 2rem 4rem;
  }

  .intro {
    min-height: 39rem;
    grid-template-rows: 1fr auto;
    padding: 4rem clamp(2rem, 5vw, 5.4rem) 1.5rem 0;
  }

  .intro__body {
    align-self: center;
  }

  h1 {
    margin-bottom: 1.4rem;
    font-size: clamp(4.5rem, 6.3vw, 6.5rem);
    line-height: 0.93;
  }

  .intro__copy {
    margin-bottom: 1.6rem;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
  }

  .registration {
    display: grid;
    align-items: center;
    padding: 2rem 0 2rem clamp(2rem, 4vw, 4.5rem);
  }

  .registration__rule {
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 0;
    display: block;
    width: 1px;
    background: linear-gradient(transparent, var(--line-strong) 15%, var(--line-strong) 85%, transparent);
  }

  .form-panel {
    width: 100%;
    padding: clamp(2rem, 3vw, 2.7rem);
    border-radius: 1.5rem;
    backdrop-filter: blur(20px);
  }

  .form-panel__crest {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    display: block;
    width: 2.8rem;
    color: rgba(217, 108, 62, 0.64);
  }

  .form-panel__crest svg {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
  }

  .mode-tabs {
    margin-bottom: 1.6rem;
  }

  .form-mode h2 {
    font-size: clamp(2.3rem, 3vw, 2.9rem);
  }

  .form-panel__intro {
    margin-bottom: 1.75rem;
  }

  .guide__inner {
    padding-block: 7rem;
  }

  .guide h2 {
    font-size: clamp(3rem, 4.6vw, 4.8rem);
  }

  .process {
    margin-top: 3.2rem;
  }

  .faq {
    margin-top: 6.5rem;
    padding-top: 5.5rem;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes status-in {
  from {
    opacity: 0;
    transform: translateY(7px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes signal-pulse {
  0% {
    opacity: 0.75;
    transform: scale(0.45);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.3);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes mode-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes picker-pulse {
  from { opacity: 0.48; }
  to { opacity: 1; }
}

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