/* ===========================================================================
   WeTheNorth Link — style.css  (PROJECT ETALON — built from scratch)
   Direction: CANADIAN MINIMALISM / dark-premium. Near-black #0a0a0a base,
   ONE restrained accent — Canadian dark-red #d11515. Poster headlines in
   Oswald (condensed, uppercase tracking), body in Open Sans. Thin red
   hairline dividers, generous air, square-ish 8px radii, a subtle maple
   motif on the brand mark. A bespoke WeTheNorth identity — no serif,
   no rose/purple, no glass-on-everything. Mobile-first. 8px grid.
   =========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --primary: #d11515;        /* Canadian dark-red */
  --primary-dark: #b01111;
  --primary-light: #e53030;
  --primary-soft: #f06b6b;   /* brightened accent for text on near-black */

  --ok: #34c759;

  --bg: #0a0a0a;             /* minimalist near-black */
  --bg-2: #0f0f0f;
  --bg-card: #161616;
  --bg-elev: #1d1d1d;
  --text: #ededed;
  --muted: #9aa0a6;
  --border: rgba(209, 21, 21, 0.30);          /* thin red hairline */
  --border-soft: rgba(237, 237, 237, 0.09);

  --red-05: rgba(209, 21, 21, 0.05);
  --red-10: rgba(209, 21, 21, 0.10);
  --red-20: rgba(209, 21, 21, 0.20);
  --red-40: rgba(209, 21, 21, 0.40);

  --grad: linear-gradient(135deg, #d11515, #7a0a0a);
  --grad-soft: linear-gradient(135deg, rgba(209, 21, 21, 0.10), rgba(122, 10, 10, 0.06));
  --glow: 0 0 20px rgba(209, 21, 21, 0.30);

  --r: 8px;
  --r-sm: 6px;
  --r-lg: 12px;
  --t: 200ms;

  /* 8px spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 16px;
  --s-4: 24px;
  --s-5: 32px;
  --s-6: 48px;
  --s-7: 72px;
  --s-8: 96px;

  --ff-head: "Oswald", "Bebas Neue", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Open Sans", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "DejaVu Sans Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1080px;
}

html[data-theme="light"] {
  --bg: #f7f6f5;
  --bg-2: #f0eeec;
  --bg-card: #ffffff;
  --bg-elev: #ffffff;
  --text: #16100f;
  --muted: #5f5a57;
  --primary-soft: #b01111;
  --border: rgba(209, 21, 21, 0.32);
  --border-soft: rgba(22, 16, 15, 0.10);
  --grad-soft: linear-gradient(135deg, rgba(209, 21, 21, 0.07), rgba(122, 10, 10, 0.04));
}

/* ---- Reset / 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(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-soft); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--primary-light); }
:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Poster typography — condensed, confident, uppercase tracking on headers */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 var(--s-3);
  letter-spacing: .01em;
}
h1 {
  font-size: clamp(2.1rem, 6.2vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
}
h2 {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-top: var(--s-2);
  padding-bottom: var(--s-3);
  position: relative;
}
/* thin red hairline under each H2 (Canadian minimalism divider) */
h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--primary);
}
h3 {
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--text);
}
h4 { font-size: 1rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
p { margin: 0 0 var(--s-3); max-width: 72ch; }
strong { color: var(--text); font-weight: 700; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-4); }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--primary-soft);
  margin-bottom: var(--s-3);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: var(--s-2) var(--s-3);
  z-index: 200;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
html[data-theme="light"] .site-header { background: rgba(247, 246, 245, 0.86); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.34rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text);
}
.brand:hover { color: var(--text); }
/* maple-leaf brand mark — subtle, not kitsch */
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
  flex: 0 0 auto;
}
.brand__mark svg { width: 20px; height: 20px; display: block; }
.brand__wtn { color: var(--primary-soft); }
.nav__links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--s-5);
}
.nav__links a {
  font-family: var(--ff-head);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  padding: var(--s-2) 0;
  position: relative;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--primary-soft); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--primary);
}
.nav__actions { display: flex; align-items: center; gap: var(--s-2); }
.lang-flag {
  font-family: var(--ff-head);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: 5px var(--s-2);
  white-space: nowrap;
}
.theme-toggle, .nav-toggle {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  transition: border-color var(--t), background var(--t);
}
.theme-toggle:hover, .nav-toggle:hover { border-color: var(--primary); background: var(--red-10); }

.nav__links.open {
  display: flex;
  position: absolute;
  top: 66px;
  left: 0; right: 0;
  flex-direction: column;
  gap: 0;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: var(--s-2) var(--s-4) var(--s-4);
}
.nav__links.open li { border-bottom: 1px solid var(--border-soft); }
.nav__links.open a { display: block; padding: var(--s-3) 0; font-size: 1.06rem; }

