/* ==========================================================================
   BRAEDALE SKIP HIRE — Design System
   Demo site for Fleetlix client-side widget testing.

   Aesthetic: "Comic sticker" — warm cream paper, petrol-teal ink,
   tangerine skips, hazard-stripe details, chunky outlines, offset shadows.

   BREAKPOINTS (mobile-first, min-width):
   ─────────────────────────────────────
   base      0 – 479px    single column, stacked, full-width CTAs
   xs      ≥ 480px        2-up small cards, inline CTAs
   md      ≥ 768px        nav links appear, 2-col layouts, tablet grids
   lg      ≥ 1024px       full desktop grids, split heroes
   xl      ≥ 1280px       max container width, widest gutters
   ========================================================================== */

/* ---- 1. Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; }
a { color: inherit; }

/* ---- 2. Tokens --------------------------------------------------------- */
:root {
  /* Palette */
  --paper:          #FFF3E2;   /* warm cream page background */
  --paper-deep:     #FBE8CC;   /* darker cream for alt sections */
  --ink:            #14323B;   /* petrol teal — text & outlines */
  --ink-soft:       #3D5A63;   /* secondary text */
  --teal:           #0F5E63;   /* mid teal — panels */
  --teal-bright:    #1B8A8F;   /* hover/links on dark */
  --tangerine:      #FF6B2C;   /* primary brand — skip orange */
  --tangerine-deep: #E0501C;   /* pressed / shading */
  --sun:            #FFC93C;   /* hazard yellow */
  --sky:            #9BDCE8;   /* sky / info tint */
  --moss:           #8FC93A;   /* eco green accent */
  --white:          #FFFDF8;

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Schibsted Grotesk", "Trebuchet MS", sans-serif;
  --font-mono: "Spline Sans Mono", "Courier New", monospace;

  /* Fluid type scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.2rem + 0.9vw, 1.875rem);
  --text-2xl:  clamp(1.75rem, 1.4rem + 1.75vw, 2.75rem);
  --text-hero: clamp(2.5rem, 1.7rem + 4.2vw, 4.75rem);

  /* Space (4px base) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Section rhythm — breathes more as viewport grows */
  --section-pad: clamp(3.5rem, 2.5rem + 5vw, 8rem);

  /* Shape */
  --radius-sm: 0.625rem;
  --radius-md: 1.125rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --line: 3px;                       /* signature ink outline weight */

  /* Comic offset shadows */
  --shadow-sticker: 0.375rem 0.375rem 0 var(--ink);
  --shadow-sticker-sm: 0.25rem 0.25rem 0 var(--ink);
  --shadow-float: 0 1.5rem 3rem -1.5rem rgba(20, 50, 59, 0.35);

  /* Motion */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur: 0.45s;

  /* Layout */
  --container: 75rem;                /* 1200px */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---- 3. Base ------------------------------------------------------------ */
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}

/* Paper grain — fixed, non-interactive, sits above everything subtly */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p  { max-width: 62ch; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding-block: var(--section-pad); position: relative; }

::selection { background: var(--sun); color: var(--ink); }

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

/* ---- 4. Utility --------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.375rem 0.875rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-sticker-sm);
  margin-bottom: var(--sp-5);
}
.eyebrow::before { content: "●"; color: var(--tangerine); font-size: 0.6em; }

.section-head { max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head p { margin-top: var(--sp-4); color: var(--ink-soft); font-size: var(--text-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { margin-inline: auto; }
.section-head--center p { margin-inline: auto; }

.highlight {
  position: relative;
  white-space: nowrap;
  z-index: 1;
}
.highlight::after {
  content: "";
  position: absolute;
  inset: 62% -0.15em 0.02em;
  background: var(--sun);
  z-index: -1;
  border-radius: 0.2em;
  transform: rotate(-1deg);
}
.highlight--tangerine::after { background: var(--tangerine); opacity: 0.45; }

.text-center { text-align: center; }

/* ---- 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-pill);
  padding: 0.875rem 1rem 0.875rem 1.5rem;
  background: var(--tangerine);
  color: var(--ink);
  box-shadow: var(--shadow-sticker-sm);
  transition: transform var(--dur) var(--ease-pop), box-shadow var(--dur) var(--ease-pop), background-color var(--dur) var(--ease-spring);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 0.375rem 0.375rem 0 var(--ink); }
.btn:active { transform: translate(2px, 2px) scale(0.98); box-shadow: 0.125rem 0.125rem 0 var(--ink); }

/* Button-in-button trailing icon */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: none;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  transition: transform var(--dur) var(--ease-pop);
}
.btn__icon svg { width: 0.875rem; height: 0.875rem; }
.btn:hover .btn__icon { transform: translate(2px, -2px) rotate(-8deg) scale(1.08); }

