/* Site-wide inner-page layer (Nov 19, 2026). Loaded after styles.css + home.css + fd.css on every page except the homepage.
   Carries the front-desk homepage look (header, footer, type, pill buttons, cards, section rhythm) to inner pages.
   Design only: no copy, links, prices, meta or JSON-LD changes. Nudge palette vars only. */

body{overflow-x:hidden}

/* ---------- category page (small-fleet): dark photo hero like the homepage ---------- */
.cat-hero{background:var(--ink) url(/photos/night-suv-1280.webp) 70% 45%/cover no-repeat;padding:112px 0 120px;min-height:0}
.cat-hero::before{background:linear-gradient(90deg,rgba(20,33,43,.94) 0%,rgba(20,33,43,.84) 48%,rgba(20,33,43,.45) 100%),linear-gradient(0deg,rgba(20,33,43,.5),rgba(20,33,43,0) 45%)}
.cat-hero .wrap{position:relative}
.cat-hero h1{max-width:15em}
.cat-hero .lead{max-width:40em}
.cat-hero .note{max-width:46em}
.cat-hero .note a{color:var(--teal-l)}

/* feature grid on the category page: same numbered hairline grid as homepage #features */
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers){counter-reset:feat;gap:0 40px;margin-top:48px}
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers) > .card{counter-increment:feat;position:relative;background:none;border:0;border-top:1px solid var(--hair);border-radius:0;padding:22px 0 34px;box-shadow:none}
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers) > .card:hover{transform:none;box-shadow:none}
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers) > .card::before{content:counter(feat,decimal-leading-zero);position:absolute;top:22px;right:0;font-size:12px;font-weight:700;letter-spacing:.1em;color:var(--teal)}
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers) .icon{width:40px;height:40px;border-radius:12px}
section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers) .card h3{font-size:1.2rem;margin:16px 0 8px}

.pains .pain{background:#fff}
/* pricing section on inner pages: same off-white band + white cards as homepage #pricing */
section.alt:has(.tier){background:var(--off)}
/* Legacy `.featured` "as-seen-in" strip rule in styles.css sets padding:22px 0 and a flat background, which
   collapsed the Small fleet card's side padding. Restore the same inset as Solo and Fleet everywhere. */
.tier.featured{padding:27px 25px 25px;background:#fff;border:2px solid var(--teal);border-radius:var(--r-md);box-shadow:0 30px 60px rgba(14,107,99,.16)}

/* trial section at the end of the category page: dark bookend panel like homepage .closing */
main > section#trial:last-child{background:var(--ink);color:#fff;padding:112px 0;border-top:0}
main > section#trial:last-child h2{color:#fff;font-weight:500;font-size:clamp(1.2rem,5.5cqi,3.25rem)}
main > section#trial:last-child p{color:rgba(255,255,255,.8);max-width:46em}
main > section#trial:last-child p a{color:var(--teal-l)}
main > section#trial:last-child .cta-row{margin-top:28px}
main > section#trial:last-child .btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.35);box-shadow:none}
main > section#trial:last-child .btn-ghost:hover{background:rgba(255,255,255,.22);color:#fff}

/* ---------- document pages (trial, terms, privacy, changelog, beta notice) ---------- */
main.legal{position:relative;max-width:820px;padding:72px 20px 96px}
main.legal::before{content:"";position:absolute;z-index:-1;top:0;left:50%;width:100vw;height:320px;transform:translateX(-50%);background:linear-gradient(180deg,var(--mint) 0%,rgba(230,242,240,.35) 55%,#fff 100%)}
.legal h1{font-size:clamp(2.2rem,4.8vw,3.4rem);line-height:1.05;font-weight:600;letter-spacing:-.035em;margin:0 0 16px;text-wrap:balance}
.legal .meta{font-size:15px;margin:0 0 36px;padding-bottom:28px;border-bottom:1px solid var(--hair)}
.legal h2{font-size:1.35rem;font-weight:600;letter-spacing:-.02em;line-height:1.25;margin:44px 0 12px}
.legal h3{font-weight:600;letter-spacing:-.01em}
.legal p,.legal li{line-height:1.7}
.legal li{margin:0 0 6px}
.legal li::marker{color:var(--teal)}
.legal table{border-collapse:collapse;width:100%;margin:12px 0 20px;font-size:15px}
.legal th,.legal td{border-top:1px solid var(--hair);padding:10px 12px;text-align:left;vertical-align:top}
.legal th{background:var(--off);font-weight:700}
.plain-note{display:block;background:#fff;border:1px solid var(--hair);border-left:4px solid var(--teal);border-radius:14px;padding:12px 16px;margin:0 0 28px;box-shadow:0 2px 8px rgba(20,33,43,.05)}
.legal .cta-row{display:flex;flex-wrap:wrap;margin-top:36px}
.legal > p > .btn-signup{margin:12px 0}
.legal .note{font-size:14px;color:var(--muted);margin-top:12px}
/* section rules from the homepage layers must not hit changelog entries */
.legal section,.legal section + section{padding:0;border-top:0;background:none}
/* related pages: soft rounded panel with pill links */
.related{margin:64px 0 0;padding:28px 32px;border:0;background:var(--off);border-radius:var(--r-lg)}
.related h2{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--teal);margin:0 0 14px}
.related ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.related li{margin:0}
.related li::marker{content:none}
.related a{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;background:#fff;border:1px solid var(--hair);border-radius:999px;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px;transition:background .2s,box-shadow .2s}
.related a:hover{background:var(--mint);box-shadow:0 6px 16px rgba(20,33,43,.08)}

/* changelog: dated entries as a vertical timeline */
.changelog .cl-entry{position:relative;padding:0 0 8px 28px;border-left:2px solid var(--hair)}
.changelog .cl-entry::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid var(--teal)}
.changelog .cl-entry:first-of-type::before{background:var(--teal)}
.changelog .cl-entry h2{margin:0 0 10px;padding-top:0;font-size:1.15rem;color:var(--teal-d)}
.changelog .cl-entry + .cl-entry{padding-top:24px}
.changelog .cl-entry + .cl-entry::before{top:30px}

.changelog > p:last-child{margin-top:40px}

/* ---------- footer: same quiet white bar as the homepage ---------- */
.site-foot{border-top:1px solid var(--hair)}

@media (max-width:900px){
  .cat-hero{padding:72px 0 80px;background-position:65% 50%}
  .cat-hero::before{background:linear-gradient(180deg,rgba(20,33,43,.9),rgba(20,33,43,.78) 60%,rgba(20,33,43,.88))}
  section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers){grid-template-columns:1fr 1fr}
  main > section#trial:last-child{padding:80px 0}
}
@media (max-width:560px){
  .cat-hero{padding:48px 0 60px;background-image:url(/photos/night-suv-720.webp)}
  .cat-hero h1{font-size:clamp(2.1rem,9.6vw,2.6rem)}
  section:has(> .wrap > .section-lead) > .wrap > .grid.g3:not(.tiers){grid-template-columns:1fr}
  main.legal{padding:44px 20px 64px}
  main.legal::before{height:220px}
  .legal h1{font-size:clamp(2rem,9vw,2.5rem)}
  .related{padding:22px 20px}
  .tier.featured{padding:27px 21px 21px}
  main > section#trial:last-child{padding:64px 0}
}
