/* ==========================================================================
   CartridgeZone — global stylesheet
   Retro / CRT visual system. No framework dependencies.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink:    #0C0D10;
  --panel:  #15171C;
  --panel-2:#1B1E25;
  --line:   #262930;
  --line-2: #3A3E47;
  --paper:  #F1EFE8;
  --mute:   #9BA0AB;
  --mute-d: #5C6270;
  --r: #FF3D5A;
  --g: #38F58C;
  --b: #3F7DFF;

  --font-display: 'Syne', 'Trebuchet MS', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --pad: 20px;
  --radius: 14px;
  --radius-sm: 8px;

  --shadow-glow: 0 0 80px -20px rgba(56, 245, 140, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  letter-spacing: -.02em;
  line-height: 1.1;
  font-weight: 800;
}

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

/* ---------- 3. Focus & accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--g);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--g);
  color: var(--ink);
  padding: .7rem 1.2rem;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- 4. Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { width: 100%; max-width: var(--wrap-narrow); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: 80px; }
.section-sm { padding-block: 48px; }
.section-alt {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.grid { display: grid; gap: 20px; }
/* Grid/flex items default to min-width:auto, which lets long unbreakable
   content inflate tracks past the viewport on small screens. */
.grid > *, .grid-hero > *, .steps > *, .trust > *, .footer-grid > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }
.grid-hero { grid-template-columns: repeat(12, 1fr); gap: 40px; align-items: center; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }

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

/* ---------- 5. Typography helpers ---------- */
.mono { font-family: var(--font-mono); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow-g { color: var(--g); }
.eyebrow-r { color: var(--r); }
.eyebrow-b { color: var(--b); }

.muted { color: var(--mute); }
.small { font-size: .875rem; }
.xsmall { font-size: .78rem; }

.h-xl { font-size: clamp(1.9rem, 6.5vw, 3.4rem); line-height: 1.05; overflow-wrap: break-word; }
.h-lg { font-size: clamp(1.85rem, 4.2vw, 2.5rem); }
.h-md { font-size: clamp(1.35rem, 2.6vw, 1.6rem); }
.h-sm { font-size: 1.1rem; font-weight: 700; }

.lead { font-size: 1.08rem; color: var(--mute); max-width: 60ch; line-height: 1.7; }

.rgb-text { text-shadow: -2px 0 rgba(255, 61, 90, .55), 2px 0 rgba(63, 125, 255, .55); }
.text-g { color: var(--g); }
.text-r { color: var(--r); }
.text-b { color: var(--b); }

.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.link-underline:hover { color: var(--paper); }

/* ---------- 6. Signature CRT treatment ---------- */
.rgb-line {
  height: 2px;
  background: linear-gradient(90deg, var(--r) 0 33.3%, var(--g) 33.3% 66.6%, var(--b) 66.6%);
}

.crt {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.crt::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px);
}
.crt::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 3;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
.crt > img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
}
.crt-4x3 { aspect-ratio: 4 / 3; }
.crt-wide { aspect-ratio: 21 / 9; }

.crt-overlay { position: absolute; inset: 0; z-index: 1; }
.crt-fade-t { background: linear-gradient(to top, rgba(12, 13, 16, .85), transparent 55%); }
.crt-fade-l { background: linear-gradient(to right, rgba(12, 13, 16, .88), rgba(12, 13, 16, .3) 50%, transparent); }

.crt-caption {
  position: absolute; left: 20px; bottom: 20px; z-index: 4;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--g);
}
.crt-caption strong { color: var(--paper); font-weight: 500; }

.crt-dots {
  position: absolute; right: 20px; bottom: 18px; z-index: 4;
  display: flex; gap: 6px;
}
.crt-dots span { width: 10px; height: 10px; border-radius: 50%; }
.crt-dots span:nth-child(1) { background: var(--r); }
.crt-dots span:nth-child(2) { background: var(--g); }
.crt-dots span:nth-child(3) { background: var(--b); }

.crt-content {
  position: absolute; inset: 0; z-index: 4;
  display: flex; align-items: center;
  padding-inline: clamp(24px, 5vw, 56px);
}

.glow { box-shadow: var(--shadow-glow); }

/* Animations */
@keyframes poweron {
  0%   { transform: scaleY(.005) scaleX(1); opacity: 1; }
  40%  { transform: scaleY(.005) scaleX(1); }
  60%  { transform: scaleY(1) scaleX(1); }
  100% { transform: scale(1); }
}
.poweron { animation: poweron 1.1s var(--ease) both; }

@keyframes blink { 50% { opacity: 0; } }
.cursor { animation: blink 1s steps(1) infinite; }

