/* =========================================================================
   Product pages (/<slug>, lib/productRender.js) — the DragShot marketing site's design
   (deep navy/slate neutrals, electric blue accent). The accent can be changed per page:
   the renderer sets --accent, --accent-rgb, --accent-hover and --accent-contrast on <html>.
   ========================================================================= */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --accent: #3b82f6;
  --accent-rgb: 59, 130, 246;
  --accent-hover: #2563eb;
  --accent-contrast: #ffffff;
  --focus-ring: 0 0 0 3px rgba(var(--accent-rgb), 0.45);
  --transition-fast: 120ms ease;
  --maxw: 1120px;
}

/* Dark theme (default) */
:root,
:root[data-theme='dark'] {
  --bg: #0b1220;
  --bg-2: #0e1626;
  --surface: #131c2e;
  --surface-2: #1b2740;
  --border: #263449;
  --text: #f1f5f9;
  --text-muted: #a3b0c4;
  --text-subtle: #64748b;
  --shadow-md: 0 18px 50px rgba(2, 6, 23, 0.55);
  --shadow-sm: 0 2px 10px rgba(2, 6, 23, 0.4);
  --glow: rgba(var(--accent-rgb), 0.35);
  --hero-fade: rgba(11, 18, 32, 0);
}

:root[data-theme='light'] {
  --bg: #f8fafc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.07);
  --glow: rgba(var(--accent-rgb), 0.22);
  --hero-fade: rgba(248, 250, 252, 0);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

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

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ------------------------- Buttons ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-weight: 650;
  font-size: 15px;
  padding: 11px 18px;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.cta-row .btn-lg { padding: 14px 18px; font-size: 15px; }
.cta-row { gap: 10px; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.35);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-contrast); }

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

.btn svg { flex-shrink: 0; }

/* ------------------------- Header ------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; color: var(--text); display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark-lg { width: 54px; height: 54px; }
.brand-name { font-size: 17px; letter-spacing: -0.01em; }

.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--text-muted); font-size: 15px; font-weight: 550; }
.nav-links a:hover { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.theme-toggle:hover { color: var(--text); border-color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
.icon-moon { display: block; }
:root[data-theme='light'] .icon-sun { display: block; }
:root[data-theme='light'] .icon-moon { display: none; }

/* ------------------------- Hero ------------------------- */
.hero { position: relative; padding: 84px 0 60px; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -140px; left: 50%;
  width: 900px; height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--glow), transparent 62%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 560px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 18px; }
