/* Knowpoint marketing site */
:root {
  --ink: #0b1020; --ink-2: #1d2440; --text: #2b3350; --muted: #5d6685; --line: #e6e8f0; --bg: #ffffff; --bg-soft: #f6f7fb;
  --brand: #4f46e5; --brand-2: #7c3aed; --brand-soft: #eef0ff; --ok: #12b76a;
  --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #c026d3 100%);
  --radius: 16px; --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -8px rgba(16, 24, 40, .12);
  --shadow-lg: 0 30px 80px -20px rgba(30, 27, 75, .35);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text);
  background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--brand);
  background: var(--brand-soft); border: 1px solid #dfe2ff; padding: 5px 12px; border-radius: 99px; margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); } .small { font-size: .88rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .98rem;
  padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); color: var(--ink); }
.btn-primary { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 24px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 30px -8px rgba(124, 58, 237, .7); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; border-color: transparent; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav-links a:hover, .nav-links a.on { color: var(--ink); background: var(--bg-soft); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-cta .btn { padding: 9px 16px; font-size: .92rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; }

/* hero */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 900px; z-index: -1;
  background: radial-gradient(600px 380px at 20% 30%, rgba(124, 58, 237, .14), transparent 70%),
              radial-gradient(520px 360px at 80% 20%, rgba(79, 70, 229, .16), transparent 70%),
              radial-gradient(480px 300px at 60% 70%, rgba(192, 38, 211, .08), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero h1 { max-width: 920px; }
.hero .lead { margin: 0 auto 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 14px; font-size: .88rem; color: var(--muted); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 6px; }
.showcase { position: relative; margin: 56px auto 0; max-width: 1100px; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid #dfe2ec; box-shadow: var(--shadow-lg); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f3f4f8; border-bottom: 1px solid #e3e5ee; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d9e3; display: inline-block; }
.browser-bar i:nth-child(1) { background: #ff6159; } .browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.browser-bar .url { margin: 0 auto; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid #e3e5ee; border-radius: 8px; padding: 3px 40px; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 16px;
  font-size: .86rem; max-width: 300px; text-align: left; animation: float 6s ease-in-out infinite; }
.float-card b { color: var(--ink); }
.float-ai { left: -40px; bottom: 70px; }
.float-alert { right: -30px; top: 90px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); }
.chip.red { background: #fee4e2; color: #b42318; } .chip.green { background: #dcfae6; color: #067647; }

/* logos / works with */
.works { padding: 40px 0 10px; }
.works p { text-align: center; font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.works-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: #8a91ad; font-weight: 700; font-size: 1.05rem; }

/* sections */
section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: radial-gradient(800px 400px at 80% 0%, rgba(124, 58, 237, .35), transparent 70%), var(--ink); color: #c9cde0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-soft); margin-bottom: 14px; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.section-dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.section-dark .card p { color: #a9aecb; }
.section-dark .card .ico { background: rgba(255, 255, 255, .08); }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; padding: 50px 0; }
.feature.flip > :first-child { order: 2; }
.feature h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.feature p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath d='M8.2 13.6 4.9 10.3l1.2-1.2 2.1 2.1 5.7-5.7 1.2 1.2z'/%3E%3C/svg%3E") center/16px no-repeat; }
.shot { border-radius: 14px; overflow: hidden; border: 1px solid #dfe2ec; box-shadow: var(--shadow-lg); background: #fff; }
.shot img { width: 100%; }

/* AI chat mock */
.chat { background: #fff; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 22px; color: var(--text); font-size: .95rem; }
.chat .q { margin-left: auto; max-width: 80%; background: var(--grad); color: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; width: fit-content; }
.chat .a { margin-top: 14px; background: var(--bg-soft); border: 1px solid var(--line); padding: 14px 16px; border-radius: 14px 14px 14px 4px; }
.chat .a p { margin: 0 0 8px; color: var(--text); }
.chat .a ol { margin: 0 0 10px; padding-left: 20px; }
.chat .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat .src a { font-size: .78rem; font-weight: 600; background: #fff; border: 1px solid var(--line); padding: 3px 9px; border-radius: 99px; }
.chat .typing { display: inline-flex; gap: 4px; margin-top: 12px; }
.chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: #b9bdd3; animation: blink 1.2s infinite; }
.chat .typing i:nth-child(2) { animation-delay: .2s; } .chat .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .3; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.stat b { display: block; font-size: 2.2rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.stat span { color: #a9aecb; font-size: .92rem; }

/* pricing */
.toggle { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin: 0 auto 40px; }
.toggle button { font: inherit; font-weight: 600; font-size: .92rem; border: 0; background: none; padding: 8px 16px; border-radius: 9px; cursor: pointer; color: var(--muted); }
.toggle button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.toggle .save { font-size: .72rem; color: var(--ok); margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.plan.popular { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 99px; letter-spacing: .02em; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan .blurb { color: var(--muted); font-size: .94rem; min-height: 48px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price b { font-size: 3rem; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: .92rem; }
.price-note { font-size: .82rem; color: var(--muted); min-height: 22px; margin-bottom: 20px; }
.plan .checks { margin: 22px 0 0; font-size: .94rem; }
.plan .btn { margin-top: 0; }
.plan-cta { margin-top: 24px !important; }
.compare { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: .95rem; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--bg-soft); color: var(--ink); font-weight: 700; }
.compare .yes { color: var(--brand); font-weight: 800; } .compare .no { color: #c4c8d8; }
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 64px 40px; text-align: center; color: #fff; background: var(--grad); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 85% 10%, rgba(255, 255, 255, .25), transparent 70%); pointer-events: none; }
.cta-band h2 { color: #fff; } .cta-band p { color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta-band .btn { background: #fff; color: var(--ink); border: 0; }
.cta-band .btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); }

/* forms (signup / sign in) */
.auth { min-height: calc(100vh - 68px); display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 50px 24px; }
.auth-form .inner { width: 100%; max-width: 440px; }
.auth-side { position: relative; overflow: hidden; background: var(--ink); color: #c9cde0; padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 400px at 100% 0%, rgba(124, 58, 237, .45), transparent 70%),
  radial-gradient(500px 300px at 0% 100%, rgba(79, 70, 229, .35), transparent 70%); }
.auth-side > * { position: relative; }
.auth-side h2 { color: #fff; font-size: 2rem; }
.auth-side .checks li::before { background-color: rgba(255, 255, 255, .12); }
.auth-side .checks li { color: #dfe2f3; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.field input { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #d5d9e6; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; min-height: 18px; }
.field .hint.bad { color: #d92d20; } .field .hint.good { color: #067647; }
.slug { display: flex; align-items: stretch; border: 1px solid #d5d9e6; border-radius: 12px; overflow: hidden; background: #fff; }
.slug:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14); }
.slug input { border: 0; border-radius: 0; box-shadow: none !important; min-width: 0; flex: 1; }
.slug span { display: flex; align-items: center; padding: 0 14px; background: var(--bg-soft); color: var(--muted); font-size: .92rem; border-left: 1px solid #d5d9e6; white-space: nowrap; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--text); margin: 4px 0 18px; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--brand); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: .92rem; margin-bottom: 18px; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.alert.info { background: var(--brand-soft); color: var(--brand); border-color: #dfe2ff; }
.hp { position: absolute; left: -9999px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; background: #fff; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.foot a { display: block; color: var(--text); font-size: .94rem; padding: 3px 0; }
.foot a:hover { color: var(--brand); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .float-card { animation: none; } html { scroll-behavior: auto; } }

/* feature page jump nav */
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.jump a { font-size: .9rem; font-weight: 600; color: var(--text); background: #fff; border: 1px solid var(--line); padding: 7px 14px; border-radius: 99px; }
.jump a:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 960px) {
  .grid-3, .plans { grid-template-columns: 1fr; }
  .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
  .feature.flip > :first-child { order: 0; }
  .float-card { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 44px 24px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .compare { font-size: .85rem; } .compare th, .compare td { padding: 10px 8px; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links, .nav.open .nav-cta { display: flex; }
  .nav.open .nav-inner { flex-wrap: wrap; height: auto; padding: 14px 0; }
  .nav.open .nav-links { flex-direction: column; width: 100%; order: 3; }
  .nav.open .nav-cta { width: 100%; order: 4; margin: 0 0 6px; }
  .nav.open .nav-cta .btn { flex: 1; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .grid-4, .stats { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 22px; border-radius: 20px; }
  .compare-wrap { overflow-x: auto; }
}

/* help center */
.help-hero { padding: 64px 0 30px; }
.help-search { position: relative; max-width: 640px; margin: 26px auto 0; display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid #d5d9e6; border-radius: 16px; padding: 4px 14px; box-shadow: var(--shadow); text-align: left; }
.help-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .14), var(--shadow); }
.help-search input { flex: 1; border: 0; outline: none; font: inherit; font-size: 1.05rem; padding: 12px 0; background: transparent; color: var(--ink); min-width: 0; }
.help-search kbd { font: inherit; font-size: .75rem; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }
.help-results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; max-height: 70vh; overflow: auto; }
.help-results a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 10px; color: var(--text); }
.help-results a:hover, .help-results a:focus { background: var(--bg-soft); outline: none; }
.help-results b { color: var(--ink); } .help-results .cat { font-size: .75rem; color: var(--brand); font-weight: 600; }
.help-results .snip { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); }
.help-results mark { background: #fff3c4; color: inherit; border-radius: 3px; padding: 0 1px; }
.help-results .none { padding: 14px; color: var(--muted); font-size: .92rem; }
.help-label { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.help-popular { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 40px; }
.help-popular .card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; color: var(--text); transition: border-color .15s, transform .15s; }
.help-popular .card:hover { border-color: var(--brand); transform: translateY(-1px); }
.help-popular b { color: var(--ink); }
.help-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.help-cat ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.help-cat li a { font-weight: 500; font-size: .95rem; }
.help-contact { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.help-top { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 14px 0; }
.help-top .help-search { margin: 0 auto; box-shadow: none; }
.help-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 44px; padding-top: 34px; padding-bottom: 80px; align-items: start; }
.help-nav, .help-toc { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; font-size: .9rem; }
.help-nav-group { margin-bottom: 18px; }
.help-nav-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin-bottom: 6px; }
.help-nav a, .help-toc a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--muted); border-left: 2px solid transparent; }
.help-nav a:hover, .help-toc a:hover { color: var(--ink); background: var(--bg-soft); }
.help-nav a.on { color: var(--brand); background: var(--brand-soft); font-weight: 600; }
.help-toc a { border-radius: 0; padding: 4px 12px; }
.help-toc a.on { color: var(--brand); border-left-color: var(--brand); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; } .crumbs span { margin: 0 4px; }
.help-article h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.help-summary { margin-bottom: 26px; }
.prose { font-size: 1.02rem; line-height: 1.75; color: var(--text); }
.prose h2 { font-size: 1.5rem; margin: 2.1em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.15rem; margin: 1.7em 0 .5em; scroll-margin-top: 90px; }
.prose h2 .anchor, .prose h3 .anchor { float: left; margin-left: -22px; padding-right: 6px; color: #c4c8d8; opacity: 0; font-weight: 400; }
.prose h2:hover .anchor, .prose h3:hover .anchor { opacity: 1; }
.prose ul, .prose ol { padding-left: 1.4em; } .prose li { margin: .3em 0; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; }
.prose pre { background: var(--ink); color: #e6e9f5; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: .88rem; line-height: 1.6; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose kbd { font-family: inherit; font-size: .82em; border: 1px solid #cfd3e1; border-bottom-width: 2px; border-radius: 6px; padding: .05em .45em; background: #fff; }
.prose blockquote { margin: 1.4em 0; padding: 14px 18px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); }
.prose blockquote p:last-child { margin-bottom: 0; }
.callout-tip { background: #ecfdf3 !important; border-color: #abefc6 !important; }
.callout-note { background: var(--brand-soft) !important; border-color: #dfe2ff !important; }
.callout-important, .callout-warning { background: #fffaeb !important; border-color: #fedf89 !important; }
.table-scroll { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--bg-soft); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.help-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 50px; }
.help-pager .card { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; }
.help-pager b { color: var(--ink); }
.help-feedback { margin-top: 16px; padding: 14px 20px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .92rem; box-shadow: none; }
@media (max-width: 1100px) { .help-layout { grid-template-columns: 220px minmax(0, 1fr); } .help-toc { display: none; } }
@media (max-width: 960px) { .help-popular, .help-cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .help-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .help-nav { display: none; }
  .help-popular, .help-cats, .help-pager { grid-template-columns: 1fr; }
}
.help-article { min-width: 0; }
