:root {
  --bg-canvas: #f7f5f0;
  --bg-surface: #ffffff;
  --bg-surface-hover: #fdfcfb;
  --text-primary: #111111;
  --text-muted: #52504c;
  --accent-primary: #d62828;
  --accent-secondary: #a81c1c;
  --border-subtle: #dcd8d0;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(17, 17, 17, 0.14);
  --glow-accent: 0 0 24px -4px rgba(214, 40, 40, 0.35);
  --glass-backdrop: blur(16px) saturate(180%);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h1, h2, h3, h4, .brand-logo, .badge-red, .btn-pill, .nav-links a, th {
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 1rem; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin-bottom: 1rem; font-weight: 700; }
h3 { font-size: 1.2rem; margin-bottom: 0.6rem; font-weight: 700; }
p { margin-bottom: 1.1rem; max-width: 70ch; }
a { color: var(--accent-primary); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--accent-secondary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Header - Inset Floating Pill Box in Normal Flow */
.site-header-wrap { padding: 1.25rem 1.25rem 0.5rem; max-width: 1200px; margin: 0 auto; }
.site-header {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.brand-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
}
.brand-dot { width: 10px; height: 10px; background: var(--accent-primary); border-radius: 50%; display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-primary); font-size: 0.9rem; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-primary); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 0.25rem 0.65rem;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-primary);
}
.mobile-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  box-shadow: var(--shadow-elevation);
  padding: 1rem;
  z-index: 99;
  min-width: 210px;
}
.mobile-dropdown.open { display: block; }
.mobile-dropdown ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-dropdown a { text-decoration: none; color: var(--text-primary); font-weight: 700; font-family: "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: 0.06em; }

/* Buttons */
.btn-pill {
  display: inline-block;
  background: var(--accent-primary);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.75rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-kinetic), box-shadow 0.25s var(--ease-kinetic), background 0.2s;
}
.btn-pill:hover {
  background: var(--accent-secondary);
  color: #ffffff;
  transform: translateY(-3px) scale(1.015);
  box-shadow: var(--shadow-elevation), var(--glow-accent);
}
.btn-pill-dark {
  background: var(--text-primary);
  color: #ffffff;
}
.btn-pill-dark:hover {
  background: #2b2b2b;
  color: #ffffff;
}

/* Hero Split */
.hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem 0 3rem;
}
.hero-kicker {
  display: inline-block;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
}
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  filter: contrast(1.08);
}

/* Sections & Red Divider Blocks */
.section-block { padding: 3.2rem 0; }
.red-band {
  background: var(--accent-primary);
  color: #ffffff;
  padding: 3rem 0;
  margin: 1rem 0;
}
.red-band h2, .red-band h3, .red-band p, .red-band a { color: #ffffff; }
.red-band .btn-pill { background: #111111; color: #ffffff; }
.red-band .btn-pill:hover { background: #2c2c2c; }

/* Lead Analysis Panel + 2-Column Problem Grid */
.lead-analysis-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 6px solid var(--accent-primary);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.lead-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.two-col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

/* Badge-Topped Review Cards */
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
}
.review-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-elevation);
}
.card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1a1a;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge-red {
  position: absolute;
  bottom: -12px;
  left: 1.25rem;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}
.card-body {
  padding: 1.65rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-body p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
.card-footer-link { margin-top: auto; font-weight: 700; font-size: 0.88rem; text-transform: uppercase; font-family: "Arial Narrow", sans-serif; letter-spacing: 0.06em; }

/* Benefit / Limitation Rows */
.tradeoff-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
}
.tradeoff-col strong {
  display: block;
  font-family: "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}
.tradeoff-col.limit strong { color: var(--accent-primary); }

/* Space-Fit Comparison Tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border-subtle); border-radius: 4px; background: var(--bg-surface); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.92rem; }
th, td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border-subtle); }
th { background: #eae6de; color: var(--text-primary); font-size: 0.83rem; }
tr:last-child td { border-bottom: none; }

/* Editorial Longform & Sidebar Layout */
.editorial-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.prose-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 2rem;
}
.prose-panel h2 { margin-top: 1.75rem; }
.prose-panel h2:first-child { margin-top: 0; }
.prose-panel ul, .prose-panel ol { margin: 0 0 1.25rem 1.25rem; max-width: 68ch; }
.prose-panel li { margin-bottom: 0.5rem; }
.sticky-spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--accent-primary);
  border-radius: 4px;
  padding: 1.5rem;
}

/* FAQ Accordion */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
}
.faq-item summary {
  font-family: "Arial Narrow", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.faq-item p { margin-top: 0.85rem; margin-bottom: 0; color: var(--text-muted); }

/* Contact Tool Form */
.form-grid { display: grid; gap: 1.15rem; max-width: 640px; }
.form-group label {
  display: block;
  font-family: "Arial Narrow", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
}
.output-preview {
  background: #191919;
  color: #f7f5f0;
  padding: 1.25rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
  margin-top: 1rem;
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: all 0.65s var(--ease-kinetic); }
.reveal-visible { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer {
  background: #111111;
  color: #e5e2dc;
  padding: 3.5rem 0 2.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--accent-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 0.75rem; }
.site-footer p, .site-footer li { font-size: 0.88rem; color: #c4c0b8; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.site-footer a { color: #ffffff; text-decoration: underline; }
.site-footer a:hover { color: var(--accent-primary); }
.footer-bottom {
  border-top: 1px solid #2e2e2e;
  padding-top: 1.5rem;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .editorial-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-block; }
  .hero-split { grid-template-columns: 1fr; gap: 1.75rem; }
  .tradeoff-box { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-header { padding: 0.65rem 1rem; border-radius: 4px; }
  .lead-analysis-panel, .prose-panel { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
