/* Squid Proxy Professional - Marketing site styles */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-deep: #0d1b2a;
  --bg-deep-2: #15263d;
  --surface: #ffffff;
  --border: #d9e0e8;
  --border-strong: #b8c4d3;
  --text: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-on-dark: #e7edf5;
  --text-on-dark-muted: #9fb1c7;
  --accent: #1e3a8a;
  --accent-hover: #1e40af;
  --accent-soft: #e8eef9;
  --accent-fg: #ffffff;
  /* Accent tuned for legibility on dark backgrounds (Tailwind blue-300 family).
     The dark --accent (blue-900) is invisible on the navy hero/dark sections. */
  --accent-on-dark: #93b4ed;
  --warn: #b45309;
  --ok: #15803d;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  --radius: 6px;
  --radius-lg: 10px;
  --container: 1140px;
  --mono: ui-monospace, "Cascadia Mono", "Consolas", "Segoe UI Mono", monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }

code, kbd, samp {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--bg-alt);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--border);
}
pre {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.55;
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}
.section-tight { padding: 2.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-deep);
  color: var(--text-on-dark);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }
.section-dark p { color: var(--text-on-dark-muted); }
.section-dark a { color: var(--accent-on-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.section-dark .eyebrow,
.hero .eyebrow { color: var(--accent-on-dark); }

.section-head {
  max-width: 780px;
  margin-bottom: 2.25rem;
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #1e3a8a, #0d1b2a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.brand-logo {
  display: block;
  height: 40px;
  width: auto;
}
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  color: var(--text);
  font-size: 0.95rem;
  border-radius: 5px;
}
.nav-links a:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
.nav-links a.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-cta { margin-left: 0.5rem; }
/* Keep the CTA a proper primary button: .nav-links a would otherwise
   override .btn-primary's text color and hover background on specificity. */
.nav-links a.nav-cta { color: var(--accent-fg); }
.nav-links a.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  width: 40px;
  height: 40px;
  border-radius: 6px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  border-radius: 1px;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  text-decoration: none;
  color: #fff;
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  text-decoration: none;
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  text-decoration: none;
  color: #fff;
}
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn[disabled],
.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(59, 100, 165, 0.35), transparent 60%),
    linear-gradient(180deg, #0d1b2a 0%, #15263d 100%);
  color: var(--text-on-dark);
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid #1e2f49;
}
.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  max-width: 18ch;
}
.hero .lead {
  font-size: 1.18rem;
  color: var(--text-on-dark-muted);
  max-width: 56ch;
  margin: 0 0 1.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 1.2rem;
}
.hero-bullets li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-on-dark);
  font-size: 0.97rem;
}
.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #5b8def;
}

