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

:root {
  --bg:            #ffffff;
  --surface:       #f4f3f0;
  --surface-2:     #eae9e4;
  --border:        #d6d4cd;
  --border-strong: #aeada5;
  --text:          #1a2332;
  --text-dim:      #4a5568;
  --text-mute:     #718096;
  --accent:        #1e4d8c;
  --accent-hover:  #153870;
  --accent-soft:   rgba(30,77,140,.08);
  --accent-border: rgba(30,77,140,.22);
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  10px;
  --radius-xl:  14px;
  --radius-pill:999px;
}

/* ── Dark theme ── */
[data-theme="dark"] {
  --bg:            #0e0e0f;
  --surface:       #161618;
  --surface-2:     #1c1c1f;
  --border:        #26262a;
  --border-strong: #34343a;
  --text:          #eeeae4;
  --text-dim:      #a6a29c;
  --text-mute:     #8a857e;
  --accent:        #7940fe;
  --accent-hover:  #8a5aff;
  --accent-soft:   rgba(121,64,254,.12);
  --accent-border: rgba(121,64,254,.35);
}

[data-theme="dark"] .nav {
  background: rgba(14,14,15,.88);
  backdrop-filter: blur(12px);
  border-bottom-color: #26262a;
}

[data-theme="dark"] .nav-cta {
  background: #eeeae4;
  color: #0e0e0f;
}
[data-theme="dark"] .nav-cta:hover { background: #d8d4ce; }

[data-theme="dark"] .btn-ghost {
  border-color: #34343a;
  color: #a6a29c;
  background: transparent;
}
[data-theme="dark"] .btn-ghost:hover {
  border-color: #a6a29c;
  color: #eeeae4;
  background: transparent;
}

[data-theme="dark"] .app-screenshot {
  box-shadow: 0 24px 80px rgba(0,0,0,.6), 0 8px 32px rgba(121,64,254,.12);
  border-color: #26262a;
}

[data-theme="dark"] .pricing-block { background: #161618; }
[data-theme="dark"] .pricing-card { background: #1c1c1f; border-color: rgba(121,64,254,.35); }
[data-theme="dark"] .howto { background: #161618; }
[data-theme="dark"] .cta-section { background: #161618; }
[data-theme="dark"] .page-hero { background: #161618; border-bottom-color: #26262a; }
[data-theme="dark"] .toc-card { background: #161618; border-color: #26262a; }
[data-theme="dark"] .audience-card { background: #161618; border-color: #26262a; }
[data-theme="dark"] .feature-card { background: #0e0e0f; }
[data-theme="dark"] .benefit-card { background: #0e0e0f; }
[data-theme="dark"] footer { background: #1c1c1f; border-top-color: #26262a; }
[data-theme="dark"] .blog-card { background: #161618; border-color: #26262a; }
[data-theme="dark"] .blog-post-cta { background: #161618; border-top-color: #26262a; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 16px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; z-index: 1000;
}
.skip-link:focus { top: 16px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 2px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  color: var(--text);
}
.nav-brand .logo {
  width: 30px; height: 30px; border-radius: 6px;
  object-fit: contain;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px; color: var(--text-dim);
  transition: color .15s;
}
.nav-links a:hover { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
  font-size: 13px; font-weight: 600;
  background: var(--accent); color: #fff;
  padding: 7px 16px; border-radius: var(--radius-md);
  transition: background .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ── Container ── */
.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ── */
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 320px);
  align-items: center;
  gap: 64px;
  padding: 80px 24px 96px;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  color: var(--accent); border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 12px; margin-bottom: 24px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text);
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 18px; color: var(--text-dim);
  line-height: 1.65; max-width: 520px; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.app-store-badge { height: 48px; width: auto; display: block; }
.app-store-badge:hover { opacity: .85; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--accent-border); color: var(--accent);
  font-size: 14px; font-weight: 500;
  padding: 11px 20px; border-radius: var(--radius-md);
  transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

/* app screenshot */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.app-screenshot {
  width: 100%; max-width: 280px;
  border-radius: 44px;
  box-shadow:
    0 20px 60px rgba(0,0,0,.14),
    0 4px 16px rgba(30,77,140,.10);
  display: block;
  border: 1px solid var(--border);
}

/* ── Features ── */
.features { padding: 80px 0; border-top: 1px solid var(--border); }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 16px;
  color: var(--text);
}
.section-sub {
  font-size: 17px; color: var(--text-dim);
  max-width: 520px; line-height: 1.65; margin-bottom: 48px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.feature-card:nth-child(2n) { border-right: none; }
.feature-card:last-child { border-right: none; border-bottom: none; }
.feature-icon {
  width: 44px; height: 44px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
}
.feature-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 8px;
  color: var(--text);
}
.feature-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ── How it works ── */
.howto { padding: 80px 0; border-top: 1px solid var(--border); background: var(--surface); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; margin-top: 48px;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.step-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px; font-weight: 600; letter-spacing: -0.01em;
  color: var(--text);
}
.step-desc { font-size: 14px; color: var(--text-dim); line-height: 1.6; }

/* ── Page Header ── */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 12px; display: block;
}
.page-header h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 12px;
  color: var(--text);
}
.page-meta { font-size: 14px; color: var(--text-mute); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 20px; margin: 24px 0;
  font-size: 14px; color: var(--text-dim);
}
.callout strong { color: var(--text); }

/* ── Page Hero ── */
.page-hero {
  padding: 72px 24px 48px;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero p.lede {
  font-size: 17px; color: var(--text-dim);
  line-height: 1.65; max-width: 600px;
  margin: 0 auto;
}

/* ── Table of Contents ── */
.toc { padding: 24px 0 48px; }
.toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}
.toc-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 24px;
}
.toc-list a {
  font-size: 15px; color: var(--accent);
  transition: color .15s;
  display: inline-flex; gap: 8px; align-items: baseline;
}
.toc-list a:hover { color: var(--accent-hover); text-decoration: underline; }
.toc-list a::before { content: "→"; font-size: 13px; }

/* ── FAQ Section ── */
.faqs { padding: 0 24px 80px; max-width: 1120px; margin: 0 auto; }
.faq-section { margin-bottom: 48px; }
.faq-section:last-child { margin-bottom: 0; }
.faq-section-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-family: 'Lora', Georgia, serif;
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--text);
}
.faq-a {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.7;
}

.prose-link { color: var(--accent); }
.prose-link:hover { color: var(--accent-hover); text-decoration: underline; }

.visually-hidden { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }

/* ── Prose Section ── */
.prose {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.prose h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; margin-bottom: 20px;
  color: var(--text);
}
.prose p {
  font-size: 17px; color: var(--text-dim);
  line-height: 1.7; margin-bottom: 18px;
}
.prose p:last-child { margin-bottom: 0; }

/* ── Benefits Grid ── */
.benefits {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.benefit-card {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.benefit-card:nth-child(2n) { border-right: none; }
.benefit-card:nth-last-child(-n+2) { border-bottom: none; }
.benefit-num {
  font-size: 13px; font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.benefit-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 10px;
  color: var(--text);
}
.benefit-desc { font-size: 15px; color: var(--text-dim); line-height: 1.65; }

/* ── Audience Cards ── */
.audiences { padding: 64px 0; border-top: 1px solid var(--border); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.audience-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-border);
  padding: 3px 10px; border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.audience-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 19px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 10px;
  color: var(--text);
}
.audience-desc { font-size: 15px; color: var(--text-dim); line-height: 1.65; }

/* ── Pricing Block ── */
.pricing-block {
  padding: 64px 0; border-top: 1px solid var(--border);
  background: var(--surface);
}
.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--text);
}
.pricing-card p { font-size: 16px; color: var(--text-dim); line-height: 1.65; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 12px 22px; border-radius: var(--radius-md);
  transition: background .15s;
}
.btn-primary:hover { background: var(--accent-hover); }

/* ── CTA ── */
.cta-section {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--surface);
}
.cta-section .section-title { margin: 0 auto 16px; }
.cta-section .section-sub { margin: 0 auto 36px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Footer ── */
footer {
  border-top: 2px solid var(--border);
  padding: 32px 0;
  background: var(--surface-2);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  font-size: 14px; font-weight: 600; color: var(--text-dim);
  display: inline-flex; align-items: center;
}
.footer-brand a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s;
}
.footer-brand a:hover { color: var(--accent-hover); text-decoration: underline; }
.footer-links {
  display: flex; gap: 24px; list-style: none;
}
.footer-links a { font-size: 13px; color: var(--text-mute); transition: color .15s; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* ── Tablet (768px) ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .hero { padding: 50px 20px 60px; gap: 30px; }
  .hero h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .hero-badge { font-size: 11px; padding: 3px 10px; margin-bottom: 16px; }
  .app-store-badge { height: 40px; }
  .app-screenshot { max-width: 160px; border-radius: 40px; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .features { padding: 60px 0; }
  .section-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 14px; }
  .section-sub { font-size: 15px; margin-bottom: 40px; }
  .feature-card { padding: 24px 20px; border-right: none; }
  .feature-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
  .feature-title { font-size: 15px; margin-bottom: 6px; }
  .feature-desc { font-size: 13px; }
  .howto { padding: 60px 0; }
  .steps { gap: 28px; margin-top: 40px; }
  .step-title { font-size: 14px; }
  .step-desc { font-size: 13px; }
  .cta-section { padding: 70px 0; }
  .cta-section .section-title { margin: 0 auto 12px; }
  .cta-section .section-sub { margin: 0 auto 28px; }
  .cta-actions { gap: 10px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
  footer { padding: 24px 0; }
  .page-header { padding: 48px 0 36px; }
  .page-header h1 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 10px; }
  .page-meta { font-size: 13px; }
  .page-hero { padding: 50px 20px 36px; }
  .page-hero h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
  .page-hero p.lede { font-size: 15px; }
  .prose { padding: 40px 0; }
  .prose h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 16px; }
  .prose p { font-size: 15px; }
  .benefits { padding: 48px 0; }
  .benefit-card { padding: 24px 20px; border-right: none; border-bottom: 1px solid var(--border); }
  .benefit-card:last-child { border-bottom: none; }
  .audiences { padding: 48px 0; }
  .audience-grid { gap: 16px; }
  .pricing-block { padding: 48px 0; }
  .pricing-card { padding: 28px 24px; }
  .pricing-card h2 { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 12px; }
  .pricing-card p { font-size: 14px; }
  .toc { padding: 20px 0 32px; }
  .toc-list { grid-template-columns: 1fr; gap: 8px 0; }
  .toc-list a { font-size: 14px; }
  .faqs { padding: 0 20px 60px; }
  .faq-section { margin-bottom: 36px; }
  .faq-item { padding: 18px 0; }
  .faq-q { font-size: 16px; margin-bottom: 8px; }
  .faq-a { font-size: 14px; }
}

/* ── Mobile (480px) ── */
@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; height: 50px; }
  .nav-brand { gap: 8px; font-size: 15px; }
  .nav-brand .logo { width: 26px; height: 26px; }
  .nav-cta { font-size: 12px; padding: 6px 14px; }
  .container { padding: 0 16px; }
  .hero { padding: 40px 16px 50px; gap: 20px; }
  .hero h1 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 12px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-badge { font-size: 10px; padding: 2px 8px; margin-bottom: 12px; }
  .app-store-badge { height: 36px; }
  .app-screenshot { max-width: 140px; border-radius: 36px; }
  .features { padding: 50px 0; }
  .section-title { font-size: clamp(20px, 2.5vw, 30px); margin-bottom: 12px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 20px 16px; border: none; border-bottom: 1px solid var(--border); }
  .feature-icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 10px; }
  .howto { padding: 50px 0; }
  .steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .step-num { width: 28px; height: 28px; font-size: 12px; }
  .step-title { font-size: 13px; }
  .step-desc { font-size: 12px; }
  .cta-section { padding: 60px 0; }
  .cta-actions { flex-direction: column; gap: 12px; }
  footer { padding: 20px 16px; }
  .footer-inner { flex-direction: column; gap: 12px; justify-content: center; text-align: center; }
  .footer-links { gap: 16px; justify-content: center; }
  .footer-links a { font-size: 11px; }
  .page-header { padding: 40px 0 28px; }
  .page-header h1 { font-size: clamp(20px, 2.5vw, 32px); margin-bottom: 8px; }
  .page-hero { padding: 40px 16px 28px; }
  .page-hero h1 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 10px; }
  .page-hero p.lede { font-size: 14px; }
  .prose { padding: 32px 0; }
  .prose h2 { font-size: clamp(18px, 2.5vw, 24px); margin-bottom: 12px; }
  .prose p { font-size: 14px; }
  .benefits { padding: 40px 0; }
  .benefit-card { padding: 20px 16px; }
  .benefit-title { font-size: 16px; }
  .benefit-desc { font-size: 14px; }
  .audiences { padding: 40px 0; }
  .audience-grid { gap: 12px; }
  .audience-card { padding: 20px 16px; }
  .audience-title { font-size: 16px; }
  .pricing-block { padding: 40px 0; }
  .pricing-card { padding: 24px 16px; }
  .toc { padding: 16px 0 24px; }
  .toc-card { padding: 16px 20px; }
  .toc-list a { font-size: 13px; }
  .faqs { padding: 0 16px 50px; }
  .faq-section { margin-bottom: 28px; }
  .faq-item { padding: 16px 0; }
  .faq-q { font-size: 15px; margin-bottom: 6px; line-height: 1.3; }
  .faq-a { font-size: 13px; }
}