.btn--sun { background: var(--sun); }
.btn--ghost { background: var(--white); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink .btn__icon { background: var(--tangerine); color: var(--ink); }
.btn--sm { font-size: var(--text-sm); padding: 0.625rem 0.75rem 0.625rem 1.125rem; }
.btn--sm .btn__icon { width: 1.625rem; height: 1.625rem; }

/* Full-width buttons on small phones */
@media (max-width: 479.98px) {
  .btn--responsive { width: 100%; justify-content: space-between; }
}

/* ---- 6. Header / floating pill nav -------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--sp-3) var(--sp-4);
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 0.5rem 0.625rem 0.5rem 1rem;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker-sm);
  transition: box-shadow var(--dur) var(--ease-spring), transform var(--dur) var(--ease-spring);
}
.site-header.is-scrolled .nav-pill { box-shadow: 0 0.75rem 2rem -0.75rem rgba(20,50,59,0.45), var(--shadow-sticker-sm); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 2.5rem; height: 2.5rem; flex: none; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.brand__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--tangerine-deep);
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-1);
}
.nav-links a {
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: background-color var(--dur) var(--ease-spring), border-color var(--dur) var(--ease-spring);
}
.nav-links a:hover { background: var(--paper-deep); }
.nav-links a[aria-current="page"] { border-color: var(--ink); background: var(--sun); }

.nav-cta { display: none; }

/* Hamburger — morphs to X */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  background: var(--sun);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  cursor: pointer;
}
.nav-toggle span {
  width: 1.125rem;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease-pop), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gutter);
  background: var(--teal);
  background-image: radial-gradient(circle at 85% 12%, rgba(255,201,60,0.18), transparent 42%),
                    radial-gradient(circle at 10% 90%, rgba(255,107,44,0.22), transparent 46%);
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-spring), visibility 0s linear var(--dur);
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}
.mobile-menu__links { display: grid; gap: var(--sp-2); }
.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3.25rem);
  color: var(--paper);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: var(--sp-4);
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.5s var(--ease-spring), transform 0.5s var(--ease-spring), color 0.3s ease;
}
.mobile-menu__links a:hover,
.mobile-menu__links a[aria-current="page"] { color: var(--sun); }
.mobile-menu__links a small {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--sky);
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu__foot {
  margin-top: var(--sp-7);
  display: grid;
  gap: var(--sp-2);
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
}
.mobile-menu__foot a { color: var(--sun); text-decoration: none; font-weight: 700; }
body.menu-open { overflow: hidden; }

/* ---- 7. Hero ------------------------------------------------------------ */
.hero {
  padding-top: clamp(7rem, 5rem + 8vw, 11rem);
  padding-bottom: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 45% at 78% 8%, rgba(155, 220, 232, 0.5), transparent 70%),
    var(--paper);
}
.hero__grid {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: var(--sp-5); }
.hero__copy h1 { margin-bottom: var(--sp-5); }
.hero__copy .lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  margin-bottom: var(--sp-6);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4) var(--sp-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.hero__proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--ink);
  letter-spacing: 0;
}
.hero__art { position: relative; }
.hero__art > img, .hero__art > svg { width: 100%; height: auto; }

/* Wavy "brae" divider between hero and next section */
.wave-divider { display: block; width: 100%; height: auto; margin-bottom: -2px; }

