/* ==========================================================================
   AI Forex Crypto Signals Pro — design system
   --------------------------------------------------------------------------
   One stylesheet shared by the landing page, the trading dashboard, the
   subscriber panel and the admin console, so a control looks and behaves the
   same wherever it appears.

   Written as plain CSS on purpose: the product is self-hosted and has no build
   step, and a design system that needs a toolchain would be the first thing to
   rot on someone else's VPS.

   Palette: deep slate ground with a single gold accent — the accent is the
   product, so it is spent sparingly and never on decoration. Direction is
   carried by green/red, which are reserved for buy/sell and profit/loss and
   are never used to mean "good UI thing happened".
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* --- ground ------------------------------------------------------------ */
  --bg: #05070d;
  --bg-sunken: #03050a;
  --surface: #0c111b;
  --surface-2: #121927;
  --surface-3: #1a2233;

  --border: rgba(148, 163, 184, 0.10);
  --border-strong: rgba(148, 163, 184, 0.20);
  --border-gold: rgba(245, 184, 65, 0.28);

  /* --- accent ------------------------------------------------------------ */
  --gold: #f5b841;
  --gold-bright: #ffd37a;
  --gold-deep: #b8862a;
  --gold-wash: rgba(245, 184, 65, 0.10);

  /* --- semantic: direction and outcome ----------------------------------- */
  --buy: #22c55e;
  --buy-wash: rgba(34, 197, 94, 0.12);
  --sell: #ef4444;
  --sell-wash: rgba(239, 68, 68, 0.12);
  --wait: #94a3b8;
  --wait-wash: rgba(148, 163, 184, 0.10);
  --warn: #f59e0b;
  --warn-wash: rgba(245, 158, 11, 0.12);
  --info: #38bdf8;
  --info-wash: rgba(56, 189, 248, 0.12);

  /* --- text -------------------------------------------------------------- */
  --text: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-on-gold: #0a0d14;

  /* --- type -------------------------------------------------------------- */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* --- shape ------------------------------------------------------------- */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* --- depth. Soft and low; a trading surface should feel flat and precise,
         not like a stack of floating glass. ---------------------------------- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 0 1px rgba(245, 184, 65, 0.30), 0 8px 32px rgba(245, 184, 65, 0.14);

  /* --- motion ------------------------------------------------------------ */
  --t-fast: 120ms cubic-bezier(0.4, 0, 0.2, 1);
  --t: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 320ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- layering. A named scale, so a new overlay never has to guess a
         number and end up behind the thing it covers. ----------------------- */
  --z-base: 1;
  --z-sticky: 20;
  --z-header: 30;
  --z-dropdown: 40;
  --z-modal: 50;
  --z-toast: 60;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* An explicit `display` beats the user agent's `[hidden] { display: none }`,
   so every element toggled through the hidden attribute — modals, tab panels,
   conditional rows — would otherwise stay on screen. This has bitten this
   codebase more than once; it is load-bearing. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;   /* wide content scrolls inside its own box, never the page */
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* Visible focus for keyboard users, suppressed for pointer users. Removing the
   outline without a replacement makes the product unusable by keyboard. */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: rgba(245, 184, 65, 0.28); color: var(--text); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.18);
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(148, 163, 184, 0.3); background-clip: padding-box; }

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

/* Every number in this product is meant to be compared with the number above
   it, so figures are tabular everywhere without exception. */
.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-3);
}

.hint {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 70ch;   /* long measure is the single most common readability bug */
}

.muted { color: var(--text-2); }
.muted-val { color: var(--text-3); }
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.gold-text {
  background: linear-gradient(100deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.up { color: var(--buy); }
.down { color: var(--sell); }
.flat { color: var(--wait); }

/* ==========================================================================
   Brand
   ========================================================================== */

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: var(--text-on-gold);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
  box-shadow: 0 4px 16px rgba(245, 184, 65, 0.28);
  flex-shrink: 0;
}
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.brand-sub {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}

/* ==========================================================================
   Surfaces
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.card-head h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.card-head h3 { font-size: 13px; font-weight: 700; }

.card-quiet { background: var(--surface-2); border-color: transparent; }
.card-gold { border-color: var(--border-gold); background:
  linear-gradient(160deg, rgba(245, 184, 65, 0.06), transparent 60%), var(--surface); }

.section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
  margin: 26px 0 12px;
}

.divider { height: 1px; background: var(--border); border: 0; margin: 20px 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;                     /* touch target floor */
  padding: 0 20px;
  border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(140deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: var(--text-on-gold);
  box-shadow: 0 2px 12px rgba(245, 184, 65, 0.24);
  transition: filter var(--t), box-shadow var(--t), opacity var(--t);
}
/* Hover changes light, never size — a scale transform on a button nudges
   everything around it and makes lists feel unstable. */
.btn:hover { filter: brightness(1.08); box-shadow: 0 4px 20px rgba(245, 184, 65, 0.34); }
.btn:active { filter: brightness(0.94); }
.btn:disabled, .btn[aria-busy="true"] { opacity: 0.5; cursor: not-allowed; filter: none; box-shadow: none; }

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: none;
}
.btn-secondary:hover { background: var(--surface-3); border-color: var(--gold); box-shadow: none; }

