/* ═══════════════════════════════════════════════════════════════
   SEO Desk Landing — Main Styles
═══════════════════════════════════════════════════════════════ */

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  transition: background .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout helpers ──────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 24px; }
.section-sm { padding: 64px 24px; }
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
}

/* ── Typography scale ───────────────────────────────────────────── */
.h1 { font-size: clamp(36px, 5.5vw, 60px); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.h2 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.h3 { font-size: 18px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-2); line-height: 1.7; font-weight: 400; }
.caption { font-size: 13px; color: var(--text-3); }
.text-blue { color: var(--blue); }
.text-blue-heading { color: var(--blue-text); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-md); font-size: 14px; font-weight: 600;
  line-height: 1; transition: all .18s ease; white-space: nowrap;
}
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: var(--r-md); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: var(--r-sm); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(37,99,235,.3); }
.btn-primary:hover { background: var(--blue-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37,99,235,.38); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border: 1.5px solid var(--border); color: var(--text-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* ── Section label ──────────────────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
}
.section-eyebrow::before {
  content: ''; display: block; width: 18px; height: 2px;
  background: var(--blue); border-radius: 2px; flex-shrink: 0;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .h2 { margin-bottom: 14px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-md), 0 0 0 1px rgba(37,99,235,.08) inset; transform: translateY(-2px); }

/* ── Scroll reveal ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }
.reveal-d6 { transition-delay: .48s; }

/* ── Plan badges ─────────────────────────────────────────────── */
.plan-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.plan-pro   { background: #10b981; }
.plan-trial { background: #f59e0b; }
.plan-free  { background: #6b7280; }

/* ── Check/cross ─────────────────────────────────────────────── */
.check { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--text-2); }
.check-icon { flex-shrink: 0; width: 18px; height: 18px; border-radius: 5px; display: flex; align-items: center; justify-content: center; }
.check-icon.yes { background: var(--blue-mid); }
.check-icon.no  { background: var(--surface-3); }

/* ── Hero glow ───────────────────────────────────────────────── */
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: 0; transition: opacity .4s; }
[data-theme="dark"] .hero-glow { opacity: 1; }
@media (prefers-color-scheme: dark) { .hero-glow { opacity: 1; } }
.grid-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border-2) 1px, transparent 1px), linear-gradient(90deg, var(--border-2) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

/* ─────────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────────── */
#header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h); transition: background .3s, border-color .3s, box-shadow .3s; }
#header.scrolled {
  background: rgba(248,250,252,.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
[data-theme="dark"] #header.scrolled { background: rgba(19,30,48,.9); }
@media (prefers-color-scheme: dark) { #header.scrolled { background: rgba(19,30,48,.9); } }

.header-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 24px; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--text-1); }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; flex-shrink: 0; background: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(37,99,235,.35); }
.logo-mark svg { display: block; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 6px 13px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .15s, background .15s; }
.nav a:hover { color: var(--text-1); background: var(--surface-2); }
.nav a.active { color: var(--text-1); background: var(--surface-2); }