.lead { font-size: clamp(1rem, 2.2vw, 1.18rem); color: var(--text-muted); margin: 0 0 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-center { justify-content: center; }

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: var(--text-muted);
  font-size: 14px;
}
.trust-list li { display: flex; align-items: center; gap: 8px; }
.trust-list li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ------------------------- Hero visual (browser mock) ------------------------- */
.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: 10% 5%;
  background: radial-gradient(circle at 60% 40%, var(--glow), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.browser {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #f87171; }
.dot-y { background: #fbbf24; }
.dot-g { background: #34d399; }
.urlbar {
  margin-left: 10px;
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-subtle);
  padding: 5px 12px;
}
.browser-body {
  position: relative;
  padding: 26px 24px 34px;
  min-height: 320px;
  background:
    linear-gradient(var(--surface), var(--surface));
}
.page-line { height: 12px; border-radius: 999px; background: var(--surface-2); margin-bottom: 14px; }
.page-line.w-40 { width: 40%; }
.page-line.w-50 { width: 50%; }
.page-line.w-70 { width: 70%; }
.page-line.w-80 { width: 80%; }
.page-line.w-90 { width: 90%; }
.page-block { height: 90px; border-radius: var(--radius-md); background: var(--surface-2); margin: 18px 0; }

.marquee {
  position: absolute;
  top: 74px; left: 34px;
  width: 58%; height: 150px;
  border: 2px dashed var(--accent);
  border-radius: 6px;
  background: rgba(var(--accent-rgb), 0.10);
  box-shadow: 0 0 0 9999px rgba(2, 6, 23, 0.30);
}
.handle {
  position: absolute; width: 10px; height: 10px;
  background: var(--accent); border: 2px solid #fff; border-radius: 50%;
}
.handle.tl { top: -6px; left: -6px; }
.handle.tr { top: -6px; right: -6px; }
.handle.bl { bottom: -6px; left: -6px; }
.handle.br { bottom: -6px; right: -6px; }
.dims {
  position: absolute; top: -26px; left: 0;
  background: var(--accent); color: var(--accent-contrast);
  font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 5px;
}
.capture-bar {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  padding: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.cap {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  color: var(--text-muted);
  background: transparent;
}
.cap.active { background: var(--accent); color: var(--accent-contrast); }

/* ------------------------- Strip ------------------------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip-inner {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), 1fr);
  gap: 20px;
  padding: 30px 24px;
  text-align: center;
}
.strip-item { display: flex; flex-direction: column; gap: 2px; }
.strip-item strong { font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--text); letter-spacing: -0.02em; }
.strip-item span { font-size: 13px; color: var(--text-muted); }

/* ------------------------- Sections ------------------------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ------------------------- Feature grid ------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}
.feat-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ------------------------- Steps ------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--accent); color: var(--accent-contrast);
  font-weight: 800; font-size: 1.05rem;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); margin: 0 0 6px; }
.step .micro { font-size: 0.82rem; color: var(--text-subtle); margin-top: 12px; }

.shortcut-row { display: flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 0.9rem; }
.shortcut-row em { color: var(--text-subtle); font-style: normal; margin-left: 8px; font-size: 0.82rem; }
kbd {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 2px 8px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  min-width: 22px;
  text-align: center;
}

/* ------------------------- Privacy ------------------------- */
.privacy-panel {
  position: relative;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  overflow: hidden;
}
.privacy-panel::before {
  content: '';
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, var(--glow), transparent 65%);
  pointer-events: none;
}
.privacy-icon {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(var(--accent-rgb), 0.12); color: var(--accent);
  margin-bottom: 20px;
}
.privacy-icon svg { width: 30px; height: 30px; }
.privacy-panel h2 { position: relative; font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 14px; }
.privacy-panel > p { position: relative; color: var(--text-muted); max-width: 620px; margin: 0 auto 30px; }

.perm-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  text-align: left;
  margin-top: 8px;
}
.perm {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.perm code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.perm span { color: var(--text-muted); font-size: 0.88rem; }

/* ------------------------- FAQ ------------------------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 4px 20px;
  transition: border-color var(--transition-fast);
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  font-size: 1.02rem;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 20px; height: 20px; flex-shrink: 0;
  background: var(--text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 15.4 6 9.4 7.4 8l4.6 4.6L16.6 8 18 9.4z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 15.4 6 9.4 7.4 8l4.6 4.6L16.6 8 18 9.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--transition-fast);
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0 0 18px; color: var(--text-muted); }

/* ------------------------- Download CTA ------------------------- */
.download-section { padding: 72px 0; }
.download-card {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  overflow: hidden;
}
.download-card::before {
  content: '';
  position: absolute; bottom: -160px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse at center, var(--glow), transparent 65%);
  pointer-events: none;
}
.download-card .brand-mark-lg { position: relative; color: var(--text); margin-bottom: 18px; }
.download-card h2 { position: relative; font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 12px; }
.download-card > p { position: relative; color: var(--text-muted); margin: 0 auto 28px; max-width: 460px; }
.download-card .cta-row { position: relative; }

/* ------------------------- Footer ------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 44px 0 28px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; flex-wrap: wrap;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-name { font-size: 16px; }
.footer-tag { margin: 2px 0 0; color: var(--text-muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: 0.92rem; }
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; color: var(--text-subtle); font-size: 0.85rem;
}

/* ------------------------- Responsive ------------------------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: none; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 44px; }
  .section { padding: 60px 0; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .perm-grid { grid-template-columns: 1fr; }
  .privacy-panel { padding: 36px 24px; }
  .cta-row { flex-direction: column; }
  .btn-lg { width: 100%; }
  .footer-inner { flex-direction: column; }
}


/* ---------------- Screenshots gallery ---------------- */
.shots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shot { margin: 0; }
.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.shot figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
  text-align: center;
}
.shot figcaption strong { color: var(--text); }
@media (max-width: 760px) {
  .shots { grid-template-columns: 1fr; }
}

/* ---------------- Privacy policy ---------------- */
.policy {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  color: var(--text-muted);
  line-height: 1.7;
}
.policy h3 {
  color: var(--text);
  font-size: 1.02rem;
  margin: 26px 0 6px;
}
.policy h3:first-of-type { margin-top: 20px; }
.policy p { margin: 0 0 8px; }
.policy strong { color: var(--text); }
.policy a { color: var(--accent); }
.policy code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 0.85em;
}
@media (max-width: 680px) {
  .policy { padding: 20px; }
}

section[id] { scroll-margin-top: 64px; }

/* ---------------- Additions for generated pages ---------------- */
.brand-mark { flex-shrink: 0; }
.brand-mark-alt { color: var(--accent); }
.brand-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.brand-mark-lg .brand-logo { border-radius: 12px; }

/* a store that is not available yet: a button that does nothing, no JavaScript needed */
.btn.is-soon { cursor: not-allowed; box-shadow: none; } /* no whole-button opacity: it would drop the small label under 4.5:1 contrast */
.btn.is-soon svg { opacity: 0.6; }
.btn.is-soon:hover { transform: none; border-color: var(--border); color: var(--text); }
.soon-text { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.soon-text small { font-size: 11px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.01em; }

/* the hero picture (instead of the browser mock-up), and a hero with no picture at all */
.hero-shot img {
  position: relative; z-index: 1; display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  background: var(--surface);
}
.hero-grid.is-solo { grid-template-columns: 1fr; text-align: center; }
.is-solo .hero-copy { max-width: 720px; margin: 0 auto; }
.is-solo .cta-row, .is-solo .trust-list { justify-content: center; }

/* back to the portfolio */
.nav-links .nav-back { color: var(--text-subtle); white-space: nowrap; }
.footer-links .back { color: var(--text-subtle); }
@media (max-width: 1060px) { .nav-links .nav-back { display: none; } }

/* Markdown in answers and in the policy */
.faq details p:last-child, .faq details ul:last-child, .faq details ol:last-child { margin-bottom: 18px; }
.faq details ul, .faq details ol, .policy ul, .policy ol { margin: 0 0 8px; padding-left: 22px; color: var(--text-muted); }
.faq details a, .faq details code {
  color: var(--accent);
}
.faq details code {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; font-size: 0.85em;
}
.faq details strong { color: var(--text); }
.policy > :first-child { margin-top: 0; }
.policy h3:first-child { margin-top: 0; }
.policy img { max-width: 100%; height: auto; }
.policy blockquote { margin: 0 0 8px; padding-left: 14px; border-left: 3px solid var(--border); }

