/* ============================================================
   SwiftCart — main.css (BUNDLED, generated by scripts/build-css.sh)
   Do NOT edit directly. Edit the partials under css/{base,layout,components}/
   then re-run: bash scripts/build-css.sh
   Bundling avoids the render-blocking @import waterfall.
   ============================================================ */

/* ── base/tokens.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart Design Tokens
   Single source of truth for all visual primitives.
   Never hardcode values that exist here.
   ============================================================ */

:root {

  /* ----------------------------------------------------------
     TYPOGRAPHY
  ---------------------------------------------------------- */
  --font-display: "Clash Display", "Satoshi", system-ui, -apple-system, sans-serif;
  --font-sans:    "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;


  /* ----------------------------------------------------------
     BRAND — Core identity
  ---------------------------------------------------------- */
  --color-brand:        #E8391D;
  --color-brand-dark:   #C42E14;
  --color-brand-mid:    #FF5722;
  --color-brand-light:  #FF6B35;
  --color-brand-soft:   #FEF2F0;
  --color-brand-glow:   rgba(232, 57, 29, 0.32);
  --color-brand-glow-sm: rgba(232, 57, 29, 0.20);


  /* ----------------------------------------------------------
     GRADIENTS
  ---------------------------------------------------------- */
  --gradient-brand:          linear-gradient(135deg, #E8391D 0%, #FF5722 100%);
  --gradient-brand-vivid:    linear-gradient(135deg, #E8391D 0%, #FF6B35 55%, #FF8C42 100%);
  --gradient-brand-radial:   radial-gradient(ellipse at center, #FF5722 0%, #E8391D 100%);

  /* Dark hero backgrounds */
  --gradient-dark-hero:      linear-gradient(145deg, #0A0A0F 0%, #130808 55%, #0D0505 100%);
  --gradient-dark-section:   linear-gradient(180deg, #0F0F14 0%, #0A0A0F 100%);

  /* Ambient light bleed — the "orb" feel */
  --gradient-orb-hero:       radial-gradient(ellipse 70% 60% at 72% 40%, rgba(232,57,29,0.22) 0%, rgba(232,57,29,0.06) 50%, transparent 75%);
  --gradient-orb-secondary:  radial-gradient(ellipse 50% 50% at 20% 80%, rgba(255,87,34,0.12) 0%, transparent 65%);

  /* Card & surface gradients */
  --gradient-glass-border:   linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.04) 100%);
  --gradient-card-warm:      linear-gradient(135deg, #FFFFFF 0%, #FFF8F5 100%);
  --gradient-cta-band:       linear-gradient(135deg, #E8391D 0%, #FF5722 60%, #FF6B35 100%);


  /* ----------------------------------------------------------
     LIGHT SURFACE SYSTEM (white/light sections)
  ---------------------------------------------------------- */
  --color-page:           #F8F8F8;
  --color-surface:        #FFFFFF;
  --color-surface-warm:   #FFF8F5;
  --color-surface-2:      #F3F4F6;
  --color-surface-raised: #F5F6F8; /* Slightly elevated light surface (cards, toggles) */

  /* Light text & borders */
  --color-ink:          #0A0A0F;
  --color-ink-muted:    #4B5563;
  --color-ink-soft:     #9CA3AF;
  --color-ink-faint:    #C2C6CF; /* Very subtle — breadcrumbs, meta, labels */
  --color-line:         #E5E7EB;
  --color-line-soft:    #F0F1F3;


  /* ----------------------------------------------------------
     DARK SURFACE SYSTEM (dark sections & hero)
  ---------------------------------------------------------- */
  --color-dark:         #0A0A0F;
  --color-dark-2:       #111118;
  --color-dark-3:       #1A1A24;
  --color-dark-4:       #22222E;

  /* Dark text & borders */
  --color-dark-ink:     #FFFFFF;
  --color-dark-muted:   rgba(255, 255, 255, 0.62);
  --color-dark-soft:    rgba(255, 255, 255, 0.38);
  --color-dark-line:    rgba(255, 255, 255, 0.10);
  --color-dark-line-soft: rgba(255, 255, 255, 0.06);


  /* ----------------------------------------------------------
     GLASS SYSTEM
  ---------------------------------------------------------- */
  --glass-bg:           rgba(255, 255, 255, 0.06);
  --glass-bg-mid:       rgba(255, 255, 255, 0.10);
  --glass-bg-light:     rgba(255, 255, 255, 0.86);
  --glass-border:       rgba(255, 255, 255, 0.12);
  --glass-border-strong: rgba(255, 255, 255, 0.20);
  --glass-blur:         blur(22px);
  --glass-blur-heavy:   blur(36px);


  /* ----------------------------------------------------------
     SEMANTIC COLORS
  ---------------------------------------------------------- */
  --color-success:      #10B981;
  --color-success-soft: rgba(16, 185, 129, 0.12);
  --color-warning:      #F59E0B;
  --color-warning-soft: rgba(245, 158, 11, 0.12);
  --color-danger:       #EF4444;
  --color-danger-soft:  rgba(239, 68, 68, 0.12);
  --color-info:         #3B82F6;
  --color-info-soft:    rgba(59, 130, 246, 0.12);


  /* ----------------------------------------------------------
     SHADOWS
  ---------------------------------------------------------- */
  /* Light section shadows */
  --shadow-xs:      0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-sm:      0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-card:    0 12px 36px rgba(15, 23, 42, 0.10);
  --shadow-soft:    0 20px 60px rgba(15, 23, 42, 0.10);
  --shadow-header:  0 8px 30px rgba(15, 23, 42, 0.10);

  /* Brand glow shadows */
  --shadow-brand:    0 14px 40px rgba(232, 57, 29, 0.32);
  --shadow-brand-sm: 0 6px 20px rgba(232, 57, 29, 0.24);
  --shadow-brand-lg: 0 24px 64px rgba(232, 57, 29, 0.36);

  /* Dark/glass shadows */
  --shadow-dark:    0 24px 60px rgba(0, 0, 0, 0.44);
  --shadow-glass:   0 8px 32px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --shadow-glass-lg: 0 20px 60px rgba(0, 0, 0, 0.40), inset 0 1px 0 rgba(255, 255, 255, 0.14);


  /* ----------------------------------------------------------
     BORDER RADIUS
  ---------------------------------------------------------- */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   22px;
  --radius-xl:   30px;
  --radius-2xl:  40px;
  --radius-full: 999px;


  /* ----------------------------------------------------------
     SPACING — 4px base scale
  ---------------------------------------------------------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-18: 72px;
  --space-20: 80px;
  --space-24: 96px;
  --space-28: 112px;
  --space-32: 128px;


  /* ----------------------------------------------------------
     CONTAINERS
  ---------------------------------------------------------- */
  --container-narrow:  760px;
  --container-default: 1120px;
  --container-wide:    1280px;
  --container-padding: 24px;


  /* ----------------------------------------------------------
     MOTION
  ---------------------------------------------------------- */
  --duration-instant: 80ms;
  --duration-fast:    150ms;
  --duration-base:    240ms;
  --duration-slow:    480ms;
  --duration-xslow:   720ms;

  --ease-standard:  cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-smooth:    cubic-bezier(0.4, 0, 0.2, 1);


  /* ----------------------------------------------------------
     Z-INDEX SCALE
  ---------------------------------------------------------- */
  --z-base:    1;
  --z-above:   10;
  --z-nav:     40;
  --z-header:  50;
  --z-modal:   60;
  --z-toast:   70;
  --z-skip:    100;
}

/* ── base/reset.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — CSS Reset
   Modern, opinionated reset for consistent baseline.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  background: var(--color-page);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

/* Media */
img,
svg,
picture,
video,
canvas,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Form elements inherit font */
button,
input,
textarea,
select,
optgroup {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  line-height: 1;
}

/* Remove list styling when used as nav */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Typography flow */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  hyphens: auto;
}

p {
  overflow-wrap: break-word;
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Remove default fieldset styles */
fieldset {
  border: none;
}

/* Hidden */
[hidden] {
  display: none !important;
}

/* Textarea no horizontal resize */
textarea {
  resize: vertical;
}

/* ============================================================
   Reduced Motion — disable all animation for accessibility
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── base/typography.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Typography System
   Clash Display for headings, Satoshi for body.
   Mobile-first scale. No vw units, no clamp trickery.
   ============================================================ */

/* ----------------------------------------------------------
   DISPLAY — Hero statements only
---------------------------------------------------------- */
.text-display {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.00;
  letter-spacing: -0.5px;
}

/* ----------------------------------------------------------
   HEADINGS
---------------------------------------------------------- */
h1,
.text-h1 {
  font-family: var(--font-display);
  margin-bottom: var(--space-5);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.3px;
}

h2,
.text-h2 {
  font-family: var(--font-display);
  margin-bottom: var(--space-4);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.10;
  letter-spacing: -0.2px;
}

h3,
.text-h3 {
  font-family: var(--font-display);
  margin-bottom: var(--space-3);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.22;
}

h4,
.text-h4 {
  margin-bottom: var(--space-2);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

h5,
.text-h5 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

/* ----------------------------------------------------------
   BODY TEXT
---------------------------------------------------------- */
.text-body-xl {
  font-size: 20px;
  line-height: 1.65;
  font-weight: 400;
}

.text-body-lg {
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.text-body {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
}

.text-small {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
}

.text-xs {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

/* ----------------------------------------------------------
   LABELS & UTILITY TEXT
---------------------------------------------------------- */

/* Section eyebrow label */
.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-brand);
}

/* Dark section overrides the eyebrow colour */
.section--dark .eyebrow,
.section--hero .eyebrow {
  color: var(--color-brand-light);
}

/* Muted text helpers */
.text-muted        { color: var(--color-ink-muted); }
.text-soft         { color: var(--color-ink-soft); }
.text-dark-muted   { color: var(--color-dark-muted); }
.text-dark-soft    { color: var(--color-dark-soft); }
.text-brand        { color: var(--color-brand); }
.text-success      { color: var(--color-success); }

/* ----------------------------------------------------------
   PROSE — Rich content block for legal, support, and article pages.
   Scope: applied to a single wrapper element, e.g. <article class="prose">.
   All children are styled contextually — no need to add classes inside.
---------------------------------------------------------- */

.prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-ink-muted);
  max-width: 72ch;
}

/* Headings within prose */
.prose h1 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  margin-top: var(--space-12);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.prose h1:first-child { margin-top: 0; }

.prose h2 {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--color-ink);
  margin-bottom: var(--space-4);
  margin-top: var(--space-10);
  line-height: 1.15;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}

.prose h3 {
  font-size: 19px;
  color: var(--color-ink);
  margin-bottom: var(--space-3);
  margin-top: var(--space-8);
  line-height: 1.25;
}

.prose h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  margin-top: var(--space-6);
}

/* Body text */
.prose p {
  margin-bottom: var(--space-5);
}

.prose p:last-child { margin-bottom: 0; }

/* Inline elements */
.prose strong {
  font-weight: 800;
  color: var(--color-ink);
}

.prose em {
  font-style: italic;
  color: var(--color-ink);
}

.prose code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.875em;
  background: var(--color-page);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
  color: var(--color-brand);
}

/* Links within prose */
.prose a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(232, 57, 29, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--duration-fast) var(--ease-standard);
}