/* ---- 8. Ticker / marquee ------------------------------------------------- */
.ticker {
  background: var(--ink);
  border-block: var(--line) solid var(--ink);
  overflow: hidden;
  padding-block: 0.75rem;
  position: relative;
}
.ticker__track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker span {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-6);
}
.ticker span::after { content: "✦"; color: var(--sun); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* Hazard stripe band */
.hazard {
  height: 0.875rem;
  background: repeating-linear-gradient(-45deg, var(--sun) 0 1.25rem, var(--ink) 1.25rem 2.5rem);
  border-block: var(--line) solid var(--ink);
}

/* ---- 9. Cards ------------------------------------------------------------ */
.card {
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
  padding: var(--sp-5);
  transition: transform var(--dur) var(--ease-pop), box-shadow var(--dur) var(--ease-pop);
}
.card:hover { transform: translate(-3px, -3px) rotate(-0.4deg); box-shadow: 0.6rem 0.6rem 0 var(--ink); }

/* Skip size card */
.skip-card { display: flex; flex-direction: column; gap: var(--sp-4); }
.skip-card__art {
  background: var(--paper-deep);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: grid;
  place-items: center;
  min-height: 9.5rem;
}
.skip-card__art img, .skip-card__art svg { width: 100%; max-width: 15rem; height: auto; }
.skip-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3); }
.skip-card__yards {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tangerine-deep);
}
.skip-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
}
.skip-card__price small { font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.skip-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--sky);
}
.chip--sun { background: var(--sun); }
.chip--moss { background: var(--moss); }
.skip-card .btn { margin-top: auto; align-self: flex-start; }

/* Feature / step card */
.step-card { text-align: left; }
.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  background: var(--sun);
  border: var(--line) solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow-sticker-sm);
  margin-bottom: var(--sp-4);
}
.step-card h3 { margin-bottom: var(--sp-2); }
.step-card p { color: var(--ink-soft); font-size: var(--text-sm); }
.step-card__art { margin-bottom: var(--sp-4); }
.step-card__art img, .step-card__art svg { width: 100%; max-width: 11rem; height: auto; }

/* ---- 10. Grids ----------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--skips  { grid-template-columns: 1fr; }
.grid--steps  { grid-template-columns: 1fr; }
.grid--feats  { grid-template-columns: 1fr; }
.grid--half   { grid-template-columns: 1fr; gap: var(--sp-7); align-items: center; }

/* ---- 11. Dark band / stats ---------------------------------------------- */
.band {
  background: var(--teal);
  color: var(--paper);
  border-block: var(--line) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255,201,60,0.14), transparent 40%),
              radial-gradient(circle at 8% 85%, rgba(255,107,44,0.16), transparent 45%);
  pointer-events: none;
}
.band .eyebrow { background: var(--ink); color: var(--sun); border-color: var(--sun); box-shadow: 0.25rem 0.25rem 0 rgba(0,0,0,0.35); }
.band h2 { color: var(--white); }
.band .section-head p { color: var(--sky); }

.stat-grid { display: grid; gap: var(--sp-5); grid-template-columns: repeat(2, 1fr); }
.stat {
  border: 2px dashed rgba(255, 253, 248, 0.35);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-2xl);
  color: var(--sun);
  line-height: 1;
  margin-bottom: var(--sp-2);
}
.stat span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); }

/* ---- 12. Testimonials ---------------------------------------------------- */
.quote-card { position: relative; }
.quote-card::before {
  content: "“";
  position: absolute;
  top: -1.25rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--tangerine);
  text-shadow: 2px 2px 0 var(--ink);
}
.quote-card blockquote { font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--sp-4); }
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.quote-card figcaption svg { width: 2.5rem; height: 2.5rem; flex: none; }
.stars { color: var(--tangerine-deep); letter-spacing: 0.1em; font-size: var(--text-sm); }