@keyframes flicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: .55; }
  94% { opacity: 1; }
  97% { opacity: .7; }
  98% { opacity: 1; }
}
.flicker { animation: flicker 6s infinite; }

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--paper); color: var(--ink); }
.btn-primary:hover { background: #fff; }
.btn-primary[disabled] { opacity: .55; cursor: progress; }
.btn-ghost { border-color: var(--line-2); color: var(--paper); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(241, 239, 232, .04); }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- 8. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 13, 16, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.logo .zone { color: var(--g); }
.logo .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  margin-left: 8px;
  letter-spacing: .08em;
}

.nav { display: flex; align-items: center; gap: 28px; font-size: .9rem; color: var(--mute); }
.nav a { transition: color .15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }

.header-actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang { position: relative; }
.lang-btn {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--mute);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .4rem .55rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: color .15s, border-color .15s;
}
.lang-btn:hover { color: var(--paper); border-color: var(--line-2); }
.lang-btn .chev { transition: transform .2s; font-size: .6rem; }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 148px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .9);
  display: none;
  z-index: 60;
}
.lang-menu[data-open="true"] { display: block; }
.lang-menu li + li { margin-top: 2px; }
.lang-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .6rem;
  border-radius: 6px;
  font-size: .875rem;
  color: var(--mute);
  text-align: left;
  transition: background .15s, color .15s;
}
.lang-menu button:hover { background: var(--panel-2); color: var(--paper); }
.lang-menu button[aria-current="true"] { color: var(--g); }
.lang-menu .code {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--mute-d);
  margin-left: auto;
}

/* Mobile nav */
.nav-toggle { display: none; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--paper);
  transition: transform .2s, opacity .2s;
}
.nav-toggle span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--panel);
  padding: 12px var(--pad) 20px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav a {
  display: block;
  padding: .75rem 0;
  color: var(--mute);
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.mobile-nav a:hover { color: var(--paper); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }

/* ---------- 9. Trust strip ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.trust-item { display: flex; gap: 12px; }
.trust-item .num { font-family: var(--font-mono); font-size: .9rem; }
.trust-item .t { font-weight: 600; font-size: .95rem; }
.trust-item .d { font-size: .85rem; color: var(--mute); }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.feature-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; font-size: .9rem; flex: 1; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .bullet { line-height: 1.5; flex: none; }

.card .btn { margin-top: 32px; align-self: flex-start; }

/* ---------- 10b. Library / inventory promo ---------- */
.collage {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.collage > * { min-width: 0; }
.collage .shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}
.collage .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.04);
  transition: transform .4s var(--ease);
}
.collage .shot:hover img { transform: scale(1.04); }
.collage .shot::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .16) 0 1px, transparent 1px 3px);
}
.collage .shot-main { grid-row: 1 / -1; aspect-ratio: 4 / 3; }
.collage .shot-sm { aspect-ratio: 3 / 2; }
.collage .tag-chip {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(12, 13, 16, .78);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 3px 8px;
}