.prose a:hover {
  text-decoration-color: var(--color-brand);
}

/* Lists */
.prose ul,
.prose ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-5);
  display: grid;
  gap: var(--space-2);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  line-height: 1.7;
  padding-left: var(--space-1);
}

.prose li::marker {
  color: var(--color-brand);
  font-weight: 700;
}

/* Nested list */
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul {
  margin-top: var(--space-2);
  margin-bottom: 0;
}

/* Blockquote */
.prose blockquote {
  border-left: 4px solid var(--color-brand);
  background: var(--color-brand-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  color: var(--color-ink-muted);
  font-style: italic;
}

.prose blockquote p { margin-bottom: 0; }

/* Horizontal rule */
.prose hr {
  border: none;
  border-top: 1px solid var(--color-line);
  margin: var(--space-10) 0;
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-bottom: var(--space-6);
  display: block;
  overflow-x: auto;
}

.prose th,
.prose td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  line-height: 1.5;
}

.prose th {
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-page);
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.prose td { color: var(--color-ink-muted); }

.prose tr:last-child td { border-bottom: none; }


/* ----------------------------------------------------------
   PROSE DARK — Same scoped system for dark section content
---------------------------------------------------------- */
.prose--dark {
  color: var(--color-dark-muted);
}

.prose--dark h1,
.prose--dark h2,
.prose--dark h3,
.prose--dark h4,
.prose--dark strong,
.prose--dark em {
  color: var(--color-dark-ink);
}

.prose--dark a {
  color: var(--color-brand-light);
  text-decoration-color: rgba(255, 107, 53, 0.35);
}

.prose--dark a:hover {
  text-decoration-color: var(--color-brand-light);
}

.prose--dark code {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-brand-light);
}

.prose--dark blockquote {
  border-color: var(--color-brand-light);
  background: rgba(232, 57, 29, 0.10);
  color: var(--color-dark-muted);
}

.prose--dark hr { border-color: var(--color-dark-line); }

.prose--dark th {
  background: var(--color-dark-3);
  color: var(--color-dark-ink);
  border-color: var(--color-dark-line);
}

.prose--dark td { color: var(--color-dark-muted); border-color: var(--color-dark-line); }


/* ----------------------------------------------------------
   RESPONSIVE SCALE — Mobile-first breakpoints
---------------------------------------------------------- */

/* Tablet and below */
@media (max-width: 1024px) {
  .text-display {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .text-display {
    font-size: 44px;
  }

  h1,
  .text-h1 {
    font-size: 40px;
    letter-spacing: -0.2px;
  }

  h2,
  .text-h2 {
    font-size: 32px;
  }

  h3,
  .text-h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .text-display {
    font-size: 36px;
    line-height: 1.04;
    letter-spacing: -0.2px;
  }

  h1,
  .text-h1 {
    font-size: 34px;
  }

  h2,
  .text-h2 {
    font-size: 28px;
  }
}

/* ── base/animations.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Keyframe Animations
   Purposeful motion only. Every animation here earns its place.
   All animations respect prefers-reduced-motion via reset.css.
   ============================================================ */


/* ----------------------------------------------------------
   AMBIENT — Background orb / atmosphere effects
---------------------------------------------------------- */
@keyframes orb-drift {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  30%  { transform: translate(18px, -22px) scale(1.05); opacity: 0.88; }
  65%  { transform: translate(-14px, 16px) scale(0.96); opacity: 0.94; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

@keyframes orb-pulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

@keyframes gradient-flow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ----------------------------------------------------------
   ENTRANCE — Section and element reveals
---------------------------------------------------------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ----------------------------------------------------------
   MICRO — UI feedback and loading
---------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--color-brand-glow); }
  50%       { box-shadow: 0 0 0 8px rgba(232, 57, 29, 0); }
}