.btn-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid transparent; box-shadow: none;
}
.btn-ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: none; }

.btn-danger { background: var(--sell); color: #fff; box-shadow: none; }
.btn-danger:hover { filter: brightness(1.1); box-shadow: none; }

.btn-slim { min-height: 34px; padding: 0 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { min-height: 52px; padding: 0 30px; font-size: 15px; border-radius: var(--r); }
.btn-block { display: flex; width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.icon-btn:hover { background: var(--surface-2); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }

/* An icon button is often 38px on a desktop grid but must still be reachable on
   a phone, where there is no cursor to aim with. */
@media (pointer: coarse) {
  .icon-btn { width: 44px; height: 44px; }
}

/* ==========================================================================
   Pills, chips, badges
   ========================================================================== */

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  white-space: nowrap;
}
.pill-gold { background: var(--gold-wash); border-color: var(--border-gold); color: var(--gold-bright); }
.pill-buy { background: var(--buy-wash); border-color: rgba(34, 197, 94, 0.3); color: var(--buy); }
.pill-sell { background: var(--sell-wash); border-color: rgba(239, 68, 68, 0.3); color: var(--sell); }
.pill-warn { background: var(--warn-wash); border-color: rgba(245, 158, 11, 0.3); color: var(--warn); }
.pill-info { background: var(--info-wash); border-color: rgba(56, 189, 248, 0.3); color: var(--info); }

/* A live indicator that does not animate forever: continuous motion in the
   corner of the eye is distracting, so the dot pulses only while connected and
   stops entirely when the user prefers reduced motion. */
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dot-live { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: 7px; }
.field > .label { margin: 0; }

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="tel"], input[type="url"],
input[type="date"], select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  background: var(--bg-sunken);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
textarea { min-height: 92px; resize: vertical; line-height: 1.6; }

input::placeholder, textarea::placeholder { color: var(--text-3); }

input:hover, select:hover, textarea:hover { border-color: rgba(148, 163, 184, 0.32); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 184, 65, 0.14);
  background: var(--surface);
}
input:disabled, select:disabled, textarea:disabled {
  opacity: 0.55; cursor: not-allowed; background: var(--surface);
}

/* Autofill.
   Chrome paints a light background and dark text over any autofilled field and
   ignores `background`, which on a dark theme turns a signed-in user's own
   login form white. The colour can only be reached through an inset shadow
   large enough to cover the field, and the text through -webkit-text-fill-color.
   The absurd delay keeps the browser's own fade from flashing the light colour
   first. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-sunken) inset;
  box-shadow: 0 0 0 1000px var(--bg-sunken) inset;
  caret-color: var(--text);
  transition: background-color 100000s ease-in-out 0s;
}
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--surface) inset, 0 0 0 3px rgba(245, 184, 65, 0.14);
  box-shadow: 0 0 0 1000px var(--surface) inset, 0 0 0 3px rgba(245, 184, 65, 0.14);
}

select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 15px;
  cursor: pointer;
}

/* Numbers are read in columns, so they are set in the mono face wherever they
   are typed as well as wherever they are displayed. */