/* ---- 13. Forms ----------------------------------------------------------- */
.field { display: grid; gap: var(--sp-2); }
.field label { font-weight: 700; font-size: var(--text-sm); }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-md);
  transition: box-shadow var(--dur) var(--ease-spring), transform var(--dur) var(--ease-spring);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: var(--shadow-sticker-sm);
  transform: translate(-2px, -2px);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%2314323B' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
}
.form-grid { display: grid; gap: var(--sp-4); }
.form-note { font-size: var(--text-xs); font-family: var(--font-mono); color: var(--ink-soft); }

/* ---- 14. FAQ accordion ---------------------------------------------------- */
.faq {
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sticker-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease-pop);
}
.faq + .faq { margin-top: var(--sp-4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.875rem;
  height: 1.875rem;
  font-family: var(--font-body);
  font-weight: 700;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  transition: transform var(--dur) var(--ease-pop), background-color var(--dur) ease;
}
.faq[open] summary::after { transform: rotate(45deg); background: var(--tangerine); }
.faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-soft); }

/* ---- 15. Checklists ------------------------------------------------------- */
.tick-list { display: grid; gap: var(--sp-3); }
.tick-list li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.tick-list .tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  margin-top: 0.125rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--moss);
  font-size: 0.75rem;
  font-weight: 700;
}
.tick-list .tick--no { background: var(--tangerine); }

/* ---- 16. Tables (scroll on mobile) ---------------------------------------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sticker);
}
.table-scroll table { width: 100%; min-width: 40rem; border-collapse: collapse; }
.table-scroll th, .table-scroll td {
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 2px solid var(--paper-deep);
  font-size: var(--text-sm);
  white-space: nowrap;
}
.table-scroll th {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: var(--sun);
  border-bottom: var(--line) solid var(--ink);
}
.table-scroll tbody th {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
  border-bottom: 2px solid var(--paper-deep);
}
.table-scroll tr:last-child td, .table-scroll tr:last-child th { border-bottom: none; }
.table-scroll tbody tr:nth-child(even) { background: var(--paper); }

/* ---- 17. CTA banner -------------------------------------------------------- */
.cta-banner {
  background: var(--tangerine);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker);
  padding: clamp(2rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0.625rem;
  border: 2px dashed rgba(20, 50, 59, 0.4);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  pointer-events: none;
}
.cta-banner h2 { margin-bottom: var(--sp-3); }
.cta-banner p { margin-inline: auto; margin-bottom: var(--sp-6); font-weight: 500; }
.cta-banner .btn { background: var(--ink); color: var(--paper); }
.cta-banner .btn .btn__icon { background: var(--sun); color: var(--ink); }
.cta-banner__phone {
  display: block;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink);
}
.cta-banner__phone a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---- 18. Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  margin-top: var(--section-pad);
  border-top: var(--line) solid var(--ink);
}
.site-footer__hazard {
  height: 0.875rem;
  background: repeating-linear-gradient(-45deg, var(--sun) 0 1.25rem, var(--ink) 1.25rem 2.5rem);
}
.site-footer__grid {
  display: grid;
  gap: var(--sp-6);
  padding-block: var(--sp-8) var(--sp-6);
}
.site-footer .brand__name { color: var(--paper); }
.site-footer .brand__name small { color: var(--sun); }
.site-footer__blurb { margin-top: var(--sp-4); color: var(--sky); font-size: var(--text-sm); max-width: 34ch; }
.site-footer h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--sun);
  margin-bottom: var(--sp-4);
}
.site-footer ul { display: grid; gap: var(--sp-2); }
.site-footer a { color: var(--paper); text-decoration: none; font-size: var(--text-sm); }
.site-footer a:hover { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }
.site-footer address { font-style: normal; font-size: var(--text-sm); line-height: 1.8; color: var(--sky); }
.site-footer__legal {
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  padding-block: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--sky);
}

