/* The design system of minerode.com and mineworld.space: tokens and the shared components.
   One file, byte-identical in minerode/site/ds.css and mineworld-hosting/web-ui/ds.css (a test in
   minerode/worker/test/dashboard.test.ts keeps the copies equal). It loads after each site's own
   stylesheet, so for the parts both sites share it has the final word.

   Principles: neutral surfaces, one green for the primary action, colour only for meaning (ok, warning,
   error, info), one sans-serif type family, a 4px spacing grid, small radii, quiet shadows, visible
   focus, AA contrast in both themes, and motion only where it explains something.
   The pixel font (--pixel) is kept for drawings of Minecraft's own screens and nothing else. */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: var(--font);
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --pixel: 'MW Display W', 'Silkscreen', 'Geist Mono', monospace;

  /* type scale */
  --text-xs: 12px; --text-sm: 13.5px; --text-md: 15px; --text-base: 16px; --text-lg: 18px; --text-xl: 20px;
  --text-2xl: 24px; --text-3xl: 30px; --text-4xl: clamp(28px, 3.2vw, 38px); --text-5xl: clamp(34px, 4.4vw, 54px);
  /* spacing: a 4px grid */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  /* radii */
  --r-xs: 4px; --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 999px;
  /* motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --t-fast: 120ms; --t: 180ms;

  /* colour (dark) */
  --bg: #0b0c0c; --bg-2: #0f1110;
  --panel: #131514; --panel-2: #191c1b; --panel-3: #212523;
  --surface: #131514; --surface-2: #171a19; --surface-3: #1d201f;
  --field: #0f1110; --well: #0f1110;
  --line: #1d201f; --border: #282c2a; --border-2: #383d3b;
  --ink: #ededed; --head: #f6f7f6; --ink-2: #a7aeaa; --ink-3: #8a918d; --on-ink: #0b0c0c; --nav: #a7aeaa;
  --head-bg: rgba(11, 12, 12, 0.82); --bar-bg: rgba(11, 12, 12, 0.94); --scrim: rgba(0, 0, 0, 0.62); --shadow: rgba(0, 0, 0, 0.5);
  --faq-open: transparent;
  /* white text on --brand is 4.6:1, on --brand-hi 5.4:1 */
  --brand: #3c8527; --brand-hi: #347523; --brand-lo: #2c6a1c; --brand-ink: #74c955; --brand-glow: #74c955; --brand-soft: rgba(116, 201, 85, 0.12);
  --neon: #74c955; --glow: transparent; --sec: var(--brand-ink);
  --green: #63c55a; --cyan: #5fc4cf; --yellow: #d6c35b; --orange: #e2a548; --red: #f07167; --purple: #a993f2; --pink: #e591c9; --blue: #6ea8f2; --azure: #6ea8f2;
  --focus: #74c955; --focus-ring: rgba(116, 201, 85, 0.35);
  --btn: #191c1b; --btn-hover: #212523; --btn-ink: #ededed; --btn-edge: #383d3b; --btn-edge-hover: #4b514e; --btn-hi: transparent; --btn-lo: transparent;
  --field-edge: #383d3b; --field-lo: transparent; --track: #2a2e2c; --grass-edge: #3c8527; --card-hi: transparent;
  --seg-track: #0f1110; --seg-on: #262a28;
  --sh-1: 0 1px 2px rgba(0, 0, 0, 0.35);
  --sh-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -8px rgba(0, 0, 0, 0.55);
  --sh-3: 0 24px 64px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --notch: none; --notch-4: none;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23a7aeaa' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  --check-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 6.3l2.4 2.4L9.6 3.6'/%3E%3C/svg%3E");
}
:root[data-theme='light'] {
  color-scheme: light;
  --bg: #f8f9f8; --bg-2: #f2f4f2;
  --panel: #ffffff; --panel-2: #f4f5f4; --panel-3: #e9ece9;
  --surface: #ffffff; --surface-2: #f8f9f8; --surface-3: #f0f2f0;
  --field: #ffffff; --well: #f4f5f4;
  --line: #e7e9e7; --border: #dfe2df; --border-2: #c9cec9;
  --ink: #121513; --head: #0c0e0d; --ink-2: #4d5550; --ink-3: #636b66; --on-ink: #ffffff; --nav: #4d5550;
  --head-bg: rgba(248, 249, 248, 0.84); --bar-bg: rgba(248, 249, 248, 0.95); --scrim: rgba(12, 14, 13, 0.4); --shadow: rgba(12, 14, 13, 0.12);
  --brand-ink: #2f6b1e; --brand-glow: #3c8527; --brand-soft: rgba(60, 133, 39, 0.1); --neon: #2f6b1e;
  --green: #1d7424; --cyan: #0b6f78; --yellow: #6e5a00; --orange: #8f5400; --red: #c0302b; --purple: #6a3fd0; --pink: #a8246f; --blue: #1f5fd6; --azure: #1f5fd6;
  --focus: #2f6b1e; --focus-ring: rgba(60, 133, 39, 0.28);
  --btn: #ffffff; --btn-hover: #f4f5f4; --btn-ink: #121513; --btn-edge: #d5d9d5; --btn-edge-hover: #bcc2bc;
  --field-edge: #cfd4cf; --track: #d5d9d5;
  --seg-track: #eef0ee; --seg-on: #ffffff;
  --sh-1: 0 1px 2px rgba(16, 24, 16, 0.06);
  --sh-2: 0 1px 2px rgba(16, 24, 16, 0.05), 0 8px 24px -6px rgba(16, 24, 16, 0.12);
  --sh-3: 0 24px 60px -12px rgba(16, 24, 16, 0.22), 0 0 0 1px rgba(16, 24, 16, 0.04);
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%234d5550' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
body { font: 400 var(--text-base)/1.55 var(--font); background: var(--bg); color: var(--ink); text-rendering: optimizeLegibility; }
h1, .display, h2.display { font-family: var(--font); font-weight: 600; text-transform: none; letter-spacing: -0.035em; line-height: 1.08; color: var(--head); text-wrap: balance; }
h1 { font-size: var(--text-5xl); }
h2 { font: 600 var(--text-2xl)/1.2 var(--font); letter-spacing: -0.02em; text-wrap: balance; }
h2.display { font: 600 var(--text-4xl)/1.12 var(--font); letter-spacing: -0.03em; }
h3 { font: 600 var(--text-lg)/1.3 var(--font); letter-spacing: -0.01em; }
h4 { font: 600 var(--text-md)/1.4 var(--font); }
p { text-wrap: pretty; }
.lead { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 56ch; }
.small { font-size: var(--text-sm); }
.hint { font-size: var(--text-sm); color: var(--ink-3); }
.hl { color: var(--brand-ink); text-shadow: none; }
code { background: var(--panel-3); border-radius: var(--r-xs); padding: 1px 5px; }
::selection { background: color-mix(in srgb, var(--brand) 35%, transparent); color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.skip { border-radius: var(--r); }
.gridlines { display: none; }

.eyebrow { display: flex; align-items: center; gap: 8px; font: 500 var(--text-xs)/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-ink); margin: 0 0 var(--s-4); }
.eyebrow .num { min-width: 22px; height: 20px; padding: 0 6px; border-radius: var(--r-full); background: var(--brand-soft); color: var(--brand-ink); font: 600 11px/1 var(--mono); clip-path: none; }
.eyebrow.pill { display: inline-flex; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--panel); color: var(--ink-2); clip-path: none; letter-spacing: 0.04em; }

