/*
 * glealu.css — complete stylesheet for all Glealu pages
 * index.html, help.html, terms.html, privacy.html, blog/*
 * No <style> blocks needed in any HTML file.
 *
 * Sections:
 *   1.  Reset & tokens
 *   2.  Base typography & body
 *   3.  Nav
 *   4.  Buttons
 *   5.  Layout helpers
 *   6.  Hero (base + --home / --page variants)
 *   7.  Callout boxes
 *   8.  Steps (steps-grid / steps-list / step-num)
 *   9.  Homepage — mockup
 *  10.  Homepage — privacy strip & features
 *  11.  Homepage — platforms, pricing, trial banner
 *  12.  Homepage — FAQ
 *  13.  Homepage — checkout modal
 *  14.  Homepage — animations
 *  15.  Help — layout & sidebar
 *  16.  Help — content sections, video, contact
 *  17.  Legal pages (terms, privacy)
 *  18.  Blog — listing & articles
 *  19.  Footer
 *  20.  Responsive
 */


/* ─────────────────────────────────────────
   1. Reset & tokens
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --violet:      #7c3aed;
  --violet-dark: #5b21b6;
  --violet-light:#ede9fe;
  --violet-mid:  #ddd6fe;
  --text:        #1a1035;
  --text-muted:  #6b5f8a;
  --bg:          #fdfcff;
  --surface:     #ffffff;
  --border:      #e8e0f8;
}


/* ─────────────────────────────────────────
   2. Base typography & body
───────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--violet); }

code {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  background: var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: var(--violet-dark);
}


/* ─────────────────────────────────────────
   3. Nav
───────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(253,252,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--violet);
}

/* Back-link style used on inner pages */
.nav-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.nav-link:hover { color: var(--violet); }

/* List-based nav used on homepage */
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: color 0.15s; }
.nav-links a:hover { color: var(--violet); }

.nav-hamburger { display: none; }


/* ─────────────────────────────────────────
   4. Buttons
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}

.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--violet-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,0.3); }

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

.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: 10px; }


/* ─────────────────────────────────────────
   5. Layout helpers
───────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; }

section { padding: 5rem 2rem; }

.page-label,
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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


/* ─────────────────────────────────────────
   6. Hero — base + variants
───────────────────────────────────────── */

/* Shared base */
.hero { position: relative; text-align: center; overflow: hidden; }

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 em { font-style: italic; color: var(--violet); }

/* Unified subtitle — used on both homepage and inner pages */
.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.7;
}

/* Homepage variant: large padding + radial gradient glow */
.hero--home { padding: 6rem 2rem 5rem; }

.hero--home::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Inner-page variant: gradient banner (help, blog listing) */
.hero--page {
  background: linear-gradient(180deg, var(--violet-light) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 3rem;
}

/* Homepage-only hero elements */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: var(--violet-light);
  color: var(--violet);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid var(--violet-mid);
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-note { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }

/* Search bar used in help hero */
.search-bar { max-width: 480px; margin: 0 auto; display: flex; gap: 0.5rem; }

.search-bar input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.search-bar input:focus { border-color: var(--violet); }


/* ─────────────────────────────────────────
   7. Callout boxes
───────────────────────────────────────── */
.highlight { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 10px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.highlight p { margin: 0; color: var(--violet-dark); font-weight: 400; }

.tip { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.875rem; color: var(--violet-dark); line-height: 1.6; }
.tip strong { font-weight: 500; }

.warning { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; font-size: 0.875rem; color: #92400e; line-height: 1.6; }


/* ─────────────────────────────────────────
   8. Steps — two layouts, one step-num
───────────────────────────────────────── */

/* Horizontal grid — homepage "How it works" */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-flow { text-align: center; }
.step-flow h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.4rem; color: var(--text); }
.step-flow p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

/* Vertical stack — help page */
.steps-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.25rem 0; }

.step-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; }

.step-content h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.25rem; }
.step-content p  { font-size: 0.85rem; margin: 0; color: var(--text-muted); font-weight: 300; }