@keyframes pulse-success {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

@keyframes shimmer {
  from { background-position: -600px 0; }
  to   { background-position: 600px 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes progress-fill {
  from { width: 0%; }
  to   { width: 68%; }
}


/* ----------------------------------------------------------
   STAGGER DELAYS — Applied via utility classes
   Use [data-delay="1"] through [data-delay="6"] on .reveal elements.
   Uses a natural ease-in curve so items earlier in the sequence
   feel slightly faster, creating a cascading rhythm rather than
   robotic equal-interval timing.
---------------------------------------------------------- */
[data-delay="1"] { transition-delay:  80ms; }
[data-delay="2"] { transition-delay: 160ms; }
[data-delay="3"] { transition-delay: 240ms; }
[data-delay="4"] { transition-delay: 330ms; }
[data-delay="5"] { transition-delay: 430ms; }
[data-delay="6"] { transition-delay: 540ms; }


/* ----------------------------------------------------------
   ANIMATION UTILITY CLASSES
   Apply directly to elements for simple, one-shot animations.
   For scroll-triggered, use .reveal + IntersectionObserver.
---------------------------------------------------------- */
.anim-float {
  animation: float 4s var(--ease-smooth) infinite;
}

.anim-orb {
  animation: orb-drift 12s var(--ease-smooth) infinite;
}

.anim-pulse-dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.anim-pulse-success {
  animation: pulse-success 2.4s ease-in-out infinite;
}

.anim-spin {
  animation: spin 1.2s linear infinite;
}

/* ── layout/grid.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Grid & Container System
   Three container widths, CSS grid helpers.
   Always mobile-first.
   ============================================================ */


/* ----------------------------------------------------------
   CONTAINERS
---------------------------------------------------------- */
.container,
.container--wide,
.container--narrow {
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.container {
  max-width: var(--container-default);
  width: 100%;
}

.container--wide {
  max-width: var(--container-wide);
  width: 100%;
}

.container--narrow {
  max-width: var(--container-narrow);
  width: 100%;
}


/* ----------------------------------------------------------
   BASE GRID
---------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

/* Asymmetric split — content + visual */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split-grid--wide-left {
  grid-template-columns: 1.1fr 0.9fr;
}

.split-grid--wide-right {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Auto-fill card grids */
.auto-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Flex row utility */
.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.cluster--center {
  justify-content: center;
}

/* Stack utility */
.stack {
  display: grid;
  gap: var(--space-4);
}

.stack--sm { gap: var(--space-3); }
.stack--lg { gap: var(--space-6); }


/* ----------------------------------------------------------
   RESPONSIVE BREAKPOINTS
---------------------------------------------------------- */

@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid,
  .split-grid--wide-left,
  .split-grid--wide-right {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
}

@media (max-width: 768px) {
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .container,
  .container--wide,
  .container--narrow {
    padding-inline: 20px;
  }
}

@media (max-width: 640px) {
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

/* ── layout/header.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Site Header
   Two modes:
   1. Transparent over dark hero (default on dark-hero pages)
   2. Solid white with shadow on light pages / after scroll

   Add data-header-dark to <header> on dark-hero pages.
   JS adds .is-scrolled after 10px scroll.
   ============================================================ */


/* ----------------------------------------------------------
   BASE HEADER
---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  transition:
    background-color var(--duration-base) var(--ease-standard),
    border-color     var(--duration-base) var(--ease-standard),
    box-shadow       var(--duration-base) var(--ease-standard);
}

/* Light-page default: white, subtle border */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: var(--shadow-header);
}

/* Dark-hero page: transparent, white text, no border */
.site-header[data-header-dark] {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header[data-header-dark].is-scrolled {
  background: #0D0D14; /* fully opaque — white text needs a reliably dark backdrop */
  border-color: var(--color-dark-line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.36);
}


/* ----------------------------------------------------------
   NAV SHELL — Inner row
---------------------------------------------------------- */
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: var(--space-6);
}


/* ----------------------------------------------------------
   BRAND LOCKUP
---------------------------------------------------------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand-sm);
  flex-shrink: 0;
}

.brand-mark svg,
.brand-mark img {
  width: 22px;
  height: 22px;
}

/* Brand wordmark letter fallback */
.brand-mark-letter {
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  transition: color var(--duration-fast) var(--ease-standard);
}

/* Light-mode: explicit dark brand name */
.site-header:not([data-header-dark]) .brand-name {
  color: var(--color-ink);
}

/* Dark header overrides */
.site-header[data-header-dark] .brand-name {
  color: var(--color-dark-ink);
}

.site-header[data-header-dark].is-scrolled .brand-name {
  color: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   DESKTOP NAV
---------------------------------------------------------- */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink-muted);
  transition: color var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
}

/* Light-mode: solid dark text — no ambiguity */
.site-header:not([data-header-dark]) .desktop-nav a {
  color: var(--color-ink);
}

.site-header:not([data-header-dark]) .desktop-nav a:hover,
.site-header:not([data-header-dark]) .desktop-nav a[aria-current="page"] {
  color: var(--color-brand);
}

/* Generic hover (fallback) */
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--color-ink);
}

/* Dark header overrides */
.site-header[data-header-dark] .desktop-nav a {
  color: var(--color-dark-muted);
}

.site-header[data-header-dark] .desktop-nav a:hover,
.site-header[data-header-dark] .desktop-nav a[aria-current="page"] {
  color: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   NAV ACTIONS (right side)
---------------------------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.nav-link {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink-muted);
  transition: color var(--duration-fast) var(--ease-standard);
  white-space: nowrap;
}

/* Light-mode: solid dark text */
.site-header:not([data-header-dark]) .nav-link {
  color: var(--color-ink);
}

.nav-link:hover {
  color: var(--color-ink);
}

.site-header:not([data-header-dark]) .nav-link:hover {
  color: var(--color-brand);
}

.site-header[data-header-dark] .nav-link {
  color: var(--color-dark-muted);
}

.site-header[data-header-dark] .nav-link:hover {
  color: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   MOBILE MENU BUTTON
---------------------------------------------------------- */
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-line);
  background: var(--color-surface);
  flex-shrink: 0;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    background   var(--duration-fast) var(--ease-standard);
}

.menu-button:hover {
  border-color: var(--color-brand);
}

/* Hamburger lines */
.menu-button .bar {
  position: absolute;
  width: 18px;
  height: 1.5px;
  border-radius: var(--radius-full);
  background: var(--color-ink);
  transition: transform var(--duration-base) var(--ease-spring);
}

.menu-button .bar:first-child { transform: translateY(-5px); }
.menu-button .bar:last-child  { transform: translateY(5px); }

.menu-button[aria-expanded="true"] .bar:first-child { transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .bar:last-child  { transform: rotate(-45deg); }

/* Light-mode hamburger: dark bars on white background */
.site-header:not([data-header-dark]) .menu-button {
  border-color: var(--color-line);
  background: var(--color-surface);
}

.site-header:not([data-header-dark]) .menu-button .bar {
  background: var(--color-ink);
}

/* Dark header variant */
.site-header[data-header-dark] .menu-button {
  border-color: var(--color-dark-line);
  background: var(--glass-bg);
}

.site-header[data-header-dark] .menu-button .bar {
  background: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   MOBILE MENU DROPDOWN
---------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: 82px;
  left: var(--space-5);
  right: var(--space-5);
  z-index: var(--z-nav);
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);

  /* Entry animation state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top center;
  transition:
    opacity   var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.mobile-menu a {
  display: block;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  color: var(--color-ink);
  transition:
    background var(--duration-fast) var(--ease-standard),
    color      var(--duration-fast) var(--ease-standard);
}

.mobile-menu a:not(.button):hover,
.mobile-menu a[aria-current="page"] {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}

.mobile-menu .button {
  margin-top: var(--space-2);
  width: 100%;
}

.mobile-menu-divider {
  height: 1px;
  background: var(--color-line);
  margin: var(--space-2) 0;
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 960px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 18px;
  }

  .mobile-menu {
    left: var(--space-4);
    right: var(--space-4);
  }
}

/* ── layout/footer.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Site Footer
   Dark background. Premium structured layout.
   "SwiftCart is a product of Koyr ❤️" in footer bottom.
   ============================================================ */


/* ----------------------------------------------------------
   FOOTER SHELL
---------------------------------------------------------- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-dark-ink);
  padding-top: var(--space-20);
}


/* ----------------------------------------------------------
   FOOTER GRID — Brand wide + 4 link columns
---------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: var(--space-8);
  padding-bottom: var(--space-16);
}

/* Brand column */
.footer-brand .brand-name {
  color: var(--color-dark-ink);
}

.footer-brand .brand-mark {
  background: var(--gradient-brand);
  box-shadow: var(--shadow-brand-sm);
}

.footer-tagline {
  margin-top: var(--space-5);
  color: var(--color-dark-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

/* Location badge */
.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-4);
  padding: 8px 14px;
  border: 1px solid var(--color-dark-line);
  border-radius: var(--radius-full);
  background: var(--glass-bg);
  color: var(--color-dark-muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-success 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* App store badges area */
.footer-app-links {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.footer-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--color-dark-line);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  color: var(--color-dark-muted);
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    color        var(--duration-fast) var(--ease-standard),
    background   var(--duration-fast) var(--ease-standard);
}

.footer-app-badge:hover {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-mid);
  color: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   FOOTER LINK COLUMNS
---------------------------------------------------------- */
.footer-col h2 {
  margin-bottom: var(--space-4);
  color: var(--color-dark-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: var(--color-dark-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer-col a:hover {
  color: var(--color-dark-ink);
}

.footer-col a:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   FOOTER BOTTOM BAR
---------------------------------------------------------- */
.footer-bottom {
  border-top: 1px solid var(--color-dark-line);
  padding: var(--space-6) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--color-dark-soft);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.footer-bottom a:hover {
  color: var(--color-dark-muted);
}

/* Koyr credit */
.footer-koyr {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--color-dark-soft);
  font-size: 13px;
  font-weight: 600;
}

.footer-koyr .heart {
  color: var(--color-brand);
  font-size: 14px;
}



/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-tagline {
    max-width: 480px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* ── layout/sections.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Section System
   Consistent vertical rhythm across all pages.
   Light sections, dark sections, and warm sections.
   ============================================================ */


/* ----------------------------------------------------------
   BASE SECTION
---------------------------------------------------------- */
.section {
  position: relative;
  padding-block: var(--space-24);
  overflow: hidden;
}

.section--compact {
  padding-block: var(--space-16);
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-bottom {
  padding-bottom: 0;
}


/* ----------------------------------------------------------
   SURFACE VARIANTS
---------------------------------------------------------- */

/* White section */
.section--surface {
  background: var(--color-surface);
}

/* Warm tinted section */
.section--warm {
  background: var(--color-surface-warm);
}

/* Subtle gray section */
.section--muted {
  background: var(--color-page);
}

/* Dark section */
.section--dark {
  background: var(--color-dark);
  color: var(--color-dark-ink);
}

.section--dark-2 {
  background: var(--color-dark-2);
  color: var(--color-dark-ink);
}

/* Dark gradient section */
.section--dark-gradient {
  background: var(--gradient-dark-section);
  color: var(--color-dark-ink);
}

/* Hero — fullbleed dark with orb ambient light */
.section--hero {
  background: var(--gradient-dark-hero);
  color: var(--color-dark-ink);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

/* Hero orb decorations — positioned absolutely */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-orb--primary {
  width: 700px;
  height: 700px;
  top: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(232, 57, 29, 0.20) 0%, transparent 70%);
  animation: orb-drift 16s ease-in-out infinite;
}

.hero-orb--secondary {
  width: 500px;
  height: 500px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.10) 0%, transparent 70%);
  animation: orb-drift 20s ease-in-out infinite reverse;
  animation-delay: -4s;
}


/* ----------------------------------------------------------
   SECTION HEADING — Centered or left-aligned
---------------------------------------------------------- */
.section-heading {
  max-width: 680px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.section-heading--left {
  margin-inline-start: 0;
  margin-inline-end: auto;
  text-align: left;
}

.section-heading--wide {
  max-width: 840px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-ink-muted);
  font-size: 18px;
}

/* Dark section heading overrides */
.section--dark .section-heading p,
.section--dark-gradient .section-heading p,
.section--hero .section-heading p {
  color: var(--color-dark-muted);
}


/* ----------------------------------------------------------
   DIVIDERS
---------------------------------------------------------- */
.section-divider {
  height: 1px;
  background: var(--color-line);
}

.section-divider--dark {
  background: var(--color-dark-line);
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 768px) {
  .section {
    padding-block: var(--space-16);
  }

  .section--compact {
    padding-block: var(--space-12);
  }

  .section-heading {
    margin-bottom: var(--space-10);
  }

  .section-heading p {
    font-size: 16px;
  }

  .hero-orb--primary {
    width: 420px;
    height: 420px;
    top: -100px;
    right: -120px;
  }

  .hero-orb--secondary {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .section {
    padding-block: var(--space-14);
  }

  .section--compact {
    padding-block: var(--space-10);
  }
}

/* ── components/buttons.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Button System
   Gradient primary, solid secondary, ghost, and outline variants.
   All transitions are smooth. Hover lifts slightly.
   ============================================================ */


/* ----------------------------------------------------------
   BASE BUTTON
---------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background    var(--duration-fast) var(--ease-standard),
    border-color  var(--duration-fast) var(--ease-standard),
    color         var(--duration-fast) var(--ease-standard),
    box-shadow    var(--duration-fast) var(--ease-standard),
    transform     var(--duration-fast) var(--ease-spring);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0px);
}

.button:focus-visible {
  outline: 3px solid var(--color-brand-glow);
  outline-offset: 3px;
}


/* ----------------------------------------------------------
   PRIMARY — Gradient red (the main CTA)
---------------------------------------------------------- */
.button--primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-brand-sm);
  border-color: transparent;
}

.button--primary:hover {
  background: var(--gradient-brand-vivid);
  box-shadow: var(--shadow-brand);
}

.button--primary:active {
  box-shadow: var(--shadow-brand-sm);
}


/* ----------------------------------------------------------
   SECONDARY — White with border (light sections)
---------------------------------------------------------- */
.button--secondary {
  background: var(--color-surface);
  border-color: var(--color-line);
  color: var(--color-ink);
  box-shadow: var(--shadow-xs);
}

.button--secondary:hover {
  border-color: rgba(10, 10, 15, 0.22);
  box-shadow: var(--shadow-card);
}


/* ----------------------------------------------------------
   GHOST — Text-only, soft hover (light sections)
---------------------------------------------------------- */
.button--ghost {
  color: var(--color-ink-muted);
  border-color: transparent;
}

.button--ghost:hover {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}


/* ----------------------------------------------------------
   OUTLINE DARK — Transparent with border (dark sections)
---------------------------------------------------------- */
.button--outline-dark {
  border-color: var(--glass-border);
  color: var(--color-dark-ink);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.button--outline-dark:hover {
  border-color: var(--glass-border-strong);
  background: var(--glass-bg-mid);
  box-shadow: var(--shadow-glass);
}


/* ----------------------------------------------------------
   GLASS — Frosted (dark sections only)
---------------------------------------------------------- */
.button--glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-dark-ink);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.button--glass:hover {
  background: var(--glass-bg-mid);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glass);
}


/* ----------------------------------------------------------
   LIGHT — White button (on dark/gradient backgrounds)
---------------------------------------------------------- */
.button--light {
  background: var(--color-surface);
  color: var(--color-brand-dark);
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.button--light:hover {
  background: var(--color-surface);
  box-shadow: var(--shadow-dark);
  color: var(--color-brand);
}


/* ----------------------------------------------------------
   SIZES
---------------------------------------------------------- */
.button--sm {
  min-height: 42px;
  padding: 11px 20px;
  font-size: 14px;
}

.button--lg {
  min-height: 58px;
  padding: 18px 36px;
  font-size: 16px;
}

.button--icon {
  width: 50px;
  min-height: 50px;
  padding: 0;
}

.button--icon.button--sm {
  width: 42px;
  min-height: 42px;
}


/* ----------------------------------------------------------
   FULL WIDTH
---------------------------------------------------------- */
.button--full {
  width: 100%;
}


/* ----------------------------------------------------------
   BUTTON GROUP
---------------------------------------------------------- */
.button-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.button-group--center {
  justify-content: center;
}

.button-group--stack {
  flex-direction: column;
  align-items: stretch;
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 480px) {
  .button-group:not(.button-group--inline) {
    flex-direction: column;
    align-items: stretch;
  }

  .button-group:not(.button-group--inline) .button {
    width: 100%;
    justify-content: center;
  }
}

/* ── components/cards.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Card System
   Standard cards (light sections), glass cards (dark sections),
   role cards, process cards, trust cards, stat cards.
   ============================================================ */


/* ----------------------------------------------------------
   BASE CARD — Light sections
---------------------------------------------------------- */
.card {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: var(--space-6);
}

.card--warm {
  background: var(--gradient-card-warm);
  border-color: rgba(232, 57, 29, 0.08);
}

.card--muted {
  background: var(--color-page);
  border-color: var(--color-line-soft);
}


/* ----------------------------------------------------------
   INTERACTIVE CARD — Hover lift
---------------------------------------------------------- */
.card--interactive {
  transition:
    transform    var(--duration-base) var(--ease-spring),
    box-shadow   var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard);
  cursor: default;
}

.card--interactive:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(232, 57, 29, 0.18);
}


/* ----------------------------------------------------------
   GLASS CARD — Dark sections only
---------------------------------------------------------- */
.card--glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
  color: var(--color-dark-ink);
}

.card--glass-interactive {
  transition:
    transform    var(--duration-base) var(--ease-spring),
    background   var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard),
    box-shadow   var(--duration-base) var(--ease-standard);
}

