/* Tender Check — v2 design system
 * Recommended by ui-ux-pro-max for "Trust & Authority + Conversion" pattern.
 * Single-family IBM Plex Sans typography. Navy + accent blue. Light background.
 * Conversion-focused: more CTAs, scannable trust signals, less long-form prose.
 */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --primary: #0F172A;
  --on-primary: #FFFFFF;
  --secondary: #334155;
  --accent: #0369A1;
  --accent-hover: #075985;
  --accent-soft: #E0F2FE;
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-alt: #F1F5F9;
  --fg: #020617;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --danger: #DC2626;
  --warning: #D97706;
  --success: #15803D;

  --sans: "IBM Plex Sans", -apple-system, system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", monospace;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --transition: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- layout ---------- */

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
}

/* ---------- top nav ---------- */

.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--primary); }

.topnav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.topnav nav a { color: var(--secondary); }
.topnav nav a:hover { color: var(--primary); }
.topnav nav .btn { margin-left: 8px; }

@media (max-width: 720px) {
  .topnav nav { gap: 14px; }
  .topnav nav a:not(.btn) { display: none; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--sans);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---------- hero ---------- */

.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 620px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge .dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.15);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(21, 128, 61, 0.02); }
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero .lede {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.trust-strip {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.trust-strip li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.trust-strip strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 3px;
  font-feature-settings: "tnum";
}

/* hero card (sample preview) */

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.hero-card:hover { transform: translateY(-2px); }

.card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 18px;
  font-family: var(--mono);
}

.card-rows { display: flex; flex-direction: column; gap: 12px; }

.row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.row:last-of-type { border-bottom: none; }

.row-label { font-size: 13px; color: var(--muted); }
.row-value {
  font-size: 17px;
  font-weight: 600;
  font-feature-settings: "tnum";
  color: var(--primary);
}
.row-value.pos { color: var(--success); }

.row-delta { border-bottom: 2px solid var(--primary); padding-bottom: 14px; margin-bottom: 4px; }

.verdict { margin: 16px 0; }
.verdict-bar {
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.verdict-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--success), var(--accent));
  border-radius: 3px;
}
.verdict-label { font-size: 13px; color: var(--muted); }
.verdict-label strong { color: var(--primary); font-weight: 600; }

.flags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.flag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--secondary);
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.flag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
  color: white;
}

.flag-critical span { background: var(--danger); }
.flag-warning span { background: var(--warning); }
.flag-info span { background: var(--accent); }

.card-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 40px; }
  .hero-card { max-width: 480px; }
}

@media (max-width: 480px) {
  .trust-strip { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- trust bar ---------- */

.trustbar {
  background: var(--primary);
  color: var(--on-primary);
  padding: 48px 0;
}

.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 600;
  font-feature-settings: "tnum";
  margin-bottom: 6px;
  color: #93C5FD;
  letter-spacing: -0.02em;
}

.stat-cap {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.stat-cap .src {
  display: inline-block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-left: 6px;
  font-family: var(--mono);
}

@media (max-width: 820px) {
  .trustbar-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- section structure ---------- */

.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  margin-bottom: 56px;
}
.section-head.narrow { max-width: 780px; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
  font-family: var(--mono);
}
.eyebrow.light { color: #93C5FD; }

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 20px;
  max-width: 800px;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--secondary);
  line-height: 1.7;
  max-width: 720px;
  margin-bottom: 16px;
}

.section-lede strong { color: var(--primary); font-weight: 600; }

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
}

/* ---------- how steps ---------- */

.how-steps {
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.how-steps li {
  background: var(--bg-card);
  padding: 32px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
  transition: background var(--transition);
}
.how-steps li:hover { background: #FCFCFD; }

.step-num {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
}

.step-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-body p {
  font-size: 15px;
  color: var(--secondary);
  line-height: 1.55;
}

@media (max-width: 640px) {
  .how-steps li { grid-template-columns: 1fr; gap: 8px; padding: 24px; }
  .step-num { font-size: 22px; }
}

/* ---------- report features grid ---------- */

.report-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}

.report-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: start;
  transition: all var(--transition);
}
.feature:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}
.feature p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 980px) {
  .report-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 540px) {
  .report-features { grid-template-columns: 1fr; }
}

/* ---------- report preview ---------- */

.preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.preview-frame {
  background: linear-gradient(180deg, var(--primary) 0%, #1E293B 100%);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}
.preview-frame:hover { transform: translateY(-2px); }

.preview-page {
  background: white;
  padding: 28px;
  border-radius: 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg);
  min-height: 320px;
}

.preview-header {
  font-size: 10px;
  text-align: right;
  color: var(--muted);
  margin-bottom: 18px;
}

.preview-page h4 {
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

.pmeta {
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 4px;
}
.pmeta strong { color: var(--primary); }

.ptable {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 14px;
  margin-top: 16px;
  margin-bottom: 16px;
}
.prow {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.prow:last-child { border-bottom: none; }
.prow strong { color: var(--primary); font-feature-settings: "tnum"; }
.prow strong.pos { color: var(--success); }

.pflag {
  background: #FEE2E2;
  color: #991B1B;
  padding: 8px 12px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
}

.preview-cta {
  text-align: center;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 500;
  font-size: 14px;
}

/* ---------- compare table ---------- */

.compare-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
}

.compare-table table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th {
  background: var(--bg-alt);
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
}
.compare-table th.th-you {
  background: var(--primary);
  color: white;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--secondary);
  vertical-align: middle;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child { color: var(--primary); font-weight: 500; }
.compare-table td.td-you {
  background: rgba(3, 105, 161, 0.04);
  color: var(--primary);
}

.check { color: var(--success); font-weight: 600; }
.x { color: var(--danger); font-weight: 600; }
.partial { color: var(--warning); font-style: italic; font-size: 13px; }

@media (max-width: 720px) {
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
}

/* ---------- dark section (calibration) ---------- */

.section-dark {
  background: var(--primary);
  color: white;
}

.section-dark h2 { color: white; }

.calib-quote {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  padding: 28px 32px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  margin-bottom: 40px;
}

.calib-quote p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: white;
  font-weight: 300;
  margin-bottom: 16px;
}

.quote-attrib {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.calib-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.calib-stat {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cnum {
  font-size: 2.8rem;
  font-weight: 600;
  color: #93C5FD;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}

.ccap {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
}

@media (max-width: 720px) {
  .calib-stats { grid-template-columns: 1fr; gap: 16px; }
  .calib-quote p { font-size: 1rem; }
}

/* ---------- pricing ---------- */

.price-card {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.price-card-head {
  padding: 40px;
  background: linear-gradient(180deg, var(--primary) 0%, #1E293B 100%);
  color: white;
  text-align: center;
}

.price-display {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 12px;
}
.price-display .dollar {
  font-size: 28px;
  font-weight: 500;
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.7);
}
.price-display .amount {
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: white;
  font-feature-settings: "tnum";
}
.price-display .unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-left: 12px;
}

.price-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.55;
}

.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px 40px;
  gap: 40px;
  border-bottom: 1px solid var(--border);
}

.includes-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

.includes, .excludes {
  list-style: none;
}

.includes li, .excludes li {
  font-size: 14px;
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--secondary);
}

.includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.excludes li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.price-cta-row {
  padding: 28px 40px;
  background: var(--bg-alt);
  text-align: center;
}

.price-cta-row .refund {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.outside-melb {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .price-card-head { padding: 28px 24px; }
  .price-display .amount { font-size: 56px; }
  .includes-grid { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .price-cta-row { padding: 20px 24px; }
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
}

.faq-list details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all var(--transition);
}
.faq-list details:hover { border-color: var(--border-strong); }
.faq-list details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  color: var(--accent);
  font-weight: 300;
  transition: transform var(--transition);
  line-height: 1;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 22px 22px;
  color: var(--secondary);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-body p {
  margin-bottom: 10px;
}
.faq-body p:last-child { margin-bottom: 0; }
.faq-body em { color: var(--primary); font-style: italic; }

/* ---------- CTA section ---------- */

.section-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #1E293B 100%);
  color: white;
}

.cta-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 0;
}

.section-cta h2 {
  color: white;
  margin-bottom: 16px;
  max-width: none;
}

.cta-block p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.section-cta .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.section-cta .btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.section-cta .btn-secondary {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}
.section-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: white;
  color: white;
}

.cta-foot {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0;
  margin-bottom: 0;
}

/* ---------- footer ---------- */

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  max-width: 340px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.brand-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

footer h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 14px;
}

footer ul { list-style: none; }
footer ul li { padding: 5px 0; }
footer ul li a {
  color: var(--secondary);
  font-size: 13.5px;
}
footer ul li a:hover { color: var(--primary); }

.legal {
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 920px;
}
.legal p { margin-bottom: 12px; }
.legal-foot { color: var(--muted); }

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 40px 0 24px; }
}

/* ---------- accessibility ---------- */

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

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