/*
 * ============================================================
 *  RENTPERMIT.CSS  —  Master Stylesheet
 *  Single source of truth for rentpermit.com
 *
 *  Fonts (add to <head> on every page):
 *  <link rel="preconnect" href="https://fonts.googleapis.com">
 *  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
 *  <link href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&amp;family=DM+Serif+Display:ital@0;1&amp;display=swap" rel="stylesheet">
 *
 *  TABLE OF CONTENTS
 *  ---------------------------------------------------------
 *  01. Design Tokens
 *  02. Reset & Base
 *  03. Typography
 *  04. Layout Utilities
 *  05. Navigation
 *  06. Hero Section
 *  07. Mockup / App Preview
 *  08. Proof Bar
 *  09. Features Section
 *  10. How It Works (Steps)
 *  11. Cities Section
 *  12. Pricing Section
 *  13. FAQ Section
 *  14. CTA Section
 *  15. Footer
 *  16. Blog Index
 *  17. Blog Article
 *  18. App Shell (Dashboard / Onboarding)
 *  19. Forms & Inputs
 *  20. Buttons (Extended)
 *  21. Cards & Stat Cards
 *  22. Badges & Tags
 *  23. Modals & Overlays
 *  24. Alerts & Toasts
 *  25. Tables
 *  26. Animations & Utilities
 *  27. Responsive Breakpoints
 *  28. Roadmap
 * ============================================================ */


/* ============================================================
   01. DESIGN TOKENS
   ============================================================ */

:root {
  /* Backgrounds */
  --bg:          #f7f6f3;
  --bg2:         #f0ede8;
  --bg3:         #e8e4dc;
  --card:        #ffffff;

  /* Text */
  --ink:         #1a1a1a;
  --ink2:        #2d2d2d;
  --text:        #2d2d2d;
  --muted:       #6b6b6b;
  --dim:         #999;

  /* Brand */
  --amber:       #d4870a;
  --amber2:      #f0a500;
  --amber-light: #fef3dc;

  /* Borders */
  --border:      rgba(0,0,0,0.08);

  /* Status */
  --green:       #16a34a;
  --green-lt:    #f0fdf4;
  --green-bd:    #bbf7d0;
  --red:         #dc2626;
  --red-lt:      #fef2f2;
  --red-bd:      #fecaca;
  --yellow:      #d97706;
  --yellow-lt:   #fffbeb;

  /* Typography */
  --font-serif:  'DM Serif Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;

  /* Radii */
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-2xl:  24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.10), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-xl:   0 32px 96px rgba(0,0,0,0.14);

  /* Layout */
  --max-w:       1080px;

  /* Transitions */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --dur:         0.2s;
  --dur-md:      0.3s;
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */

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

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

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

img, video, svg { display: block; max-width: 100%; }

a { color: var(--amber); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--amber2); }

ul, ol { list-style: none; }

input, textarea, select, button { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

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

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
}
h1 em { font-style: italic; color: var(--amber); }

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}
h2 em { font-style: italic; color: var(--amber); }

h3 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
h4 { font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }

p { margin-bottom: 0; }

.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.75; font-weight: 300; }
.caption { font-size: 0.75rem; color: var(--dim); line-height: 1.5; }