.card--glass-interactive:hover {
  transform: translateY(-5px);
  background: var(--glass-bg-mid);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glass-lg);
}

/* Glass card text helpers */
.card--glass p {
  color: var(--color-dark-muted);
}

.card--glass h3,
.card--glass h4 {
  color: var(--color-dark-ink);
}


/* ----------------------------------------------------------
   ICON CARD — Card with a leading icon or number
---------------------------------------------------------- */
.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 20px;
  margin-bottom: var(--space-5);
  flex-shrink: 0;
}

.card-icon--dark {
  background: var(--glass-bg-mid);
  color: var(--color-dark-ink);
  border: 1px solid var(--glass-border);
}

.card-icon--success {
  background: var(--color-success-soft);
  color: var(--color-success);
}

/* Number badge variant */
.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: var(--space-5);
}

.card-number--dark {
  background: var(--glass-bg-mid);
  color: var(--color-dark-muted);
  border: 1px solid var(--glass-border);
}


/* ----------------------------------------------------------
   BADGE SYSTEM
---------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-ink-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.badge--brand {
  background: var(--color-brand-soft);
  border-color: rgba(232, 57, 29, 0.14);
  color: var(--color-brand);
}

.badge--success {
  background: var(--color-success-soft);
  border-color: rgba(16, 185, 129, 0.20);
  color: var(--color-success);
}

.badge--warning {
  background: var(--color-warning-soft);
  border-color: rgba(245, 158, 11, 0.20);
  color: var(--color-warning);
}

.badge--info {
  background: var(--color-info-soft);
  border-color: rgba(59, 130, 246, 0.20);
  color: var(--color-info);
}

/* Dark section badge */
.badge--dark {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-dark-muted);
}

