@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Barlow+Semi+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600&family=Barlow:wght@400;500;600&display=swap');

:root {
  --bg: #f2f0eb;
  --bg2: #e8e5de;
  --bg3: #dedad2;
  --surface: #ffffff;
  --border: #ccc9c0;
  --border2: #b8b4aa;
  --text: #1a1a14;
  --muted: #5c5a50;
  --muted2: #8a8778;
  --charcoal: #1e1e18;
  --charcoal2: #2c2c24;
  --orange: #f05a00;
  --orange2: #ff6b10;
  --orange-dim: rgba(240,90,0,0.12);
  --orange-pale: rgba(240,90,0,0.06);
  --orange-border: rgba(240,90,0,0.3);
  --green: #1a7a2e;
  --green-dim: rgba(26,122,46,0.1);
  --green-border: rgba(26,122,46,0.3);
  --red: #cc1f1f;
  --red-dim: rgba(204,31,31,0.1);
  --yellow: #d4900a;
  --yellow-dim: rgba(212,144,10,0.12);
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(0,0,0,0.022) 28px, rgba(0,0,0,0.022) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(0,0,0,0.022) 28px, rgba(0,0,0,0.022) 29px);
  pointer-events: none; z-index: 0;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--charcoal);
  border-bottom: 3px solid var(--orange);
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
}

.logo {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.1rem; color: white;
  text-decoration: none; letter-spacing: 0.01em;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 32px; height: 32px; background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; border-radius: 4px; flex-shrink: 0;
}
.logo span { color: var(--orange); }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links a {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-decoration: none; padding: 6px 14px;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.15s;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }

.nav-cta {
  background: var(--orange); color: white; border: none;
  padding: 8px 20px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800; font-size: 0.8rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background 0.15s; text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { background: var(--orange2); }

/* ── BREADCRUMB ── */
.breadcrumb {
  position: relative; z-index: 1;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 8px 40px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: var(--muted2); text-transform: uppercase; letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--border2); }

/* ── PAGE HERO ── */
.page-hero {
  position: relative; z-index: 1;
  background: var(--charcoal);
  padding: 48px 40px 40px;
  overflow: hidden;
}
.page-hero::before {
  content: attr(data-bg-text);
  position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%);
  font-family: 'Alfa Slab One', serif;
  font-size: 14vw; color: rgba(255,255,255,0.025);
  pointer-events: none; line-height: 1; letter-spacing: -0.05em;
  white-space: nowrap;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-flag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--orange); color: white; padding: 4px 12px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  color: white; line-height: 1.0; margin-bottom: 12px;
}
.page-hero h1 .orange { color: var(--orange); }
.page-hero p {
  font-size: 0.95rem; color: rgba(255,255,255,0.5);
  max-width: 580px; line-height: 1.7;
}
.page-hero-meta {
  display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap;
}
.phm-item {
  display: flex; align-items: center; gap: 7px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.7rem; font-weight: 700;
  color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── MAIN LAYOUT ── */
.page-body {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 48px 40px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 40px; align-items: flex-start;
}
.page-main {}
.page-sidebar { position: sticky; top: 78px; }

/* ── TOOL CARD ── */
.tool-card {
  background: white; border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  padding: 28px; margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.tool-card-title {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.15rem; color: var(--text);
  margin-bottom: 4px; letter-spacing: 0.01em;
}
.tool-card-sub {
  font-size: 0.78rem; color: var(--muted);
  margin-bottom: 22px; font-weight: 400;
}

/* ── FIELD ── */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-group.full { grid-column: 1 / -1; }
.field-label {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2);
}
.field-hint { font-size: 0.62rem; color: var(--muted2); margin-top: 3px; font-weight: 400; }
.field-input-wrap { position: relative; }
.field-prefix, .field-suffix {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 700; color: var(--muted2);
  pointer-events: none;
}
.field-prefix { left: 10px; }
.field-suffix { right: 10px; }
.field-input {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border);
  padding: 10px 12px 10px 26px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.92rem; font-weight: 700; color: var(--text); outline: none;
  transition: border-color 0.15s;
  -moz-appearance: textfield;
}
.field-input::-webkit-inner-spin-button,
.field-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.field-input:focus { border-color: var(--orange); background: white; }
.field-input.no-prefix { padding-left: 12px; }
.field-input.has-suffix { padding-right: 30px; }
.field-select {
  width: 100%; background: var(--bg);
  border: 1.5px solid var(--border); padding: 10px 12px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.88rem; font-weight: 600; color: var(--text); outline: none;
  cursor: pointer; transition: border-color 0.15s;
}
.field-select:focus { border-color: var(--orange); }

