/* FuelPilot website styles.
   Look: US highway service signs. Overpass (a Highway Gothic descendant) for
   all text, sign blue for the one bold element, plain pages everywhere else. */

@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/overpass-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/overpass-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sign: #0b4f9c;        /* motorist-services sign blue */
  --sign-edge: #ffffff;   /* the reflective white border on a sign */
  --sky: #2ea8df;         /* the F in the logo */
  --gold: #d8bc66;        /* the fuel drop in the logo */
  --ink: #172029;
  --ink-2: #4b5967;
  --paper: #ffffff;
  --wash: #e8f2fa;        /* daytime sky behind the sign */
  --rule: #d6dee6;
  --post: #9aa6b1;        /* galvanized sign posts */
  --link: #0b4f9c;
  --focus: #2ea8df;

  --font: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
  --measure: 68ch;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --sign: #1258a8;
    --ink: #e9eff5;
    --ink-2: #a5b3c0;
    --paper: #0d1620;     /* the highway at night */
    --wash: #0f2335;
    --rule: #263646;
    --post: #5d6a77;
    --link: #5fbfea;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}

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

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Header ─────────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}
.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 6px 0;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current='page'] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--sign);
}

/* ── Hero: the sign ─────────────────────────────────────── */

.hero {
  background: var(--wash);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 56px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7.2vw, 66px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 13ch;
  text-wrap: balance;
}
.lede {
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}
.availability {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 16px;
  color: var(--ink-2);
}
.soon {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.sign {
  margin: 0;
  justify-self: center;
  width: min(100%, 440px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sign-board { position: relative; width: 100%; }
.sign-tab {
  position: absolute;
  right: 26px;
  top: -40px;
  padding: 7px 18px 9px;
  background: var(--sign);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 0 0 4px var(--sign), inset 0 0 0 7px var(--sign-edge);
  clip-path: inset(0 0 4px 0);
}
.sign-face {
  position: relative;
  background: var(--sign);
  color: #fff;
  border-radius: 20px;
  padding: 30px 32px 30px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 18px 40px -24px rgba(8, 40, 80, 0.55);
}
.sign-face::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 4px solid var(--sign-edge);
  border-radius: 13px;
  pointer-events: none;
}
.sign-top {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pump {
  flex: none;
  width: 70px;
  height: 70px;
}
.sign-title {
  margin: 0;
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sign-place {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 600;
  opacity: 0.92;
}
.sign-price {
  margin: 22px 0 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}
.sign-price .fuel { font-size: 22px; font-weight: 700; }
.sign-price .amount {
  font-size: 54px;
  line-height: 1;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
}
.sign-price .amount small { font-size: 0.5em; vertical-align: 0.6em; margin-left: 1px; }
.sign-note {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.4;
  opacity: 0.92;
}
.posts {
  display: flex;
  justify-content: space-between;
  width: 62%;
  height: 56px;
}
.posts span {
  width: 12px;
  height: 100%;
  background: linear-gradient(90deg, var(--post), #c6cfd7 45%, var(--post));
}
@media (prefers-color-scheme: dark) {
  .posts span { background: var(--post); }
}

@media (min-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: 56px;
    padding-top: 80px;
  }
  .hero-copy { padding-bottom: 96px; }
  .sign { justify-self: end; }
  .posts { height: 92px; }
}

/* ── Sections ───────────────────────────────────────────── */

.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section h2 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(30px, 4.4vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.015em;
}
.section-intro {
  margin: 14px 0 0;
  max-width: 40em;
  color: var(--ink-2);
  font-size: 19px;
}

/* How it works: four stops along one route line */
.route {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
  position: relative;
}
.route li {
  position: relative;
  padding-left: 54px;
}
.route li::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -30px;
  width: 4px;
  background: var(--rule);
  border-radius: 2px;
}
.route li:last-child::before { display: none; }
.stop {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sign);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  padding-top: 2px;
}
.route h3 {
  margin: 3px 0 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
}
.route p { margin: 6px 0 0; color: var(--ink-2); }

@media (min-width: 900px) {
  .route { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .route li { padding: 54px 0 0; }
  .route li::before {
    left: 34px;
    right: -32px;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 4px;
  }
}

/* Features */
.features {
  margin: 44px 0 0;
  display: grid;
  gap: 34px 48px;
}
.feature { display: grid; grid-template-columns: 40px 1fr; gap: 0 16px; }
.feature svg {
  width: 32px;
  height: 32px;
  margin-top: 2px;
  color: var(--sign);
}
@media (prefers-color-scheme: dark) { .feature svg { color: var(--link); } }
.feature h3 { margin: 0; font-size: 20px; line-height: 1.3; font-weight: 700; }
.feature p { margin: 6px 0 0; color: var(--ink-2); }
.feature .tier { font-weight: 600; color: var(--ink); }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }

/* Free vs Pro */
.plans-wrap { margin-top: 40px; overflow-x: auto; }
.plans {
  width: 100%;
  min-width: 340px;
  border-collapse: collapse;
  font-size: 17px;
}
.plans th,
.plans td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}
.plans thead th { vertical-align: bottom; padding-bottom: 18px; }
.plans thead th:first-child { width: 52%; }
.plans .plan-name { display: block; font-size: 24px; font-weight: 800; }
.plans .plan-price { display: block; margin-top: 4px; font-weight: 400; color: var(--ink-2); font-size: 16px; line-height: 1.4; }
.plans tbody th { font-weight: 400; }
.plans td { font-weight: 600; }
@media (max-width: 560px) {
  .plans { font-size: 16px; }
  .plans th, .plans td { padding: 12px 8px; }
  .plans thead th:first-child { width: 44%; }
  .plans .plan-name { font-size: 21px; }
}
.plans .pro { background: color-mix(in srgb, var(--sign) 7%, transparent); }
.plans .no { color: var(--ink-2); font-weight: 400; font-size: 20px; line-height: 1.1; }
.yes svg { width: 20px; height: 20px; color: var(--sign); }
@media (prefers-color-scheme: dark) { .yes svg { color: var(--link); } }
.plans-note { margin: 18px 0 0; color: var(--ink-2); font-size: 15px; max-width: 46em; }

.promise {
  display: grid;
  gap: 18px 48px;
}
.promise p { margin: 0; font-size: 19px; color: var(--ink-2); max-width: 36em; }
@media (min-width: 900px) {
  .promise { grid-template-columns: 1fr 1.3fr; align-items: baseline; }
}

/* ── Text pages (privacy, terms, support) ───────────────── */

.page { padding: 56px 0 80px; }
.page .wrap { max-width: calc(var(--measure) + 2 * var(--gutter)); }
.page h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page .meta { margin: 12px 0 0; color: var(--ink-2); }
.page .summary {
  margin: 28px 0 0;
  padding: 18px 20px;
  background: var(--wash);
  border-radius: 12px;
  font-size: 18px;
}
.page h2 {
  margin: 44px 0 0;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  scroll-margin-top: 20px;
}
.page h3 {
  margin: 28px 0 0;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
  scroll-margin-top: 20px;
}
.page p, .page li { line-height: 1.62; }
.page p { margin: 12px 0 0; }
.page ul, .page ol { margin: 12px 0 0; padding-left: 1.3em; }
.page li + li { margin-top: 8px; }
.page strong { font-weight: 700; }
.page .path { font-weight: 600; }

.page .toc {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}
.page .toc li + li { margin-top: 0; }
.toc a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}
.toc a:hover { border-color: var(--ink-2); }

.contact-box {
  margin: 48px 0 0;
  padding: 22px 24px;
  border: 2px solid var(--sign);
  border-radius: 14px;
}
.contact-box h2 { margin: 0; font-size: 22px; }
.contact-box p { margin: 8px 0 0; }
.contact-box .email { font-size: 20px; font-weight: 700; }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 36px 0 44px;
  font-size: 15px;
  color: var(--ink-2);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 32px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.site-footer p { margin: 0; }

@media print {
  .site-header, .site-footer, .toc, .skip { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .page { padding: 0; }
  .page .summary { background: none; border: 1px solid #999; }
  a { color: #000; }
}