.stat-row {
  display: grid;
  /* auto-fit: columns wrap to a new row instead of squeezing the numbers */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  column-gap: 16px;
  row-gap: 24px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.stat-row > * { min-width: 0; }
.stat .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.stat .l { font-size: .8rem; color: var(--mute); margin-top: 4px; }

@media (max-width: 860px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .collage .shot-main { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- 11. Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step .idx { font-family: var(--font-mono); font-size: .75rem; color: var(--mute); margin-bottom: 12px; }
.step p { font-size: .9rem; color: var(--mute); margin-top: 8px; }

/* ---------- 12. Pricing ---------- */
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured { border-color: rgba(56, 245, 140, .6); background: var(--panel); }
.price-badge {
  position: absolute;
  top: -12px; left: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  background: var(--g);
  color: var(--ink);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.price-card .desc { font-size: .9rem; color: var(--mute); margin-top: 12px; flex: 1; }
.price-value { margin-top: 24px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-value .amount { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; }
.price-card .btn { margin-top: 24px; }
.price-note { font-size: .78rem; color: var(--mute-d); margin-top: 24px; }

/* ---------- 13. Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group.full { grid-column: 1 / -1; }

label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
label .req { color: var(--r); }

.field {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  color: var(--paper);
  font-size: .95rem;
  transition: border-color .15s;
}
.field:hover { border-color: var(--line-2); }
.field:focus { border-color: var(--mute); outline: none; }
.field::placeholder { color: var(--mute-d); }
.field:user-invalid { border-color: var(--r); }
textarea.field { resize: vertical; min-height: 110px; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%239BA0AB' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}
select.field option { background: var(--panel); }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}
.consent-note { font-size: .78rem; color: var(--mute); max-width: 42ch; }

.form-msg { grid-column: 1 / -1; font-size: .9rem; padding: .8rem 1rem; border-radius: var(--radius-sm); display: none; }
.form-msg[data-state="ok"] { display: block; color: var(--g); background: rgba(56, 245, 140, .08); border: 1px solid rgba(56, 245, 140, .35); }
.form-msg[data-state="error"] { display: block; color: var(--r); background: rgba(255, 61, 90, .08); border: 1px solid rgba(255, 61, 90, .35); }

.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; font-size: .95rem; color: var(--mute); }
.contact-list a { color: var(--paper); }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .ico { color: var(--g); margin-right: 8px; font-family: var(--font-mono); }

/* ---------- 14. FAQ ---------- */
.faq { border-block: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { color: var(--g); font-size: 1.25rem; transition: transform .2s var(--ease); flex: none; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { color: var(--mute); margin-top: 12px; font-size: .9rem; }

/* ---------- 15. Legal / article pages ---------- */
.page-head { padding-block: 56px 32px; border-bottom: 1px solid var(--line); }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head p { color: var(--mute); margin-top: 12px; }

.legal { padding-block: 48px 80px; font-size: .95rem; }
.legal h2 {
  font-size: 1.25rem;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-top: 4px;
}
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.02rem; margin-top: 24px; margin-bottom: 8px; }
.legal p { color: var(--mute); margin-bottom: 12px; }
.legal ul { margin: 0 0 16px; padding-left: 0; }
.legal ul li {
  color: var(--mute);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.legal ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  color: var(--g);
  font-size: .7em;
  top: .45em;
}
.legal a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal .updated { font-family: var(--font-mono); font-size: .75rem; color: var(--mute-d); }

.legal-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: .875rem; }
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: .7rem .9rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--panel); color: var(--paper); font-weight: 600; font-size: .8rem; }
.legal-table td { color: var(--mute); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 40px;
}
.toc ol { counter-reset: toc; display: flex; flex-direction: column; gap: 6px; }
.toc li { counter-increment: toc; font-size: .875rem; }
.toc li::before {
  content: counter(toc) ". ";
  font-family: var(--font-mono);
  color: var(--mute-d);
  font-size: .8rem;
}
.toc a { color: var(--mute); }
.toc a:hover { color: var(--g); }

/* ---------- 16. 404 ---------- */
.error-page {
  min-height: calc(100vh - 64px - 260px);
  display: flex;
  align-items: center;
  padding-block: 64px;
}
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 9rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
}
.error-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- 17. Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 32px;
  padding-block: 48px;
  font-size: .875rem;
  color: var(--mute);
}
.footer-grid a:hover { color: var(--paper); }
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--paper);
  font-size: 1.125rem;
  margin-bottom: 12px;
}
.footer-heading {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 12px;
}
.footer-list { display: flex; flex-direction: column; gap: 8px; }
.footer-legal {
  border-top: 1px solid var(--line);
  padding-block: 20px;
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--mute-d);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- 18. Cookie consent ---------- */
.cookie-bar {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .95);
  display: none;
}
.cookie-bar[data-open="true"] { display: block; }
.cookie-bar p { font-size: .85rem; color: var(--mute); }
.cookie-bar .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- 19. Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
.pb-0 { padding-bottom: 0; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row-center { align-items: center; }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1000px) {
  .grid-hero { grid-template-columns: 1fr; gap: 32px; }
  .col-5, .col-6, .col-7 { grid-column: 1 / -1; }
  .grid-4, .steps, .trust { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding-block: 56px; }
  .crt-wide { aspect-ratio: 16 / 10; }
}

@media (max-width: 480px) {
  /* UK/RU header CTA labels are long; the CTA also lives in the mobile menu */
  .header-actions > .btn { display: none; }
}

@media (max-width: 620px) {
  :root { --pad: 16px; }
  .grid-4, .steps, .trust, .footer-grid { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .field-group.full { grid-column: 1; }
  .form-actions { grid-column: 1; }
  .form-msg { grid-column: 1; }
  .btn { width: 100%; }
  .header-actions .btn { width: auto; }
  .crt-caption { left: 14px; bottom: 14px; font-size: .68rem; }
  .logo .tag { display: none; }
  .error-links .btn { width: 100%; }
}

/* ---------- 21. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .cookie-bar, .btn, .crt::before, .crt::after { display: none !important; }
  body { background: #fff; color: #000; }
  .legal p, .legal ul li, .muted { color: #333; }
  a { text-decoration: underline; }
}