.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.hero-card .console-mock {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.console-mock {
  background: #0a1422;
  color: #cfd8e3;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.console-mock .console-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #15263d;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.console-mock .console-bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3b4a63;
}
.console-mock .console-title {
  margin-left: 0.5rem;
  color: #9fb1c7;
  font-size: 0.78rem;
}
.console-mock .console-body {
  padding: 0.85rem 1rem;
  line-height: 1.6;
}
.console-mock .console-body .ok    { color: #5fd17a; }
.console-mock .console-body .warn  { color: #f1c074; }
.console-mock .console-body .info  { color: #7fb4ff; }
.console-mock .console-body .muted { color: #6b7d96; }
.console-mock .console-body .label { color: #9fb1c7; }

/* ---------- Cards / Grid ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.card-icon {
  width: 36px; height: 36px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

/* ---------- Feature blocks (long-form) ---------- */

.feature-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-block:last-child { border-bottom: none; }
.feature-block h2 { font-size: 1.4rem; }
.feature-block .feature-meta {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  font-size: 0.92rem;
}
.feature-block .feature-meta ul { margin: 0; padding-left: 1.1rem; }
.feature-block .feature-meta li { color: var(--text-muted); }

/* ---------- Screenshot placeholders ---------- */

.shot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.shot-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 12px, #e6ecf3 12px 24px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot-frame::before {
  content: "Screenshot placeholder";
  font-size: 0.8rem;
  color: #6b7d96;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: var(--mono);
}
.shot-caption {
  padding: 0.85rem 1rem;
}
.shot-caption h3 {
  margin: 0 0 0.15rem;
  font-size: 0.98rem;
}
.shot-caption p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.plan.is-primary {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(30, 58, 138, 0.12);
  position: relative;
}
.plan-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
.plan h2 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.plan .price {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.4rem 0 0.9rem;
  color: var(--text);
}
.plan .price small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-subtle);
  margin-top: 0.25rem;
}
/* Unit qualifier sitting inline after the figure, e.g. "$195 per installation".
   Kept visually subordinate so the amount stays the focal point. */
.plan .price-unit {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.plan li {
  padding: 0.4rem 0 0.4rem 1.4rem;
  position: relative;
  border-bottom: 1px dashed var(--border);
  font-size: 0.93rem;
  color: var(--text-muted);
}
.plan li:last-child { border-bottom: none; }
.plan li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0.1rem;
  top: 0.4rem;
  font-weight: 700;
}

/* ---------- Download page ---------- */

.dl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.meta-table th, .meta-table td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.meta-table th {
  width: 220px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
}
.meta-table tr:last-child th,
.meta-table tr:last-child td { border-bottom: none; }
.meta-table code {
  word-break: break-all;
  background: transparent;
  border: none;
  padding: 0;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}
.tag-warn   { background: #fff7ed; color: var(--warn);  border-color: #fed7aa; }
.tag-ok     { background: #ecfdf5; color: var(--ok);    border-color: #bbf7d0; }
.tag-info   { background: var(--accent-soft); color: var(--accent); border-color: #c7d6f0; }

/* ---------- Docs ---------- */

.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.docs-toc {
  position: sticky;
  top: 80px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.docs-toc h4 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.docs-toc ul { list-style: none; padding: 0; margin: 0; }
.docs-toc li { margin: 0; }
.docs-toc a {
  display: block;
  padding: 0.35rem 0.5rem;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: 4px;
}
.docs-toc a:hover {
  background: #fff;
  text-decoration: none;
}
.docs-content section {
  scroll-margin-top: 80px;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}
.docs-content section:first-child { padding-top: 0; }
.docs-content section:last-child { border-bottom: none; }
.docs-content h2 { font-size: 1.35rem; }

/* ---------- Audience / who it's for ---------- */

.audience {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1rem;
}
.audience-item {
  padding: 1rem 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.95rem;
  color: var(--text);
}

/* ---------- Notice / disclaimer panels ---------- */

.notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  color: var(--text);
}
.notice strong { color: var(--text); }
.notice-warn {
  background: #fff7ed;
  border-color: #fed7aa;
  border-left-color: var(--warn);
  color: #7c2d12;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.25rem;
}
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.contact-card h3 { margin-top: 0; }
.contact-card a { word-break: break-all; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0a1422;
  color: var(--text-on-dark-muted);
  padding: 3rem 0 1.5rem;
  font-size: 0.92rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin: 0 0 0.45rem; }
.site-footer a {
  color: var(--text-on-dark-muted);
}
.site-footer a:hover {
  color: #fff;
  text-decoration: none;
}
.site-footer .brand {
  color: #fff;
  margin-bottom: 0.75rem;
}
.site-footer .brand-name small { color: #94a3b8; }
/* Footer logo sits in a white plate so the logo renders as it does in the
   header, instead of a bare white edge against the dark footer. */
.footer-logo {
  display: inline-block;
  background: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  margin-bottom: 0.9rem;
  line-height: 0;
}
.footer-logo:hover { text-decoration: none; }
.footer-logo img {
  display: block;
  height: 40px;
  width: auto;
}
.footer-blurb {
  color: var(--text-on-dark-muted);
  max-width: 36ch;
  font-size: 0.9rem;
  line-height: 1.55;
}
.footer-bottom {
  border-top: 1px solid #1c2c44;
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-disclaimer {
  background: rgba(255,255,255,0.03);
  border: 1px solid #1c2c44;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-on-dark-muted);
  margin-bottom: 1.5rem;
}

/* ---------- Page heading band ---------- */

.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}
.page-head h1 {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}
.page-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 70ch;
  margin: 0;
}

/* ---------- Utility ---------- */

.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 1.25rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .audience { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  h1 { font-size: 1.8rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-bullets { grid-template-columns: 1fr; }
  .section { padding: 2.75rem 0; }

  .brand-logo { height: 34px; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.7rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-cta {
    margin: 0.5rem 0 0;
    width: 100%;
    text-align: center;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .meta-table th { width: 140px; }
}

/* ---------- Focus styles ---------- */

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid #5b8def;
  outline-offset: 2px;
  border-radius: 6px;
}
