/* swipebyforrestaurantsreviews.com — single stylesheet */
/* Trade-publication / operator-newsletter aesthetic. */
/* Deep navy + warm yellow + sans-serif. Deliberately distinct from swipebyreviews.com. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-dark: #0a1733;
  --text: #0a1733;
  --text-on-dark: #f5f7fb;
  --text-muted: #4a5878;
  --text-muted-on-dark: #b6c1de;
  --navy: #1e3a8a;
  --navy-deep: #0a1733;
  --accent: #d4960c;
  --accent-bright: #f5b80e;
  --accent-pale: #fef3c7;
  --rule: #e2e8f0;
  --rule-dark: #2a3a66;
  --max-width: 760px;
  --max-width-wide: 1100px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

.container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--max-width); }

/* ─────────────  Header ───────────── */
.site-header {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 16px 0;
  border-bottom: 3px solid var(--accent);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-on-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.site-title span {
  font-weight: 500;
  color: var(--accent-bright);
  text-transform: none;
  letter-spacing: 0;
}
.site-nav { display: flex; gap: 0; flex-wrap: wrap; }
.site-nav a {
  margin: 0;
  padding: 6px 14px;
  color: var(--text-muted-on-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--accent-bright); }
.site-nav a[aria-current="page"] {
  color: var(--text-on-dark);
  border-bottom: 2px solid var(--accent-bright);
}

/* ─────────────  Hero ───────────── */
.hero {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 64px 0 56px;
}
.hero .container { max-width: var(--max-width-wide); }
.hero .kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  max-width: 800px;
  color: var(--text-on-dark);
}
.hero h1 em {
  color: var(--accent-bright);
  font-style: normal;
}
.hero .lede {
  font-size: 18px;
  color: var(--text-muted-on-dark);
  max-width: 720px;
  margin: 0 0 12px;
  line-height: 1.5;
}
.hero .lede strong { color: var(--text-on-dark); font-weight: 600; }

/* ─────────────  Stat strip (data-forward) ───────────── */
.stat-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.stat-strip .stat dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 4px;
}
.stat-strip .stat dd {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-strip .stat dd small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 4px;
}

/* ─────────────  Page intro (non-landing pages) ───────────── */
.page-intro {
  padding: 40px 0 24px;
}
.page-intro h1 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
  margin: 8px 0 16px;
  letter-spacing: -0.015em;
}
.page-intro .lede {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 0 12px;
  line-height: 1.55;
}
.page-intro .lede strong { color: var(--text); }

.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* ─────────────  Section labels ───────────── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 56px 0 20px;
  border-top: 2px solid var(--accent);
  padding-top: 16px;
  display: block;
}
.section-label.no-rule { border-top: none; padding-top: 0; }

/* ─────────────  Positioning card (operator wedge) ───────────── */
.positioning-card {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 36px 40px;
  border-radius: 4px;
  margin: 32px 0;
  border-left: 6px solid var(--accent);
}
.positioning-card h2 {
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
}
.positioning-card p {
  font-size: 16.5px;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--text-muted-on-dark);
}
.positioning-card p:last-child { margin-bottom: 0; }
.positioning-card strong {
  color: var(--accent-bright);
  font-weight: 700;
}

/* ─────────────  Case-study cards ───────────── */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0 48px;
  list-style: none;
  padding: 0;
}
.case-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--navy);
  padding: 24px 24px 20px;
  transition: border-color 0.15s;
}
.case-card:hover { border-top-color: var(--accent); }
.case-card a { text-decoration: none; color: var(--text); display: block; }
.case-card .case-restaurant {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}
.case-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--navy-deep);
}
.case-card .case-headline {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 12px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.case-card .case-summary {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.case-card .case-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────  Case-study detail page ───────────── */
.case-detail {
  padding: 32px 0 80px;
}
.case-restaurant-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.case-detail h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.case-detail .lede {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.5;
}

.case-key-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  background: var(--bg-alt);
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  margin: 24px 0 40px;
}
.case-key-stats dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.case-key-stats dd {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.case-key-stats dd small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
  margin-top: 2px;
}

.case-body h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.case-body p { margin: 0 0 16px; font-size: 16px; line-height: 1.6; }

.case-body blockquote.operator-quote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
}
.case-body blockquote.operator-quote p {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--navy-deep);
}
.case-body blockquote.operator-quote cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-body .source-row {
  margin: 32px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  color: var(--text-muted);
}
.case-body .source-row strong { color: var(--text); }

