/* ═══════════════════════════════════════════════════════════════════════
   FlecBase design system — single source of truth
   Used by: www.flecbase.com landing, app.flecbase.com CMS, Filament (future)
   Last updated: 2026-04-18
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Design tokens ─── */
:root {
  --bg:           #fafaf9;
  --surface:      #ffffff;
  --surface-alt:  #f5f0eb;
  --text:         #1c1917;
  --text-muted:   #78716c;
  --text-subtle:  #a8a29e;
  --border:       #e7e5e4;
  --border-strong:#d6d3d1;

  --accent:       #0d9488;
  --accent-dark:  #0f766e;
  --accent-light: #ccfbf1;
  --accent-subtle:#f0fdfa;

  --success:      #16a34a;  --success-bg:   #dcfce7;
  --warning:      #d97706;  --warning-bg:   #fef3c7;
  --danger:       #dc2626;  --danger-bg:    #fee2e2;
  --info:         #2563eb;  --info-bg:      #dbeafe;

  --font-sans:    'Outfit', system-ui, -apple-system, sans-serif;
  --font-serif:   'Source Serif 4', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --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-16: 64px; --space-20: 80px;

  --radius-sm:   6px;   --radius-md:   10px;
  --radius-lg:   16px;  --radius-xl:   20px;
  --radius-2xl:  24px;  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 16px 40px rgba(0,0,0,0.08);

  --container-narrow: 720px;
  --container-wide:   1100px;

  --tx-fast: 0.15s ease;
  --tx-med:  0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }

/* SVG default sizing — scales with surrounding text */
svg { width: 1em; height: 1em; vertical-align: middle; flex-shrink: 0; fill: currentColor; }
svg[width], svg[height] { width: initial; height: initial; }
.btn svg { width: 1.1em; height: 1.1em; }

/* ─── Base typography ─── */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

h1 { font-size: 40px; margin-bottom: var(--space-3); }
h2 { font-size: 28px; margin-top: var(--space-12); margin-bottom: var(--space-5); }
h3 { font-size: 20px; margin-top: var(--space-8); margin-bottom: var(--space-3); }
h4 { font-size: 17px; margin-top: var(--space-6); margin-bottom: var(--space-2); }
h5 { font-size: 15px; margin-top: var(--space-4); margin-bottom: var(--space-2); font-weight: 600; }
h6 { font-size: 14px; margin-top: var(--space-4); margin-bottom: var(--space-2); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

p { margin-bottom: var(--space-3); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; transition: color var(--tx-fast); }
a:hover { color: var(--accent-dark); text-decoration: underline; }

strong, b { font-weight: 600; color: var(--text); }
em, i { font-style: italic; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: 0.9em; }
code { background: var(--surface-alt); padding: 2px 6px; border-radius: var(--radius-sm); color: var(--accent-dark); }
kbd { background: var(--surface); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: var(--radius-sm); padding: 2px 6px; font-size: 0.85em; color: var(--text); }
pre { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-4); overflow-x: auto; margin-bottom: var(--space-4); }
pre code { background: transparent; padding: 0; color: var(--text); }
mark { background: var(--warning-bg); color: var(--text); padding: 0 4px; border-radius: var(--radius-sm); }
small { font-size: 0.875em; color: var(--text-muted); }

blockquote { border-left: 4px solid var(--accent); padding: var(--space-2) var(--space-5); margin: var(--space-4) 0; color: var(--text-muted); font-style: italic; }

hr { border: none; border-top: 1px solid var(--border); margin: var(--space-8) 0; }

ul, ol { padding-left: var(--space-6); margin-bottom: var(--space-4); }
ul li, ol li { margin-bottom: var(--space-2); }
ul li::marker { color: var(--accent); }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-4); background: var(--surface); border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); }
th, td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--surface-alt); font-weight: 600; font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.02em; }
tbody tr:last-child td { border-bottom: none; }

/* Forms */
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: var(--space-2); color: var(--text); }
input, textarea, select {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-subtle); }
input::placeholder, textarea::placeholder { color: var(--text-subtle); }
textarea { resize: vertical; min-height: 120px; }

/* ─── Layout primitives ─── */
.container {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-20);
}
.container--wide { max-width: var(--container-wide); }
.container--flush { padding-top: 0; padding-bottom: 0; }

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-8); }

