:root, [data-theme="light"] {
  --brand: #FF6A3D; --brand-2: #FF8F6B; --brand-rgb: 255,106,61;
  --bg: #f7f7f8; --surface: #fff; --surface-2: #f0f1f3;
  --text: #111318; --muted: #5c6370; --border: #e4e6ea;
  --chip: #f0f1f3; --success: #15803d; --shadow: rgba(17,19,24,.08);
  --glow: transparent; --glow-hover: transparent;
  --composer-h: 56px; --copy-h: 28px; --dock-h: calc(var(--composer-h) + var(--copy-h));
}
[data-theme="dark"] {
  --brand: #FF7A52; --brand-2: #FFA07A; --brand-rgb: 255,122,82;
  --bg: #070b14; --surface: #0e1422; --surface-2: #121a2c;
  --text: #f3f5f9; --muted: #9aa3b5; --border: #1c2638;
  --chip: #162033; --success: #4ade80; --shadow: rgba(0,0,0,.45);
  --glow: 0 0 0 1px rgba(var(--brand-rgb),.35), 0 0 24px rgba(var(--brand-rgb),.18);
  --glow-hover: 0 0 0 1px rgba(var(--brand-rgb),.55), 0 0 36px rgba(var(--brand-rgb),.28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  padding-bottom: calc(var(--dock-h) + 16px);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.wrap-narrow { width: min(720px, calc(100% - 32px)); margin: 0 auto; }
.ex {
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .35px; text-transform: uppercase;
  color: var(--brand); background: rgba(var(--brand-rgb),.12); padding: 2px 7px; border-radius: 5px;
}
.nav {
  position: sticky; top: 0; z-index: 40; backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 14px; height: 60px; }
.logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center;
}
.brand-name { font-weight: 800; font-size: 15px; color: var(--text); }
.brand-name:hover { text-decoration: none; }
.nav-links { display: none; gap: 16px; margin-left: 12px; font-size: 13px; font-weight: 600; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-spacer { flex: 1; }
.theme-btn {
  height: 36px; width: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.theme-btn svg { width: 16px; height: 16px; }
.sun { display: none; } .moon { display: block; }
[data-theme="dark"] .sun { display: block; } [data-theme="dark"] .moon { display: none; }
.nav-cta {
  height: 36px; padding: 0 14px; border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 13px; font-weight: 750;
}
@media (min-width: 860px) { .nav-links { display: flex; } }

.crumbs {
  font-size: 13px; color: var(--muted); padding: 18px 0 8px; font-weight: 600;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--text); }
.crumbs .sep { margin: 0 6px; opacity: .5; }

.hero-blog { padding: 12px 0 28px; }
.hero-blog h1 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; letter-spacing: -.8px; line-height: 1.15; margin: 10px 0 12px;
}
.hero-blog .lead { font-size: 17px; color: var(--muted); max-width: 60ch; }

.cat-grid { display: grid; gap: 12px; padding: 8px 0 40px; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
.cat-card, .post-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px; box-shadow: var(--glow); transition: transform .2s ease, box-shadow .2s ease;
}
.cat-card:hover, .post-card:hover {
  transform: translateY(-3px); box-shadow: var(--glow-hover), 0 12px 28px var(--shadow); text-decoration: none;
}
.cat-card h2, .post-card h2 { font-size: 18px; font-weight: 850; color: var(--text); margin: 6px 0 8px; }
.cat-card p, .post-card p { font-size: 14px; color: var(--muted); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); font-weight: 650; }
.pill {
  font-size: 11px; font-weight: 800; color: var(--brand); background: rgba(var(--brand-rgb),.12);
  padding: 3px 8px; border-radius: 999px;
}

.post-list { display: grid; gap: 12px; padding-bottom: 40px; }
.post-card h2 { font-size: 17px; }


.answer-box {
  background: var(--surface); border: 1px solid rgba(var(--brand-rgb),.35);
  border-radius: 16px; padding: 18px 18px 16px; margin: 16px 0 14px;
  box-shadow: var(--glow), 0 0 0 1px rgba(var(--brand-rgb),.08);
}
.answer-box .label {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
  color: var(--brand); margin-bottom: 8px;
}
.answer-box p { font-size: 16px; font-weight: 650; line-height: 1.45; }

.cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb),.12), var(--surface));
  border: 1px solid rgba(var(--brand-rgb),.35); border-radius: 14px;
  padding: 14px 16px; margin: 14px 0 28px; box-shadow: var(--glow);
}
.cta p { flex: 1; min-width: 200px; font-size: 14px; font-weight: 650; }
.cta .btn {
  height: 42px; padding: 0 16px; border: none; border-radius: 11px; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
  font-size: 14px; font-weight: 800; white-space: nowrap;
}