blockquote {
  border-left: 3px solid var(--amber);
  padding: 16px 24px;
  margin: 32px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  background: var(--bg2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

code {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.875em;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px 6px;
  color: var(--ink);
}

strong { font-weight: 600; color: var(--ink2); }


/* ============================================================
   04. LAYOUT UTILITIES
   ============================================================ */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 40px; }

section { position: relative; }

.section-label {
  font-size: 0.72rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 56px;
}

.divider {
  width: 40px; height: 2px;
  background: var(--amber);
  border-radius: var(--radius-full);
  margin: 16px 0;
}

.text-center  { text-align: center; }
.text-muted   { color: var(--muted); }
.text-dim     { color: var(--dim); }
.text-amber   { color: var(--amber); }
.text-ink     { color: var(--ink); }

.flex         { display: flex; }
.flex-center  { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ============================================================
   05. NAVIGATION
   ============================================================ */

nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(247,246,243,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--amber); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--dur);
}
.nav-links a:hover  { color: var(--ink); }
.nav-links a.active { color: var(--amber); }

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  font-size: 0.875rem;
  transition: opacity var(--dur) !important;
}
.nav-cta:hover { opacity: 0.82 !important; color: #fff !important; }


/* ============================================================
   06. HERO SECTION
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--amber-light);
  border: 1px solid rgba(212,135,10,0.2);
  color: var(--amber);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-eyebrow::before { content: '●'; font-size: 0.5rem; animation: pulse 2s infinite; }

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
  font-weight: 300;
}

.hero-actions {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap; margin-bottom: 24px;
}

.trial-note { font-size: 0.78rem; color: var(--dim); }
.trial-note strong { color: var(--text); }

.hero-visual { position: relative; }
.page-hero {
  padding: 128px 0 72px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  max-width: 640px;
}

.page-hero .hero-sub {
  margin-bottom: 32px;
}

.page-hero .trial-note {
  margin-top: 14px;
  display: block;
}

/* ============================================================
   07. MOCKUP / APP PREVIEW
   ============================================================ */

.mockup {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  background: #f5f5f5;
  padding: 12px 18px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1; background: #ebebeb; border-radius: 6px;
  padding: 4px 12px; font-size: 0.7rem; color: #888; margin-left: 8px;
}

.mockup-body { padding: 20px; }
.mock-header { font-size: 0.68rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; font-weight: 600; }

.mock-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.mock-stat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px;
}
.mock-stat-val   { font-size: 1.4rem; font-weight: 700; color: var(--ink); font-family: var(--font-serif); }
.mock-stat-label { font-size: 0.64rem; color: var(--dim); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

.mock-alert {
  background: var(--red-lt); border: 1px solid var(--red-bd);
  border-radius: var(--radius-md); padding: 10px 14px;
  font-size: 0.72rem; color: var(--red); margin-bottom: 12px;
}

.mock-cap { margin-bottom: 16px; }
.mock-cap-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.mock-cap-label  { font-size: 0.7rem; color: var(--muted); }
.mock-cap-val    { font-size: 0.7rem; color: var(--amber); font-weight: 600; }
.mock-track { height: 6px; background: var(--bg2); border-radius: var(--radius-full); }
.mock-fill  { height: 100%; border-radius: var(--radius-full); background: linear-gradient(90deg, var(--amber), var(--amber2)); }

.mock-permits { display: flex; flex-direction: column; gap: 8px; }
.mock-permit {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 10px 14px;
}
.mock-permit-name { font-size: 0.75rem; color: var(--ink); font-weight: 600; }
.mock-permit-date { font-size: 0.67rem; color: var(--dim); margin-top: 2px; }

.mock-badge { font-size: 0.65rem; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-full); }
.badge-red   { background: var(--red-lt);    color: var(--red); }
.badge-amber { background: var(--amber-light); color: var(--amber); }
.badge-green { background: var(--green-lt);  color: var(--green); }

.hero-annotation {
  position: absolute; right: -16px; top: 38%;
  background: var(--ink); border-radius: var(--radius-md);
  padding: 10px 14px; font-size: 0.72rem; color: #fff;
  white-space: nowrap; box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.hero-annotation strong { color: var(--amber2); }


/* ============================================================
   08. PROOF BAR
   ============================================================ */

.proof {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}
.proof-inner {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap; justify-content: center;
}
.proof-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }
.proof-cities { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.proof-city   { font-size: 0.83rem; color: var(--muted); font-weight: 500; }


/* ============================================================
   09. FEATURES SECTION
   ============================================================ */

.features { padding: 100px 0; background: var(--bg); }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--border);
}

.feature-card { background: var(--card); padding: 36px 32px; transition: background var(--dur); }
.feature-card:hover { background: var(--bg); }

.feature-icon {
  width: 42px; height: 42px;
  background: var(--amber-light);
  border: 1px solid rgba(212,135,10,0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 20px;
}

.feature-card h3 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.feature-card p  { color: var(--muted); font-size: 0.85rem; line-height: 1.7; font-weight: 300; }

.section-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-header-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Status badges inside section header rows */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-badge-live {
  background: var(--green-lt);
  color: var(--green);
  border: 1px solid var(--green-bd);
}

.status-badge-live::before {
  background: var(--green);
}

.status-badge-soon {
  background: var(--amber-light);
  color: var(--amber);
  border: 1px solid rgba(212,135,10,0.22);
}

.status-badge-soon::before {
  background: var(--amber);
}
.feature-card-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* ============================================================
   10. HOW IT WORKS (STEPS)
   ============================================================ */

.how { padding: 100px 0; background: var(--bg2); }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
  margin-top: 56px; border: 1px solid var(--border);
}
.step { background: var(--bg2); padding: 36px 28px; }

