/* ===== Design tokens ===== */
:root {
  --ink: #101828;
  --ink-soft: #475066;
  --paper: #F6F7FA;
  --paper-raised: #FFFFFF;
  --line: #E2E5EC;

  --navy-950: #0D1424;
  --navy-900: #12192E;
  --navy-800: #1B2740;
  --navy-700: #263757;

  --amber: #E8871E;
  --amber-deep: #C2680E;
  --amber-tint: #FDE9D2;

  --teal: #1F7A63;
  --teal-tint: #DCF0E9;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  line-height: 1.1;
  margin: 0;
}
a { color: inherit; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 640px) {
  .container { padding-left: 18px; padding-right: 18px; }
}

/* ===== Focus & motion baseline ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ===== Route-line signature motif ===== */
.route-line {
  position: relative;
}
.route-line::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background-image: repeating-linear-gradient(to bottom, var(--amber) 0 10px, transparent 10px 20px);
  opacity: 0.55;
}
.route-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  border: 2px solid var(--amber);
}

/* ===== Top utility bar ===== */
.topbar {
  background: var(--navy-950);
  color: #C9D2E3;
  font-size: 13px;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--amber); }

/* ===== Nav ===== */
.nav {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-logo-link { display: inline-flex; align-items: center; margin-right: 16px; }
.nav-logo-img { height: 46px; width: auto; display: block; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: #fff;
}
.footer-logo span { color: var(--amber); }
.footer-logo-icon { height: 30px; width: auto; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}
.nav-link:hover { color: var(--navy-950); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-dark {
  background: var(--navy-950);
  color: #fff;
}
.btn-dark:hover { background: var(--navy-800); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-950);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy-950); }
.btn-whatsapp {
  background: var(--teal);
  color: #fff;
}
.btn-whatsapp:hover { background: #16604D; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(232,135,30,0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(100deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
  z-index: 1;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,22,0.82) 0%, rgba(6,10,22,0.68) 45%, rgba(6,10,22,0.88) 100%);
}
.hero .container.relative { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.hero p.lede { color: #C9D2E3; font-size: 18px; max-width: 46ch; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 420px;
  margin: 0;
}
.hero-stat { text-align: left; }
.hero-stat dt {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
}
.hero-stat dd {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: #97A2BC;
  white-space: nowrap;
}

/* ===== Booking card ===== */
.booking-card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(13,20,36,0.45);
  color: var(--ink);
  overflow: hidden;
}
.trip-tab {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  min-height: 40px;
}
.trip-tab[aria-selected="true"] {
  background: var(--navy-950);
  color: #fff;
  border-color: var(--navy-950);
}
.field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field input, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  min-height: 44px;
}
.field input:focus, .field select:focus {
  border-color: var(--amber);
  outline: none;
  background: #fff;
}

/* ===== Trust bar ===== */
.trust-bar {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }

/* ===== Section headings ===== */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-deep);
  font-weight: 700;
}
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.01em; }

/* ===== Service cards ===== */
.service-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(13,20,36,0.25);
  border-color: var(--navy-800);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy-950);
  color: var(--amber);
  display: flex; align-items: center; justify-content: center;
}