.article { padding-bottom: 20px; }
.article h2 {
  font-size: 22px; font-weight: 850; letter-spacing: -.3px; margin: 28px 0 10px; line-height: 1.25;
}
.article p { font-size: 15px; color: var(--text); margin-bottom: 12px; }
.article p.muted { color: var(--muted); font-size: 13px; }
.article ul { margin: 0 0 14px 1.2em; color: var(--muted); font-size: 15px; }
.article li { margin: 6px 0; }

.faq { margin: 32px 0 24px; }
.faq h2 { margin-bottom: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 8px; box-shadow: var(--glow);
}
.faq-item h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.faq-item p { font-size: 14px; color: var(--muted); margin: 0; }

.related { margin: 28px 0 40px; }
.related h2 { font-size: 20px; font-weight: 850; margin-bottom: 12px; }
.related-grid { display: grid; gap: 10px; }
@media (min-width: 700px) { .related-grid { grid-template-columns: 1fr 1fr 1fr; } }


.header-hero { border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; margin: 14px 0 10px; box-shadow: var(--glow); background: #111; }
.header-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.header-cap { font-size: 13px; color: var(--muted); font-weight: 650; margin-bottom: 16px; line-height: 1.4; }
.figure { margin: 22px 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--glow); }
.figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; }
.figure figcaption { font-size: 13px; color: var(--muted); font-weight: 650; padding: 10px 14px 12px; line-height: 1.4; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.cat-chips a {
  font-size: 12px; font-weight: 750; color: var(--text); text-decoration: none;
  border: 1px solid var(--border); background: var(--surface); padding: 7px 11px; border-radius: 999px;
  box-shadow: var(--glow);
}
.cat-chips a:hover { border-color: rgba(var(--brand-rgb),.45); color: var(--brand); }
.pillar-tag { font-size: 10px; font-weight: 800; color: #fff; background: var(--brand); padding: 2px 7px; border-radius: 5px; }

  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: transparent; border-top: none; box-shadow: none;
  }
  .dock-bar {
    height: var(--composer-h); display: flex; align-items: center; justify-content: center;
    padding: 0 10px; background: transparent; border-top: none;
  }
  [data-theme="dark"] .dock-bar {
    background: transparent; border-top: none;
  }
  .composer {
    width: min(720px, 100%); height: 44px; display: flex; align-items: center; gap: 8px;
    padding: 0 6px 0 10px; border-radius: 999px;
    background: #151b2e; border: 1px solid rgba(255,255,255,.12);
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  [data-theme="dark"] .composer {
    background: #fff; border: 1px solid rgba(0,0,0,.1);
  }
  .composer:focus-within {
    border-color: rgba(var(--brand-rgb),.65);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.22);
  }
  .composer .spark { color: var(--brand); display: grid; place-items: center; }
  .composer .spark svg { width: 16px; height: 16px; }
  .composer input {
    flex: 1; border: none; outline: none; background: transparent;
    color: #f3f5f9; font-size: 14px; font-weight: 600; min-width: 0;
  }
  [data-theme="dark"] .composer input { color: #111318; }
  .composer input::placeholder { color: #8b93a7; font-weight: 600; }
  [data-theme="dark"] .composer input::placeholder { color: #6b7280; }
  .composer .send {
    width: 34px; height: 34px; border: none; border-radius: 50%; cursor: pointer;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff;
    display: grid; place-items: center;
  }
  .composer .send svg { width: 15px; height: 15px; }
  .copy {
    height: var(--copy-h); display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: var(--muted); border-top: 1px solid var(--border);
    background: var(--bg);
  }
  .focus-chips {
    display: none; justify-content: center; gap: 6px; flex-wrap: wrap;
    padding: 8px 12px; width: 100%; margin: 0 auto; background: #0b1020;
  }
  [data-theme="dark"] .focus-chips { background: #f4f5f7; }
  .dock.focus .focus-chips { display: flex; }
  .dock.focus .dock-bar { height: auto; padding: 8px 12px 10px; }
  .focus-chips button {
    height: 28px; padding: 0 10px; border-radius: 999px; cursor: pointer;
    border: 1px solid rgba(var(--brand-rgb),.45); background: rgba(var(--brand-rgb),.16);
    color: #ffb39a; font-size: 11px; font-weight: 750;
  }
  [data-theme="dark"] .focus-chips button {
    color: var(--brand); background: rgba(var(--brand-rgb),.1);
    border-color: rgba(var(--brand-rgb),.35);
  }
