/*
 * tracfleetpro.com in the Vest appearance, laid out as the Vest design draws the site. styles.css
 * owns the site and every other appearance; this only adds what Vest does differently, and only
 * under :root[data-design="vest"] (set by main.js from the platform default appearance). Anything
 * this file adds to the page is hidden outside Vest, so Copper and the rest stay exactly as they were.
 */

/* The equation under the headline: the one line everything feeds. Vest only. */
.hero-sum { display: none; }

:root[data-design="vest"] .eyebrow { color: var(--ink2); font: 500 13px/1.3 var(--ui); letter-spacing: 0; text-transform: none; gap: 10px; }
:root[data-design="vest"] .eyebrow::before { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* A heavy upright headline, its ending in solid lime rather than an italic sheen. */
:root[data-design="vest"] .hero-title { font-weight: 700; letter-spacing: -.045em; line-height: .94; }
:root[data-design="vest"] .hero-title .accent { font-style: normal; }
:root[data-design="vest"] .hero-title .accent .ch { background: none; color: var(--brand); -webkit-text-fill-color: currentColor; animation: none; }

:root[data-design="vest"] .hero-sum {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; width: fit-content; max-width: 100%;
  margin: 26px 0 4px; padding: 12px 16px;
  border: 1px solid rgba(var(--ink-rgb), .08); border-radius: var(--r-md);
  background: rgba(var(--surface-rgb), .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
:root[data-design="vest"] .hero-sum div { display: grid; gap: 4px; }
:root[data-design="vest"] .hero-sum b { font: 600 clamp(17px, 1.6vw, 22px)/1 var(--mono); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
:root[data-design="vest"] .hero-sum span { font: 400 12px/1.3 var(--ui); color: var(--ink3); }
:root[data-design="vest"] .hero-sum i { font: 400 20px/1 var(--mono); font-style: normal; color: var(--ink3); }
:root[data-design="vest"] .hero-sum .sum-profit b { color: var(--positive); }
:root[data-design="vest"] .hero-sum .sum-costs span { max-width: 22ch; }
@media (max-width: 640px) {
  :root[data-design="vest"] .hero-sum { flex-wrap: nowrap; gap: 8px; padding: 10px 12px; }
  :root[data-design="vest"] .hero-sum b { font-size: 14px; }
  :root[data-design="vest"] .hero-sum i { font-size: 15px; }
  :root[data-design="vest"] .hero-sum span { font-size: 11px; }
  :root[data-design="vest"] .hero-sum .sum-costs span { display: none; }
}

/* Every section: the chapter number in lime without a box, the heading bold and upright with its
   ending in solid lime, and the introduction under the heading rather than beside it. */
:root[data-design="vest"] .chapter span { padding: 0; box-shadow: none; color: var(--brand); }
:root[data-design="vest"] .h2,
:root[data-design="vest"] .cta-title { font-weight: 700; letter-spacing: -.02em; line-height: .95; text-wrap: balance; }
:root[data-design="vest"] .h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 20ch; }
:root[data-design="vest"] .cta-title { font-size: clamp(40px, 5.4vw, 76px); }
:root[data-design="vest"] .sec-head .lede { font-size: 18px; }
:root[data-design="vest"] .h2 em,
:root[data-design="vest"] .cta-title em,
:root[data-design="vest"] .role-copy h3 em { font-style: normal; color: var(--brand); }
:root[data-design="vest"] .sec-head { grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
:root[data-design="vest"] .sec-head .lede { justify-self: start; max-width: 62ch; }
:root[data-design="vest"] .center-head { justify-items: start; text-align: left; }
:root[data-design="vest"] .center-head .h2 { max-width: 20ch; }

/* Dead zones: capturing an event is the one action, so it carries the lime as the Vest design draws it. */
:root[data-design="vest"] #capture { background: var(--brand); color: var(--on-brand); border-color: transparent; }

/* Who it's for: the roles as a list down the left, the chosen one ringed in lime, and its panel on
   glass beside them. The sliding pill is a horizontal-row device, so Vest does without it. */
:root[data-design="vest"] .roles-ui { max-width: none; margin: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
:root[data-design="vest"] .role-tabs { display: grid; gap: 6px; width: auto; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
:root[data-design="vest"] .role-tabs button { height: 48px; padding: 0 16px; text-align: left; border: 1px solid var(--hairline); border-radius: var(--r-sm); background: rgba(var(--canvas-rgb), .5); color: var(--ink2); font: 600 16px/1 var(--ui); }
:root[data-design="vest"] .role-tabs button:hover { color: var(--ink); }
:root[data-design="vest"] .role-tabs button[aria-selected=true] { border-color: var(--brand); background: rgba(var(--brand-rgb), .05); color: var(--ink); }
:root[data-design="vest"] .role-ink { display: none; }
:root[data-design="vest"] .role-panels { min-height: 0; padding: 26px; border: 1px solid rgba(var(--ink-rgb), .07); border-radius: var(--r-md); background: rgba(var(--surface-rgb), .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root[data-design="vest"] .role-copy h3 { font: 700 clamp(26px, 2.6vw, 34px)/1.05 var(--display); letter-spacing: -.02em; }
:root[data-design="vest"] .role-card { box-shadow: inset 0 0 0 1px var(--hair-soft); }
:root[data-design="vest"] .role-note { grid-column: 1 / -1; margin-top: 0; text-align: left; }
@media (max-width: 820px) {
  :root[data-design="vest"] .roles-ui { grid-template-columns: minmax(0, 1fr); }
  :root[data-design="vest"] .role-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root[data-design="vest"] .role-panels { padding: 20px; }
}

/* The whole operation: one even grid of numbered glass cards, the number in lime mono where the
   other appearances draw an icon and a small chart. */
:root[data-design="vest"] .bento { counter-reset: module; }
:root[data-design="vest"] .tile { counter-increment: module; gap: 8px; padding: 18px; min-height: 0; border: 1px solid rgba(var(--ink-rgb), .07); background: rgba(var(--surface-rgb), .58); box-shadow: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root[data-design="vest"] .tile.wide { grid-column: auto; }
:root[data-design="vest"] .tile::before { content: counter(module, decimal-leading-zero); position: static; inset: auto; background: none; color: var(--brand); font: 500 12px/1 var(--mono); }
:root[data-design="vest"] .tile::after,
:root[data-design="vest"] .tile .ico,
:root[data-design="vest"] .tile .mini-rows,
:root[data-design="vest"] .tile .mini-bars,
:root[data-design="vest"] .tile .mini-list,
:root[data-design="vest"] .tile .mini-route { display: none; }
:root[data-design="vest"] .tile:hover { transform: none; border-color: rgba(var(--brand-rgb), .35); }
:root[data-design="vest"] .tile h3 { font: 600 17px/1.2 var(--ui); letter-spacing: 0; }

/* Questions: the heading above, each question its own glass card under it. */
:root[data-design="vest"] .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
:root[data-design="vest"] .faq-grid > div:first-child { position: static; }
:root[data-design="vest"] .faq-list { display: grid; gap: 8px; max-width: 900px; border-top: 0; }
:root[data-design="vest"] .faq-list details { padding: 0 18px; border: 1px solid rgba(var(--ink-rgb), .07); border-radius: var(--r-md); background: rgba(var(--surface-rgb), .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root[data-design="vest"] .faq-list summary { padding: 18px 40px 18px 0; font: 600 17px/1.3 var(--ui); letter-spacing: 0; }
:root[data-design="vest"] .faq-list summary::before,
:root[data-design="vest"] .faq-list summary::after { right: 0; width: 12px; }
:root[data-design="vest"] .faq-list details > div > p { font-size: 15px; line-height: 1.6; padding-bottom: 18px; }

/* How it is built: three glass cards, each figure in solid lime mono. */
:root[data-design="vest"] .promises { padding: 40px 0 72px; }
:root[data-design="vest"] .promise-row { gap: 12px; border-top: 0; }
:root[data-design="vest"] .promise,
:root[data-design="vest"] .promise + .promise { padding: 22px; border: 1px solid rgba(var(--ink-rgb), .07); border-radius: var(--r-md); background: rgba(var(--surface-rgb), .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root[data-design="vest"] .promise .big { font: 600 44px/1 var(--mono); letter-spacing: 0; margin-bottom: 14px; background: none; color: var(--brand); }
:root[data-design="vest"] .promise p { font-size: 15px; max-width: none; }

/* The close: one glass panel in the page's width, the headline on a single line where it fits. */
:root[data-design="vest"] .cta { padding: 0 0 96px; background: var(--canvas); }
:root[data-design="vest"] .cta-inner { gap: 16px; padding: 56px 24px; border: 1px solid rgba(var(--ink-rgb), .07); border-radius: var(--r-md); background: rgba(var(--surface-rgb), .58); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); overflow: hidden; }
:root[data-design="vest"] .cta-title { margin-top: 0; max-width: none; }
:root[data-design="vest"] .cta-inner .lede { margin-top: 0; font-size: 18px; max-width: 52ch; }
:root[data-design="vest"] .cta-form { margin-top: 0; padding: 0; background: none; box-shadow: none; width: min(520px, 100%); }
:root[data-design="vest"] .cta-form input { height: 48px; border: 1px solid var(--hairline); background: rgba(var(--canvas-rgb), .7); font-size: 16px; }
:root[data-design="vest"] .cta-form:focus-within input { border-color: rgba(var(--brand-rgb), .6); }
:root[data-design="vest"] .cta-mark { width: 48px; height: 48px; animation: none; box-shadow: none; }
@media (max-width: 480px) { :root[data-design="vest"] .cta-form input { flex: none; } }