/* ═══ Site navigation (fixed top) ═══ */
.site-nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}
.site-nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--text);
}
.site-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.site-logo-icon svg { width: 20px; height: 20px; }
.site-logo-text { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.site-nav-links { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.site-nav-links a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--tx-fast);
}
.site-nav-links a:hover { color: var(--text); background: var(--surface-alt); text-decoration: none; }
.site-nav-links a.active { color: var(--accent); }

/* Simpler non-fixed header (used by docs/legal/help) */
.site-header {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.site-header-inner {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
}
.site-header-inner .site-logo-text { font-size: 20px; }
.site-header-inner .site-nav-links { gap: var(--space-6); }

/* ═══ Page footer ═══ */
.page-footer {
  max-width: var(--container-narrow);
  margin: var(--space-16) auto 0;
  padding: var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.page-footer--wide { max-width: var(--container-wide); }
.page-footer-links { display: flex; gap: var(--space-4); }
.page-footer a { color: var(--text-muted); }
.page-footer a:hover { color: var(--accent); }

/* ═══ Hero ═══ */
.hero {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6) var(--space-12);
  text-align: center;
}
.hero--with-nav-offset { padding-top: 140px; }

.hero-eyebrow,
.pre-release-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.pre-release-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
  animation: fadeUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* ═══ Animations ═══ */
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ═══ Verticals / tag row ═══ */
.vertical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-10) var(--space-6) var(--space-20);
}
.vertical-tags::before {
  content: attr(data-label);
  display: block;
  width: 100%;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  font-weight: 500;
  text-align: center;
}
.vertical-tags span {
  background: var(--surface-alt);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ═══ Section scaffolding ═══ */
.section {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-20) var(--space-6);
}
.section--narrow { max-width: var(--container-narrow); }
.section--bleed {
  max-width: none;
  background: var(--surface-alt);
  padding: var(--space-20) var(--space-6);
}
.section--bleed > * {
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
}
.section-header { text-align: center; margin-bottom: var(--space-16); }
.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 0;
  margin-bottom: var(--space-3);
}
.section-header p {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-muted);
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--tx-med);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); color: white; box-shadow: 0 8px 24px rgba(13, 148, 136, 0.25); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--surface-alt); color: var(--text); }

.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); color: var(--accent); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--surface-alt); color: var(--text); }

.btn-danger { background: var(--danger); color: white; }
.btn-danger:hover { background: #b91c1c; color: white; }

.btn-white { background: white; color: var(--accent-dark); }
.btn-white:hover { background: var(--accent-subtle); color: var(--accent-dark); }

.btn-lg { padding: var(--space-4) var(--space-8); font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: 14px; }

/* ═══ Cards ═══ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--tx-fast);
}
.card:hover { border-color: var(--accent); }
.card h3 { margin-top: 0; }
.card-header {
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) var(--space-4);
  padding: var(--space-4) var(--space-6);
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-weight: 600;
}

/* ═══ Feature grid (3-up card grid) ═══ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  transition: all var(--tx-med);
}
.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: var(--accent);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { margin-top: 0; margin-bottom: var(--space-2); font-size: 18px; }
.feature-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ═══ Horizontal step row (landing "how it works") ═══ */
.step-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.step-row .step {
  text-align: center;
  border: none;
  padding: 0;
  display: block;
}
.step-row .step-num {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: white;
  font-size: 22px;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
}
.step-row .step h3 { margin: 0 0 var(--space-2); font-size: 17px; font-weight: 600; }
.step-row .step p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ═══ Numbered step blocks (docs — vertical) ═══ */
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: none; }
.step-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}
.step-body h3 { margin-top: 0; }
.step-meta {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.sub-steps { counter-reset: substep; margin: var(--space-4) 0; }
.sub-step {
  counter-increment: substep;
  position: relative;
  padding-left: var(--space-10);
  margin-bottom: var(--space-4);
}
.sub-step::before {
  content: counter(substep, lower-alpha);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--surface-alt);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ═══ Pricing grid ═══ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  transition: all var(--tx-med);
  position: relative;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}
