/* ==========================================================================
   UtiliKit — Premium Design System
   Tiny tools that save your day. Free forever, no sign-up.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #0b1020;
  --bg-2: #0e1530;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-soft: rgba(255, 255, 255, 0.06);
  --ink: #f4f6ff;
  --ink-dim: #b9c2e8;
  --ink-faint: #7f8ab8;
  --accent: #6c7bff;
  --accent-2: #38e1c6;
  --accent-3: #b78cff;
  --warn: #ffb454;
  --danger: #ff6b81;
  --ok: #3ddc97;
  --grad-brand: linear-gradient(135deg, #6c7bff 0%, #b78cff 48%, #38e1c6 100%);
  --grad-card: linear-gradient(160deg, rgba(108,123,255,.14), rgba(56,225,198,.06));
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  --max: 1160px;
  --nav-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(108, 123, 255, 0.16), transparent 60%),
    radial-gradient(900px 480px at -10% 12%, rgba(56, 225, 198, 0.10), transparent 60%),
    radial-gradient(760px 520px at 50% 115%, rgba(183, 140, 255, 0.10), transparent 60%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.02em; margin: 0 0 0.6em; }
p { margin: 0 0 1.1em; }
::selection { background: rgba(108, 123, 255, 0.45); }

/* ---------- Accessible keyboard focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap { width: min(var(--max), 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); margin-inline: auto; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; color: var(--ink); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px -8px rgba(108, 123, 255, 0.7);
}
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink-dim); font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.9rem; border-radius: 10px; transition: 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--ink); background: var(--surface-strong); text-decoration: none;
}
/* ---------- Nav tools dropdown ---------- */
.nav-has-sub { position: relative; }
.nav-sub summary {
  list-style: none; cursor: pointer;
  color: var(--ink-dim); font-weight: 600; font-size: 0.95rem;
  padding: 0.55rem 0.9rem; border-radius: 10px; transition: 0.2s;
  display: inline-flex; align-items: center; gap: 0.3rem;
}
.nav-sub summary::-webkit-details-marker { display: none; }
.nav-sub summary::marker { content: ""; }
.nav-sub summary:hover, .nav-sub[open] summary {
  color: var(--ink); background: var(--surface-strong);
}
.nav-sub .chev { font-size: 0.72em; }
.nav-sub-list {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 250px; max-height: 70vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0.4rem; margin: 0; list-style: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.nav-sub-list a { display: block; padding: 0.55rem 0.8rem; border-radius: 8px; }
.nav-toggle {
  display: none; background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); border-radius: 10px; padding: 0.5rem 0.7rem; cursor: pointer;
  font-size: 1.15rem; line-height: 1;
}

/* ---------- Hero ---------- */
.hero { padding: 5.5rem 0 4rem; position: relative; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(56, 225, 198, 0.09);
  border: 1px solid rgba(56, 225, 198, 0.25);
  padding: 0.42rem 0.95rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; }
.hero h1 .grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.18rem; color: var(--ink-dim); max-width: 34rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; padding: 1rem 2rem;
  border-radius: 14px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  text-decoration: none !important;
}
.btn-primary {
  background: var(--grad-brand); color: #0b1020;
  box-shadow: 0 14px 34px -12px rgba(108, 123, 255, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(108, 123, 255, 0.75); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--surface-strong); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 11px; }