/* ---- Layout sections ---------------------------------------------------- */
.section { padding: var(--s-7) 0; }
.section + .section { padding-top: var(--s-5); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Hero / INSTANT VALUE ----------------------------------------------- */
.hero {
  position: relative;
  padding: var(--s-8) 0 var(--s-6);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
/* sparse vertical hairlines — restrained, poster-like texture (no grid spam) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--red-05) 1px, transparent 1px);
  background-size: 180px 100%;
  mask-image: radial-gradient(ellipse 90% 80% at 18% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 18% 0%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(209, 21, 21, 0.22), transparent 64%);
  filter: blur(40px);
  pointer-events: none;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); opacity: .85; }
  to   { transform: translate(-30px, 24px) scale(1.06); opacity: 1; }
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero__intro { font-size: 1.12rem; color: var(--muted); max-width: 64ch; }
.hero__mirrors-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform var(--t);
}
.hero__mirrors-link:hover { transform: translateX(3px); }

/* ---- Onion box ---------------------------------------------------------- */
.onion-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  margin: var(--s-5) 0 var(--s-3);
  max-width: 760px;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
  animation: onionPulse 3.6s ease-in-out infinite;
}
/* thin red top edge */
.onion-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
@keyframes onionPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(209, 21, 21, 0.20); }
  50%      { box-shadow: 0 0 30px rgba(209, 21, 21, 0.40); }
}
.onion-box__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-bottom: var(--s-3);
  font-family: var(--ff-head);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.onion-row {
  display: flex;
  align-items: stretch;
  gap: var(--s-2);
  flex-wrap: wrap;
}
.onion-url {
  flex: 1 1 280px;
  min-width: 0;
  font-family: var(--ff-mono);
  font-size: .94rem;
  line-height: 1.5;
  color: var(--primary-soft);
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-sm);
  padding: var(--s-3);
  word-break: break-all;
  overflow-wrap: anywhere;
  user-select: all;
}
.onion-note { margin: var(--s-3) 0 0; font-size: .9rem; color: var(--muted); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 46px;
  padding: 0 var(--s-4);
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  text-align: center;
}
.btn--lg { min-height: 54px; padding: 0 var(--s-5); font-size: 1.08rem; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow);
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 600ms ease;
}
.btn--primary:hover { transform: translateY(-2px); }
.btn--primary:hover::after { left: 130%; }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--primary); background: var(--red-10); color: var(--text); transform: translateY(-2px); }

.copy-btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 var(--s-4);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: .96rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform var(--t), filter var(--t);
}
.copy-btn:hover { transform: translateY(-1px); filter: brightness(1.10); }
.copy-btn.copied { background: var(--ok); }

/* ---- Status pills ------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  font-family: var(--ff-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; }
.pill--online {
  color: var(--ok);
  border-color: rgba(52, 199, 89, 0.45);
  background: rgba(52, 199, 89, 0.10);
}
.pill--online .pill__dot { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.pill--checking {
  color: var(--primary-soft);
  border-color: var(--border);
  background: var(--red-10);
}
.pill--checking .pill__dot { background: var(--primary-light); animation: blink 1.3s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display: grid; gap: var(--s-3); grid-template-columns: 1fr; margin-top: var(--s-4); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-left: 2px solid var(--primary);    /* thin red line — WTN signature */
  border-radius: var(--r);
  padding: var(--s-4);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-3px);
  border-left-color: var(--primary-light);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.30);
}
.card h3 { margin-bottom: var(--s-2); color: var(--text); }
.card p { margin-bottom: 0; }
.card__num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-soft);
  display: block;
  margin-bottom: var(--s-1);
}

/* ordered/unordered content lists */
.content-list { padding-left: 1.2rem; margin: 0 0 var(--s-3); max-width: 72ch; }
.content-list li { margin-bottom: var(--s-2); }
.content-list li::marker { color: var(--primary-soft); font-weight: 700; }

/* ---- Steps -------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-3); display: grid; gap: var(--s-3); }
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--s-3) var(--s-3) var(--s-3) calc(var(--s-6) + 6px);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: var(--s-3);
  top: var(--s-3);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--grad);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
}

/* ---- Mirror table ------------------------------------------------------- */
.table-wrap { margin: var(--s-4) 0 var(--s-3); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden; }
table.mirrors { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.mirrors thead { display: none; }
table.mirrors th, table.mirrors td { text-align: left; padding: var(--s-3); }
table.mirrors tbody tr { display: block; border-bottom: 1px solid var(--border-soft); background: var(--bg-card); }
table.mirrors tbody tr:last-child { border-bottom: 0; }
table.mirrors td { display: block; padding: var(--s-2) var(--s-3); }
table.mirrors td.cell-url { padding-top: var(--s-3); }
table.mirrors td.cell-action { padding-bottom: var(--s-3); }
table.mirrors td::before {
  content: attr(data-label);
  display: block;
  font-family: var(--ff-head);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-1);
}
.mirror-url {
  font-family: var(--ff-mono);
  font-size: .9rem;
  color: var(--primary-soft);
  word-break: break-all;
  overflow-wrap: anywhere;
  user-select: all;
  display: block;
}

