/* ==========================================================================
   PlayNovex - playnovex.org
   Single stylesheet, no framework, no external font requests.
   ========================================================================== */

:root {
  --bg: #0b1020;
  --bg-soft: #111935;
  --surface: #141c38;
  --surface-2: #1a2445;
  --line: #263156;
  --line-soft: #1e2847;

  --text: #f4f6ff;
  --muted: #a7b0cc;
  --muted-dim: #7d87a8;

  --brand: #7c5cff;
  --brand-2: #4f7bff;
  --accent: #22d3ee;
  --warn: #ffb020;
  --danger: #ff5c7a;
  --ok: #34d399;

  --grad: linear-gradient(135deg, #7c5cff 0%, #4f7bff 55%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, 0.18), rgba(34, 211, 238, 0.12));

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -22px rgba(3, 7, 20, 0.9);
  --shadow-lg: 0 30px 70px -30px rgba(3, 7, 20, 0.95);

  --container: 1180px;
  --header-h: 68px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------- base --- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60rem 40rem at 78% -10%, rgba(79, 123, 255, 0.16), transparent 60%),
    radial-gradient(50rem 36rem at 8% 12%, rgba(124, 92, 255, 0.13), transparent 62%);
}

body > * {
  position: relative;
  z-index: 1;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.35rem);
}
h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.3rem);
}
h3 {
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem);
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #05204a;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------- layout --- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
}

.section--tight {
  padding: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: clamp(1.02rem, 0.97rem + 0.3vw, 1.16rem);
  color: var(--muted);
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------- notice strip --- */

.topbar {
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.22), rgba(34, 211, 238, 0.18));
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
  color: #dfe5ff;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.5rem;
  padding-inline: 0.35rem;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  flex: none;
}

/* ------------------------------------------------------------- header --- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(11, 16, 32, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(124, 92, 255, 0.16);
}

.nav__cta {
  margin-left: 0.4rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}
.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem 20px 1.1rem;
    background: rgba(11, 16, 32, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
  }

  .nav__cta {
    margin: 0.4rem 0 0;
    text-align: center;
  }
}

/* ------------------------------------------------------------ buttons --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--grad);
  color: #07122c;
  box-shadow: 0 12px 30px -14px rgba(79, 123, 255, 0.9);
}

.btn--primary:hover {
  box-shadow: 0 18px 38px -14px rgba(79, 123, 255, 1);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--brand-2);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------- hero --- */

.hero {
  padding: clamp(2.5rem, 1.6rem + 4vw, 5rem) 0 clamp(2.5rem, 2rem + 3vw, 4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: clamp(1.03rem, 0.98rem + 0.35vw, 1.2rem);
  color: var(--muted);
  max-width: 34em;
}

.hero__points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  display: grid;
  gap: 0.55rem;
}

.hero__points li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(34, 211, 238, 0.45);
}

.hero__points li::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.72em;
  width: 0.42rem;
  height: 0.22rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hero__note {
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: var(--muted-dim);
  max-width: 44em;
}

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

/* --------------------------------------------------------------- cards --- */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(17, 25, 53, 0.72) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1rem;
}

.game-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface) 0%, rgba(17, 25, 53, 0.7) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 123, 255, 0.55);
  box-shadow: var(--shadow-lg);
}

.game-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-card__body h3 {
  margin-bottom: 0.35rem;
}

.game-card__body p {
  color: var(--muted);
  font-size: 0.96rem;
}

.game-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.game-card__meta li {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.game-card__foot {
  margin-top: auto;
}

/* ----------------------------------------------------- game previews --- */

.preview {
  position: relative;
  aspect-ratio: 16 / 10;
  background: radial-gradient(120% 90% at 50% 0%, #1b2650 0%, #0d132b 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

/* Previews are self-contained animated SVGs; their motion rules live inside each file. */
.preview img,
.preview svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cfe4ff;
  background: rgba(7, 12, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.preview--hero {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

/* ---------------------------------------------------------- specs box --- */

.specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}

.specs li {
  margin: 0;
  background: var(--surface);
  padding: 1.1rem 1.25rem;
}

.specs dt,
.specs__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 0.3rem;
}

.specs__value {
  display: block;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text);
}

/* --------------------------------------------------------------- table -- */

.table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.table th {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom-color: var(--line);
}

.table td {
  color: var(--muted);
}

.table code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--accent);
  background: rgba(34, 211, 238, 0.08);
  border-radius: 5px;
  padding: 0.1rem 0.35rem;
}