/* ---------- buttons: one primary per view (.btn-grass), secondary (.btn), quiet (.btn-ghost) ---------- */
.btn {
  --b-bg: var(--btn); --b-hover: var(--btn-hover); --b-ink: var(--btn-ink); --b-edge: var(--btn-edge); --b-edge-h: var(--btn-edge-hover);
  position: relative; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--b-edge); border-radius: var(--r); background: var(--b-bg); color: var(--b-ink); clip-path: none; box-shadow: var(--sh-1);
  font: 500 var(--text-md)/1.2 var(--font); text-transform: none; letter-spacing: -0.005em; text-shadow: none; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:hover { background: var(--b-hover); border-color: var(--b-edge-h); color: var(--b-ink); filter: none; }
.btn:active:not(:disabled):not(.off) { transform: none; box-shadow: none; }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: var(--b-edge); box-shadow: var(--sh-1); }
.btn .ic { width: 16px; height: 16px; }
.btn:disabled, .btn.off { opacity: 0.5; cursor: not-allowed; }
.btn:disabled:hover, .btn.off:hover { background: var(--b-bg); border-color: var(--b-edge); }
.btn-grass { --b-bg: var(--brand); --b-hover: var(--brand-hi); --b-ink: #fff; --b-edge: var(--brand); --b-edge-h: var(--brand-hi); font-weight: 500; text-shadow: none; }
.btn-grass:hover { color: #fff; }
.btn-gold { --b-bg: var(--ink); --b-hover: color-mix(in srgb, var(--ink) 86%, var(--bg)); --b-ink: var(--on-ink); --b-edge: var(--ink); --b-edge-h: var(--ink); }
.btn-gold:hover { color: var(--on-ink); }
.btn-danger, :root[data-theme='light'] .btn-danger { --b-bg: transparent; --b-hover: color-mix(in srgb, var(--red) 10%, transparent); --b-ink: var(--red); --b-edge: color-mix(in srgb, var(--red) 40%, var(--border)); --b-edge-h: var(--red); box-shadow: none; }
.btn-danger:hover, :root[data-theme='light'] .btn-danger:hover { color: var(--red); }
.btn-ghost { --b-bg: transparent; --b-hover: var(--panel-2); --b-ink: var(--ink-2); --b-edge: transparent; --b-edge-h: transparent; box-shadow: none; }
.btn-ghost:hover { color: var(--ink); }
.btn-ghost:focus-visible { box-shadow: none; }
.btn-lg { min-height: 46px; padding: 0 20px; font-size: var(--text-base); }
.btn-sm { min-height: 32px; padding: 0 12px; font-size: var(--text-sm); gap: 6px; }
.btn-sm .ic { width: 14px; height: 14px; }
.btn-block { display: flex; width: 100%; white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
.btn-row { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
.icon-btn { min-width: 40px; padding: 0 10px; }
.icon-btn .ic { width: 18px; height: 18px; }
@media (max-width: 600px) { .btn-sm { min-height: 40px; } .btn-lg { min-height: 48px; padding: 0 18px; font-size: var(--text-base); } }

/* ---------- forms ---------- */
.lbl { font: 500 var(--text-sm)/1.35 var(--font); color: var(--ink); margin-bottom: 6px; }
.input { min-height: 40px; padding: 8px 12px; border: 1px solid var(--field-edge); border-radius: var(--r); background-color: var(--field); color: var(--ink); font: 400 var(--text-md)/1.4 var(--font); clip-path: none; box-shadow: var(--sh-1); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.input:hover { border-color: var(--btn-edge-hover); }
.input:focus, .input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus-ring); }
.input-sm { min-height: 32px; padding: 4px 10px; font-size: var(--text-sm); }
select.input { padding-right: 34px; background-image: var(--select-arrow); background-position: right 12px center; background-size: 12px 12px; background-repeat: no-repeat; image-rendering: auto; }
input[type='checkbox']:not([role='switch']):not(.sr) { width: 18px; height: 18px; vertical-align: -4px; border: 1px solid var(--field-edge); border-radius: var(--r-xs); background: var(--field) center / 12px 12px no-repeat; clip-path: none; box-shadow: none; image-rendering: auto; transition: background-color var(--t-fast), border-color var(--t-fast); }
input[type='checkbox']:not([role='switch']):checked { background-color: var(--brand); background-image: var(--check-mark); border-color: var(--brand); }
input[type='checkbox']:not([role='switch']):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: none; }
.suffix-field { border: 1px solid var(--field-edge); border-radius: var(--r); background: var(--field); clip-path: none; box-shadow: var(--sh-1); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.suffix-field:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px var(--focus-ring); }
@media (max-width: 600px) { .input, .suffix-field input { font-size: 16px; } .input-sm { min-height: 40px; } }

/* switch */
.sw { width: 36px; height: 20px; }
.sw input { inset: -10px -4px; width: calc(100% + 8px); height: calc(100% + 20px); }
.sw i { background: var(--track); border: 0; border-radius: var(--r-full); clip-path: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); transition: background-color var(--t) var(--ease); }
.sw i::before { display: none; }
.sw i::after { left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform var(--t) var(--ease); }
.sw input:checked + i { background: var(--brand); border-color: transparent; }
.sw input:checked + i::after { transform: translateX(16px); background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.sw input:hover:not(:disabled) + i { border-color: transparent; }
.sw input:focus-visible + i { outline: 2px solid var(--focus); outline-offset: 2px; border-color: transparent; box-shadow: none; }

/* segmented control */
.seg { gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: var(--r); background: var(--seg-track); clip-path: none; }
.seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--ink-2); font: 500 var(--text-sm)/1 var(--font); text-transform: none; letter-spacing: 0; clip-path: none; box-shadow: none; transition: background-color var(--t-fast), color var(--t-fast); }
.seg button:hover { color: var(--ink); background: transparent; border-color: transparent; }
.seg button[aria-selected='true'], .seg button[aria-pressed='true'], .seg button[aria-checked='true'] { background: var(--seg-on); color: var(--ink); border-color: transparent; box-shadow: var(--sh-1), inset 0 0 0 1px var(--border); }
.seg button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
@media (max-width: 600px) { .seg button { min-height: 38px; } }