/* Shared number circle — base is help size (28px) */
.step-num {
  width: 28px;
  height: 28px;
  background: var(--violet);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Larger circle in the homepage horizontal grid */
.steps-grid .step-num {
  width: 48px;
  height: 48px;
  font-family: 'DM Mono', monospace;
  font-size: 1rem;
  margin: 0 auto 1rem;
  flex-shrink: unset;
  margin-top: 0;
}


/* ─────────────────────────────────────────
   9. Homepage — app mockup
───────────────────────────────────────── */
.mockup-wrap {
  max-width: 780px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(124,58,237,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

.mockup-bar { background: #f5f3ff; border-bottom: 1px solid var(--border); padding: 0.75rem 1.2rem; display: flex; align-items: center; gap: 0.6rem; }
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }

.mockup-msg { max-width: 72%; padding: 0.75rem 1rem; border-radius: 10px; font-size: 0.875rem; line-height: 1.6; }
.mockup-msg.user      { background: #ede9fe; align-self: flex-end; border-radius: 10px 10px 2px 10px; color: #3b0764; }
.mockup-msg.assistant { background: #f9f8ff; border: 1px solid var(--border); align-self: flex-start; border-radius: 10px 10px 10px 2px; color: var(--text); }
.mockup-source        { font-size: 0.7rem; color: var(--text-muted); align-self: flex-start; font-family: 'DM Mono', monospace; }


/* ─────────────────────────────────────────
   10. Homepage — privacy strip & features
───────────────────────────────────────── */
.privacy-strip { background: var(--violet-light); border-top: 1px solid var(--violet-mid); border-bottom: 1px solid var(--violet-mid); padding: 2rem; text-align: center; }
.privacy-strip p { font-size: 1rem; color: var(--violet-dark); font-weight: 400; max-width: 620px; margin: 0 auto; line-height: 1.7; }
.privacy-strip strong { font-weight: 500; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }

.feature-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: border-color 0.2s, box-shadow 0.2s; }
.feature-card:hover { border-color: var(--violet-mid); box-shadow: 0 8px 32px rgba(124,58,237,0.08); }

.feature-icon { width: 44px; height: 44px; background: var(--violet-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--violet); }
.feature-card h3 { font-size: 1rem; font-weight: 500; margin-bottom: 0.5rem; color: var(--text); }
.feature-card p  { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; }

.how-bg { background: linear-gradient(180deg, var(--bg) 0%, var(--violet-light) 50%, var(--bg) 100%); }


/* ─────────────────────────────────────────
   11. Homepage — platforms, pricing, trial
───────────────────────────────────────── */
.platforms { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.platform-badge { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; font-size: 0.85rem; color: var(--text-muted); font-weight: 400; }

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.pricing-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: 16px; padding: 2rem; position: relative; transition: box-shadow 0.2s; }
.pricing-card:hover { box-shadow: 0 12px 40px rgba(124,58,237,0.1); }
.pricing-card.featured { border-color: var(--violet); box-shadow: 0 8px 32px rgba(124,58,237,0.15); }

.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--violet); color: #fff; font-size: 0.72rem; font-weight: 500; padding: 0.25rem 0.85rem; border-radius: 999px; white-space: nowrap; }
.pricing-name { font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }

.pricing-price { font-family: 'Fraunces', serif; font-size: 2.8rem; font-weight: 300; color: var(--text); line-height: 1; margin-bottom: 0.25rem; }
.pricing-price span { font-size: 1.2rem; vertical-align: top; margin-top: 0.5rem; display: inline-block; }
.pricing-period { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.pricing-features li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--violet); }
.pricing-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 1.5rem; }

.trial-banner { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 12px; padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; max-width: 700px; margin: 2rem auto 0; }
.trial-banner p      { font-size: 0.9rem; color: var(--violet-dark); font-weight: 400; }
.trial-banner strong { font-weight: 500; }


/* ─────────────────────────────────────────
   12. Homepage — FAQ
───────────────────────────────────────── */
.faq-list { max-width: 680px; margin: 3rem auto 0; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q:hover { color: var(--violet); }

.faq-a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; padding-bottom: 1.2rem; display: none; font-weight: 300; text-align: left; }

.faq-item.open .faq-a    { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-icon { color: var(--violet); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.2s; line-height: 1; }


/* ─────────────────────────────────────────
   13. Homepage — checkout modal
───────────────────────────────────────── */
#checkoutModal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; align-items: center; justify-content: center; padding: 1.5rem; }

.checkout-modal-inner { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; max-width: 520px; width: 100%; position: relative; text-align: center; }
.checkout-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.2rem; }
.checkout-modal-icon  { font-size: 2.5rem; color: var(--violet); margin-bottom: 0.5rem; }

.checkout-modal-title { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 300; color: var(--text); margin-bottom: 0.75rem; }
.checkout-modal-sub   { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }

.checkout-steps { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 10px; padding: 1.25rem; text-align: left; margin-bottom: 1.25rem; }
.checkout-steps-label { font-size: 0.8rem; font-weight: 500; color: var(--violet); margin-bottom: 0.75rem; }
.checkout-steps ol { font-size: 0.85rem; color: var(--text-muted); line-height: 2; padding-left: 1.25rem; }

.checkout-modal-note   { font-size: 0.8rem; color: var(--text-muted); }
.checkout-modal-note a { color: var(--violet); }


/* ─────────────────────────────────────────
   14. Homepage — animations
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge, .hero h1, .hero-sub, .hero-actions, .hero-note, .mockup-wrap { animation: fadeUp 0.6s ease both; }
.hero h1      { animation-delay: 0.05s; }
.hero-sub     { animation-delay: 0.1s; }
.hero-actions { animation-delay: 0.15s; }
.hero-note    { animation-delay: 0.2s; }
.mockup-wrap  { animation-delay: 0.25s; }


/* ─────────────────────────────────────────
   15. Help — layout & sidebar
───────────────────────────────────────── */
.help-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 4rem;
  padding: 3rem 2rem 6rem;
  align-items: start;
  position: relative;
}