.badge--dark-brand {
  background: rgba(232, 57, 29, 0.14);
  border-color: rgba(232, 57, 29, 0.24);
  color: var(--color-brand-light);
}

/* Dot indicator within badges */
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.badge-dot--pulse {
  animation: pulse-dot 2.4s ease-in-out infinite;
}


/* ----------------------------------------------------------
   STAT CARD — Key metrics
---------------------------------------------------------- */
.stat-card {
  padding: var(--space-6);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* Dark section stat */
.section--dark .stat-value,
.section--dark-gradient .stat-value {
  color: var(--color-dark-ink);
}

.section--dark .stat-label,
.section--dark-gradient .stat-label {
  color: var(--color-dark-muted);
}


/* ----------------------------------------------------------
   CHECKLIST — Used in feature sections
---------------------------------------------------------- */
.check-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  margin: var(--space-5) 0 var(--space-8);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--color-ink-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* Checkmark tick */
.check-list li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-success-soft);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--color-success);
  border-bottom: 2px solid var(--color-success);
  transform: rotate(-45deg);
}

/* Dark section checklist */
.section--dark .check-list li,
.section--dark-gradient .check-list li {
  color: var(--color-dark-muted);
}

.section--dark .check-list li::before {
  background: rgba(16, 185, 129, 0.16);
}

/* ── components/banners.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Banners, Feature Bands, CTA Bands
   Full-width content blocks and sectioned feature layouts.
   ============================================================ */


/* ----------------------------------------------------------
   FEATURE BAND — Split content + visual block
---------------------------------------------------------- */
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-2xl);
  background: var(--color-surface);
  overflow: hidden;
  padding: var(--space-12);
}

.feature-band--warm {
  background: var(--gradient-card-warm);
  border-color: rgba(232, 57, 29, 0.08);
}

/* Glass feature band for dark sections */
.feature-band--glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* Visual slot inside a .feature-band — named .band-visual to avoid
   collision with page-level .feature-panel layout grids in home.css */
.band-visual {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.band-visual--grid-bg {
  background:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px),
    var(--color-page);
  background-size: 36px 36px;
}

.band-visual--grid-bg-dark {
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    var(--color-dark-2);
  background-size: 36px 36px;
}

/* Feature copy column */
.feature-copy p {
  color: var(--color-ink-muted);
  font-size: 17px;
  margin-bottom: var(--space-5);
}

.section--dark .feature-copy p {
  color: var(--color-dark-muted);
}


/* ----------------------------------------------------------
   CTA BAND — Full width gradient call to action
---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--gradient-cta-band);
  padding: var(--space-16) var(--space-12);
  color: #ffffff;
}

/* Layered sheen on CTA band */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 30%, rgba(0,0,0,0.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Mesh noise texture (subtle) */
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  max-width: 720px;
  margin-bottom: var(--space-8);
  color: #ffffff;
}

.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: var(--space-8);
}


/* ----------------------------------------------------------
   TRUST STRIP — Social proof / platform signals row
---------------------------------------------------------- */
.trust-strip {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-ink-muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--color-brand-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 16px;
}

/* Dark section trust strip */
.section--dark .trust-item,
.section--hero .trust-item {
  color: var(--color-dark-muted);
}

.section--dark .trust-item-icon {
  background: var(--glass-bg-mid);
  border: 1px solid var(--glass-border);
}

.trust-strip-divider {
  width: 1px;
  height: 28px;
  background: var(--color-line);
  flex-shrink: 0;
}

.section--dark .trust-strip-divider {
  background: var(--color-dark-line);
}


/* ----------------------------------------------------------
   APP DOWNLOAD BADGES GROUP
---------------------------------------------------------- */
.app-badges {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-6);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow   var(--duration-fast) var(--ease-standard),
    transform    var(--duration-fast) var(--ease-spring);
}

.app-badge:hover {
  border-color: var(--color-brand);
  box-shadow: var(--shadow-brand-sm);
  transform: translateY(-2px);
}

/* Dark section app badges */
.section--dark .app-badge,
.section--hero .app-badge {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-dark-ink);
}

.section--dark .app-badge:hover,
.section--hero .app-badge:hover {
  background: var(--glass-bg-mid);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-glass);
}

.app-badge-icon {
  font-size: 22px;
  line-height: 1;
}

.app-badge-label {
  display: grid;
}

.app-badge-label small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.6;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-badge-label strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 1024px) {
  .feature-band {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .cta-band {
    padding: var(--space-12) var(--space-8);
  }
}

@media (max-width: 768px) {
  .feature-band {
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    gap: var(--space-8);
  }

  .band-visual {
    min-height: 280px;
  }

  .cta-band {
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
  }

  .cta-band p {
    font-size: 16px;
  }
}

/* ── components/steps.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Steps / Process Component
   Used by: become-a-rider.html, partner-with-us.html, and any
   page that needs a numbered step-by-step flow.

   Variants:
   - .steps--vertical   (default)
   - .steps--horizontal (side-by-side on desktop)
   - .steps--dark       (inside dark sections)
   - .steps--compact    (tighter spacing)
   ============================================================ */


/* ----------------------------------------------------------
   VERTICAL STEPS  (default)
---------------------------------------------------------- */
.steps {
  display: grid;
  gap: 0;
  position: relative;
}

/* Scoped to .steps deliberately. The marketing pages (css/pages/home.css) have
   their own, unrelated `.step` inside `.step-grid` whose children are a bare
   <b>/<h3>/<p>. When this rule was unscoped it still applied there — home.css
   only re-declares position and padding-top, so `display:grid` and
   `grid-template-columns:52px 1fr` leaked through and auto-placed the <p> into
   the 52px column, wrapping the body copy one character per line on
   riders/vendors/customers/companies. Keep the `.steps` prefix. */
.steps .step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 var(--space-5);
  position: relative;
}

/* Vertical connector line — runs through the left column */
.steps .step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 25px;               /* centre of the 52px column */
  width: 2px;
  height: calc(100% - 20px);
  background: var(--color-line);
  border-radius: var(--radius-full);
}


/* ── Step number badge ────────────────────────────────── */
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-brand-soft);
  border: 2px solid rgba(232, 57, 29, 0.15);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-brand);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition:
    background   var(--duration-base) var(--ease-standard),
    border-color var(--duration-base) var(--ease-standard),
    box-shadow   var(--duration-base) var(--ease-standard);
}

/* Active / completed number */
.step--active .step-num,
.step--done .step-num {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand-sm);
}

.step--done .step-num::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  background: var(--gradient-brand);
  border-radius: 50%;
  color: #fff;
}


/* ── Step content ─────────────────────────────────────── */
.step-content {
  padding-bottom: var(--space-10);
}

.step:last-child .step-content {
  padding-bottom: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
  padding-top: 13px;          /* optically align with badge centre */
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-ink-muted);
  margin: 0;
}

.step-content .step-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: var(--space-3);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-ink-soft);
  background: var(--color-page);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-full);
  padding: 4px 10px;
}


/* ----------------------------------------------------------
   COMPACT VARIANT
---------------------------------------------------------- */
.steps--compact .step-num {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.steps--compact .step:not(:last-child)::before {
  top: 40px;
  left: 19px;
}

.steps--compact .step {
  grid-template-columns: 40px 1fr;
}

.steps--compact .step-content {
  padding-bottom: var(--space-7);
}

.steps--compact .step-content h3 {
  font-size: 16px;
  padding-top: 9px;
}

.steps--compact .step-content p {
  font-size: 14px;
}


/* ----------------------------------------------------------
   HORIZONTAL STEPS  (3–4 steps side by side)
---------------------------------------------------------- */
.steps--horizontal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
}

.steps--horizontal .step {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  grid-template-columns: unset;
}

/* Replace vertical line with horizontal connector */
.steps--horizontal .step:not(:last-child)::before {
  top: 26px;                   /* badge centre */
  left: 52px;
  width: calc(100% - 40px);
  height: 2px;
  background: var(--color-line);
  border-radius: var(--radius-full);
}

.steps--horizontal .step-content {
  padding-bottom: 0;
}

.steps--horizontal .step-content h3 {
  padding-top: 0;
  font-size: 16px;
}


/* ----------------------------------------------------------
   DARK SECTION VARIANT
---------------------------------------------------------- */
.steps--dark .step:not(:last-child)::before {
  background: var(--color-dark-line);
}

.steps--dark .step-num {
  background: var(--glass-bg-mid);
  border-color: var(--glass-border);
  color: var(--color-brand-light);
}