.price-card h3 { margin: 0 0 var(--space-2); font-size: 16px; font-weight: 600; }
.price-amount { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: var(--space-1); }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-card .users { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-4); }
.price-card .free-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ═══ Pre-release / CTA gradient card ═══ */
.cta-card {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, #14b8a6 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-16);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  box-shadow: var(--shadow-xl);
}
.cta-card h2 { color: white; font-size: 32px; margin-top: 0; margin-bottom: var(--space-4); }
.cta-card p { font-size: 16px; opacity: 0.92; line-height: 1.7; margin-bottom: var(--space-3); color: white; }
.cta-card a { color: white; text-decoration: underline; }
.cta-card .btn-white { color: var(--accent-dark); }

.promise-list { list-style: none; padding: 0; margin: 0; }
.promise-list li {
  font-size: 15px;
  padding: var(--space-2) 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.promise-list li::before {
  content: '✓';
  font-weight: 700;
  color: #5eead4;
  flex-shrink: 0;
  font-size: 18px;
}
.promise-list li::marker { content: ''; }

/* ═══ Dashed-border card (iPhone interest etc.) ═══ */
.card-dashed {
  background: var(--surface);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
}
.card-dashed h3 { margin-top: 0; font-size: 22px; }
.card-dashed p { color: var(--text-muted); margin-bottom: var(--space-6); }

/* ═══ Email form inline ═══ */
.form-inline {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
}
.form-inline input { flex: 1; }

/* ═══ Alerts ═══ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  border-left: 4px solid;
  margin-bottom: var(--space-4);
  font-size: 15px;
}
.alert strong { display: block; margin-bottom: var(--space-1); }
.alert svg { width: 20px; height: 20px; }
.alert-info    { background: var(--info-bg);    border-color: var(--info);    color: #1e40af; }
.alert-success { background: var(--success-bg); border-color: var(--success); color: #166534; }
.alert-warning { background: var(--warning-bg); border-color: var(--warning); color: #92400e; }
.alert-danger  { background: var(--danger-bg);  border-color: var(--danger);  color: #991b1b; }

/* ═══ Pills / badges ═══ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.pill-neutral  { background: var(--surface-alt);  color: var(--text-muted); }
.pill-primary  { background: var(--accent-light); color: var(--accent-dark); }
.pill-success  { background: var(--success-bg);   color: #166534; }
.pill-warning  { background: var(--warning-bg);   color: #92400e; }
.pill-danger   { background: var(--danger-bg);    color: #991b1b; }
.pill-info     { background: var(--info-bg);      color: #1e40af; }

/* ═══ Download card (APK/PDF downloads) ═══ */
.download-card {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  color: white;
  text-align: center;
  margin: var(--space-8) 0;
  box-shadow: var(--shadow-lg);
}
.download-card h2 { color: white; margin: 0 0 var(--space-2); font-size: 22px; }
.download-card p { color: rgba(255,255,255,0.85); margin-bottom: var(--space-5); }
.download-card .btn { background: white; color: var(--accent-dark); }
.download-card .btn:hover { background: var(--surface-alt); color: var(--accent-dark); }

/* ═══ Screenshots ═══ */
.screenshot { margin: var(--space-6) 0; text-align: center; }
.screenshot img {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.screenshot-caption {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-style: italic;
}

/* ═══ Page list (listing pages /docs, /legal) ═══ */
.page-list { display: flex; flex-direction: column; gap: var(--space-4); margin-top: var(--space-6); }
.page-list-item {
  display: block;
  padding: var(--space-5) var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  transition: border-color var(--tx-fast), box-shadow var(--tx-fast);
}
.page-list-item:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); text-decoration: none; }
.page-list-item h3 { margin: 0 0 var(--space-1); color: var(--text); }
.page-list-item p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* ═══ Utility classes ═══ */
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-row { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .cta-card { grid-template-columns: 1fr; padding: var(--space-10) var(--space-6); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .container { padding: var(--space-6) var(--space-4) var(--space-12); }
  .site-header-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .site-nav-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .page-footer { flex-direction: column; align-items: flex-start; }
  .hero { padding: var(--space-12) var(--space-4); }
  .hero--with-nav-offset { padding-top: 120px; }
  .step { grid-template-columns: 1fr; }
  .step-number { width: 36px; height: 36px; font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .form-inline { flex-direction: column; }
  .site-nav-links a:not(.btn) { display: none; }
}