.step-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: rgba(212,135,10,0.15);
  line-height: 1; margin-bottom: 18px;
}
.step h3 { font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.step p  { color: var(--muted); font-size: 0.82rem; line-height: 1.6; font-weight: 300; }


/* ============================================================
   11. CITIES SECTION
   ============================================================ */

.cities { padding: 100px 0; background: var(--bg); }

.cities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 56px;
}

.city-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.city-card:hover { border-color: var(--amber); box-shadow: 0 4px 16px rgba(212,135,10,0.08); }
.city-name { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.city-cap  { font-size: 0.75rem; color: var(--amber); margin-bottom: 8px; font-weight: 600; }
.city-note { font-size: 0.75rem; color: var(--muted); line-height: 1.55; font-weight: 300; }

.cities-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}

.cities-strip-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cities-strip-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
  margin-right: 4px;
  flex-shrink: 0;
}

.city-pill {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
  transition: border-color var(--dur), color var(--dur);
}

.city-pill:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ============================================================
   12. PRICING SECTION
   ============================================================ */

.pricing { padding: 100px 0; background: var(--bg2); }

.pricing-card {
  max-width: 480px; margin: 56px auto 0;
  background: var(--card);
  border: 1px solid var(--amber);
  box-shadow: 0 0 0 3px rgba(212,135,10,0.08);
  border-radius: var(--radius-2xl); padding: 48px;
  position: relative; overflow: hidden;
}

.price-amount {
  font-family: var(--font-serif);
  font-size: 4rem; color: var(--ink); line-height: 1; margin-bottom: 4px;
}
.price-amount sup { font-size: 1.5rem; vertical-align: top; margin-top: 12px; color: var(--amber); }
.price-period { color: var(--muted); font-size: 0.875rem; margin-bottom: 8px; }

.trial-badge {
  display: inline-block;
  background: var(--green-lt); color: var(--green);
  font-size: 0.78rem; font-weight: 700;
  padding: 4px 12px; border-radius: var(--radius-full);
  margin-bottom: 28px; border: 1px solid var(--green-bd);
}

.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text);
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before { content: '✓'; color: var(--amber); font-weight: 700; flex-shrink: 0; }

/* Yearly toggle — Month 2 */
.pricing-toggle {
  display: inline-flex;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 4px;
  margin-bottom: 40px;
}
.pricing-toggle button {
  background: none; border: none;
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted); transition: all var(--dur) var(--ease);
}
.pricing-toggle button.active { background: var(--ink); color: #fff; }
.pricing-save-badge {
  display: inline-block;
  background: var(--green-lt); color: var(--green);
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 8px; border-radius: var(--radius-full);
  margin-left: 8px; border: 1px solid var(--green-bd);
  vertical-align: middle;
}

.price-note { font-size: 0.75rem; color: var(--dim); text-align: center; margin-top: 14px; }


/* ============================================================
   13. FAQ SECTION
   ============================================================ */

.faq { padding: 100px 0; background: var(--bg); }

.faq-list { max-width: 640px; margin: 56px auto 0; }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }

.faq-q {
  font-weight: 600; font-size: 0.95rem; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: '+'; font-size: 1.2rem; color: var(--amber); flex-shrink: 0; transition: transform var(--dur-md); }
.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  color: var(--muted); font-size: 0.875rem; line-height: 1.7; font-weight: 300;
  max-height: 0; overflow: hidden; transition: max-height var(--dur-md) ease, padding var(--dur-md);
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }


/* ============================================================
   14. CTA SECTION
   ============================================================ */

.cta-section { padding: 120px 0; text-align: center; background: var(--ink); }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p  { color: rgba(255,255,255,0.55); font-size: 1rem; margin-bottom: 36px; font-weight: 300; }
.cta-sub { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin-top: 16px; }


/* ============================================================
   15. FOOTER
   ============================================================ */

footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--font-serif); font-size: 1rem; color: var(--ink); text-decoration: none; }
.footer-logo span { color: var(--amber); }
footer p { color: var(--dim); font-size: 0.75rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--dim); text-decoration: none; font-size: 0.75rem; transition: color var(--dur); }
.footer-links a:hover { color: var(--muted); }


/* ============================================================
   16. BLOG INDEX
   ============================================================ */

.blog-index { padding: 100px 0; background: var(--bg); }

.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
}

.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--dur), box-shadow var(--dur), transform var(--dur-md);
}
.blog-card:hover {
  border-color: rgba(212,135,10,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.blog-card-thumb {
  height: 180px; background: var(--bg2); overflow: hidden;
}
.blog-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 400ms var(--ease);
}
.blog-card:hover .blog-card-thumb img { transform: scale(1.04); }

.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.blog-card-tag {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 8px;
}

.blog-card h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 10px; color: var(--ink); flex: 1; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--amber); }

.blog-card-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.65; margin-bottom: 16px; font-weight: 300; }

.blog-card-meta { font-size: 0.7rem; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.blog-card-meta-sep { width: 3px; height: 3px; background: var(--dim); border-radius: var(--radius-full); }


/* ============================================================
   17. BLOG ARTICLE
   ============================================================ */

.article-header {
  max-width: 720px; margin: 0 auto;
  padding: 80px 40px 0; text-align: center;
}
.article-tag {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 16px; display: block;
}
.article-header h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.18; margin-bottom: 18px; }
.article-header .lead { max-width: 540px; margin: 0 auto 20px; }
.article-meta {
  font-size: 0.78rem; color: var(--dim);
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 56px;
}

.article-body {
  max-width: 720px; margin: 0 auto;
  padding: 0 40px 100px;
  font-size: 1.05rem; line-height: 1.8;
  color: var(--text); font-weight: 300;
}

.article-body h2 {
  font-size: 1.6rem; margin: 56px 0 16px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.article-body h2:first-child { border-top: none; margin-top: 0; }
.article-body h3 { font-size: 1.15rem; margin: 32px 0 12px; font-family: var(--font-serif); }
.article-body p  { margin-bottom: 20px; }

.article-body ul,
.article-body ol { margin: 16px 0 24px 24px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; color: var(--muted); line-height: 1.7; }

.article-body a { color: var(--amber); text-decoration: underline; text-decoration-color: rgba(212,135,10,0.35); }
.article-body a:hover { text-decoration-color: var(--amber); }

.article-tip {
  background: var(--amber-light);
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px; margin: 32px 0;
  font-size: 0.9rem; color: var(--ink2); font-weight: 400;
}

.article-cta {
  background: var(--ink); border-radius: var(--radius-xl);
  padding: 32px; margin: 40px 0; text-align: center;
}
.article-cta h4 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; font-family: var(--font-serif); }
.article-cta p  { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 20px; font-weight: 300; }

.article-resources {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 26px; margin-top: 40px;
}
.article-resources h4 { margin-bottom: 12px; font-size: 0.875rem; }
.article-resources ul { list-style: none; margin: 0; }
.article-resources li { font-size: 0.82rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); }
.article-resources li:last-child { border-bottom: none; }
.article-resources a { color: var(--amber); }


/* ============================================================
   18. APP SHELL (DASHBOARD / ONBOARDING)
   ============================================================ */

.app-layout {
  display: flex; min-height: 100vh; background: var(--bg2);
}

/* Sidebar */
.sidebar {
  width: 232px; flex-shrink: 0;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 24px 0;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-logo {
  font-family: var(--font-serif); font-size: 1.2rem;
  color: #fff; padding: 0 24px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px; text-decoration: none; display: block;
}
.sidebar-logo span { color: var(--amber2); }

.sidebar-section-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.25);
  padding: 16px 24px 6px;
}

