@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url(/assets/fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url(/assets/fonts/barlow-condensed-800.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/assets/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/assets/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/assets/fonts/barlow-600.woff2) format("woff2"); }

:root {
  --night: #0c2340;
  --blue: #1d5fae;
  --red: #c8202a;
  --red-dark: #a9161f;
  --amber: #f5b40c;
  --paper: #fbfcfd;
  --page: #ffffff;
  --page-2: #f1f4f7;
  --ink: #14202e;
  --muted: #556375;
  --rule: #dbe2ea;
  --link: #1d5fae;
  --accent-text: #1d5fae;
  --ok: #17834a;
  --on-night: #c3d3e6;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0b1726; --page-2: #102035; --ink: #e7edf4; --muted: #9fb0c3;
    --rule: #22364f; --link: #8dbcf2; --accent-text: #8dbcf2;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { margin: 0; }
body { background: var(--page); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #14202e; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -0.005em; }
h1 { font-weight: 800; font-size: clamp(2.75rem, 7.4vw, 5.25rem); }
h2 { font-weight: 800; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-weight: 700; font-size: 1.45rem; line-height: 1.1; }
p { margin: 0 0 14px; max-width: 64ch; }
.lead { font-size: 1.2rem; color: var(--muted); }
.sp { margin-top: 16px; }

/* Header: white in both themes so the logo keeps its true colors */
header.site { background: #fff; border-bottom: 1px solid #e3e8ee; position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand img { height: 44px; width: auto; }
nav.main { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
nav.main a { color: #14202e; text-decoration: none; padding: 8px 10px; border-bottom: 3px solid transparent; }
nav.main a:hover { border-bottom-color: #c9d3de; }
nav.main a[aria-current="page"] { border-bottom-color: var(--red); }
nav.main a.call { background: var(--red); color: #fff; border-radius: 4px; border: 0; margin-left: 8px; padding: 9px 16px; }
nav.main a.call:hover { background: var(--red-dark); }
/* Mobile menu (shown below 760px instead of the inline nav) */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #c9d3de; border-radius: 6px; color: #14202e; font: 700 1.1rem/1 var(--display); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .bars, .mnav .bars::before, .mnav .bars::after { display: block; width: 20px; height: 2px; background: #14202e; border-radius: 1px; position: relative; }
.mnav .bars::before, .mnav .bars::after { content: ""; position: absolute; left: 0; }
.mnav .bars::before { top: -6px; }
.mnav .bars::after { top: 6px; }
.mnav[open] .bars { background: transparent; }
.mnav[open] .bars::before { top: 0; transform: rotate(45deg); }
.mnav[open] .bars::after { top: 0; transform: rotate(-45deg); }
.mpanel { position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px)); background: #fff; border: 1px solid #dbe2ea; border-radius: 8px; box-shadow: 0 18px 40px -12px rgba(12,35,64,.35); padding: 8px; display: grid; gap: 2px; }
.mpanel a { display: block; color: #14202e; text-decoration: none; font: 700 1.3rem/1 var(--display); padding: 14px 14px; border-radius: 6px; }
.mpanel a:hover { background: #f1f4f8; }
.mpanel a.call { background: var(--red); color: #fff; text-align: center; margin-top: 6px; }
.mpanel a.mtel { color: var(--red); border-top: 1px solid #e3e8ee; border-radius: 0; margin-top: 4px; padding-top: 16px; }
nav.main a.tel { display: grid; line-height: 1; padding: 6px 10px 6px 14px; margin-left: 6px; border-left: 1px solid #dbe2ea; border-bottom: 0; color: #14202e; font-size: 1.25rem; }
nav.main a.tel small { font: 600 0.78rem/1.2 var(--body); color: #556375; }
nav.main a.tel:hover { color: var(--red); }
.mright { display: none; align-items: center; gap: 8px; }
.mcall { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 6px; background: var(--red); color: #fff; text-decoration: none; font: 700 1.1rem/1 var(--display); }
.mcall svg { width: 18px; height: 18px; }
@media (max-width: 1079px) {
  nav.main { display: none; }
  .mright { display: flex; }
  .mnav { display: block; }
  header.site .wrap { min-height: 64px; flex-wrap: nowrap; }
}
@media (max-width: 759px) { .brand img { height: 38px; } }
@media (max-width: 359px) { .mcall span { display: none; } }

.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btns.tight { margin-top: 0; }
.btn { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.01em; padding: 12px 24px; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-dark); }
.btn.line { border-color: currentColor; color: inherit; }
.btn.line:hover { background: rgba(255,255,255,.08); }
.btn.white { background: #fff; color: var(--red); }
.btn.white:hover { background: #ffe1e3; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero: one load posting to every ledger */
.hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 96px),
    radial-gradient(1200px 500px at 85% 40%, rgba(29,95,174,.55), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 48px; grid-template-columns: minmax(0,1fr); padding-top: 72px; padding-bottom: 80px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.02fr 1fr; padding-top: 88px; padding-bottom: 96px; } }
.hero .lead { color: var(--on-night); margin-top: 22px; font-size: 1.25rem; }
.hero .for { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--amber); margin: 0 0 14px; }

.bol { background: var(--paper); color: #14202e; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); font-size: 0.95rem; }
.bol-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 20px 12px; border-bottom: 2px solid #14202e; }
.bol-head b { font-family: var(--display); font-size: 1.5rem; font-weight: 800; display: block; line-height: 1; }
.bol-head small { color: #556375; display: block; margin-top: 4px; }
.placard { flex: none; width: 46px; height: 46px; transform: rotate(45deg); border: 3px solid #fff; outline: 2px solid var(--red); background: var(--red); display: grid; place-items: center; margin: 6px 8px 0 0; }
.placard span { transform: rotate(-45deg); color: #fff; font: 800 0.95rem/1 var(--display); }
.bol table { width: 100%; border-collapse: collapse; }
.bol th { font: 600 0.8rem/1.2 var(--body); color: #556375; text-align: right; padding: 10px 8px 6px; border-bottom: 1px solid #dbe2ea; }
.bol th:first-child, .bol td:first-child { text-align: left; padding-left: 20px; }
.bol th:last-child, .bol td:last-child { padding-right: 20px; }
.bol td { padding: 9px 8px; text-align: right; border-bottom: 1px solid #edf1f5; font-variant-numeric: tabular-nums; }
.bol td:first-child b { display: block; }
.bol td:first-child small { color: #556375; }
.bol-foot { display: flex; justify-content: space-between; padding: 10px 20px 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.posts { margin: 0; padding: 14px 20px 18px; list-style: none; background: #eef3f8; border-top: 1px solid #dbe2ea; border-radius: 0 0 6px 6px; display: grid; gap: 8px; }
.posts li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: baseline; }
.posts .ck { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; align-self: center; }
.posts .ck svg { width: 12px; height: 12px; }
.posts b { font-weight: 600; }
.posts .n { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.posts .tie { grid-column: 2 / 4; color: var(--ok); font-weight: 600; font-size: 0.9rem; border-top: 1px dashed #b9c7d6; padding-top: 8px; margin-top: 2px; }
.bol-cap { color: #9fb6cf; font-size: 0.9rem; margin-top: 14px; }
@media (max-width: 480px) { .bol { font-size: 0.85rem; } .bol th:nth-child(2), .bol td:nth-child(2) { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .anim .posts li { opacity: 0; transform: translateX(-8px); animation: post .45s ease-out forwards; }
  .anim .posts li:nth-child(1) { animation-delay: .9s; }
  .anim .posts li:nth-child(2) { animation-delay: 1.25s; }
  .anim .posts li:nth-child(3) { animation-delay: 1.6s; }
  .anim .posts li:nth-child(4) { animation-delay: 1.95s; }
  .anim .posts li:nth-child(5) { animation-delay: 2.5s; }
  @keyframes post { to { opacity: 1; transform: none; } }
}

/* One system instead of the hodgepodge */
.hodge .wrap { display: grid; gap: 36px; grid-template-columns: minmax(0,1fr); align-items: center; }
@media (min-width: 900px) { .hodge .wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.xlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.xlist li { position: relative; padding: 16px 18px 16px 54px; background: var(--page-2); border: 1px solid var(--rule); border-radius: 6px; font: 700 1.3rem/1.15 var(--display); color: var(--ink); display: flex; align-items: center; }
.xlist li::before { content: "\00d7"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; font: 700 1.2rem/26px var(--body); text-align: center; }
.hodge .owner { margin: 28px 0 0; font: 800 clamp(1.5rem, 3vw, 2rem)/1.1 var(--display); color: var(--accent-text); max-width: none; }

section.band { padding: 96px 0; }
@media (max-width: 640px) { section.band { padding: 64px 0; } }
.head { max-width: 760px; margin-bottom: 44px; }
.head p { margin-top: 16px; }

/* A day at the bulk plant */
.day { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--rule); }
.day li:last-child { border-bottom: 1px solid var(--rule); }
.day .t { font: 800 1.9rem/1 var(--display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.day .t small { display: block; font-size: 0.95rem; font-weight: 600; color: var(--muted); margin-top: 4px; }
.day h3 { margin-bottom: 6px; }
.day p { color: var(--muted); margin: 0; }
@media (min-width: 900px) { .day li { grid-template-columns: 150px 0.75fr 1.25fr; align-items: baseline; } .day h3 { margin: 0; } }
@media (max-width: 520px) { .day li { grid-template-columns: 1fr; gap: 8px; } }

/* Product screen */
.screen-band { background: var(--page-2); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.split { display: grid; gap: 48px; grid-template-columns: minmax(0,1fr); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: 0.8fr 1.2fr; } .split.flip { grid-template-columns: 1.1fr 0.9fr; } }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { padding-left: 30px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 9px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }
.win { background: #fff; color: #14202e; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 50px -24px rgba(12,35,64,.45), 0 0 0 1px rgba(12,35,64,.12); font-size: 0.9rem; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #e9eef3; border-bottom: 1px solid #d5dde6; }
.win-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c3ccd6; }
.win-bar span { margin-left: 10px; background: #fff; border-radius: 4px; padding: 2px 10px; color: #556375; font-size: 0.8rem; flex: 1; max-width: 340px; overflow: hidden; white-space: nowrap; }
.app { display: grid; grid-template-columns: 150px minmax(0,1fr); min-height: 330px; }
.app .side { background: var(--night); color: var(--on-night); padding: 14px 0; font-size: 0.85rem; }
.app .side b { display: block; color: #fff; padding: 0 14px 10px; font-family: var(--display); font-size: 1.05rem; }
.app .side span { display: block; padding: 6px 14px; }
.app .side span.on { background: rgba(255,255,255,.1); color: #fff; border-left: 3px solid var(--red); padding-left: 11px; }
.app .body { padding: 16px; overflow-x: auto; }
.app .title, .win .title { margin: 0 0 12px; font: 700 1.25rem/1 var(--display); }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.tiles div { border: 1px solid #dbe2ea; border-radius: 4px; padding: 8px 10px; }
.tiles small { display: block; color: #556375; font-size: 0.75rem; }
.tiles b { font-variant-numeric: tabular-nums; font-size: 1rem; }
.tiles .bad b { color: var(--red); }
.aging { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aging th { text-align: right; font-weight: 600; color: #556375; font-size: 0.78rem; padding: 6px 8px; border-bottom: 1px solid #dbe2ea; }
.aging td { text-align: right; padding: 7px 8px; border-bottom: 1px solid #eef2f6; }
.aging th:first-child, .aging td:first-child { text-align: left; }
.aging tr.tot td { font-weight: 700; border-top: 2px solid #14202e; border-bottom: 0; }
@media (max-width: 640px) { .app { grid-template-columns: minmax(0,1fr); } .app .side { display: none; } .tiles { grid-template-columns: 1fr 1fr; } }

/* Cardlock */
.cardlock, .night { background: var(--night); color: #fff; }
.cardlock .lead, .cardlock p, .night .lead, .night p { color: var(--on-night); }
.cardlock .checks li::before, .night .checks li::before { border-color: var(--amber); }
.cardlock .foot { margin-top: 22px; }
.fuelcard { aspect-ratio: 1.586; max-width: 440px; width: 100%; border-radius: 16px; padding: 24px 26px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #1d5fae 0%, #12305a 60%, #0c2340 100%); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.15); display: flex; flex-direction: column; justify-content: space-between; }
.fuelcard::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 34px solid rgba(255,255,255,.06); }
.fuelcard .top { display: flex; justify-content: space-between; align-items: center; font: 800 1.5rem/1 var(--display); }
.fuelcard .chip { width: 44px; height: 32px; border-radius: 6px; background: linear-gradient(135deg, #e9d18a, #b8954a); }
.fuelcard .no { font: 600 1.45rem/1 var(--display); letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.fuelcard .who { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--on-night); }
.fuelcard .who b { display: block; color: #fff; font-size: 1rem; }
.limits { margin-top: 18px; max-width: 440px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 14px 16px; font-size: 0.95rem; }
.limits div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-variant-numeric: tabular-nums; }
.limits div:last-child { border: 0; }
.limits .on { color: #6fe3a3; font-weight: 600; }

/* Heritage */
.heritage .wrap { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 900px) { .heritage .wrap { grid-template-columns: 1fr 1fr; align-items: end; } }
.since { font: 800 clamp(5rem, 16vw, 10rem)/0.85 var(--display); color: var(--accent-text); letter-spacing: -0.02em; }
.since small { display: block; font-size: 1.5rem; color: var(--ink); letter-spacing: 0; margin-top: 10px; font-weight: 700; }

/* Closing band */
.close { background: var(--red); color: #fff; }
.close .wrap { display: grid; gap: 24px; grid-template-columns: minmax(0,1fr); align-items: center; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 900px) { .close .wrap { grid-template-columns: 1.3fr 1fr; } }
.close .lead { color: #ffe1e3; margin-top: 14px; }

/* Inner page hero */
.ph-hero { background: var(--night); color: #fff; }
.ph-hero .wrap { padding-top: 72px; padding-bottom: 64px; }
.ph-hero .lead { color: var(--on-night); margin-top: 18px; }

/* Features */
.feat { display: grid; gap: 40px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 960px) { .feat { grid-template-columns: 220px minmax(0,1fr); } }
.feat aside { position: sticky; top: 96px; align-self: start; }
.feat aside a { display: block; font: 700 1.2rem/1 var(--display); color: var(--ink); text-decoration: none; padding: 10px 0 10px 14px; border-left: 3px solid var(--rule); }
.feat aside a:hover { border-left-color: var(--red); }
@media (max-width: 959px) { .feat aside { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .feat aside a { border: 1px solid var(--rule); border-radius: 4px; padding: 8px 12px; font-size: 1.05rem; } }
.fgroup { padding-bottom: 56px; scroll-margin-top: 96px; }
.fgroup:last-child { padding-bottom: 0; }
.fgroup > h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); padding-bottom: 14px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }
.fgroup > .lead { margin: 14px 0 8px; }
.frow { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.frow svg { width: 32px; height: 32px; color: var(--accent-text); }
.frow h3 { margin-bottom: 6px; }
.frow p { color: var(--muted); margin: 0; }

/* About */
.story { display: grid; gap: 48px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 900px) { .story { grid-template-columns: 1.2fr 0.8fr; } }
.story .lead { margin-top: 18px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--rule); align-self: start; }
.timeline li { position: relative; padding: 0 0 28px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--page); }
.timeline b { display: block; font: 800 1.9rem/1 var(--display); color: var(--accent-text); margin-bottom: 4px; }
.timeline span { color: var(--muted); }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { padding: 18px 0; border-top: 1px solid var(--rule); }
.principles li:first-child { border-top: 3px solid var(--ink); }
.principles b { display: block; font: 700 1.45rem/1.1 var(--display); margin-bottom: 4px; }
.principles span { color: var(--muted); }

/* Book a demo */
.contact { display: grid; gap: 56px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 900px) { .contact { grid-template-columns: 1.1fr 0.9fr; } }
.contact h2 { font-size: 2rem; margin-bottom: 24px; }
.next { list-style: none; counter-reset: n; padding: 0; margin: 0; }
.next li { counter-increment: n; position: relative; padding: 0 0 26px 58px; }
.next li::before { content: counter(n); position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: #fff; display: grid; place-items: center; font: 800 1.3rem/1 var(--display); }
@media (prefers-color-scheme: dark) { .next li::before { background: var(--blue); } }
.next b { display: block; font: 700 1.35rem/1.15 var(--display); margin-bottom: 2px; }
.next span { color: var(--muted); }
form.demo { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
form.demo label { font-weight: 600; display: grid; gap: 6px; }
form.demo label small { font-weight: 400; color: var(--muted); }
form.demo input, form.demo select, form.demo textarea { font: inherit; padding: 12px; border: 1px solid #9fb0c3; border-radius: 4px; background: var(--page); color: var(--ink); width: 100%; }
form.demo input:focus-visible, form.demo select:focus-visible, form.demo textarea:focus-visible { border-color: var(--blue); }
form.demo .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { border-radius: 4px; padding: 14px 16px; font-weight: 600; }
.msg[hidden] { display: none; }
.msg.ok { background: #e3f4ea; color: #12663a; }
.msg.err { background: #fbe4e4; color: #9b1c1c; }
.privacy { color: var(--muted); font-size: 0.9rem; margin: 4px 0 0; }

/* Hero price line */
.hero .price { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); color: var(--on-night); max-width: 560px; }
.hero .price b { color: #fff; }
.hero .price a { color: var(--amber); margin-left: 4px; }
.bol-cap b { color: #fff; font: 700 1.15rem/1.2 var(--display); margin-right: 6px; }

/* Proof strip under the hero */
.proof { background: var(--amber); color: #14202e; }
.proof .wrap { padding-top: 16px; padding-bottom: 16px; }
.proof p { margin: 0; max-width: none; font-size: 1.05rem; }
.proof b { font: 800 1.35rem/1.2 var(--display); margin-right: 8px; }


/* Single-panel product windows (margin, fuel tax) */
.win .body.solo { padding: 16px; overflow-x: auto; }
.tiles .good b { color: var(--ok); }
.st { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #e9eef3; color: #3d4a5a; }
.st.ok { background: #e3f4ea; color: #12663a; }
.st.due { background: #fdf0d2; color: #8a5a00; }

/* Timothy: photo with a first-person line */
.face { display: block; flex: none; width: 96px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 12px 30px -12px rgba(0,0,0,.45); }
.face img { width: 100%; height: auto; }
.face.big { width: 196px; }
.mebox { display: grid; gap: 36px; grid-template-columns: minmax(0,1fr); align-items: center; }
@media (min-width: 760px) { .mebox { grid-template-columns: 196px minmax(0,1fr); gap: 48px; } }
.mebox.top { align-items: start; }
blockquote.me { margin: 20px 0 10px; padding: 4px 0 4px 20px; border-left: 4px solid var(--red); }
blockquote.me p { font: 600 1.45rem/1.35 var(--display); color: var(--ink); margin: 0; }
.calltext { font: 700 1.5rem/1.2 var(--display); margin-top: 10px; }
.close-me { display: flex; gap: 22px; align-items: center; }
.close .btns { flex-direction: column; align-items: stretch; }
@media (min-width: 900px) { .close .btns { align-items: flex-end; } .close .btn { min-width: 300px; text-align: center; } }

/* Features scope line */
.ph-hero .scope { margin-top: 18px; color: var(--on-night); }
.ph-hero .scope b { color: var(--amber); font-family: var(--display); font-size: 1.15rem; margin-right: 6px; }

/* Pricing */
.pricecard { border: 2px solid var(--ink); border-radius: 8px; padding: 32px; align-self: start; }
.pricecard .from { font: 700 1.3rem/1 var(--display); color: var(--muted); margin: 0; }
.pricecard .amt { font: 800 clamp(4.5rem, 12vw, 6.5rem)/0.95 var(--display); color: var(--accent-text); margin: 6px 0 4px; }
.pricecard .amt small { font-size: 1.8rem; color: var(--ink); margin-left: 4px; }
.pricecard .alt { font-size: 1.25rem; margin-bottom: 18px; }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--page-2); }
.sp2 { margin-top: 44px; margin-bottom: 10px; }

/* Commitments, frustrations, support channels */
.commit { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 40px; grid-template-columns: minmax(0,1fr); }
@media (min-width: 800px) { .commit { grid-template-columns: 1fr 1fr; } }
.commit li { padding: 22px 0; border-top: 3px solid var(--ink); }
.commit b { display: block; font: 700 1.6rem/1.1 var(--display); margin-bottom: 6px; }
.commit span { color: var(--muted); }
.bigtel { font: 800 2rem/1.1 var(--display); color: var(--red); text-decoration: none; }
.bigtel:hover { text-decoration: underline; }

/* Demo: call box */
.callbox { display: flex; gap: 18px; align-items: center; padding: 18px; border: 1px solid var(--rule); border-radius: 8px; background: var(--page-2); margin-bottom: 40px; }
.callbox .face { width: 84px; box-shadow: none; }
.cb-h { font: 700 1.35rem/1.1 var(--display); margin: 0 0 4px; }
.cb-s { color: var(--muted); font-size: 0.92rem; margin: 4px 0 0; }

/* Privacy and other plain text pages */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 40px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); }

/* Footer */
footer.site { background: var(--night); color: #9fb6cf; font-size: 0.95rem; }
footer.site .wrap { display: grid; gap: 28px; grid-template-columns: minmax(0,1fr); padding-top: 48px; padding-bottom: 40px; }
footer.site .wrap { grid-template-columns: 1fr 1fr; }
footer.site .fb { grid-column: 1 / -1; }
@media (min-width: 900px) { footer.site .wrap { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; } footer.site .fb { grid-column: auto; } }
footer.site p { margin: 6px 0 0; }
footer.site a.ftel { font: 800 1.5rem/1.1 var(--display); color: #fff; }
footer.site .fl { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 6px; }
footer.site .fl img { height: 36px; width: auto; }
footer.site .tag { margin-top: 16px; }
footer.site h2 { font: 700 1.2rem/1 var(--display); color: #fff; margin: 0 0 12px; }
footer.site a { color: var(--on-night); text-decoration: none; display: block; padding: 3px 0; }
footer.site a:hover { color: #fff; text-decoration: underline; }
footer.site .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 0.85rem; margin: 0; max-width: none; }

/* 404 */
.notfound { background: var(--night); color: #fff; min-height: 60vh; display: grid; align-items: center; }
.notfound .wrap { padding-top: 80px; padding-bottom: 80px; }
.notfound .lead { color: var(--on-night); margin-top: 16px; }

/* Dark mode: keep the navy bands distinct from the dark page */
@media (prefers-color-scheme: dark) {
  :root { --page: #08111c; --page-2: #0e1b2b; }
  .hero, .ph-hero, .notfound, .cardlock, .night { border-bottom: 1px solid #1d3352; }
  .night { border-top: 1px solid #1d3352; }
  footer.site { border-top: 1px solid #1d3352; }
}

/* Hero: the owner's dashboard on a laptop and a phone */
.hero h1 { font-size: clamp(2.75rem, 5.4vw, 4.3rem); }
.devices { position: relative; padding: 0 44px 64px 0; }
.laptop .screen { background: #050d18; border: 1px solid rgba(255,255,255,.16); border-radius: 12px 12px 0 0; padding: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.laptop .base { height: 14px; margin: 0 -18px; background: linear-gradient(#d3dbe4, #8d9bab); border-radius: 0 0 12px 12px; }
.dash { background: var(--paper); color: #14202e; border-radius: 3px; padding: 16px; font-size: 0.9rem; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.dash-head b { font: 700 1.3rem/1 var(--display); }
.dash-head span { color: #556375; font-size: 0.8rem; }
.dash .tiles { margin-bottom: 12px; }
.dash-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; }
.dl { margin: 0 0 6px; font-weight: 600; font-size: 0.78rem; color: #556375; }
.od { list-style: none; margin: 0; padding: 0; }
.od li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-bottom: 1px solid #e6ebf0; font-size: 0.84rem; }
.od b { color: var(--red); font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; border-bottom: 1px solid #c9d3de; }
.bars i { flex: 1; background: #a9bdd2; border-radius: 2px 2px 0 0; }
.bars i:nth-child(1) { height: 64%; } .bars i:nth-child(2) { height: 72%; } .bars i:nth-child(3) { height: 58%; }
.bars i:nth-child(4) { height: 81%; } .bars i:nth-child(5) { height: 76%; } .bars i:nth-child(6) { height: 38%; }
.bars i:nth-child(7) { height: 92%; background: var(--blue); }
.phone { position: absolute; right: 0; bottom: 0; width: 140px; background: #050d18; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; padding: 9px 7px; box-shadow: 0 24px 44px -12px rgba(0,0,0,.7); }
.pscreen { background: var(--paper); color: #14202e; border-radius: 15px; padding: 12px 9px; display: grid; gap: 6px; }
.pscreen .pt { margin: 0 0 2px; font: 700 1rem/1 var(--display); }
.pscreen div { border: 1px solid #dbe2ea; border-radius: 4px; padding: 4px 7px; }
.pscreen small { display: block; color: #556375; font-size: 0.68rem; line-height: 1.3; }
.pscreen b { font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pscreen .bad b { color: var(--red); }

/* Home: the customer portal on a phone */
.pmock { max-width: 290px; margin: 0 auto; background: #050d18; border: 1px solid rgba(255,255,255,.2); border-radius: 34px; padding: 12px 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.pm-screen { background: var(--paper); color: #14202e; border-radius: 24px; padding: 16px 16px 20px; }
.pmock .pm-bar { margin: 0 0 16px; background: #e9eef3; border-radius: 6px; padding: 4px 10px; color: #556375; font-size: 0.8rem; text-align: center; }
.pmock .pm-l { margin: 0 0 4px; font: 700 1.1rem/1.1 var(--display); color: #14202e; }
.pm-list { list-style: none; margin: 0 0 16px; padding: 0; }
.pm-list li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #e6ebf0; font-size: 0.92rem; }
.pm-list b, .pm-due b { font-variant-numeric: tabular-nums; }
.pm-due { display: flex; justify-content: space-between; align-items: baseline; border: 1px solid #dbe2ea; border-radius: 4px; padding: 8px 10px; margin-bottom: 12px; }
.pm-due span { color: #556375; font-size: 0.85rem; }
.pm-due b { font-size: 1.15rem; }
.pm-btn { display: block; text-align: center; border-radius: 6px; padding: 10px; font-weight: 700; }
.pm-btn.pay { background: var(--red); color: #fff; margin-bottom: 8px; }
.pm-btn.order { border: 2px solid var(--blue); color: var(--blue); padding: 8px; }
.pm-cap { text-align: center; }

/* Features: portal bullets; Pricing: what every plan includes */
.frow .checks { margin-top: 8px; color: var(--muted); gap: 6px; }
.pricecard .incl { border-top: 1px solid var(--rule); padding-top: 14px; font-weight: 600; }

/* Payroll page */
.checks.big { max-width: 820px; gap: 16px; font-size: 1.2rem; }
.checks.big li::before { top: 9px; }
.pay2 { display: grid; gap: 48px; }
@media (min-width: 900px) { .pay2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 900px) { .commit.three { grid-template-columns: repeat(3, 1fr); } }
.ph-hero .btns { margin-top: 28px; }
.faq { margin: 0; max-width: 820px; }
.faq > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.faq > div:last-child { border-bottom: 1px solid var(--rule); }
.faq dt { font: 700 1.35rem/1.2 var(--display); margin-bottom: 4px; }
.faq dd { margin: 0; color: var(--muted); }
.fnote { margin: 18px 0 0; color: var(--muted); font-style: italic; }

/* ---------- Phones and small tablets ---------- */
@media (max-width: 759px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.1rem; }
  h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); }
  h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  h3 { font-size: 1.3rem; }

  .btns { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 24px; }
  .btn { text-align: center; padding: 14px 20px; }

  section.band { padding: 56px 0; }
  .head { margin-bottom: 28px; }

  .hero .wrap { padding-top: 40px; padding-bottom: 48px; gap: 36px; }
  .hero .for { font-size: 1.15rem; margin-bottom: 10px; }
  .hero .lead { font-size: 1.1rem; margin-top: 16px; }
  .ph-hero .wrap { padding-top: 44px; padding-bottom: 40px; }

  .xlist li { font-size: 1.2rem; padding: 14px 16px 14px 50px; }
  .devices { padding: 0 102px 34px 0; }
  .dash .tiles b { font-size: 0.9rem; }
  .od li { font-size: 0.78rem; }
  .dash-head { flex-direction: column; gap: 4px; }
  .phone { width: 112px; border-radius: 18px; padding: 7px 6px; }
  .pscreen { border-radius: 12px; padding: 9px 7px; gap: 5px; }
  .pscreen b { font-size: 0.8rem; }
  .dash { padding: 10px; }
  .dash-grid { grid-template-columns: minmax(0,1fr); }
  .dash-grid > div:last-child { display: none; }

  /* Day timeline: time in a narrow left column */
  .day li { grid-template-columns: 64px minmax(0,1fr); gap: 4px 16px; padding: 20px 0; }
  .day .t { font-size: 1.45rem; grid-row: span 2; }
  .day .t small { font-size: 0.8rem; margin-top: 2px; }
  .day h3 { margin: 0 0 4px; }

  /* Product screen fits the phone: drop the two oldest aging buckets */
  .aging th:nth-child(4), .aging td:nth-child(4), .aging th:nth-child(5), .aging td:nth-child(5) { display: none; }
  .app .body { padding: 12px; }
  .win-bar span { margin-left: 6px; }

  /* Cardlock: words first, then the card */
  .split.flip > div:first-child { order: 2; }
  .fuelcard { padding: 18px 20px; border-radius: 14px; }
  .fuelcard .top { font-size: 1.25rem; }
  .fuelcard .no { font-size: 1.15rem; letter-spacing: 0.08em; }

  .heritage .wrap { gap: 20px; }
  .since { font-size: 5.5rem; }
  .since small { font-size: 1.2rem; }

  .close .wrap { padding-top: 52px; padding-bottom: 52px; }

  .frow { grid-template-columns: 32px minmax(0,1fr); gap: 14px; padding: 18px 0; }
  .frow svg { width: 26px; height: 26px; }
  .fgroup { padding-bottom: 40px; }
  .feat { gap: 28px; }

  .timeline b { font-size: 1.6rem; }
  .story { gap: 36px; }
  .contact { gap: 44px; }
  .next li { padding-left: 52px; }

  footer.site .wrap { padding-top: 36px; padding-bottom: 28px; gap: 22px; }
  .notfound { min-height: 0; }
  .notfound .wrap { padding-top: 56px; padding-bottom: 56px; }

  .proof b { display: block; margin: 0 0 2px; }
  .face.big { width: 150px; }
  .close-me { align-items: flex-start; }
  .close-me .face { width: 72px; }
  blockquote.me p { font-size: 1.25rem; }
  .pricecard { padding: 22px; }
  .commit b { font-size: 1.4rem; }
  .bigtel { font-size: 1.75rem; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .bol { font-size: 0.8rem; }
  .bol-head, .bol-foot, .posts { padding-left: 14px; padding-right: 14px; }
  .bol th:first-child, .bol td:first-child { padding-left: 14px; }
  .bol th:last-child, .bol td:last-child { padding-right: 14px; }
  .placard { width: 38px; height: 38px; }
  .tiles b { font-size: 0.9rem; }
}