.steps--dark .step--active .step-num,
.steps--dark .step--done .step-num {
  background: var(--gradient-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand-sm);
}

.steps--dark .step-content h3 {
  color: var(--color-dark-ink);
}

.steps--dark .step-content p {
  color: var(--color-dark-muted);
}

.steps--dark .step-content .step-tag {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-dark-soft);
}

.steps--horizontal.steps--dark .step:not(:last-child)::before {
  background: var(--color-dark-line);
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 768px) {
  /* Horizontal collapses back to vertical */
  .steps--horizontal {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps--horizontal .step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 var(--space-5);
    flex-direction: unset;
  }

  .steps--horizontal .step:not(:last-child)::before {
    top: 52px;
    left: 25px;
    width: 2px;
    height: calc(100% - 20px);
  }

  .steps--horizontal .step-content {
    padding-bottom: var(--space-8);
  }

  .steps--horizontal .step-content h3 {
    padding-top: 13px;
  }
}

/* ── components/alerts.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Alerts, Callouts & Notices
   Used across all pages for feedback, warnings, and info.

   Components:
   - .alert           Inline alert (success / error / warning / info / brand)
   - .callout         Styled aside / important note
   - .notice-band     Full-width top-of-page notice
   - .toast           Programmatic notification (positioned by JS)
   ============================================================ */


/* ----------------------------------------------------------
   BASE ALERT
   Horizontally laid out icon + text block.
---------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
}

.alert-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-body { flex: 1; }

.alert-title {
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.alert p { margin: 0; }

.alert a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* ── Alert colour variants ────────────────────────────── */

.alert--success {
  background: var(--color-success-soft);
  border-color: rgba(16, 185, 129, 0.22);
  color: #065f46;            /* dark green for readability */
}

.alert--success .alert-title { color: #064e3b; }
.alert--success a { color: #064e3b; }

.alert--warning {
  background: var(--color-warning-soft);
  border-color: rgba(245, 158, 11, 0.25);
  color: #78350f;
}

.alert--warning .alert-title { color: #6b2f00; }
.alert--warning a { color: #6b2f00; }

.alert--error {
  background: var(--color-danger-soft);
  border-color: rgba(239, 68, 68, 0.22);
  color: #7f1d1d;
}

.alert--error .alert-title { color: #6b1111; }
.alert--error a { color: #6b1111; }

.alert--info {
  background: var(--color-info-soft);
  border-color: rgba(59, 130, 246, 0.22);
  color: #1e3a5f;
}

.alert--info .alert-title { color: #1e3a5f; }
.alert--info a { color: #1e3a5f; }

.alert--brand {
  background: var(--color-brand-soft);
  border-color: rgba(232, 57, 29, 0.18);
  color: var(--color-brand-dark);
}

.alert--brand .alert-title { color: var(--color-brand-dark); }
.alert--brand a { color: var(--color-brand-dark); }

/* Neutral / muted alert */
.alert--muted {
  background: var(--color-page);
  border-color: var(--color-line);
  color: var(--color-ink-muted);
}

.alert--muted .alert-title { color: var(--color-ink); }


/* ── Alert size modifier ──────────────────────────────── */
.alert--sm {
  padding: var(--space-3) var(--space-4);
  font-size: 13px;
  gap: var(--space-3);
}

.alert--sm .alert-icon { font-size: 15px; }
.alert--sm .alert-title { font-size: 13px; }


/* ----------------------------------------------------------
   CALLOUT
   Prominent block aside — used inside article / legal content.
   Left-border accent.
---------------------------------------------------------- */
.callout {
  padding: var(--space-5) var(--space-6);
  border-left: 4px solid var(--color-brand);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-brand-soft);
  margin-block: var(--space-6);
}

.callout p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-muted);
  font-weight: 500;
}

.callout strong {
  color: var(--color-ink);
  font-weight: 800;
}

.callout--warning {
  border-color: var(--color-warning);
  background: var(--color-warning-soft);
}

.callout--warning p { color: #78350f; }
.callout--warning strong { color: #6b2f00; }

.callout--error {
  border-color: var(--color-danger);
  background: var(--color-danger-soft);
}

.callout--error p { color: #7f1d1d; }
.callout--error strong { color: #6b1111; }

.callout--info {
  border-color: var(--color-info);
  background: var(--color-info-soft);
}

.callout--info p { color: #1e3a5f; }
.callout--info strong { color: #1e3a5f; }

.callout--success {
  border-color: var(--color-success);
  background: var(--color-success-soft);
}

.callout--success p { color: #065f46; }
.callout--success strong { color: #064e3b; }

/* Callout with header label */
.callout-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
  color: var(--color-brand);
}

.callout--warning .callout-label  { color: var(--color-warning); }
.callout--error   .callout-label  { color: var(--color-danger); }
.callout--info    .callout-label  { color: var(--color-info); }
.callout--success .callout-label  { color: var(--color-success); }


/* ----------------------------------------------------------
   NOTICE BAND
   Full-width horizontal bar — top of page announcements.
---------------------------------------------------------- */
.notice-band {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  flex-wrap: wrap;
}

.notice-band--brand {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  border-bottom: 1px solid rgba(232, 57, 29, 0.14);
}

.notice-band--warning {
  background: var(--color-warning-soft);
  color: #78350f;
  border-bottom: 1px solid rgba(245, 158, 11, 0.20);
}

.notice-band--success {
  background: var(--color-success-soft);
  color: #065f46;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
}

.notice-band--dark {
  background: var(--color-dark);
  color: var(--color-dark-muted);
  border-bottom: 1px solid var(--color-dark-line);
}

.notice-band a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.notice-band-close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: inherit;
  opacity: 0.55;
  font-size: 16px;
  border-radius: var(--radius-xs);
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.notice-band-close:hover { opacity: 1; }


/* ----------------------------------------------------------
   TOAST  (programmatic — positioned by toast.js)
   Container is injected by JS. Individual toasts slide in.
---------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
  width: 320px;
  max-width: calc(100vw - var(--space-8));
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4);
  background: var(--color-dark-2);
  border: 1px solid var(--color-dark-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--color-dark-ink);

  /* Entrance animation */
  animation: toast-in var(--duration-slow) var(--ease-out-expo) forwards;
}

.toast.is-leaving {
  animation: toast-out var(--duration-base) var(--ease-in-expo) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0)   scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateX(0)   scale(1); }
  to   { opacity: 0; transform: translateX(24px) scale(0.95); }
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}

.toast-body { flex: 1; min-width: 0; }

.toast-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-dark-ink);
  margin-bottom: 1px;
  line-height: 1.3;
}

.toast-msg {
  font-size: 13px;
  color: var(--color-dark-muted);
  line-height: 1.5;
}

.toast-close {
  background: none;
  border: none;
  color: var(--color-dark-soft);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.55;
  line-height: 1;
  transition: opacity var(--duration-fast) var(--ease-standard);
}

.toast-close:hover { opacity: 1; }

/* ── Toast progress bar ────────────────────────────────── */
.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--color-brand);
  animation: toast-progress linear forwards;
  transform-origin: left;
}

@keyframes toast-progress {
  from { width: 100%; }
  to   { width: 0%; }
}

/* ── Toast colour accents ─────────────────────────────── */
.toast--success .toast-progress { background: var(--color-success); }
.toast--error   .toast-progress { background: var(--color-danger); }
.toast--warning .toast-progress { background: var(--color-warning); }
.toast--info    .toast-progress { background: var(--color-info); }

.toast--success { border-color: rgba(16, 185, 129, 0.20); }
.toast--error   { border-color: rgba(239, 68, 68, 0.20); }
.toast--warning { border-color: rgba(245, 158, 11, 0.20); }


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 480px) {
  #toast-container {
    bottom: var(--space-4);
    right: var(--space-4);
    left: var(--space-4);
    width: auto;
  }
}

/* ── components/forms.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Form System
   Shared across contact, support, onboarding pages.
   Supports light and dark section contexts.
   ============================================================ */


/* ----------------------------------------------------------
   FORM WRAPPER
---------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--space-5);
}

.form--compact {
  gap: var(--space-4);
}


/* ----------------------------------------------------------
   FORM FIELD
---------------------------------------------------------- */
.form-field {
  display: grid;
  gap: var(--space-2);
}

.form-field label,
.form-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-ink);
}

/* Dark section labels */
.section--dark .form-label,
.section--dark .form-field label {
  color: var(--color-dark-muted);
}


/* ----------------------------------------------------------
   INPUTS & TEXTAREAS
---------------------------------------------------------- */
.form-field input,
.form-field textarea,
.form-field select,
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1.5;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow   var(--duration-fast) var(--ease-standard),
    background   var(--duration-fast) var(--ease-standard);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 4px var(--color-brand-glow-sm);
}