/* ---- 19. Fleetlix widget slots ---------------------------------------------
   Empty mount points for Fleetlix client-side widgets. Invisible until a
   widget is injected; flip on debug outlines with body.fleetlix-debug
   (add ?fleetlix=debug to the URL — handled in js/main.js).
------------------------------------------------------------------------------ */
[data-fleetlix-slot] { min-height: 0; }
body.fleetlix-debug [data-fleetlix-slot] {
  min-height: 5rem;
  display: grid;
  place-items: center;
  border: 3px dashed var(--teal-bright);
  border-radius: var(--radius-md);
  background: rgba(27, 138, 143, 0.08);
  margin-block: var(--sp-5);
}
body.fleetlix-debug [data-fleetlix-slot]::before {
  content: "⚡ fleetlix slot: " attr(data-fleetlix-slot);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--teal-bright);
}

/* ---- 19b. Live booking widget stage (index.html) -----------------------------
   Frames the real Fleetlix embed: outer sticker shell, hazard ribbon,
   inner paper core, pulsing LIVE badge, and a CSS-only loading state
   that disappears the moment the widget mounts into #fleetlix-booking.
-------------------------------------------------------------------------------- */
.widget-stage {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
}
.widget-stage__badge {
  position: absolute;
  top: -0.875rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sticker-sm);
  transform: rotate(2deg);
}
.widget-stage__badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #D62E0A;
  animation: pulse 1.6s ease-in-out infinite;
}
.widget-stage__spark {
  position: absolute;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  pointer-events: none;
}
.widget-stage__spark--tl { top: -1.25rem; left: -0.625rem; color: var(--tangerine); }
.widget-stage__spark--br { bottom: -1rem; right: -0.5rem; color: var(--teal-bright); }

.widget-frame {
  background: var(--white);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sticker), var(--shadow-float);
  padding: var(--sp-2);
}
.widget-frame__stripe {
  height: 0.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--sun) 0 1rem, var(--ink) 1rem 2rem);
  margin-bottom: var(--sp-2);
}
.widget-frame__inner {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius-lg) - 0.5rem);
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
}
#fleetlix-booking { min-height: 20rem; }
#fleetlix-booking:empty {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: var(--sp-4);
}
#fleetlix-booking:empty::before {
  content: "";
  width: 3rem;
  height: 3rem;
  border: 4px dashed var(--tangerine);
  border-radius: 50%;
  animation: spin 7s linear infinite;
}
#fleetlix-booking:empty::after {
  content: "Waking up the booking desk…";
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--ink-soft);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 20. Scroll reveals ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(2.25rem);
  transition: opacity 0.8s var(--ease-spring), transform 0.8s var(--ease-spring);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Idle bobbing for mascots */
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-0.5rem) rotate(-1deg); }
}
.bob { animation: bob 4.5s ease-in-out infinite; transform-origin: 50% 100%; }

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(1.25rem); }
}
.drift { animation: drift 9s ease-in-out infinite; }

/* =============================================================================
   BREAKPOINT: xs ≥ 480px — large phones
   ============================================================================= */
@media (min-width: 480px) {
  .grid--steps { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================================
   BREAKPOINT: md ≥ 768px — tablets
   ============================================================================= */
@media (min-width: 768px) {
  .nav-links { display: inline-flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }

  .grid--skips { grid-template-columns: repeat(2, 1fr); }
  .grid--feats { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); }

  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .cta-banner { text-align: left; }
  .cta-banner p { margin-inline: 0; }
}

/* =============================================================================
   BREAKPOINT: lg ≥ 1024px — laptops / desktop
   ============================================================================= */
@media (min-width: 1024px) {
  .grid--skips { grid-template-columns: repeat(3, 1fr); }
  .grid--steps { grid-template-columns: repeat(4, 1fr); }
  .grid--feats { grid-template-columns: repeat(3, 1fr); }
  .grid--half { grid-template-columns: 1fr 1fr; }

  .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

/* =============================================================================
   BREAKPOINT: xl ≥ 1280px — wide desktop
   ============================================================================= */
@media (min-width: 1280px) {
  :root { --gutter: 2.5rem; }
}

/* ---- Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bob, .drift, .ticker__track,
  .widget-stage__badge::before,
  #fleetlix-booking:empty::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