.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 24px;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem; font-weight: 500;
  transition: all var(--dur) var(--ease);
  border-left: 3px solid transparent;
  text-decoration: none;
}
.sidebar-link:hover  { color: #fff; background: rgba(255,255,255,0.05); border-left-color: rgba(255,255,255,0.2); }
.sidebar-link.active { color: #fff; background: rgba(212,135,10,0.12); border-left-color: var(--amber2); }
.sidebar-link-icon  { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }
.sidebar-link-badge {
  margin-left: auto;
  background: var(--amber); color: var(--ink);
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: var(--radius-full); line-height: 1.4;
}

/* App main area */
.app-content { flex: 1; display: flex; flex-direction: column; overflow-y: auto; }

.app-topbar {
  background: var(--card); border-bottom: 1px solid var(--border);
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; position: sticky; top: 0; z-index: 50; flex-shrink: 0;
}
.app-topbar-title { font-weight: 600; font-size: 0.95rem; color: var(--ink); }

.page-content { padding: 32px; max-width: 900px; }
.page-header  { margin-bottom: 32px; }
.page-header h1 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); margin-bottom: 4px; }
.page-header p  { color: var(--muted); font-size: 0.875rem; margin: 0; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; margin-bottom: 28px;
}

/* Onboarding */
.onboarding-layout {
  min-height: 100vh; background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px;
}
.onboarding-logo {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--ink); margin-bottom: 40px; text-decoration: none; display: block;
}
.onboarding-logo span { color: var(--amber); }

.progress-steps { display: flex; align-items: center; margin-bottom: 40px; }
.progress-step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.progress-step:not(:last-child)::after {
  content: '';
  position: absolute; left: 50%; top: 17px;
  width: 100px; height: 1px;
  background: var(--border); z-index: 0;
}
.progress-step.done::after { background: var(--green); }

.progress-dot {
  width: 34px; height: 34px; border-radius: var(--radius-full);
  border: 2px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600; color: var(--dim);
  position: relative; z-index: 1;
}
.progress-step.active .progress-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.progress-step.done   .progress-dot { background: var(--green); border-color: var(--green); color: #fff; }

.progress-label { font-size: 0.7rem; color: var(--dim); white-space: nowrap; }
.progress-step.active .progress-label { color: var(--ink); font-weight: 600; }
.progress-step.done   .progress-label { color: var(--green); }

.onboarding-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-2xl); padding: 40px;
  width: 100%; max-width: 520px; box-shadow: var(--shadow-lg);
}


/* ============================================================
   19. FORMS & INPUTS
   ============================================================ */

.form-group { margin-bottom: 20px; }

label { display: block; font-size: 0.83rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
label .required { color: var(--red); margin-left: 2px; }
label .optional  { font-weight: 400; color: var(--dim); font-size: 0.75rem; margin-left: 4px; }

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.14);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--ink);
  font-size: 0.9rem; line-height: 1.5;
  transition: border-color var(--dur), box-shadow var(--dur);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,135,10,0.12);
}
input::placeholder, textarea::placeholder { color: var(--dim); }
input:disabled, select:disabled, textarea:disabled {
  background: var(--bg); color: var(--muted); cursor: not-allowed;
}

textarea { min-height: 110px; resize: vertical; }

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.input-hint  { font-size: 0.72rem; color: var(--dim);  margin-top: 4px; }
.input-error { font-size: 0.72rem; color: var(--red); margin-top: 4px; }
input.error, select.error, textarea.error {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.input-group { position: relative; }
.input-prefix, .input-suffix {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--dim); font-size: 0.875rem; pointer-events: none;
}
.input-prefix { left: 14px; }
.input-suffix { right: 14px; }
.has-prefix input { padding-left: 36px; }
.has-suffix input { padding-right: 36px; }


/* ============================================================
   20. BUTTONS (EXTENDED)
   ============================================================ */