.form-field input::placeholder,
.form-field textarea::placeholder,
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-ink-soft);
  font-weight: 400;
}

/* Select arrow */
.form-field select,
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-field textarea,
.form-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Error state */
.form-field--error input,
.form-field--error textarea,
.form-field--error select {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px var(--color-danger-soft);
}

/* Success state */
.form-field--success input,
.form-field--success textarea {
  border-color: var(--color-success);
}


/* ----------------------------------------------------------
   DARK SECTION INPUTS
---------------------------------------------------------- */
.form--dark .form-field input,
.form--dark .form-field textarea,
.form--dark .form-field select {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  color: var(--color-dark-ink);
}

.form--dark .form-field input::placeholder,
.form--dark .form-field textarea::placeholder {
  color: var(--color-dark-soft);
}

.form--dark .form-field input:focus,
.form--dark .form-field textarea:focus {
  border-color: var(--color-brand);
  background: var(--glass-bg-mid);
}


/* ----------------------------------------------------------
   FORM HELP & STATUS
---------------------------------------------------------- */
.form-help {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-ink-soft);
  line-height: 1.5;
}

.form-status {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-status--success {
  background: var(--color-success-soft);
  color: var(--color-success);
}

.form-status--error {
  background: var(--color-danger-soft);
  color: var(--color-danger);
}

.form-status--loading {
  background: var(--color-info-soft);
  color: var(--color-info);
}


/* ----------------------------------------------------------
   CHECKBOX & RADIO
---------------------------------------------------------- */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--color-line);
  border-radius: var(--radius-xs);
  background: var(--color-surface);
  cursor: pointer;
  accent-color: var(--color-brand);
  margin-top: 2px;
  padding: 0;
}

.form-check input[type="radio"] {
  border-radius: 50%;
}

.form-check-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-muted);
  line-height: 1.55;
}

.form-check-label a {
  color: var(--color-brand);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(232, 57, 29, 0.3);
  text-underline-offset: 2px;
}


/* ----------------------------------------------------------
   REQUIRED INDICATOR
---------------------------------------------------------- */
.form-required {
  color: var(--color-brand);
  margin-left: 3px;
}

/* ── components/accordions.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Accordion / FAQ Component
   Native <details>/<summary> for accessibility.
   Light and dark section variants.
   ============================================================ */


/* ----------------------------------------------------------
   BASE ACCORDION
---------------------------------------------------------- */
.accordion-list {
  display: grid;
  gap: var(--space-3);
}

.accordion-list details {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
  transition:
    border-color var(--duration-fast) var(--ease-standard),
    box-shadow   var(--duration-fast) var(--ease-standard);
}

.accordion-list details[open] {
  border-color: rgba(232, 57, 29, 0.20);
  box-shadow: var(--shadow-xs);
}

.accordion-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: 17px;
  font-weight: 800;
  color: var(--color-ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--duration-fast) var(--ease-standard);
  user-select: none;
}

/* Remove default disclosure triangle */
.accordion-list summary::-webkit-details-marker { display: none; }
.accordion-list summary::marker { display: none; }

/* Plus / minus icon */
.accordion-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-page);
  color: var(--color-brand);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  transition:
    transform    var(--duration-base) var(--ease-spring),
    background   var(--duration-fast) var(--ease-standard);
}

.accordion-list details[open] summary {
  color: var(--color-brand);
}

.accordion-list details[open] summary::after {
  content: "−";
  background: var(--color-brand-soft);
  transform: rotate(180deg);
}

/* Content area */
.accordion-list details p,
.accordion-list details .accordion-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-ink-muted);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}


/* ----------------------------------------------------------
   NOTE — `.faq-list` is intentionally NOT styled here.
   It belongs to the marketing system in css/pages/home.css, which renders the
   open/close affordance as a real <svg class="icon"> inside each <summary> and
   rotates it 45deg when open. This file used to ALSO style `.faq-list` and add
   a `::after` pseudo-element containing "+" / "−", so every FAQ row rendered
   TWO controls side by side (the SVG and the pseudo-element). Styling for
   `.faq-list` must live in exactly one place — keep it in home.css.
   `.accordion-list` above remains the design-system accordion for any page that
   wants the pseudo-element style.
---------------------------------------------------------- */


/* ----------------------------------------------------------
   DARK SECTION ACCORDION
---------------------------------------------------------- */
.accordion-list--dark details {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.accordion-list--dark details[open] {
  background: var(--glass-bg-mid);
  border-color: rgba(232, 57, 29, 0.28);
}

.accordion-list--dark summary {
  color: var(--color-dark-ink);
}

.accordion-list--dark summary::after {
  background: var(--glass-bg-mid);
  color: var(--color-brand-light);
}

.accordion-list--dark details[open] summary {
  color: var(--color-brand-light);
}

.accordion-list--dark details[open] summary::after {
  background: rgba(232, 57, 29, 0.16);
}

.accordion-list--dark details p {
  color: var(--color-dark-muted);
}

/* ── components/legal.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Legal & Article Layout
   Shared by: privacy.html, terms.html, vendor-terms.html, rider-terms.html
   Clean, readable, narrow column, optional sticky TOC.
   ============================================================ */


/* ----------------------------------------------------------
   LEGAL PAGE WRAPPER
---------------------------------------------------------- */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-top: var(--space-16);
  padding-bottom: var(--space-24);
}

/* With sticky TOC on large screens */
.legal-layout--with-toc {
  grid-template-columns: 220px 1fr;
  gap: var(--space-16);
  align-items: start;
}


/* ----------------------------------------------------------
   LEGAL HEADER — Page title and meta
---------------------------------------------------------- */
.legal-header {
  padding: var(--space-16) 0 var(--space-12);
  border-bottom: 1px solid var(--color-line);
  margin-bottom: var(--space-12);
}

.legal-header h1 {
  margin-bottom: var(--space-3);
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.legal-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-line);
  flex-shrink: 0;
}


/* ----------------------------------------------------------
   TABLE OF CONTENTS — Sticky sidebar
---------------------------------------------------------- */
.legal-toc {
  position: sticky;
  top: calc(74px + var(--space-6));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
}

.legal-toc-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: var(--space-4);
}

.legal-toc ol,
.legal-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.legal-toc a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-muted);
  transition:
    background var(--duration-fast) var(--ease-standard),
    color      var(--duration-fast) var(--ease-standard);
  line-height: 1.4;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--color-brand-soft);
  color: var(--color-brand);
}


/* ----------------------------------------------------------
   LEGAL ARTICLE — Main content
---------------------------------------------------------- */
.legal-article {
  max-width: var(--container-narrow);
}

/* Section groups */
.legal-section {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-line);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Heading levels */
.legal-article h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--space-5);
  color: var(--color-ink);
  scroll-margin-top: 100px;
}

.legal-article h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: var(--space-3);
  color: var(--color-ink);
  margin-top: var(--space-6);
}

/* Body text */
.legal-article p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-4);
}

.legal-article p:last-child {
  margin-bottom: 0;
}

/* Lists */
.legal-article ul,
.legal-article ol {
  padding-left: var(--space-5);
  margin-bottom: var(--space-4);
  display: grid;
  gap: var(--space-2);
}

.legal-article li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-muted);
}

/* Data table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
  font-size: 14px;
  overflow-x: auto;
  display: block;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-line);
  line-height: 1.5;
}

.legal-table th {
  font-weight: 800;
  color: var(--color-ink);
  background: var(--color-page);
  white-space: nowrap;
}

.legal-table td {
  color: var(--color-ink-muted);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

/* Contact highlight box */
.legal-contact-box {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(232, 57, 29, 0.18);
  border-radius: var(--radius-lg);
  background: var(--color-brand-soft);
}

.legal-contact-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink-muted);
}

.legal-contact-box a {
  color: var(--color-brand);
  font-weight: 700;
}

.legal-contact-box a:hover {
  text-decoration: underline;
}

/* Highlight / callout */
.legal-callout {
  padding: var(--space-5);
  border-left: 3px solid var(--color-brand);
  background: var(--color-brand-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-5);
}

.legal-callout p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-muted);
}

/* Supplementary link at top of supplementary pages */
.legal-supplement-note {
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink-muted);
  margin-bottom: var(--space-10);
}

.legal-supplement-note a {
  color: var(--color-brand);
  font-weight: 700;
}