.help-main { position: relative; z-index: 2; min-width: 0; }

.sidebar { position: sticky; top: 5rem; align-self: start; z-index: 0; width: 200px; display: flex; flex-direction: column; }
.sidebar-section { margin-bottom: 1.5rem; display: block; width: 100%; }
.sidebar-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.4rem; display: block; }

.sidebar a { display: block; font-size: 0.82rem; color: var(--text-muted); text-decoration: none; padding: 0.25rem 0 0.25rem 0.75rem; transition: color 0.15s; border-left: 2px solid transparent; box-sizing: border-box; }
.sidebar a:hover  { color: var(--violet); }
.sidebar a.active { color: var(--violet); border-left-color: var(--violet); }


/* ─────────────────────────────────────────
   16. Help — content sections, video, contact
───────────────────────────────────────── */
.help-section { margin-bottom: 4rem; scroll-margin-top: 5rem; }

.help-section h2 { font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 300; color: var(--text); margin-bottom: 1.5rem; letter-spacing: -0.01em; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.help-section h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.75rem 0 0.5rem; }
.help-section p  { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; font-weight: 300; line-height: 1.7; }
.help-section ul,
.help-section ol { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.help-section li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.35rem; font-weight: 300; line-height: 1.6; }

.video-placeholder { background: var(--surface); border: 2px dashed var(--border); border-radius: 12px; padding: 3rem 2rem; text-align: center; margin: 1.25rem 0; color: var(--text-muted); }
.video-placeholder .video-icon { font-size: 2rem; margin-bottom: 0.5rem; color: var(--violet); opacity: 0.4; }
.video-placeholder p { font-size: 0.85rem; margin: 0; }

.contact-card { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 12px; padding: 1.5rem; text-align: center; margin-top: 1.5rem; }
.contact-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.contact-card p  { margin: 0 0 1rem; font-size: 0.875rem; }


/* ─────────────────────────────────────────
   17. Legal pages (terms, privacy)
───────────────────────────────────────── */
.content { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 6rem; line-height: 1.7; }
.content h1 { font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 300; line-height: 1.2; margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.content .updated { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 3rem; }
.content h2 { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 2.5rem 0 0.75rem; }
.content p  { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 300; }
.content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.content ul li { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 300; }


/* ─────────────────────────────────────────
   18. Blog — listing & articles
───────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-top: 3rem; }

.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; text-decoration: none; color: inherit; transition: border-color 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; gap: 0.75rem; }
.blog-card:hover { border-color: var(--violet-mid); box-shadow: 0 8px 32px rgba(124,58,237,0.08); }
.blog-card-tag  { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.blog-card h2   { font-family: 'Fraunces', serif; font-size: 1.15rem; font-weight: 300; line-height: 1.35; color: var(--text); margin: 0; }
.blog-card p    { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; font-weight: 300; margin: 0; flex: 1; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-muted); }

.article-content { max-width: 720px; margin: 0 auto; padding: 4rem 2rem 6rem; line-height: 1.8; }
.article-content h1 { font-family: 'Fraunces', serif; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 300; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -0.02em; }
.article-content .article-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 3rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-content h2 { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 300; color: var(--text); margin: 2.5rem 0 0.75rem; letter-spacing: -0.01em; }
.article-content h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.75rem 0 0.5rem; }
.article-content p  { font-size: 0.975rem; color: var(--text-muted); margin-bottom: 1rem; font-weight: 300; }
.article-content ul,
.article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { font-size: 0.975rem; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 300; line-height: 1.7; }
.article-content strong { font-weight: 500; color: var(--text); }

.article-cta { background: var(--violet-light); border: 1px solid var(--violet-mid); border-radius: 12px; padding: 2rem; text-align: center; margin: 3rem 0; }
.article-cta p { font-size: 1rem; color: var(--violet-dark); margin-bottom: 1rem; font-weight: 400; }


/* ─────────────────────────────────────────
   19. Footer
───────────────────────────────────────── */
footer { background: var(--violet-light); border-top: 1px solid var(--violet-mid); padding: 3rem 2rem; text-align: center; }
footer .footer-logo { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
footer p     { font-size: 0.8rem; color: var(--text-muted); line-height: 1.8; }
footer a     { color: var(--violet); text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ─────────────────────────────────────────
   20. Responsive
───────────────────────────────────────── */
@media (max-width: 768px) {
  /* Help: collapse two-column layout */
  .help-layout { grid-template-columns: 1fr; }

  .sidebar { display: none; width: auto; }

  .sidebar.open {
    display: flex;
    position: fixed;
    top: 57px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    z-index: 99;
    flex-direction: column;
    gap: 0.25rem;
    max-height: 60vh;
    overflow-y: auto;
  }
}

@media (max-width: 640px) {
  nav     { padding: 0.75rem 1rem; }
  section { padding: 3.5rem 1.25rem; }

  .nav-hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--violet);
    cursor: pointer;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
  .nav-links.open { display: flex; }

  .trial-banner { flex-direction: column; text-align: center; }
  .req-grid     { grid-template-columns: 1fr !important; }
}