.header-right { display: flex; align-items: center; gap: 8px; }
.hamburger { display: none; padding: 7px; color: var(--text-2); border-radius: var(--r-sm); }
.hamburger:hover { background: var(--surface-2); color: var(--text-1); }
.mobile-nav { display: none; flex-direction: column; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 20px 20px; }
.mobile-nav a { display: block; padding: 11px 8px; font-size: 15px; font-weight: 500; color: var(--text-2); border-radius: var(--r-sm); }
.mobile-nav a:hover { color: var(--text-1); background: var(--surface-2); }
.mobile-nav .mobile-ctas { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
@media (max-width: 768px) {
  .nav, .header-right .btn { display: none; }
  .hamburger { display: flex; }
}

/* ─────────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────────── */
#hero {
  position: relative; overflow: hidden;
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: calc(var(--header-h) + 60px) 24px 80px; text-align: center;
}
.hero-glow-1 { top: -10%; left: -5%; width: 700px; height: 600px; background: radial-gradient(ellipse, rgba(37,99,235,.18) 0%, transparent 70%); }
.hero-glow-2 { top: 0; right: -5%; width: 500px; height: 500px; background: radial-gradient(ellipse, rgba(99,102,241,.1) 0%, transparent 70%); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-full); font-size: 13px; font-weight: 500; color: var(--blue); background: var(--blue-light); border: 1px solid var(--blue-mid); margin-bottom: 28px; animation: fadeUp .5s ease both; }
.badge-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: pulse 2.5s ease-out infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(37,99,235,.5)} 70%{box-shadow:0 0 0 7px rgba(37,99,235,0)} 100%{box-shadow:0 0 0 0 rgba(37,99,235,0)} }
.hero-h1 { animation: fadeUp .55s ease .08s both; margin-bottom: 20px; }
.hero-sub { animation: fadeUp .55s ease .16s both; max-width: 540px; margin: 0 auto 36px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; animation: fadeUp .55s ease .24s both; }
.hero-trust { animation: fadeUp .55s ease .32s both; margin-bottom: 64px; }
.hero-trust span { margin: 0 6px; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:none} }
@keyframes floatY { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* ─────────────────────────────────────────────────────────────────
   SOCIAL PROOF
───────────────────────────────────────────────────────────────── */
#social-proof { padding: 48px 24px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0; }
.stat { text-align: center; padding: 12px 48px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 32px; background: var(--border); }
.stat-num { font-size: clamp(30px, 4vw, 44px); font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 5px; letter-spacing: -.03em; }
.stat-lbl { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 560px) { .stat { padding: 12px 24px; } .stat + .stat::before { display: none; } }

/* ─────────────────────────────────────────────────────────────────
   PROBLEM / SOLUTION
───────────────────────────────────────────────────────────────── */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
@media (max-width: 900px) { .ps-grid { grid-template-columns: 1fr; gap: 48px; } }
.ps-col h2 { margin-bottom: 16px; }
.ps-col p { color: var(--text-2); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }
.pain-list { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.pain-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: #fef2f2; border: 1px solid #fecaca; font-size: 14px; line-height: 1.55; color: #7f1d1d; }
[data-theme="dark"] .pain-item { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.2); color: #fca5a5; }
@media (prefers-color-scheme: dark) { .pain-item { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.2); color: #fca5a5; } }
.pain-icon { flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; background: #ef4444; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.sol-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.sol-item { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; border-radius: var(--r-md); background: var(--blue-light); border: 1px solid var(--blue-mid); font-size: 14px; font-weight: 500; color: var(--text-1); transition: background .18s, transform .18s; }
.sol-item:hover { background: var(--blue-mid); transform: translateX(3px); }
.sol-check { flex-shrink: 0; width: 20px; height: 20px; border-radius: 5px; background: var(--blue); display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ─────────────────────────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────────────────────────── */
#features { background: var(--surface); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feat-card { padding: 26px 24px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); transition: all .22s; }
.feat-card:hover { border-color: rgba(37,99,235,.3); background: var(--surface); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-card h3 { margin-bottom: 8px; font-size: 16px; }
.feat-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ─────────────────────────────────────────────────────────────────
   USE CASES
───────────────────────────────────────────────────────────────── */
.uc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .uc-grid { grid-template-columns: 1fr; } }
.uc-card { padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; transition: all .22s; }
.uc-card:hover { box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.2); }
.uc-accent { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.uc-icon-wrap { width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px; }
.uc-card h3 { font-size: 20px; margin-bottom: 10px; }
.uc-card > p { font-size: 14px; color: var(--text-2); line-height: 1.65; margin-bottom: 20px; }
.uc-list { display: flex; flex-direction: column; gap: 7px; }
.uc-li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-2); }
.uc-li svg { flex-shrink: 0; color: var(--blue); }

/* ─────────────────────────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────────────────────────── */
#testimonials { background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 28px 26px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--border); transition: all .22s; position: relative; }
.testi-card:hover { border-color: rgba(37,99,235,.25); box-shadow: var(--shadow-md); }
.testi-card::before { content: '\201C'; position: absolute; top: 12px; right: 20px; font-size: 60px; font-family: Georgia, serif; line-height: 1; color: var(--border); pointer-events: none; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testi-stars svg { color: #f59e0b; }
.testi-quote { font-size: 15px; color: var(--text-2); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 11px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.testi-name { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.testi-role { font-size: 12px; color: var(--text-3); }

/* ─────────────────────────────────────────────────────────────────
   PRICING
───────────────────────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; } }
.pricing-card { padding: 32px 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.pricing-card.pro { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow-xl); }
.pricing-card.pro::before { content: ''; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(37,99,235,.06) 0%, transparent 60%); pointer-events: none; }
.popular-badge { position: absolute; top: -1px; right: 24px; padding: 5px 13px; border-radius: 0 0 9px 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.plan-name { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.price-row { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.price-amount { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--text-1); }
.price-sup { font-size: 20px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.price-period { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.price-desc { font-size: 14px; color: var(--text-2); margin-bottom: 24px; line-height: 1.5; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 28px; }
.p-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; }
.p-feat-check { flex-shrink: 0; width: 17px; height: 17px; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.p-feat-check.on  { background: var(--blue); }
.p-feat-check.off { background: var(--surface-3); }
.p-feat-check.on + span  { color: var(--text-1); font-weight: 500; }
.p-feat-check.off + span { color: var(--text-3); text-decoration: line-through; }
.pricing-cta { display: block; width: 100%; padding: 13px 20px; font-size: 15px; border-radius: var(--r-md); text-align: center; font-weight: 600; transition: all .18s; }
.cta-ghost { border: 1.5px solid var(--border); color: var(--text-2); background: var(--surface); }
.cta-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }
.cta-primary { background: var(--blue); color: #fff; box-shadow: 0 3px 12px rgba(37,99,235,.3); }
.cta-primary:hover { background: var(--blue-hover); box-shadow: 0 6px 20px rgba(37,99,235,.4); }
.feat-divider { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin: 8px 0 4px; padding-top: 12px; border-top: 1px solid var(--border-2); }

/* ─────────────────────────────────────────────────────────────────
   FAQ
───────────────────────────────────────────────────────────────── */
#faq { background: var(--surface); }
.faq-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 3px; }
.faq-item { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); background: var(--bg); transition: border-color .2s; }
.faq-item.open { border-color: rgba(37,99,235,.3); background: var(--surface); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; cursor: pointer; background: transparent; transition: background .15s; }
.faq-q:hover { background: var(--surface-2); }
.faq-q-text { font-size: 15px; font-weight: 600; color: var(--text-1); line-height: 1.4; }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-3); transition: all .28s; }
.faq-item.open .faq-icon { border-color: var(--blue); background: var(--blue-mid); color: var(--blue); transform: rotate(45deg); }
.faq-a { display: none; padding: 0 20px 18px; font-size: 14px; color: var(--text-2); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* ─────────────────────────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────────────────────────── */
#final-cta { position: relative; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 100% at 50% 110%, rgba(37,99,235,.12) 0%, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; max-width: 580px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner p { font-size: 17px; color: var(--text-2); margin-bottom: 36px; }
.cta-trust { font-size: 13px; color: var(--text-3); margin-top: 16px; }
.cta-trust span { margin: 0 7px; }

/* ─────────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────────── */
#footer { padding: 60px 24px 36px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.65; max-width: 220px; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer-col ul li + li { margin-top: 9px; }
.footer-col ul li a { font-size: 14px; color: var(--text-2); transition: color .15s; }
.footer-col ul li a:hover { color: var(--blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border); }
.footer-copy { font-size: 13px; color: var(--text-3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--text-3); transition: color .15s; }
.footer-legal a:hover { color: var(--text-2); }

/* ── Divider ─────────────────────────────────────────────────────── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }

/* ── Page hero (inner pages) ─────────────────────────────────── */
.page-hero { padding: calc(var(--header-h) + 56px) 24px 56px; background: var(--surface); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero .h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 540px; margin: 0 auto; }
.page-hero-meta { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 18px; flex-wrap: wrap; }

/* ── Prose ─────────────────────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--text-2); }
.prose h2 { font-size: 22px; font-weight: 700; color: var(--text-1); margin: 40px 0 14px; letter-spacing: -.015em; }
.prose h3 { font-size: 17px; font-weight: 600; color: var(--text-1); margin: 28px 0 10px; }
.prose p  { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-hover); }
.prose strong { color: var(--text-1); font-weight: 600; }
.prose blockquote { border-left: 3px solid var(--blue); padding: 12px 20px; background: var(--blue-light); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 20px 0; color: var(--text-1); }
.prose code { background: var(--surface-2); border: 1px solid var(--border); padding: 2px 7px; border-radius: 5px; font-size: 13.5px; font-family: 'Fira Code', 'Cascadia Code', ui-monospace, monospace; }
.prose pre { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; overflow-x: auto; margin: 20px 0; }
.prose pre code { background: none; border: none; padding: 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.prose th { background: var(--surface-2); font-weight: 600; color: var(--text-1); text-align: left; padding: 10px 14px; border: 1px solid var(--border); font-size: 13px; }
.prose td { padding: 10px 14px; border: 1px solid var(--border); font-size: 14px; vertical-align: top; }
.prose tr:nth-child(even) td { background: var(--surface-2); }

/* ── Docs layout ─────────────────────────────────────────────── */
.docs-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 0; min-height: 100vh; align-items: start; }
@media (max-width: 900px) { .docs-wrap { grid-template-columns: 1fr; } }
.docs-sidebar { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; border-right: 1px solid var(--border); padding: 28px 0; background: var(--surface); }
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar-group { margin-bottom: 24px; padding: 0 16px; }
.docs-sidebar-group h4 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; padding: 0 8px; }
.docs-sidebar-group ul { display: flex; flex-direction: column; gap: 2px; }
.docs-sidebar-group ul li a { display: block; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); transition: all .15s; }
.docs-sidebar-group ul li a:hover { color: var(--text-1); background: var(--surface-2); }
.docs-sidebar-group ul li a.current { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.docs-content { padding: 48px 56px; max-width: 840px; }
@media (max-width: 900px) { .docs-content { padding: 32px 20px; } }
.docs-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 28px; }
.docs-breadcrumb a { color: var(--text-3); transition: color .15s; }
.docs-breadcrumb a:hover { color: var(--blue); }
.docs-breadcrumb svg { flex-shrink: 0; }
.docs-content .prose { max-width: none; }
.docs-nav-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); }
.docs-nav-btn { display: flex; flex-direction: column; padding: 14px 18px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--surface); transition: all .18s; min-width: 160px; max-width: 260px; }
.docs-nav-btn:hover { border-color: var(--blue); background: var(--blue-light); }
.docs-nav-btn .nav-dir { font-size: 11px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.docs-nav-btn .nav-title { font-size: 14px; font-weight: 600; color: var(--text-1); }
.docs-nav-btn.next { align-items: flex-end; text-align: right; margin-left: auto; }

/* ── Blog grid ───────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: all .22s; }
.blog-card:hover { border-color: rgba(37,99,235,.3); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card-img { aspect-ratio: 16/9; background: var(--surface-2); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-tag { display: inline-block; padding: 3px 9px; border-radius: var(--r-full); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; background: var(--blue-light); color: var(--blue); margin-bottom: 10px; }
.blog-card h3 { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; line-height: 1.4; }
.blog-card p  { font-size: 13.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }

/* ── Changelog ───────────────────────────────────────────────── */
.changelog-list { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }
.changelog-entry { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--border); }
@media (max-width: 640px) { .changelog-entry { grid-template-columns: 1fr; gap: 12px; } }
.changelog-date { font-size: 13px; color: var(--text-3); font-weight: 500; padding-top: 3px; white-space: nowrap; }
.changelog-version { font-size: 11px; font-weight: 700; color: var(--text-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.changelog-title { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 12px; }
.changelog-items { display: flex; flex-direction: column; gap: 7px; }
.changelog-item { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--text-2); }
.change-badge { flex-shrink: 0; padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 1px; }
.badge-new      { background: rgba(37,99,235,.12);  color: var(--blue); }
.badge-improved { background: rgba(5,150,105,.1);   color: #059669; }
.badge-fixed    { background: rgba(245,158,11,.1);  color: #d97706; }
.badge-removed  { background: rgba(239,68,68,.08);  color: #dc2626; }

/* ── Roadmap ─────────────────────────────────────────────────── */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr; } }
.roadmap-col h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.roadmap-col h3 span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.roadmap-item { padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); margin-bottom: 10px; transition: all .2s; }
.roadmap-item:hover { border-color: rgba(37,99,235,.25); }
.roadmap-item h4 { font-size: 14px; font-weight: 600; color: var(--text-1); margin-bottom: 6px; }
.roadmap-item p  { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.roadmap-item-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.roadmap-votes { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }

/* ── Contact page ────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 7px; }
.form-input { width: 100%; padding: 10px 14px; border-radius: var(--r-md); border: 1.5px solid var(--border); background: var(--bg); color: var(--text-1); font-size: 14px; font-family: var(--font); transition: border-color .18s, box-shadow .18s; outline: none; }
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-input::placeholder { color: var(--text-3); }
textarea.form-input { resize: vertical; min-height: 120px; line-height: 1.6; }
.contact-info-list { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--blue-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.contact-info-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 3px; }
.contact-info-value { font-size: 15px; color: var(--text-1); font-weight: 500; }

/* ── Image placeholder ───────────────────────────────────────── */
.img-placeholder { width: 100%; aspect-ratio: 16/9; border-radius: var(--r-xl); border: 2px dashed var(--border); background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--text-3); position: relative; overflow: hidden; }
.img-placeholder::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--surface-2) 25%, transparent 25%) -28px 0, linear-gradient(225deg, var(--surface-2) 25%, transparent 25%) -28px 0, linear-gradient(315deg, var(--surface-2) 25%, transparent 25%), linear-gradient(45deg, var(--surface-2) 25%, transparent 25%); background-size: 56px 56px; background-color: var(--bg); opacity: .5; }
.img-placeholder-inner { position: relative; z-index: 1; text-align: center; }
.img-placeholder-inner svg { margin: 0 auto 10px; opacity: .35; }
.img-placeholder-inner p { font-size: 14px; font-weight: 600; }
.img-placeholder-inner span { font-size: 12px; display: block; margin-top: 4px; }