/* ---- FAQ accordion ------------------------------------------------------ */
.faq { margin: var(--s-4) 0 var(--s-3); display: grid; gap: var(--s-2); }
.faq__item { background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--r); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  text-align: left;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .02em;
  color: var(--text);
  background: transparent;
  border: 0;
  padding: var(--s-3) var(--s-4);
  cursor: pointer;
  min-height: 44px;
}
.faq__q::after {
  content: "+";
  font-family: var(--ff-body);
  font-size: 1.6rem;
  color: var(--primary-soft);
  transition: transform var(--t);
  line-height: 1;
}
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 300ms ease; }
.faq__a p { margin: 0; padding: 0 var(--s-4) var(--s-4); color: var(--muted); }

/* ---- Crypto widget ------------------------------------------------------ */
.crypto { display: grid; grid-template-columns: 1fr; gap: var(--s-3); margin: var(--s-4) 0 var(--s-3); }
.crypto__coin {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-top: 2px solid var(--primary);
  border-radius: var(--r);
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.crypto__sym { font-family: var(--ff-head); font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; color: var(--text); }
.crypto__name { font-size: .82rem; color: var(--muted); }
.crypto__price { font-family: var(--ff-head); font-size: 1.7rem; font-weight: 600; color: var(--primary-soft); }
.crypto__chg { font-size: .85rem; font-weight: 700; }
.crypto__chg.up { color: var(--ok); }
.crypto__chg.down { color: var(--primary-light); }

/* ---- Resource links ----------------------------------------------------- */
.resource-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-2) var(--s-4);
  list-style: none;
  padding: 0;
  margin-top: var(--s-4);
}
.resource-links a {
  display: block;
  font-family: var(--ff-body);
  font-weight: 600;
  padding: var(--s-2) 0;
  color: var(--text);
  border-bottom: 1px solid transparent;
}
.resource-links a:hover { color: var(--primary-soft); border-bottom-color: var(--border); }

/* ---- Callout / notice --------------------------------------------------- */
.notice {
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--r);
  padding: var(--s-3) var(--s-4);
  margin: var(--s-4) 0;
  color: var(--text);
}
.notice p { margin: 0; }

/* ---- CTA band ----------------------------------------------------------- */
.cta-band {
  text-align: center;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-4);
}
.cta-band h2 { padding: 0; }
.cta-band h2::after { left: 50%; transform: translateX(-50%); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: var(--s-6) 0 var(--s-4);
  margin-top: var(--s-6);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.site-footer h4 { color: var(--primary-soft); margin-bottom: var(--s-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-2); }
.site-footer ul a { color: var(--muted); font-family: var(--ff-body); }
.site-footer ul a:hover { color: var(--primary-soft); }
.disclaimer { color: var(--muted); font-size: .9rem; max-width: 48ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: space-between;
  margin-top: var(--s-5);
  padding-top: var(--s-3);
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: .82rem;
}

/* ---- Breadcrumb --------------------------------------------------------- */
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary-soft); }

/* ===========================================================================
   Responsive — mobile-first; expand at breakpoints
   =========================================================================== */
@media (min-width: 720px) {
  .nav__links { display: flex; }
  .nav-toggle { display: none; }
  .nav__links.open { position: static; flex-direction: row; background: transparent; border: 0; padding: 0; }
  .nav__links.open li { border: 0; }
  .nav__links.open a { display: inline; padding: var(--s-2) 0; font-size: 1.02rem; }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .crypto { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .resource-links { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  /* restore real table layout on wider screens */
  table.mirrors thead { display: table-header-group; }
  table.mirrors thead th {
    font-family: var(--ff-head);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    background: var(--bg-elev);
  }
  table.mirrors tbody tr { display: table-row; }
  table.mirrors tbody tr:hover { background: var(--bg-elev); }
  table.mirrors td { display: table-cell; vertical-align: middle; padding: var(--s-3); }
  table.mirrors td::before { display: none; }
}

@media (min-width: 960px) {
  .resource-links { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
}

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn--primary::after { display: none; }
}

/* ---- Media (hero figure + inline images) -------------------------------- */
.hero-media,
figure { margin: 0; }
.hero-media img,
figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  margin: var(--s-5) 0 0;
  border: 1px solid var(--border-soft);
}
figure img { margin: var(--s-4) 0; }
