/* Shared styles for PR Pacer's static SEO content pages (public/*.html). */
/* The same self-hosted @fontsource files the app loads (src/main.jsx), so these pages match it. */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); }
:root {
  /* Editorial pages keep a white canvas for the black PR Pacer wordmark. */
  color-scheme: light;
  --paper: #fff;
  --ink: #121212;
  --ink-2: #4b4845;
  --hair: #e3e0dc;
  --wash: #f6f5f3;
  --red: #c83215;
  --red-wash: #fbebe7;
  --teal: #087b79;
  --display: "Bebas Neue", sans-serif;
  --body: "IBM Plex Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--paper); scroll-padding-top: 132px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 30; padding: 10px 16px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 28px 20px 64px; }
header.site {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}
.seo-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
}
.seo-header-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.seo-header-logo img { height: 28px; width: auto; display: block; }
.seo-header-main .store-badges { margin: 0; flex-wrap: nowrap; flex: none; }
header.site nav { display: flex; justify-content: center; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 0 24px; font-size: 14px; font-weight: 600; }
header.site nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; white-space: nowrap; }
header.site nav a:hover { color: var(--red); }
header.site nav a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px var(--red); }
.eyebrow {
  font: 700 11px/1.4 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 10px;
}
.eyebrow b { color: var(--red); font-weight: 800; }
h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 78px);
  line-height: 0.9;
  letter-spacing: 0.005em;
  margin: 0 0 18px;
  text-wrap: balance;
}
h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 36px);
  line-height: 1;
  letter-spacing: 0.01em;
  border-top: 3px solid var(--ink);
  padding-top: 10px;
  margin: 44px 0 16px;
}
h3 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
p, li { max-width: 66ch; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 62ch; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
table { border-collapse: collapse; width: 100%; margin: 12px 0 20px; font-size: 15px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hair); }
th { font: 700 11px var(--body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }
td.num { font-variant-numeric: tabular-nums; font-weight: 600; }
.card {
  background: var(--wash);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 20px 0;
}
.faq dt { font-weight: 700; margin-top: 18px; }
.faq dd { margin: 6px 0 0; color: var(--ink-2); }
.cta {
  display: block;
  margin: 32px 0;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  text-align: center;
}
.cta > a {
  display: inline-block;
  margin-top: 10px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
}
/* App download badges: the app header's badges (src/StoreDownloadLinks.jsx), outlined to hold on the dark CTA. */
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.store-badge { width: 150px; height: 48px; padding: 6px 10px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid #a6a6a6; background: #000; color: #fff; text-align: left; text-decoration: none; }
.store-badge svg { flex: none; }
.store-badge > span { display: grid; gap: 2px; min-width: 0; }
.store-badge small { color: #e4e4e4; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0.06em; white-space: nowrap; }
.store-badge b { font-size: 15px; line-height: 1.1; letter-spacing: -0.02em; white-space: nowrap; }
a.store-badge:hover { border-color: #fff; }
a.store-badge:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.related { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.related a { text-decoration: none; font-weight: 600; }
.related a:hover { text-decoration: underline; }
.guide-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--hair); }
.guide-list li { max-width: none; margin: 0; border-bottom: 1px solid var(--hair); }
.guide-list a { display: block; padding: 18px 0; color: var(--ink); text-decoration: none; }
.guide-list a:hover strong { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.guide-list strong { display: block; font-size: 18px; font-weight: 600; }
.guide-list span { display: block; margin-top: 4px; color: var(--ink-2); font-size: 15px; }
footer.site {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 24px 20px 40px;
  border-top: 1px solid var(--hair);
  font-size: 13px;
  color: var(--ink-2);
}
footer.site a { color: var(--ink-2); text-decoration: underline; }
footer.site nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
footer.site .footer-guides { align-items: center; gap: 4px 20px; margin: 0 0 18px; }
.footer-guides b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.footer-guides a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; }
.breadcrumbs, .article-byline { font-size: 13px; color: var(--ink-2); margin: 0 0 14px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
.table-scroll table { min-width: 460px; }
.fuel-form .calc-field { flex: 1 1 200px; min-width: 0; }
.fuel-form input { width: 100%; min-height: 44px; }
.fuel-form output { flex-basis: 100%; font-weight: 600; }
.language-link { font-size: 14px; margin-top: 24px; }

/* Calculator */
.calc-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: end;
  margin: 20px 0;
  padding: 20px;
  background: var(--wash);
  border-radius: 10px;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-field label { font: 700 11px var(--body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-2); }
.calc-field select, .calc-field input {
  font: 16px var(--body);
  padding: 10px 12px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  min-width: 160px;
}
.calc-submit {
  font: 700 15px var(--body);
  background: var(--red);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
}
.calc-submit:hover { filter: brightness(1.08); }
.calc-error { color: var(--red); font-weight: 600; }
tr.calc-input-row { background: var(--red-wash); }
tr.calc-input-row td { font-weight: 700; }
.calc-note { font-size: 13px; color: var(--ink-2); }
.cta .content-language-note { color: inherit; }
@media (max-width: 480px) {
  .seo-header-main { gap: 8px; padding: 10px 12px; }
  .seo-header-logo img { width: clamp(76px, 22vw, 106px); height: auto; }
  .seo-header-main .store-badges { gap: 6px; }
  .seo-header-main .store-badge { width: 100px; height: 44px; padding: 5px; gap: 4px; }
  .seo-header-main .store-badge svg { width: 18px; height: 18px; }
  .seo-header-main .store-badge small { font-size: 8px; letter-spacing: 0; }
  .seo-header-main .store-badge b { font-size: 12px; }
  header.site nav { gap: 20px; padding: 0 12px; font-size: 13px; }
}