/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
/* 860px–1024px: collapse to single column; TOC renders above article as a box */
@media (max-width: 1024px) {
  .legal-layout--with-toc {
    grid-template-columns: 1fr;
  }

  /* Un-sticky on medium screens — render inline above the article */
  .legal-toc {
    position: static;
    max-height: none;
    overflow: visible;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 768px) {
  .legal-header {
    padding: var(--space-12) 0 var(--space-8);
    margin-bottom: var(--space-8);
  }

  .legal-article h2 {
    font-size: 20px;
  }
}

/* ── base/utilities.css ─────────────────────────────────── */
/* ============================================================
   SwiftCart — Utility Classes
   Accessibility, reveal animation, display helpers,
   glass overlays, and dark-section overrides.
   ============================================================ */


/* ----------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------- */

/* Skip to main content link */
.skip-link {
  position: fixed;
  top: var(--space-3);
  left: var(--space-3);
  z-index: var(--z-skip);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--color-ink);
  color: var(--color-surface);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-120%);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ----------------------------------------------------------
   FOCUS RINGS
   Applied to all interactive elements.
---------------------------------------------------------- */
.button:focus-visible,
.menu-button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible,
.focus-ring:focus-visible {
  outline: 3px solid rgba(232, 57, 29, 0.36);
  outline-offset: 3px;
}


/* ----------------------------------------------------------
   SCROLL-TRIGGERED REVEAL
   JS adds .is-visible via IntersectionObserver.
---------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity   var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-out-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade-only variant (no movement) */
.reveal--fade {
  opacity: 0;
  transform: none;
  transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.reveal--fade.is-visible {
  opacity: 1;
}

/* Scale-in variant */
.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity   var(--duration-slow) var(--ease-out-expo),
    transform var(--duration-slow) var(--ease-spring);
}

.reveal--scale.is-visible {
  opacity: 1;
  transform: scale(1);
}


/* ----------------------------------------------------------
   REDUCED MOTION OVERRIDES
---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--fade,
  .reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ----------------------------------------------------------
   DISPLAY UTILITIES
---------------------------------------------------------- */
.hidden { display: none !important; }

.desktop-only { display: initial; }
.mobile-only  { display: none; }
.tablet-only  { display: none; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .tablet-only  { display: initial; }
}

@media (max-width: 768px) {
  .mobile-only  { display: initial; }
  .tablet-only  { display: none !important; }
}


/* ----------------------------------------------------------
   TEXT ALIGNMENT
---------------------------------------------------------- */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

@media (max-width: 768px) {
  .text-center-mobile { text-align: center; }
}


/* ----------------------------------------------------------
   SPACING HELPERS
---------------------------------------------------------- */
.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0 !important; }
.mt-0    { margin-top: 0 !important; }


/* ----------------------------------------------------------
   GLASS OVERLAY HELPERS
   Use as decorative layer inside dark sections.
---------------------------------------------------------- */
.glass-surface {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.glass-surface--mid {
  background: var(--glass-bg-mid);
  border-color: var(--glass-border-strong);
}

/* Gradient mesh noise (decorative only, aria-hidden) */
.mesh-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
}


/* ----------------------------------------------------------
   DIVIDER
---------------------------------------------------------- */
.divider {
  height: 1px;
  background: var(--color-line);
  margin-block: var(--space-8);
}

.divider--dark {
  background: var(--color-dark-line);
}


/* ----------------------------------------------------------
   STATUS INDICATOR DOT
---------------------------------------------------------- */
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot--live    { background: var(--color-success); animation: pulse-success 2.4s ease-in-out infinite; }
.status-dot--pending { background: var(--color-warning); }
.status-dot--error   { background: var(--color-danger); }
.status-dot--brand   { background: var(--color-brand); animation: pulse-dot 2.4s ease-in-out infinite; }


/* ----------------------------------------------------------
   ICON UTILITY
   Inline SVG sizing
---------------------------------------------------------- */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-sm { font-size: 16px; }
.icon-md { font-size: 20px; }
.icon-lg { font-size: 24px; }
.icon-xl { font-size: 32px; }


/* ----------------------------------------------------------
   TRUNCATE
---------------------------------------------------------- */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ----------------------------------------------------------
   FLEX LAYOUT UTILITIES
   Keep selectors single-class for easy composability.
---------------------------------------------------------- */
.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.flex-nowrap  { flex-wrap: nowrap; }
.flex-1       { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow    { flex-grow: 1; }

/* Alignment */
.items-start    { align-items: flex-start; }
.items-center   { align-items: center; }
.items-end      { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.items-stretch  { align-items: stretch; }

.justify-start    { justify-content: flex-start; }
.justify-center   { justify-content: center; }
.justify-end      { justify-content: flex-end; }
.justify-between  { justify-content: space-between; }
.justify-around   { justify-content: space-around; }

.self-start  { align-self: flex-start; }
.self-center { align-self: center; }
.self-end    { align-self: flex-end; }

/* Common combos */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Order */
.order-first { order: -1; }
.order-last  { order: 99; }


/* ----------------------------------------------------------
   GAP UTILITIES
   Maps to token spacing scale.
---------------------------------------------------------- */
.gap-1  { gap: var(--space-1); }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-5  { gap: var(--space-5); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }

.col-gap-4  { column-gap: var(--space-4); }
.col-gap-6  { column-gap: var(--space-6); }
.row-gap-4  { row-gap: var(--space-4); }
.row-gap-6  { row-gap: var(--space-6); }


/* ----------------------------------------------------------
   PADDING UTILITIES
   p- = all sides, pt- = top, pb- = bottom, px- = inline, py- = block
---------------------------------------------------------- */
.p-0  { padding: 0; }
.p-4  { padding: var(--space-4); }
.p-5  { padding: var(--space-5); }
.p-6  { padding: var(--space-6); }
.p-8  { padding: var(--space-8); }

.pt-0  { padding-top: 0; }
.pt-4  { padding-top: var(--space-4); }
.pt-6  { padding-top: var(--space-6); }
.pt-8  { padding-top: var(--space-8); }
.pt-10 { padding-top: var(--space-10); }
.pt-12 { padding-top: var(--space-12); }

.pb-0  { padding-bottom: 0; }
.pb-4  { padding-bottom: var(--space-4); }
.pb-6  { padding-bottom: var(--space-6); }
.pb-8  { padding-bottom: var(--space-8); }
.pb-10 { padding-bottom: var(--space-10); }
.pb-12 { padding-bottom: var(--space-12); }

.px-4  { padding-inline: var(--space-4); }
.px-5  { padding-inline: var(--space-5); }
.px-6  { padding-inline: var(--space-6); }

.py-4  { padding-block: var(--space-4); }
.py-6  { padding-block: var(--space-6); }
.py-8  { padding-block: var(--space-8); }
.py-10 { padding-block: var(--space-10); }


/* ----------------------------------------------------------
   MARGIN UTILITIES
---------------------------------------------------------- */
.m-0   { margin: 0; }
.mx-auto { margin-inline: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

.mt-4  { margin-top: var(--space-4); }
.mt-5  { margin-top: var(--space-5); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

.mb-4  { margin-bottom: var(--space-4); }
.mb-5  { margin-bottom: var(--space-5); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }


/* ----------------------------------------------------------
   MAX-WIDTH UTILITIES
---------------------------------------------------------- */
.max-w-xs  { max-width: 380px; }
.max-w-sm  { max-width: 480px; }
.max-w-md  { max-width: 600px; }
.max-w-lg  { max-width: var(--container-narrow); }   /* 760px */
.max-w-xl  { max-width: var(--container-default); }  /* 1120px */
.max-w-full { max-width: 100%; }
.max-w-none { max-width: none; }

/* Prose-specific */
.max-w-prose { max-width: 72ch; }


/* ----------------------------------------------------------
   WIDTH UTILITIES
---------------------------------------------------------- */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-fit   { width: fit-content; }


/* ----------------------------------------------------------
   POSITION UTILITIES
---------------------------------------------------------- */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }
.inset-0  { inset: 0; }
.z-above  { z-index: var(--z-above); }


/* ----------------------------------------------------------
   OVERFLOW UTILITIES
---------------------------------------------------------- */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }


/* ----------------------------------------------------------
   BORDER RADIUS UTILITIES
---------------------------------------------------------- */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }


/* ----------------------------------------------------------
   COLOUR UTILITIES
---------------------------------------------------------- */
.bg-surface  { background: var(--color-surface); }
.bg-page     { background: var(--color-page); }
.bg-brand    { background: var(--color-brand); }
.bg-dark     { background: var(--color-dark); }

.text-ink    { color: var(--color-ink); }
.text-ink-muted { color: var(--color-ink-muted); }


/* ----------------------------------------------------------
   POINTER
---------------------------------------------------------- */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.pointer-none   { pointer-events: none; }
.select-none    { user-select: none; }