/* chips (filters), badges (status) */
.chip { min-height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--panel); color: var(--ink-2); clip-path: none; box-shadow: none; font: 500 var(--text-sm)/1.2 var(--font); transition: border-color var(--t-fast), color var(--t-fast), background-color var(--t-fast); }
button.chip:hover, a.chip:hover { color: var(--ink); border-color: var(--border-2); }
.chip[aria-pressed='true'] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: none; }
.chip:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: none; }
a.chip.chip-go { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: none; }
a.chip.chip-go:hover { background: var(--brand-hi); border-color: var(--brand-hi); color: #fff; }
@media (max-width: 600px) { button.chip, a.chip { min-height: 40px; } }
.badge { gap: 6px; padding: 0 8px; min-height: 22px; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--panel-2); color: var(--ink-2); clip-path: none; font: 500 var(--text-xs)/1.6 var(--font); text-transform: none; letter-spacing: 0; }
.badge.on { color: var(--green); border-color: color-mix(in srgb, var(--green) 30%, transparent); background: color-mix(in srgb, var(--green) 10%, transparent); }
.badge.on::before { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: none; }
.badge.warn { color: var(--orange); border-color: color-mix(in srgb, var(--orange) 30%, transparent); background: color-mix(in srgb, var(--orange) 10%, transparent); }
.badge.bad { color: var(--red); border-color: color-mix(in srgb, var(--red) 30%, transparent); background: color-mix(in srgb, var(--red) 10%, transparent); }