/* Hero art (pure CSS/SVG) */
.hero-art { position: relative; min-height: 380px; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(2px);
  animation: drift 9s ease-in-out infinite alternate;
}
.orb-1 { width: 200px; height: 200px; left: 8%; top: 6%;
  background: radial-gradient(circle at 32% 30%, #8b98ff, #4a56d6 70%); opacity: 0.85; }
.orb-2 { width: 120px; height: 120px; right: 10%; top: 44%;
  background: radial-gradient(circle at 32% 30%, #7df0d9, #1fae8f 70%); opacity: 0.8;
  animation-delay: -3s; }
.orb-3 { width: 84px; height: 84px; left: 46%; bottom: 4%;
  background: radial-gradient(circle at 32% 30%, #d9bfff, #8b5cf6 70%); opacity: 0.8;
  animation-delay: -6s; }
@keyframes drift {
  from { transform: translateY(-14px) translateX(6px); }
  to { transform: translateY(16px) translateX(-10px); }
}
.glass-panel {
  position: absolute; inset: 12% 6%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: var(--shadow);
  padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  animation: floaty 7s ease-in-out infinite alternate;
}
@keyframes floaty { from { transform: translateY(-8px); } to { transform: translateY(10px); } }
.mock-row { display: flex; gap: 0.6rem; }
.mock-chip {
  height: 34px; border-radius: 9px; flex: 1;
  background: linear-gradient(90deg, rgba(108,123,255,.35), rgba(56,225,198,.22));
  border: 1px solid var(--border-soft);
}
.mock-bar { height: 12px; border-radius: 6px; background: rgba(255,255,255,.10); }
.mock-bar.w60 { width: 60%; } .mock-bar.w85 { width: 85%; } .mock-bar.w40 { width: 40%; }
.mock-kbd {
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--accent-2);
  background: rgba(0,0,0,.35); border: 1px solid var(--border-soft);
  border-radius: 8px; padding: 0.35rem 0.7rem; align-self: flex-start;
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 2.5rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
.section-head p { color: var(--ink-dim); }

/* ---------- Tool cards ---------- */
.tool-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.tool-card {
  position: relative; overflow: hidden;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.tool-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-brand); opacity: 0; transition: opacity 0.22s;
}
.tool-card:hover { transform: translateY(-6px); border-color: rgba(108,123,255,.45); box-shadow: var(--shadow); }
.tool-card:hover::before { opacity: 1; }
.tool-card:hover { text-decoration: none; }
.tool-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(108, 123, 255, 0.14); border: 1px solid rgba(108, 123, 255, 0.35);
  margin-bottom: 1rem;
}
.tool-icon svg { width: 26px; height: 26px; stroke: var(--accent-2); }
.tool-card h3 { font-size: 1.22rem; margin-bottom: 0.45rem; color: var(--ink); }
.tool-card p { color: var(--ink-dim); font-size: 0.96rem; margin-bottom: 1.1rem; }
.tool-card .go { font-weight: 700; font-size: 0.92rem; color: var(--accent-2); }

/* ---------- Feature / trust band ---------- */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem;
}
.trust-item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 1.5rem; text-align: center;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.trust-item:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 225, 198, 0.4);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.6);
}
.trust-item .t-ico {
  width: 46px; height: 46px; margin: 0 auto 0.9rem; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(56, 225, 198, 0.10); border: 1px solid rgba(56, 225, 198, 0.3);
}
.trust-item .t-ico svg { width: 24px; height: 24px; stroke: var(--accent-2); }
.trust-item h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.trust-item p { color: var(--ink-dim); font-size: 0.93rem; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(108, 123, 255, 0.45); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; color: var(--ink); cursor: pointer;
  font: 700 1.02rem/1.4 var(--font); text-align: left; padding: 1rem 1.5rem;
}
.faq-q .chev { flex: none; transition: transform 0.25s; color: var(--accent-2); font-size: 1.2rem; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a-inner { padding: 0 1.5rem 1.5rem; color: var(--ink-dim); }

/* ---------- Forms / tool UI ---------- */
.tool-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3.4vw, 2.4rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.field { margin-bottom: 1.5rem; }
.field label { display: block; font-weight: 700; margin-bottom: 0.5rem; font-size: 0.98rem; }
textarea, input[type="text"], input[type="number"], select {
  width: 100%; background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border); color: var(--ink);
  border-radius: var(--radius-sm); padding: 0.85rem 1rem;
  font: 1rem/1.55 var(--font); transition: border-color 0.18s, box-shadow 0.18s;
}
textarea:focus, input:focus, select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.25);
}
textarea.code, input.code { font-family: var(--font-mono); font-size: 0.92rem; }
select option { background: #141b38; }
.hint { color: var(--ink-faint); font-size: 0.86rem; margin-top: 0.4rem; }
.check-row { display: flex; align-items: center; gap: 0.6rem; margin: 0.55rem 0; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1rem; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.range-val {
  display: inline-block; min-width: 3.2rem; text-align: center;
  font: 700 1rem var(--font-mono); color: var(--accent-2);
  background: rgba(56,225,198,.08); border: 1px solid rgba(56,225,198,.3);
  padding: 0.2rem 0.6rem; border-radius: 8px;
}
.stat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.stat {
  background: rgba(0,0,0,.28); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 0.9rem 1rem; text-align: center;
}
.stat .num { font: 800 1.5rem var(--font); color: var(--accent-2); }
.stat .lbl { font-size: 0.8rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.output-box {
  background: rgba(0, 0, 0, 0.4); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
  font-family: var(--font-mono); font-size: 0.95rem; word-break: break-all;
  min-height: 3.4rem; position: relative;
}
.meter { height: 10px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin: 0.6rem 0 0.3rem; }
.meter > span { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 0.3s, background 0.3s; }
.meter-lbl { font-size: 0.88rem; font-weight: 700; }
.error-box {
  background: rgba(255, 107, 129, 0.08); border: 1px solid rgba(255, 107, 129, 0.4);
  color: #ffb3c1; border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; font-size: 0.93rem;
  display: none; margin-top: 1rem;
}
.error-box.show { display: block; }
.ok-box {
  background: rgba(61, 220, 151, 0.08); border: 1px solid rgba(61, 220, 151, 0.35);
  color: #9ff0c8; border-radius: var(--radius-sm); padding: 0.7rem 1rem; font-size: 0.92rem;
  display: none; margin-top: 1rem;
}
.ok-box.show { display: block; }
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #141b38; border: 1px solid rgba(56,225,198,.45); color: var(--ink);
  padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.92rem;
  opacity: 0; pointer-events: none; transition: 0.3s; z-index: 300;
  box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Article typography ---------- */
.prose { font-size: 1.06rem; color: #dfe4ff; }
.prose h2 { font-size: 1.55rem; margin: 2.2em 0 0.7em; padding-top: 0.4em; border-top: 1px solid var(--border-soft); }
.prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.6em; color: var(--accent-2); }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: rgba(108,123,255,.14); padding: 0.12em 0.42em; border-radius: 6px; color: #cfd6ff; }
.prose pre { background: rgba(0,0,0,.45); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; overflow-x: auto; font-size: 0.88rem; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.4em 0; padding: 0.4em 0 0.4em 1.1em; color: var(--ink-dim); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 0.65rem 0.9rem; text-align: left; }
.prose th { background: rgba(108,123,255,.12); font-weight: 700; }
.byline { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 2rem; }
.related { margin-top: 3rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.related a {
  display: block; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border-soft);
  color: var(--ink); font-weight: 600; font-size: 0.97rem;
}
.related a:hover {
  border-color: rgba(108,123,255,.5); text-decoration: none; transform: translateY(-2px);
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.6);
}
.toc { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; margin-bottom: 2rem; }
.toc strong { display: block; margin-bottom: 0.5rem; }
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc li { margin-bottom: 0.3rem; font-size: 0.95rem; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 3.6rem 0 2rem; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; }
.page-hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p.lead { color: var(--ink-dim); max-width: 44rem; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 4rem; border-top: 1px solid var(--border-soft);
  background: rgba(6, 9, 20, 0.7); backdrop-filter: blur(10px);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem;
  padding: 3.2rem 0 2rem;
}
.footer-grid .foot-h { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.55rem; }
.footer-grid a { color: var(--ink-dim); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-brand p { color: var(--ink-faint); font-size: 0.93rem; max-width: 22rem; }
.footer-bottom {
  border-top: 1px solid var(--border-soft); padding: 1.3rem 0;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--ink-faint); font-size: 0.88rem;
}

/* ---------- Post index ---------- */
.post-list { display: grid; gap: 1rem; }
.post-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; transition: 0.2s;
}
.post-row:hover { border-color: rgba(108,123,255,.5); transform: translateX(4px); }
.post-row:hover { text-decoration: none; }
.post-row .t { color: var(--ink); font-weight: 700; line-height: 1.45; }
.post-row .d { color: var(--ink-faint); font-size: 0.86rem; white-space: nowrap; }

/* ---------- Guides index (homepage) ---------- */
.guide-group { font-size: 1.1rem; color: var(--accent-2); margin: 2rem 0 1rem; letter-spacing: -0.01em; }
.guide-group:first-of-type { margin-top: 0; }
@media (min-width: 900px) { .guide-list { grid-template-columns: 1fr 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(11, 16, 32, 0.98); border-bottom: 1px solid var(--border);
    padding: 0.8rem 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 1rem; }
  .nav-toggle { display: block; }
  .nav-sub-list {
    position: static; box-shadow: none; border: 0; border-radius: 0;
    background: transparent; padding: 0 0 0 0.9rem; max-height: none; overflow: visible;
  }
  .hero { padding: 3.4rem 0 2.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .post-row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