/* ─────────────  Comparison cards (compare hub) ───────────── */
.compare-cards-section { padding: 16px 0 32px; }
.compare-cards-full {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.compare-cards-full li a {
  display: block;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--rule);
  border-left: 6px solid var(--navy);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
.compare-cards-full li a:hover {
  border-left-color: var(--accent);
  background: var(--bg-alt);
}
.compare-cards-full h2 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--navy-deep);
}
.compare-cards-full p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 15px;
}
.compare-cta {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────  Comparison page ───────────── */
.comparison {
  padding: 32px 0 80px;
}
.comparison h1 {
  font-size: 40px;
  margin: 12px 0 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.comparison .byline {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 24px;
  font-style: italic;
}
.comparison h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  scroll-margin-top: 24px;
}
.comparison h3 {
  font-size: 18px;
  margin: 32px 0 12px;
  font-weight: 700;
  color: var(--text);
}
.comparison p { margin: 0 0 16px; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 32px;
  font-size: 15px;
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid var(--rule);
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 700;
  border-top: none;
  letter-spacing: 0.02em;
}
.comparison-table tbody th {
  width: 30%;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--navy-deep);
  font-size: 14px;
}
.comparison-table tbody tr:last-child td,
.comparison-table tbody tr:last-child th {
  border-bottom: 1px solid var(--rule);
}

/* ─────────────  TLDR ───────────── */
.tldr {
  background: var(--accent-pale);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  margin: 0 0 32px;
  font-size: 16.5px;
  line-height: 1.55;
}
.tldr strong { color: var(--navy-deep); }

/* ─────────────  Alert callout ───────────── */
.alert-callout {
  background: #fff8e1;
  border: 2px solid var(--accent);
  border-left-width: 6px;
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 2px;
}
.alert-callout h2 {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--navy-deep);
}
.alert-callout h2::before {
  content: "⚠  ";
  color: var(--accent);
}
.alert-callout p {
  margin: 0 0 12px;
  font-size: 16px;
}
.alert-callout p:last-child { margin-bottom: 0; }

/* ─────────────  Callout quote ───────────── */
.callout-quote {
  background: var(--bg-alt);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  margin: 24px 0;
}
.callout-quote p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-weight: 500;
}
.callout-quote p strong { color: var(--accent); }
.callout-quote cite {
  font-style: normal;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ─────────────  Disclosure ───────────── */
.disclosure {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 16px 20px;
  margin-top: 40px;
  border-left: 3px solid var(--text-muted);
}
.disclosure strong { color: var(--text); }

.disclosure-banner {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 16px 0 24px;
}
.disclosure-banner p { margin: 0; font-size: 15px; }
.disclosure-banner strong { color: var(--accent); }

/* ─────────────  Generic content page ───────────── */
.content {
  padding: 32px 0 80px;
}
.content h1 {
  font-size: 36px;
  margin: 0 0 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
}
.content h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.01em;
}
.content h3 {
  font-size: 17px;
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--text);
}
.content .lede {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}
.content p { margin: 0 0 16px; }
.content ul, .content ol { padding-left: 24px; margin: 0 0 16px; }
.content li { margin-bottom: 6px; }

/* ─────────────  Details / FAQ ───────────── */
details {
  border-top: 1px solid var(--rule);
  padding: 16px 0;
}
details:last-of-type { border-bottom: 1px solid var(--rule); }
details summary {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  cursor: pointer;
  padding-right: 24px;
}
details summary:hover { color: var(--accent); }
details[open] summary { color: var(--accent); margin-bottom: 12px; }
details p, details ul {
  margin: 8px 0;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.55;
}
details ul { padding-left: 24px; }
details li { margin-bottom: 6px; }

/* ─────────────  Footer ───────────── */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-muted-on-dark);
  padding: 40px 0 32px;
  margin-top: 64px;
  font-size: 14px;
  border-top: 3px solid var(--accent);
}
.site-footer p { margin: 0 0 6px; }
.site-footer .footer-affiliation {
  color: var(--text-on-dark);
  font-weight: 700;
  font-size: 13px;
}
.site-footer .footer-note { font-size: 13px; }

/* ─────────────  Compare teaser cards on landing ───────────── */
.compare-teaser { padding: 32px 0; }
.compare-cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.compare-cards li a {
  display: block;
  padding: 20px;
  background: var(--bg-alt);
  border-left: 4px solid var(--navy);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s;
}
.compare-cards li a:hover { border-left-color: var(--accent); }
.compare-cards li a strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
  color: var(--navy-deep);
  font-weight: 700;
}
.compare-cards li a span {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─────────────  Responsive ───────────── */
@media (max-width: 700px) {
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 30px; }
  .hero .lede { font-size: 16px; }
  .page-intro h1 { font-size: 26px; }
  .case-detail h1 { font-size: 28px; }
  .comparison h1 { font-size: 28px; }
  .comparison h2 { font-size: 20px; }
  .positioning-card { padding: 24px 24px; }
  .positioning-card h2 { font-size: 20px; }
  .stat-strip .stat dd { font-size: 22px; }
  .case-key-stats dd { font-size: 20px; }
  .site-header .container { flex-direction: column; align-items: flex-start; }
  .site-nav a { padding: 4px 10px; }
}
