/* ==========================================================================
   Actuator - Modern Mobile App Landing Page Theme for Jekyll
   ========================================================================== */

:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.25);
  --secondary: #06b6d4;
  --accent: #8b5cf6;
  
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-phone: 0 25px 60px -15px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.08);

  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --container-max: 1200px;
  --container-narrow: 840px;
  --header-height: 80px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

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

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

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

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--dark);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-accent:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Store Badges
   ========================================================================== */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #000000;
  color: #ffffff !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  user-select: none;
}

.store-badge:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.store-badge .badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-badge .badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.store-badge .badge-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a1a1aa;
  font-weight: 500;
}

.store-badge .badge-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* ==========================================================================
   Compact Badges (Footer Specific Overrides)
   ========================================================================== */
.footer-badges {
  width: 100%; /* Ensure footer container expands */
}

/* Force container into side-by-side equal columns */
.store-badges.badges-compact,
.badges-compact {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.5rem !important;
  width: 100% !important;
  max-width: 320px; /* Adjust or remove if you want them wider */
}

.badges-compact .store-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.5rem 0.5rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.badges-compact .badge-icon {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

.badges-compact .badge-title {
  font-size: 0.85rem !important;
}

.badges-compact .badge-subtitle {
  font-size: 0.55rem !important;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--dark);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.brand-logo:hover {
  color: var(--dark);
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px var(--primary-glow);
}

.brand-icon svg {
  width: 22px;
  height: 22px;
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 4.5rem 0 6rem;
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 45%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.hero-pill-tag {
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-actions {
  margin-bottom: 2.5rem;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #f59e0b;
}

.rating-stars svg {
  width: 18px;
  height: 18px;
}

.rating-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rating-text strong {
  color: var(--dark);
}

/* ==========================================================================
   Smartphone Mockup
   ========================================================================== */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 540px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
}

.phone-device {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 610px;
  background: #1e1e24;
  border-radius: 46px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  border: 4px solid #33343d;
  box-sizing: border-box;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #090a0f;
  border-radius: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
}

.phone-camera {
  width: 8px;
  height: 8px;
  background: #1e293b;
  border-radius: 50%;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0f172a;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  padding-top: 36px;
}

.screen-header {
  padding: 1rem 1.25rem 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-app-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.screen-status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.screen-card-main {
  margin: 0.75rem 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(139, 92, 246, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.screen-card-label {
  font-size: 0.75rem;
  color: #c7d2fe;
}

.screen-card-value {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
  color: #ffffff;
}

.screen-card-stat {
  font-size: 0.75rem;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 4px;
}

.screen-items-list {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.screen-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 41, 59, 0.7);
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.screen-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.screen-item-info {
  flex: 1;
}

.screen-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f1f5f9;
}

.screen-item-sub {
  font-size: 0.7rem;
  color: #94a3b8;
}

.screen-nav {
  margin-top: auto;
  height: 55px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1rem;
}

.screen-nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #64748b;
}

.screen-nav-dot.active {
  width: 18px;
  height: 6px;
  border-radius: 3px;
  background: var(--primary);
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.25rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 70, 229, 0.25);
}

.feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.08);
  background: var(--primary);
  color: #ffffff;
}

.feature-icon-box svg {
  width: 24px;
  height: 24px;
}

.feature-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Screenshots Section
   ========================================================================== */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.screenshot-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.screenshot-visual {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  color: #ffffff;
}

.phone-screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 36px;
  display: block;
}

.screenshot-img-wrapper {
  height: 280px;
  overflow: hidden;
  background: var(--bg-alt);
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  display: block;
}

.screenshot-card:hover .screenshot-img {
  transform: scale(1.04);
}

.screenshot-card-content {
  padding: 1.5rem;
}

.screenshot-card-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.screenshot-card-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.35s ease-in-out;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Download CTA Section
   ========================================================================== */
.cta-section {
  padding: 5rem 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 100%);
  color: #ffffff;
  padding: 4.5rem 3rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box .cta-title {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-box .cta-subtitle {
  color: #94a3b8;
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.cta-box .store-badges {
  justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: #ffffff;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
}

/* ==========================================================================
   Legal & Content Pages (Privacy, Terms, Support)
   ========================================================================== */
.legal-page {
  padding-bottom: 5rem;
}

.legal-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  margin-bottom: 3.5rem;
}

.legal-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.legal-title {
  font-size: 2.75rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Markdown typography styling */
.markdown-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.markdown-body h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.markdown-body h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.markdown-body p {
  margin-bottom: 1.25rem;
}

.markdown-body ul, .markdown-body ol {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

.markdown-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  color: var(--text-muted);
}

.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.markdown-body th, .markdown-body td {
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.markdown-body th {
  background: var(--bg-alt);
  font-weight: 600;
}

.legal-footer-nav {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.back-link:hover {
  color: var(--primary);
}

.legal-quick-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-quick-links .sep {
  color: var(--border);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions .store-badges {
    justify-content: center;
  }
  
  .hero-social-proof {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .nav-link {
    display: block;
    width: 100%;
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .header-cta {
    width: 100%;
    margin-top: 1rem;
  }

  .header-cta .btn {
    width: 100%;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }

  .cta-box .cta-title {
    font-size: 2rem;
  }
}