/* notices */
.notice { gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-left-width: 1px; border-radius: var(--r); background: var(--panel); font-size: var(--text-md); }
.notice .ic { width: 16px; height: 16px; margin-top: 3px; }
.notice.ok { border-color: color-mix(in srgb, var(--green) 30%, var(--border)); background: color-mix(in srgb, var(--green) 7%, var(--panel)); }
.notice.err { border-color: color-mix(in srgb, var(--red) 30%, var(--border)); background: color-mix(in srgb, var(--red) 7%, var(--panel)); }
.notice.warn { border-color: color-mix(in srgb, var(--orange) 30%, var(--border)); background: color-mix(in srgb, var(--orange) 7%, var(--panel)); }
.notice.info { border-color: var(--border); }

/* ---------- surfaces ---------- */
.card { padding: var(--s-5); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--panel); clip-path: none; box-shadow: var(--sh-1); }
.plate { background: var(--panel); border-color: var(--border); clip-path: none; border-radius: var(--r-lg); }
.card h2 { font-size: var(--text-xl); }
@media (max-width: 600px) { .card { padding: var(--s-4); } }
.empty { gap: 6px; padding: var(--s-7) var(--s-5); border: 1px dashed var(--border-2); border-radius: var(--r-lg); background: transparent; }
.empty h3 { margin: 8px 0 0; font: 600 var(--text-lg)/1.3 var(--font); text-transform: none; letter-spacing: -0.01em; color: var(--ink); }
.empty p { color: var(--ink-2); font-size: var(--text-md); }
.skel { border: 0; border-radius: var(--r); background: linear-gradient(90deg, var(--panel-2) 0 40%, var(--panel-3) 50%, var(--panel-2) 60% 100%); background-size: 300% 100%; }
.slot { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--border); border-radius: var(--r); }
.slot:hover::after { border-radius: var(--r); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.loader { width: 16px; height: 16px; border: 2px solid color-mix(in srgb, var(--ink) 16%, transparent); border-top-color: var(--brand-ink); border-radius: 50%; background: none; box-shadow: none; animation: spin 0.7s linear infinite; }
.loader.sm { width: 14px; height: 14px; }
.loader.lg { width: 28px; height: 28px; box-shadow: none; }

/* modal, toasts, menus */
.overlay { background: var(--scrim); backdrop-filter: blur(2px); }
.modal { padding: var(--s-6); border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--panel); clip-path: none; box-shadow: var(--sh-3); }
.modal > h2 { font: 600 var(--text-xl)/1.25 var(--font); text-transform: none; letter-spacing: -0.015em; color: var(--head); margin-bottom: var(--s-4); }
.modal .acts { gap: var(--s-2); margin-top: var(--s-5); }
@media (max-width: 600px) { .modal { padding: var(--s-5) var(--s-4); } }
.toast { gap: 10px; padding: 12px 14px; border: 1px solid var(--border); border-left-width: 1px; border-radius: var(--r); background: var(--panel); box-shadow: var(--sh-2); font-size: var(--text-md); }
.toast .ic { color: var(--green); }
.toast.err .ic { color: var(--red); }
.menu-pop { top: calc(100% + 6px); padding: 6px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--panel); box-shadow: var(--sh-3); }
.menu-pop .who { border-bottom: 1px solid var(--border); }
.menu-pop .who b { color: var(--ink); }
.menu-pop .who span { color: var(--ink-3); font-size: var(--text-xs); }
.menu-pop a, .menu-pop button { min-height: 36px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); font: 400 var(--text-md) var(--font); }
.menu-pop a:hover, .menu-pop button:hover, .menu-pop a:focus-visible, .menu-pop button:focus-visible { background: var(--panel-2); color: var(--ink); }