/* Narrow screens get one stacked block per row instead of a sideways scroll. */
@media (max-width: 700px) {
  .table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
  }

  .table {
    min-width: 0;
  }

  .table thead {
    display: none;
  }

  .table tr {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    padding: 0.4rem 0;
    margin-bottom: 1rem;
  }

  .table td {
    border-bottom: 0;
    padding: 0.45rem 0.9rem;
  }

  .table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-dim);
    margin-bottom: 0.15rem;
  }
}

/* ---------------------------------------------------------- feature ---- */

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  align-items: center;
}

.feature--reverse > *:first-child {
  order: 2;
}

@media (max-width: 760px) {
  .feature--reverse > *:first-child {
    order: 0;
  }
}

/* -------------------------------------------------------------- notice -- */

.notice {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: rgba(34, 211, 238, 0.06);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.notice--warn {
  border-left-color: var(--warn);
  background: rgba(255, 176, 32, 0.07);
}

.notice--strong {
  border-left-color: var(--danger);
  background: rgba(255, 92, 122, 0.07);
}

.notice strong {
  color: var(--text);
}

.notice p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------- accordion -- */

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0 1.25rem;
}

.faq details[open] {
  border-color: rgba(79, 123, 255, 0.45);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 650;
  font-size: 1.02rem;
  position: relative;
}

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

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 1.45rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

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

.faq__answer {
  padding-bottom: 1.15rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------- prose -- */

.prose {
  max-width: 78ch;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose li,
.prose p {
  color: var(--muted);
}

.prose strong {
  color: var(--text);
}

.page-head {
  padding: clamp(2.25rem, 1.6rem + 2.5vw, 3.5rem) 0 0;
}

.page-head h1 {
  margin-bottom: 0.6rem;
}

.page-head .lead {
  max-width: 70ch;
}

.updated {
  font-size: 0.85rem;
  color: var(--muted-dim);
  margin-bottom: 0;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted-dim);
  margin-bottom: 1rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.breadcrumb a {
  color: var(--muted);
}

/* ---------------------------------------------------------------- form -- */

.form {
  display: grid;
  gap: 1.1rem;
  max-width: 620px;
}

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

.field label {
  font-size: 0.9rem;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-dim);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 123, 255, 0.25);
}

.field__hint {
  font-size: 0.82rem;
  color: var(--muted-dim);
}

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--brand-2);
}

/* -------------------------------------------------------------- footer -- */

.footer {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  border-top: 1px solid var(--line-soft);
  background: rgba(9, 13, 27, 0.7);
  padding: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 2rem;
  font-size: 0.93rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer h2,
.footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 1rem;
}

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

.footer li {
  margin-bottom: 0.55rem;
}

.footer a {
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
}

.footer__about p {
  color: var(--muted);
  max-width: 38ch;
}

.footer__brand {
  margin-bottom: 1rem;
}

.footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-dim);
  font-size: 0.84rem;
}

.footer__legal p {
  margin-bottom: 0.75rem;
}

.footer__legal p:last-child {
  margin-bottom: 0;
}

.footer__flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* ------------------------------------------------------ cookie banner --- */

.cookie {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 80;
  width: min(760px, calc(100% - 2rem));
  background: rgba(16, 23, 46, 0.98);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.25rem;
  display: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie.is-visible {
  display: flex;
}

.cookie p {
  margin: 0;
  flex: 1 1 320px;
}

.cookie__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------- utilities --- */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.stack > * + * {
  margin-top: 1.25rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------- motion/a11y -- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  body::before,
  .header,
  .footer,
  .cookie,
  .topbar {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
