/* DisplayFleet marketing site.
   No JavaScript anywhere: the CSP is `script-src 'none'` and it stays that way.
   Light and dark are both first-class, driven by prefers-color-scheme only,
   because a toggle would need script. */

:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #e9edf3;
  --text: #12161c;
  --muted: #4a5462;
  --border: #d5dbe3;
  --accent: #b45309;
  --accent-text: #ffffff;
  --accent-quiet: #fdf3e7;
  --ok: #1c6b3f;
  --shadow: 0 1px 2px rgba(18, 22, 28, .06), 0 8px 24px rgba(18, 22, 28, .06);
  --radius: 10px;
  --measure: 68rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161b22;
    --surface-2: #1d232c;
    --text: #e6edf3;
    --muted: #9aa7b4;
    --border: #2a323c;
    --accent: #f0a83c;
    --accent-text: #12161c;
    --accent-quiet: #241c10;
    --ok: #56d391;
    --shadow: none;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 clamp(1rem, 0.96rem + 0.2vw, 1.0625rem)/1.65 system-ui, -apple-system,
        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.125rem); font-weight: 650; }
h3 { font-size: 1.125rem; font-weight: 650; }
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }
strong { font-weight: 650; }

a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Every interactive target clears the 24px minimum (WCAG 2.2, 2.5.8). */
a, summary { min-height: 24px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: .75rem 1rem;
  z-index: 10;
  font-weight: 650;
}
.skip:focus { left: 0; }

.wrap { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

/* ---------- header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 0;
}
.brand .mark {
  width: 22px; height: 22px;
  border-radius: 5px;
  background: var(--accent);
  display: inline-block;
  position: relative;
  flex: none;
}
.brand .mark::after {
  content: "";
  position: absolute;
  inset: 6px 5px auto 5px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-text);
  box-shadow: 0 5px 0 var(--accent-text);
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: .6rem .7rem;
  border-radius: 8px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }
.site-nav a[aria-current="page"] { color: var(--text); font-weight: 650; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.25rem;
  border-radius: 8px;
  font-weight: 650;
  text-decoration: none;
  border: 1px solid transparent;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--surface); }

/* ---------- sections ---------- */

section { padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0; }
section + section { border-top: 1px solid var(--border); }
/* A section that continues the hero rather than starting a new idea, so it
   neither restates the top padding nor draws a rule across the join. */
.section-tight { padding-top: 0; }
section + .section-tight { border-top: 0; }
.prose { max-width: 46rem; }
.stacked { margin-top: 1.25rem; }
.grid.stacked { margin-top: 2rem; }
.after-plans { margin-top: 1.5rem; }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 0; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .6rem;
}

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.hero .lede {
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 1.75rem;
}
.hero h1 { max-width: 20ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.cta-note { color: var(--muted); font-size: .9375rem; margin: 1rem 0 0; }

/* ---------- media / screenshots ---------- */

figure { margin: 0; }
.shot {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.shot img { display: block; width: 100%; height: auto; }
figcaption { color: var(--muted); font-size: .9375rem; margin-top: .6rem; }

.hero-figure { margin-top: 3rem; }
.figure-wide { margin-top: 2.5rem; }

/* Visually hidden, still announced. Used for the empty corner cell of the
   pricing table, which needs an accessible name and nothing on screen. */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- grids ---------- */

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(21rem, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }

/* ---------- steps ---------- */

.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step;
  padding-left: 3.25rem;
  position: relative;
  margin-bottom: 1.75rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent-quiet);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps h3 { margin-bottom: .25rem; }
.steps p { color: var(--muted); margin-bottom: 0; }

/* ---------- feature list ---------- */

.feature-list { list-style: none; padding: 0; display: grid; gap: 1.5rem 2.5rem; }
.feature-list > li { padding-left: 1.75rem; position: relative; margin: 0; }
.feature-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .7rem;
  height: .7rem;
  border-radius: 3px;
  background: var(--accent);
}
.feature-list h3 { margin-bottom: .2rem; }
.feature-list p { color: var(--muted); margin-bottom: 0; }

/* ---------- pricing ---------- */

.plans { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: start; }
.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan.featured { border-color: var(--accent); border-width: 2px; background: var(--surface); }
.plan .badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .25rem .5rem;
  border-radius: 5px;
  margin-bottom: .75rem;
}
.price { font-size: 2.5rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price .per { font-size: .9375rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.price-year { color: var(--muted); font-size: .9375rem; margin: .35rem 0 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan li { padding-left: 1.5rem; position: relative; color: var(--muted); }
.plan li::before {
  content: "";
  position: absolute;
  left: .1rem;
  top: .55em;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--ok);
}
.plan .btn { margin-top: auto; width: 100%; }

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; min-width: 34rem; }
caption { text-align: left; color: var(--muted); font-size: .9375rem; padding-bottom: .75rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
thead th { font-weight: 650; border-bottom: 2px solid var(--border); }
tbody th { font-weight: 500; color: var(--muted); }
td { font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */

.faq { max-width: 46rem; }
.faq details {
  border-bottom: 1px solid var(--border);
  padding: .4rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: .85rem 2rem .85rem 0;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: .35rem;
  top: 1.35rem;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.55rem; }
.faq details p { color: var(--muted); margin: 0 0 1rem; }

/* ---------- callout ---------- */

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.callout h3 { margin-bottom: .35rem; }
.callout p:last-child { margin-bottom: 0; color: var(--muted); }

.cta-band { background: var(--surface); border-radius: var(--radius); padding: clamp(2rem, 1.5rem + 2vw, 3rem); text-align: center; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--muted); max-width: 34rem; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  color: var(--muted);
  font-size: .9375rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text); margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; padding: .2rem 0; display: inline-block; }
.site-footer a:hover { color: var(--text); }
.legal-line { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.legal-line p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