/* ── RESULTS ── */
.results-panel {
  background: var(--charcoal); padding: 20px 22px; margin-bottom: 14px;
}
.rp-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.58rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.25); margin-bottom: 14px;
}
.rp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.rp-metric { background: rgba(255,255,255,0.05); padding: 12px 14px; }
.rpm-label {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.56rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3); margin-bottom: 5px;
}
.rpm-val {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.5rem; line-height: 1; letter-spacing: 0.01em;
}
.rv-green { color: #4ade80; }
.rv-orange { color: var(--orange); }
.rv-red { color: #f87171; }
.rv-white { color: white; }
.rpm-sub { font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-top: 3px; font-weight: 500; }

.profit-bar-wrap { background: rgba(255,255,255,0.05); padding: 12px 14px; }
.pb-label {
  display: flex; justify-content: space-between;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.3); margin-bottom: 8px;
}
.pb-bar-bg { height: 12px; background: rgba(255,255,255,0.08); overflow: hidden; }
.pb-bar-fill { height: 100%; transition: width 0.6s cubic-bezier(0.34,1.2,0.64,1); }
.pbf-green { background: linear-gradient(90deg,#16a34a,#4ade80); }
.pbf-yellow { background: linear-gradient(90deg,#d97706,#fbbf24); }
.pbf-red { background: linear-gradient(90deg,#dc2626,#f87171); }

.verdict-strip {
  padding: 11px 14px; display: flex; align-items: flex-start; gap: 10px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.8rem; font-weight: 700; margin-bottom: 14px; line-height: 1.4;
}
.vs-good { background: rgba(74,222,128,0.1); color: #16a34a; border-left: 3px solid #4ade80; }
.vs-warn { background: rgba(251,191,36,0.1); color: #d97706; border-left: 3px solid #fbbf24; }
.vs-bad  { background: rgba(248,113,113,0.1); color: #dc2626; border-left: 3px solid #f87171; }

/* ── BUTTONS ── */
.calc-btn {
  width: 100%; background: var(--orange); color: white; border: none;
  padding: 14px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 900; font-size: 0.9rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: background 0.15s;
}
.calc-btn:hover { background: var(--orange2); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 2px solid var(--charcoal);
  padding: 11px 24px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 800; font-size: 0.82rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: all 0.15s; text-decoration: none; display: inline-block;
}
.btn-outline:hover { background: var(--charcoal); color: white; }

/* ── CONTENT SECTIONS ── */
.content-section { margin-bottom: 36px; }
.content-section h2 {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.5rem; color: var(--text);
  margin-bottom: 12px; letter-spacing: 0.01em;
  padding-bottom: 10px; border-bottom: 2px solid var(--border);
}
.content-section h2 .orange { color: var(--orange); }
.content-section h3 {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--text);
  margin-bottom: 8px; margin-top: 20px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.content-section p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.75; margin-bottom: 14px;
}
.content-section ul, .content-section ol {
  padding-left: 20px; margin-bottom: 14px;
}
.content-section li {
  font-size: 0.86rem; color: var(--muted); line-height: 1.7; margin-bottom: 5px;
}
.content-section li strong { color: var(--text); font-weight: 700; }

.formula-box {
  background: var(--charcoal); padding: 16px 20px; margin: 16px 0;
  border-left: 3px solid var(--orange);
}
.formula-box code {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.88rem; font-weight: 700; color: var(--orange);
  letter-spacing: 0.02em;
}
.formula-box p {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
  margin-top: 6px; margin-bottom: 0;
}

.callout {
  border: 1px solid var(--border); border-left: 4px solid var(--orange);
  background: var(--orange-pale); padding: 16px 18px; margin: 18px 0;
}
.callout-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.72rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange);
  margin-bottom: 6px;
}
.callout p { color: var(--text); font-size: 0.84rem; margin-bottom: 0; }

.benchmark-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin: 16px 0;
}
.br-cell { background: white; padding: 14px 16px; }
.br-label { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted2); margin-bottom: 5px; font-family: 'Barlow Semi Condensed', sans-serif; }
.br-val { font-family: 'Alfa Slab One', serif; font-size: 1.2rem; letter-spacing: 0.01em; }
.br-good { color: var(--green); }
.br-avg  { color: var(--yellow); }
.br-bad  { color: var(--red); }

.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; cursor: pointer; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.9rem; font-weight: 800; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -0.01em;
}
.faq-q::after { content: '+'; color: var(--orange); font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 0.84rem; color: var(--muted); line-height: 1.7; margin-top: 10px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── SIDEBAR ── */
.sidebar-card {
  background: white; border: 1px solid var(--border);
  padding: 20px; margin-bottom: 20px;
  border-top: 3px solid var(--charcoal);
}
.sidebar-card.orange-top { border-top-color: var(--orange); }
.sc-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted2); margin-bottom: 14px;
}
.tool-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-bottom: 6px;
  background: var(--bg); border: 1px solid var(--border);
  text-decoration: none; transition: all 0.15s;
  font-family: 'Barlow Semi Condensed', sans-serif;
}
.tool-link:hover { border-color: var(--orange); background: var(--orange-pale); }
.tool-link.active { border-color: var(--orange); background: var(--orange-pale); }
.tl-icon { font-size: 1.1rem; flex-shrink: 0; }
.tl-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.tl-desc { font-size: 0.62rem; color: var(--muted); margin-top: 1px; }

.stat-strip { display: flex; flex-direction: column; gap: 10px; }
.ss-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ss-row:last-child { border-bottom: none; }
.ss-label { font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.ss-val { font-family: 'Alfa Slab One', serif; font-size: 1rem; color: var(--orange); letter-spacing: 0.01em; }

.upgrade-card {
  background: var(--charcoal); padding: 22px 20px; margin-bottom: 20px;
  border: 1px solid var(--charcoal2);
}
.uc-flag {
  display: inline-block; background: var(--orange); color: white;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.58rem; font-weight: 900; padding: 2px 10px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.uc-title {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.1rem; color: white; margin-bottom: 8px; line-height: 1.2;
}
.uc-title .orange { color: var(--orange); }
.uc-list { list-style: none; margin-bottom: 16px; }
.uc-list li {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.76rem; color: rgba(255,255,255,0.5);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
}
.uc-list li::before { content: '▶'; color: var(--orange); font-size: 0.45rem; flex-shrink: 0; }
.uc-btn {
  width: 100%; background: var(--orange); color: white; border: none;
  padding: 12px; font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 900; font-size: 0.82rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.08em; transition: background 0.15s;
}
.uc-btn:hover { background: var(--orange2); }

/* ── DATA TABLE ── */
.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.data-table th {
  background: var(--charcoal); color: rgba(255,255,255,0.5);
  padding: 9px 14px; text-align: left;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.data-table td {
  padding: 11px 14px; border-bottom: 1px solid var(--border);
  font-size: 0.84rem; color: var(--muted); font-weight: 500;
  border-right: 1px solid var(--border);
}
.data-table td:last-child, .data-table th:last-child { border-right: none; }
.data-table tr:hover td { background: var(--bg2); }
.data-table .highlight { color: var(--orange); font-weight: 800; }
.data-table .good { color: var(--green); font-weight: 700; }
.data-table .bad  { color: var(--red); font-weight: 700; }

/* ── FOOTER ── */
.site-footer {
  position: relative; z-index: 1;
  background: var(--charcoal);
  border-top: 3px solid var(--orange);
  padding: 56px 40px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 0.78rem; color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 260px; }
.footer-col-title {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.62rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.3); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.68rem; color: rgba(255,255,255,0.2); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 0.68rem; }
.footer-bottom a:hover { color: var(--orange); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--charcoal); color: var(--orange);
  border: 2px solid var(--orange); padding: 12px 20px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.82rem; font-weight: 800; z-index: 300;
  text-transform: uppercase; letter-spacing: 0.06em;
  transform: translateY(60px); opacity: 0;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,26,20,0.85); backdrop-filter: blur(4px);
  z-index: 200; align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: white; border: 2px solid var(--charcoal);
  border-top: 4px solid var(--orange);
  padding: 36px; width: 90%; max-width: 480px;
  position: relative;
  box-shadow: 6px 6px 0 var(--charcoal);
  animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: var(--bg2); border: 1px solid var(--border); color: var(--muted);
  width: 28px; height: 28px; cursor: pointer;
  font-size: 0.9rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.modal-close:hover { background: var(--orange); color: white; border-color: var(--orange); }
.modal-tag {
  display: inline-block; background: var(--orange); color: white;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.6rem; font-weight: 900; padding: 2px 10px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.modal h3 {
  font-family: 'Alfa Slab One', serif;
  font-size: 1.5rem; color: var(--text); margin-bottom: 6px;
}
.modal p { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.modal-input, .modal-select {
  background: var(--bg); border: 1.5px solid var(--border);
  padding: 11px 14px;
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-size: 0.88rem; font-weight: 600; color: var(--text); outline: none;
  transition: border-color 0.15s; width: 100%;
}
.modal-input:focus, .modal-select:focus { border-color: var(--orange); }
.modal-input::placeholder { color: var(--muted2); font-weight: 400; }
.modal-submit {
  background: var(--orange); color: white; border: none;
  padding: 13px; font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 900; font-size: 0.88rem; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.1em; transition: background 0.15s;
}
.modal-submit:hover { background: var(--orange2); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .breadcrumb { padding: 8px 20px; }
  .page-hero { padding: 40px 22px 32px; }
  .page-body { grid-template-columns: 1fr; padding: 32px 22px; }
  .page-sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .site-footer { padding: 40px 22px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .field-grid { grid-template-columns: 1fr; }
  .rp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .benchmark-row { grid-template-columns: 1fr; }
}