/* ── Blog ── */
.blog-grid { padding: 60px 0; }
.blog-section { margin-bottom: 64px; }
.blog-section:last-child { margin-bottom: 0; }
.blog-category-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 32px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color .2s, box-shadow .2s;
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(30,77,140,.10);
}
.blog-card-header { margin-bottom: 16px; }
.blog-card-title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
  color: var(--text);
}
.blog-card-title a {
  color: var(--text);
  transition: color .2s;
}
.blog-card-title a:hover { color: var(--accent); }
.blog-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-mute);
}
.blog-date { font-weight: 500; }
.blog-category {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.blog-excerpt {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-read-more {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.blog-read-more:hover { color: var(--accent-hover); text-decoration: underline; }
.blog-post { margin: 0; }
.blog-post-cta {
  padding: 60px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.blog-post-cta h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: var(--text);
}
.blog-post-cta p {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.cta-btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: background .2s;
}
.cta-btn:hover { background: var(--accent-hover); }
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-dim);
  padding: 40px 20px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .posts-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-category-title { font-size: 1.2rem; margin-bottom: 20px; }
  .blog-card { padding: 20px; }
  .blog-card-title { font-size: 1.1rem; }
  .blog-section { margin-bottom: 40px; }
  .blog-post-cta { padding: 40px 0; }
  .blog-post-cta h3 { font-size: 1.4rem; }
}

/* Accessibility: keyboard focus + reduced motion */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