/* ---------- header ---------- */
.site-head { min-height: 0; background: var(--head-bg); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.head-in { height: 64px; }
.brand { gap: 10px; }
.brand-name { font: 600 17px/1 var(--font); letter-spacing: -0.02em; text-transform: none; }
.nav a { font: 400 var(--text-md) var(--font); color: var(--nav); }
.nav a:hover { color: var(--ink); }
.nav a[aria-current='page'] { color: var(--ink); font-weight: 500; }
.nav a[aria-current='page']::after { display: none; }
.head-cta { align-items: center; gap: 4px; padding-right: var(--pad); }
.head-cta .cta-block { flex: none; align-self: center; height: 36px; margin-left: 6px; padding: 0 14px; gap: 6px; border-radius: var(--r); background: var(--brand); color: #fff; font: 500 var(--text-sm)/1 var(--font); text-transform: none; letter-spacing: 0; box-shadow: none; }
.head-cta .cta-block:hover { background: var(--brand-hi); color: #fff; }
.head-cta .cta-block .ic { width: 15px; height: 15px; }
.head-signin { align-self: center; padding: 0 10px; border-left: 0; font-size: var(--text-md); color: var(--nav); }
.avatar-btn { align-self: center; min-height: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: var(--r); font-size: var(--text-md); }
.avatar { border-radius: 50%; overflow: hidden; }
.mobile-nav a { font: 500 var(--text-base) var(--font); padding: 12px var(--pad); }
@media (max-width: 900px) { .head-in { height: 56px; } .head-cta { padding-right: 12px; } .head-cta .cta-block { padding: 0 12px; font-size: var(--text-sm); } }

/* ---------- footer ---------- */
.marquee { display: none; }
.site-foot { padding: var(--s-8) 0 var(--s-7); font-size: var(--text-md); }
.foot-grid h4 { font: 600 var(--text-sm) var(--font); color: var(--ink); }
.foot-grid ul { gap: 8px; }
.theme-pick .seg button { padding: 0 10px; font-size: var(--text-xs); }

/* ---------- motion: quiet, and none when the visitor asks for less ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .loader, .spin-globe { animation-duration: 1.4s !important; animation-iteration-count: infinite !important; }
}