input[type="number"] { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.check {
  display: inline-flex; align-items: center; gap: 9px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-2);
  min-height: 32px;
}
.check input[type="checkbox"] {
  appearance: none;
  width: 18px; height: 18px;
  flex-shrink: 0;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: var(--bg-sunken);
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.check input[type="checkbox"]:checked {
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0d14' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--gold);
}
.check:hover input[type="checkbox"] { border-color: var(--gold); }

.form-error {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  background: var(--sell-wash);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 13px;
  line-height: 1.5;
}
.form-ok {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 10px 13px;
  border-radius: var(--r-sm);
  background: var(--buy-wash);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
  font-size: 13px;
  line-height: 1.5;
}

/* ==========================================================================
   Tabs
   ========================================================================== */

.tabs {
  display: flex; gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  padding: 9px 16px;
  border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.tabs button:hover { color: var(--text); background: var(--surface-2); }
.tabs button.active { background: var(--surface-3); color: var(--gold); }

/* ==========================================================================
   Timeframe switcher
   --------------------------------------------------------------------------
   The same control on the dashboard and the landing chart; it was defined
   twice, and the two copies had already drifted apart on padding.
   ========================================================================== */

.tf-switch {
  display: flex; gap: 3px;
  padding: 3px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.tf-switch button {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12.5px; font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}
.tf-switch button:hover { color: var(--text); }
.tf-switch button.active { background: var(--surface-3); color: var(--gold); }

/* ==========================================================================
   Tables
   --------------------------------------------------------------------------
   Wide tables scroll inside their own box. Letting them widen the page is what
   produces the horizontal-scroll bug that makes a dashboard unusable on a
   phone.
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r);
  border: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}
.table-wrap table { min-width: 620px; }

th {
  padding: 11px 14px;
  text-align: left;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--text-3);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky; top: 0; z-index: var(--z-base);
}
td {
  padding: 11px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
tbody tr { transition: background var(--t-fast); }
tbody tr:hover { background: rgba(148, 163, 184, 0.04); }
tbody tr:last-child td { border-bottom: none; }
td.empty {
  text-align: center; color: var(--text-3);
  padding: 34px 14px; font-size: 13px; white-space: normal;
}

/* ==========================================================================
   Stat grids
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stats-grid > div {
  display: flex; flex-direction: column; gap: 5px;
  padding: 13px 14px;
  background: var(--surface);
}
.stats-grid .mono { font-size: 17px; font-weight: 600; }

/* The labelled-figure row. Lives here rather than in each panel's stylesheet
   because all four surfaces use it, and it was previously defined three times
   with three slightly different paddings — and not at all on the landing page,
   where the figures collapsed into a vertical list. */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { display: flex; flex-direction: column; gap: 4px; padding: 13px 15px; background: var(--surface); }
.stat-value {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.025em;
}
.stat-sub { font-size: 11px; color: var(--text-3); line-height: 1.4; }

/* ==========================================================================
   Modal
   ========================================================================== */

.modal {
  position: fixed; inset: 0;
  z-index: var(--z-modal);
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(3, 5, 10, 0.8);
  backdrop-filter: blur(6px);
  animation: fade var(--t) both;
}
.modal-card {
  width: 100%; max-width: 520px;
  max-height: 88vh; overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  animation: rise var(--t-slow) both;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Loading
   --------------------------------------------------------------------------
   Async content reserves its space before it arrives, so nothing on the page
   jumps when it lands.
   ========================================================================== */

.skeleton {
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  color: transparent !important;
  pointer-events: none;
  user-select: none;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.spinner {
  width: 15px; height: 15px;
  border: 2px solid rgba(10, 13, 20, 0.25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Utilities
   ========================================================================== */

.row { display: flex; align-items: center; gap: 12px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 12px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.center { text-align: center; }

.stack-sm > * + * { margin-top: 8px; }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 26px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 24px; }
.container-narrow { width: 100%; max-width: 880px; margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Ambient background wash. Fixed and inert so it never intercepts a click. */
.bg-glow {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(760px 380px at 12% -8%, rgba(245, 184, 65, 0.07), transparent 68%),
    radial-gradient(620px 420px at 92% 4%, rgba(56, 189, 248, 0.05), transparent 66%);
}

/* ==========================================================================
   Footer / disclaimer
   --------------------------------------------------------------------------
   This product publishes trade ideas. The disclaimer is a functional part of
   the interface, not fine print, so it is set at a readable size and normal
   contrast — never shrunk to get it out of the way.
   ========================================================================== */

footer {
  position: relative; z-index: var(--z-base);
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 26px 24px 40px;
}
footer p {
  max-width: 100ch;
  margin-inline: auto;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}
footer strong { color: var(--text); font-weight: 700; }

/* ==========================================================================
   Motion preference
   --------------------------------------------------------------------------
   Honoured globally rather than per-component, so a new animation cannot
   forget to opt in.
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