/* ===== Fleet cards ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.fleet-card {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -26px rgba(13,20,36,0.3);
}
.fleet-card-visual {
  height: 118px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%);
  color: rgba(255,255,255,0.92);
}
.fleet-card-visual.tone-car { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.fleet-card-visual.tone-van { background: linear-gradient(135deg, var(--teal), #14503F); }
.fleet-card-visual.tone-coach { background: linear-gradient(135deg, var(--amber-deep), #8A4A08); }
.fleet-card-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.fleet-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,20,36,0.55) 0%, rgba(13,20,36,0.08) 50%);
  z-index: 1;
}
.fleet-card-badge {
  position: absolute;
  top: 12px;
  left: 14px;
  background: var(--navy-950);
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(232,135,30,0.5);
  z-index: 2;
}
.fleet-card-body { padding: 18px 20px 20px; }
.fleet-card-name { font-weight: 700; font-size: 17px; color: var(--navy-950); }
.fleet-card-meta { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }
.fleet-card-fare {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 20px;
  color: var(--amber-deep);
}
.fleet-card-fare small { color: var(--ink-soft); font-weight: 500; font-size: 12px; }
.fleet-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.fleet-card-actions .btn { flex: 1; padding: 10px 12px; font-size: 13.5px; min-height: 40px; }

/* ===== Homepage fleet preview ===== */
.fleet-pillnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.fleet-pill {
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.fleet-pill:hover { color: var(--navy-950); }
.fleet-pill[aria-selected="true"] {
  background: linear-gradient(135deg, var(--teal), #2AA187);
  color: #fff;
}
.container-wide { max-width: 1260px; }
.home-fleet-slider { position: relative; display: flex; align-items: center; gap: 10px; }
.home-fleet-row {
  display: flex;
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0 auto;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.home-fleet-row::-webkit-scrollbar { display: none; }
.home-fleet-row.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.home-fleet-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--navy-950);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.home-fleet-arrow:hover { background: var(--navy-950); color: #fff; border-color: var(--navy-950); }
.home-fleet-arrow svg { width: 18px; height: 18px; }
.home-fleet-box {
  display: flex;
  flex-direction: column;
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.home-fleet-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -26px rgba(13,20,36,0.3);
}
.home-fleet-box-visual {
  width: 100%;
  height: 190px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-fleet-box-visual.tone-car { background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.home-fleet-box-visual.tone-van { background: linear-gradient(135deg, var(--teal), #14503F); }
.home-fleet-box-visual.tone-coach { background: linear-gradient(135deg, var(--amber-deep), #8A4A08); }
.home-fleet-box-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-fleet-box-body { padding: 18px 20px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.home-fleet-box-name { font-weight: 800; font-size: 17px; color: var(--navy-950); }
.home-fleet-box-desc { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.home-fleet-box-meta { font-size: 12px; font-weight: 700; color: var(--amber-deep); margin-top: 10px; }
.home-fleet-box-actions { display: flex; gap: 8px; margin-top: 14px; }
.home-fleet-box-actions .btn { padding: 9px 14px; font-size: 12.5px; min-height: 36px; }
@media (max-width: 640px) {
  .home-fleet-arrow { display: none; }
  .home-fleet-box { flex: 0 0 82vw; }
  .home-fleet-box-visual { height: 160px; }
}

/* ===== Routes ===== */
.route-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(13,20,36,0.25);
}
.route-card-link { display: block; color: inherit; text-decoration: none; }
.route-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.route-card-plain { border-top: 3px solid var(--teal); }
.route-card-plain .route-card-body { padding-top: 22px; }
.route-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--teal-tint);
  color: var(--teal);
  margin-bottom: 12px;
}
.route-icon-badge svg { width: 17px; height: 17px; }
.route-card-body { padding: 18px 20px 6px; }
.route-path {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.route-path .route-arrow { width: 15px; height: 15px; color: var(--amber); flex-shrink: 0; }
.route-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.route-meta-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-tint);
  color: var(--amber-deep);
  font-size: 12px;
  font-weight: 600;
}
.route-meta-pill svg { width: 12px; height: 12px; }
.route-note { font-size: 12px; margin-top: 8px; color: var(--ink-soft); }
.route-card-cta { display: flex; justify-content: flex-end; padding: 10px 20px 18px; }
.route-book-btn { padding: 8px 16px; font-size: 13px; min-height: 36px; gap: 6px; }
.route-book-btn svg { width: 14px; height: 14px; }

/* ===== City cards ===== */
.city-card {
  display: block;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.city-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(13,20,36,0.25);
}
.city-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.city-card-body { padding: 18px 20px 20px; }
.city-card-name { font-weight: 700; font-size: 17px; color: var(--navy-950); }
.city-card-tagline { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.city-card-cta { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--teal); }

/* ===== City page hero ===== */
.city-hero {
  position: relative;
  color: #fff;
  background-color: var(--navy-950);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.city-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,22,0.78) 0%, rgba(6,10,22,0.6) 55%, rgba(6,10,22,0.85) 100%);
}
.city-hero .container { position: relative; z-index: 1; }
.city-hero h1 { color: #fff; }
.city-hero p.lede { color: #C9D2E3; max-width: 60ch; }
.breadcrumb { font-size: 13px; color: #97A2BC; margin: 0 0 14px; }
.breadcrumb a { color: #C9D2E3; text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); text-decoration: underline; }

/* ===== State page hero + photo collage ===== */
.state-hero {
  background:
    radial-gradient(1100px 480px at 90% -10%, rgba(232,135,30,0.14), transparent 60%),
    linear-gradient(165deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.state-hero h1 { color: #fff; }
.state-hero p.lede { color: #C9D2E3; max-width: 52ch; }

.state-collage {
  display: grid;
  gap: 14px;
  height: 360px;
}
.state-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 44px -20px rgba(0,0,0,0.55);
  display: block;
}
.state-collage.collage-3 { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; }
.state-collage.collage-3 .tile-a { grid-row: 1 / 3; }
.state-collage.collage-3 .tile-b { grid-row: 1; }
.state-collage.collage-3 .tile-c { grid-row: 2; }
.state-collage.collage-2 { grid-template-columns: 1fr 1fr; }
.state-collage.collage-1 { grid-template-columns: 1fr; }
@media (max-width: 1023px) {
  .state-collage { height: 260px; margin-top: 8px; }
}

/* ===== Steps ===== */
.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  border: 1.5px solid var(--amber);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.stars { color: var(--amber); letter-spacing: 2px; }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(232,135,30,0.35), transparent 70%);
}
.cta-band h2 { color: #fff; }

/* ===== Footer ===== */
.footer { background: var(--navy-950); color: #97A2BC; }
.footer a { color: #C9D2E3; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer h4 { color: #fff; font-size: 15px; }

/* ===== Floating button ===== */
.floating-btn {
  position: fixed;
  bottom: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13,20,36,0.28);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(13,20,36,0.34);
}
.floating-btn svg { width: 28px; height: 28px; }
.floating-btn img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.floating-btn-right { right: 20px; }
.floating-btn-left { left: 20px; }
@media (max-width: 899px) {
  .floating-btn { bottom: 88px; }
}

/* ===== Sticky mobile call bar ===== */
.mobile-callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(13,20,36,0.12);
}
@media (min-width: 900px) {
  .mobile-callbar { display: none; }
}

/* ===== Reveal-on-scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Mobile nav */
.mobile-menu { display: none; }
.mobile-menu.open { display: block; }

/* =====================================================================
   Minimal hand-rolled utility layer (Tailwind-style class names).
   No CDN/build dependency — self-contained, works over file:// and
   under any CSP. Covers only the utility classes actually used above.
   ===================================================================== */
.container { }
.relative { position: relative; }
.hidden { display: none; }
.flex { display: flex; }
.grid { display: grid; }
[hidden] { display: none !important; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.rounded-lg { border-radius: var(--radius-sm); }
.rounded-none { border-radius: 0; }
.border-t { border-top: 1px solid var(--line); }

.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-2xl { font-size: 24px; }

.space-y-2 > * + * { margin-top: 8px; }

/* Gap scale (Tailwind's 0.25rem = 4px unit) */
.gap-1 { gap: 4px; }
.gap-1\.5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }
.gap-10 { gap: 40px; }
.gap-14 { gap: 56px; }

/* Margin-top scale */
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.mt-12 { margin-top: 48px; }
.mb-3 { margin-bottom: 12px; }

/* Padding scale */
.p-2 { padding: 8px; }
.p-5 { padding: 20px; }
.p-10 { padding: 40px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }
.py-8 { padding-top: 32px; padding-bottom: 32px; }
.py-16 { padding-top: 64px; padding-bottom: 64px; }
.py-20 { padding-top: 80px; padding-bottom: 80px; }
.pt-4 { padding-top: 16px; }
.pt-6 { padding-top: 24px; }
.pt-14 { padding-top: 56px; }
.pt-16 { padding-top: 64px; }
.pb-0 { padding-bottom: 0; }
.pb-24 { padding-bottom: 96px; }
.pb-28 { padding-bottom: 112px; }

.max-w-xs { max-width: 320px; }
.max-w-md { max-width: 448px; }
.max-w-xl { max-width: 576px; }
.max-w-3xl { max-width: 768px; }

/* ===== Legal / policy pages ===== */
.legal-content h2 { font-size: 1.3rem; font-weight: 800; margin-top: 2.2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); line-height: 1.7; }
.legal-content p { margin-top: 1em; }
.legal-content ul { margin-top: 1em; padding-left: 1.25em; }
.legal-content li { margin-top: 0.5em; }
.legal-content li::marker { color: var(--amber-deep); }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--teal); text-decoration: underline; }

/* ===== FAQ accordion ===== */
.faq-category { margin-top: 2.75em; }
.faq-category:first-child { margin-top: 0; }
.faq-category h2 { font-size: 1.25rem; font-weight: 800; color: var(--navy-950); margin: 0 0 1em; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper-raised);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber-deep);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p {
  margin: 0;
  padding: 14px 20px 18px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Responsive breakpoints (Tailwind defaults: sm 640, md 768, lg 1024) */
@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:mx-0 { margin-left: 0; margin-right: 0; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:p-14 { padding: 56px; }
  .md\:pb-16 { padding-bottom: 64px; }
  .md\:pb-32 { padding-bottom: 128px; }
  .md\:pt-20 { padding-top: 80px; }
  .md\:py-24 { padding-top: 96px; padding-bottom: 96px; }
  .md\:py-28 { padding-top: 112px; padding-bottom: 112px; }
  .md\:text-3xl { font-size: 30px; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