.btn-primary {
  background: var(--ink); color: #fff;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; display: inline-block;
  transition: opacity var(--dur), transform 0.15s;
}
.btn-primary:hover { opacity: 0.82; transform: translateY(-1px); color: #fff; }

.btn-amber {
  background: var(--amber2); color: #000;
  padding: 13px 28px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; display: inline-block;
  transition: opacity var(--dur), transform 0.15s;
}
.btn-amber:hover { opacity: 0.88; transform: translateY(-1px); color: #000; }

.btn-ghost {
  color: var(--muted); font-size: 0.9rem; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color var(--dur); background: none; border: none; padding: 0;
}
.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: '→'; transition: transform var(--dur); }
.btn-ghost:hover::after { transform: translateX(3px); }

.btn-outline {
  background: transparent; color: var(--ink);
  padding: 11px 24px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.9rem;
  border: 1.5px solid rgba(0,0,0,0.2);
  transition: border-color var(--dur), color var(--dur);
  display: inline-block; text-decoration: none;
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-danger {
  background: var(--red); color: #fff;
  padding: 10px 22px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 0.875rem;
  border: none; transition: opacity var(--dur);
}
.btn-danger:hover { opacity: 0.85; color: #fff; }

/* Sizes */
.btn-sm  { padding: 7px 16px !important; font-size: 0.8rem !important; }
.btn-lg  { padding: 15px 36px !important; font-size: 1rem !important; }
.btn-xl  { padding: 18px 44px !important; font-size: 1.05rem !important; }

.btn-block {
  width: 100%; text-align: center; display: block;
  padding: 14px 24px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: opacity var(--dur); border: none;
}
.btn-block.amber { background: var(--amber2); color: #000; }
.btn-block.amber:hover { opacity: 0.88; }
.btn-block.dark  { background: var(--ink); color: #fff; }
.btn-block.dark:hover { opacity: 0.82; }

.btn-loading {
  pointer-events: none; position: relative; color: transparent !important;
}
.btn-loading::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.5);
  border-top-color: #fff;
  border-radius: var(--radius-full);
  animation: spin 0.7s linear infinite;
}


/* ============================================================
   21. CARDS & STAT CARDS
   ============================================================ */

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.card-lg { padding: 32px; }

.card-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.card-title    { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.card-subtitle { font-size: 0.72rem; color: var(--dim); margin-top: 2px; }

.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.stat-value { font-family: var(--font-serif); font-size: 2rem; color: var(--ink); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.stat-change { font-size: 0.72rem; font-weight: 600; margin-top: 6px; }
.stat-change.up   { color: var(--green); }
.stat-change.down { color: var(--red); }

.permit-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.permit-item:hover { border-color: rgba(212,135,10,0.25); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.permit-item-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  background: var(--bg2); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.permit-item-body { flex: 1; min-width: 0; }
.permit-item-name { font-weight: 600; font-size: 0.9rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.permit-item-meta { font-size: 0.7rem; color: var(--dim); margin-top: 2px; }
.permit-item-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }


/* ============================================================
   22. BADGES & TAGS
   ============================================================ */

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 700; white-space: nowrap;
}
.badge-green  { background: var(--green-lt);    color: var(--green); }
.badge-red    { background: var(--red-lt);      color: var(--red); }
.badge-yellow { background: var(--yellow-lt);   color: var(--yellow); }
.badge-amber  { background: var(--amber-light); color: var(--amber); }
.badge-muted  { background: var(--bg2); color: var(--muted); border: 1px solid var(--border); }


/* ============================================================
   23. MODALS & OVERLAYS
   ============================================================ */

.overlay {
  position: fixed; inset: 0;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; animation: fadeIn var(--dur) var(--ease);
}
.modal {
  background: var(--card); border-radius: var(--radius-xl);
  padding: 36px; width: 100%; max-width: 500px;
  box-shadow: var(--shadow-xl); animation: slideUp var(--dur-md) var(--ease);
}
.modal-sm { max-width: 380px; }
.modal-lg { max-width: 660px; }

.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.modal-title  { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); }
.modal-close  { background: none; border: none; color: var(--dim); font-size: 20px; line-height: 1; padding: 2px; transition: color var(--dur); }
.modal-close:hover { color: var(--ink); }

.modal-footer {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border);
}


/* ============================================================
   24. ALERTS & TOASTS
   ============================================================ */

.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: var(--radius-md);
  font-size: 0.85rem; line-height: 1.5; margin-bottom: 16px;
}
.alert-icon  { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.alert-body  { flex: 1; }
.alert-title { font-weight: 600; margin-bottom: 2px; }

.alert-green  { background: var(--green-lt);    color: #166b47; border: 1px solid var(--green-bd); }
.alert-red    { background: var(--red-lt);      color: #9b2b20; border: 1px solid var(--red-bd); }
.alert-yellow { background: var(--yellow-lt);   color: #92540c; border: 1px solid #fde68a; }
.alert-amber  { background: var(--amber-light); color: var(--amber); border: 1px solid rgba(212,135,10,0.25); }

.toasts {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 999; display: flex; flex-direction: column; gap: 10px; max-width: 340px;
}
.toast {
  background: var(--ink); color: #fff;
  border-radius: var(--radius-lg); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; animation: slideInRight var(--dur-md) var(--ease);
}
.toast-icon { font-size: 17px; flex-shrink: 0; }
.toast.success .toast-icon { color: #4ade80; }
.toast.error   .toast-icon { color: #f87171; }


/* ============================================================
   25. TABLES
   ============================================================ */

.table-wrapper {
  width: 100%; overflow-x: auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--card);
}
table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }

thead { background: var(--bg); border-bottom: 1px solid var(--border); }
thead th {
  padding: 12px 18px; text-align: left;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--dim); white-space: nowrap;
}

tbody tr { border-bottom: 1px solid var(--border); transition: background var(--dur); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg); }
td { padding: 14px 18px; color: var(--text); vertical-align: middle; }


/* ============================================================
   26. ANIMATIONS & UTILITIES
   ============================================================ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes shimmer {
  from { background-position: -400px 0; }
  to   { background-position:  400px 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}

/* Scroll reveal — add .visible via JS IntersectionObserver */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }


/* ============================================================
   27. RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 840px) {
  .hero-inner    { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual   { display: none; }
  .hero-annotation { display: none; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .features-grid { grid-template-columns: 1fr; }
  .steps         { grid-template-columns: 1fr 1fr; }
  .cities-grid   { grid-template-columns: 1fr 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: 1fr 1fr; }

  nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }

  footer { padding: 24px 20px; flex-direction: column; align-items: flex-start; }

  .app-layout    { flex-direction: column; }
  .sidebar       { width: 100%; height: auto; position: static; flex-direction: row; overflow-x: auto; padding: 0; }
  .sidebar-logo  { display: none; }
  .sidebar-section-label { display: none; }
  .sidebar-link  { flex-direction: column; gap: 3px; padding: 12px 16px; font-size: 0.7rem; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .sidebar-link.active { border-bottom-color: var(--amber2); border-left: none; background: none; }

  .page-content  { padding: 20px; }
  .onboarding-card { padding: 28px 22px; }
  .progress-step:not(:last-child)::after { width: 60px; }

  .article-header { padding: 60px 24px 0; }
  .article-body   { padding: 0 24px 60px; font-size: 1rem; }

  .modal { padding: 28px 22px; }
}

@media (max-width: 480px) {
  .steps       { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: 1fr; }
  .stats-row   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .pricing-card { padding: 32px 24px; }
  .toasts { left: 16px; right: 16px; bottom: 16px; max-width: 100%; }
}

/* ============================================================
   28. ROADMAP TIMELINE
   Two-column layout: date label left, items right with spine.
   ============================================================ */

.roadmap-section {
  padding: 100px 0;
  background: var(--bg);
}

.roadmap {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
}

.roadmap-group {
  display: grid;
  grid-template-columns: 172px 1fr;
  gap: 0 40px;
}

.roadmap-when {
  text-align: right;
  padding-top: 8px;
  flex-shrink: 0;
}

.roadmap-period {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.03em;
  margin-bottom: 3px;
}

.roadmap-horizon {
  font-size: 0.68rem;
  color: var(--dim);
}

/* Vertical spine connecting groups */
.roadmap-spine {
  position: relative;
  padding-left: 28px;
  padding-bottom: 56px;
  border-left: 1px solid var(--border);
}

/* Dot on the spine */
.roadmap-spine::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-light);
}

/* Remove spine line on last group */
.roadmap-group:last-child .roadmap-spine {
  border-left-color: transparent;
  padding-bottom: 0;
}

.roadmap-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Each roadmap item — inherits .card styles, add override here */
.roadmap-item {
  padding: 18px 20px;
}

.roadmap-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.roadmap-item-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.roadmap-item-desc a {
  color: var(--amber);
}

.roadmap-item-desc a:hover {
  color: var(--amber2);
}


/* ============================================================
    ROADMAP RESPONSIVE
   ============================================================ */

@media (max-width: 640px) {
  .page-hero {
    padding: 100px 0 56px;
  }

  .roadmap-group {
    grid-template-columns: 1fr;
  }

  .roadmap-when {
    text-align: left;
    padding: 0 0 6px 28px;
  }

  .roadmap-spine {
    padding-bottom: 40px;
  }

  .cities-strip-inner {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .section-header-row {
    gap: 10px;
  }
}
