/* The Light Data — stylesheet for the static HTML pages (keyword landing pages
   and knowledge-base articles generated by scripts/generate-static-pages.mjs).
   Tokens, type and components mirror the React app (src/index.css @theme and the
   SiteHeader / SiteFooter components) so moving between the static pages and the
   app never looks like changing websites. Change both together. */

:root {
  color-scheme: light;
  --paper: #fbfcfe;
  --paper-sink: #eef2f8;
  --ink: #101a30;
  --ink-2: #1b2a4a;
  --ink-soft: #5c6b86;
  --ink-faint: #8493ac;
  --rule: #e6ecf6;
  --rule-strong: #d7e0ef;
  --teal: #0e9aa7;
  --teal-deep: #0b7c86;
  --teal-soft: #d7eef0;
  --amber: #d98a1e;
  --amber-deep: #c2740f;
  --amber-soft: #f7e8cf;
  --panel: #132038;
  --panel-2: #0d1729;
  --green: #1f9d63;
  --danger: #d1495b;
  --surface: #ffffff;
  --font-display: 'Be Vietnam Pro', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --shadow-card: 0 1px 2px rgba(12, 22, 44, 0.04), 0 12px 32px -12px rgba(12, 22, 44, 0.14);
  --shadow-lift: 0 2px 4px rgba(12, 22, 44, 0.06), 0 24px 48px -18px rgba(12, 22, 44, 0.24);
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* The lighthouse beam — same soft teal wash as the app. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(14, 154, 167, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(14, 154, 167, 0.06) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--teal-soft); color: var(--ink); }
.shell { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 1024px) { .shell { padding-inline: 32px; } }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 8px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-size: 14px; font-weight: 600;
  white-space: nowrap; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); }
.btn-secondary:hover { background: var(--surface); color: var(--teal-deep); border-color: var(--teal); }
.btn-small { min-height: 40px; padding: 0 16px; }
.text-link { display: inline-flex; gap: 6px; color: var(--teal-deep); font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.text-link:hover { text-decoration: underline; }

/* ---------------- header (mirrors React SiteHeader) ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; }
.header-bar {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; margin-inline: auto; padding: 10px 16px; border: 1px solid transparent;
  transition: width .3s ease, margin .3s ease, padding .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, border-radius .3s ease;
}
@media (min-width: 640px) { .header-bar { padding: 16px 24px; } }
@media (min-width: 1024px) { .header-bar { padding: 16px 40px; } }
.site-header.scrolled:not(.menu-open) .header-bar {
  width: min(72rem, calc(100% - 2rem)); margin-top: 20px; padding: 8px 20px; border-radius: 18px;
  border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .7);
  box-shadow: 0 20px 40px -20px rgba(20, 33, 54, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.site-header.menu-open .header-bar { background: rgba(255, 255, 255, .95); border-bottom-color: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand-text small {
  margin-top: 4px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint);
  max-height: 16px; overflow: hidden; transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}
.site-header.scrolled .brand-text small { max-height: 0; opacity: 0; margin-top: 0; }
@media (max-width: 1279px) { .brand-text small { display: none; } }
@media (max-width: 639px) { .brand img { width: 28px; height: 28px; } .brand { gap: 6px; } .brand-text strong { font-size: 14px; } }
.header-side { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: none; }
@media (min-width: 1024px) { .header-bar > .brand, .header-side { flex: 1; } }
.main-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .main-nav { display: flex; } }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; border: 0; background: none;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: rgba(215, 238, 240, .6); color: var(--teal-deep); }
.nav-link.active { background: var(--teal-deep); color: #fff; }
.nav-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-tools { position: relative; }
.nav-tools[open] > summary svg { transform: rotate(180deg); }
.nav-tools > summary { list-style: none; }
.nav-tools > summary::-webkit-details-marker { display: none; }
.tools-panel {
  position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); width: min(38rem, calc(100vw - 2rem));
  padding: 8px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-lift);
}
.tools-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tools-panel a { display: block; padding: 12px 16px; border-radius: 12px; }
.tools-panel a:hover { background: var(--paper-sink); }
.tools-panel strong { display: block; font-family: var(--font-display); font-size: 14px; color: var(--ink); }
.tools-panel span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-soft); }
.tools-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; padding: 12px 16px; border-radius: 12px; background: rgba(215, 238, 240, .4); font-size: 12px; color: var(--ink-soft); }
.tools-foot a { padding: 0; font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); }
.tools-foot a:hover { background: none; text-decoration: underline; }
.header-login { display: none; }
@media (min-width: 640px) { .header-login { display: inline-flex; } }
.header-side .btn { min-height: 44px; padding: 0 12px; font-size: 13px; }
@media (min-width: 640px) { .header-side .btn { min-height: 40px; padding: 0 16px; font-size: 14px; } }
.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule-strong); border-radius: 12px;
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--teal); color: var(--teal-deep); }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close, .site-header.menu-open .menu-toggle .icon-open { display: none; }
.site-header.menu-open .menu-toggle .icon-close { display: block; }
@media (min-width: 640px) { .menu-toggle { width: 40px; height: 40px; } }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.mobile-menu { max-height: calc(100dvh - 4rem); overflow-y: auto; padding: 12px 20px 24px; border-bottom: 1px solid var(--rule); background: var(--surface); box-shadow: var(--shadow-lift); }
.mobile-menu[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu .label { margin: 0; padding: 0 4px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.mobile-menu ul { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .mobile-menu ul.tools { grid-template-columns: 1fr 1fr; } }
.mobile-menu ul.links { grid-template-columns: 1fr 1fr; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule); }
.mobile-menu li a { display: block; padding: 10px 12px; border-radius: 12px; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.mobile-menu li a:hover { background: var(--paper-sink); }
.mobile-menu li a.active { background: var(--teal-soft); color: var(--teal-deep); }
.mobile-menu ul.tools a { font-weight: 700; }
.mobile-menu ul.tools span { display: block; font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.mobile-menu .auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mobile-menu .auth .btn { border-radius: 12px; }

/* ---------------- footer (mirrors React SiteFooter) ---------------- */
.site-footer { margin-top: auto; border-top: 1px solid var(--rule); background: rgba(255, 255, 255, .7); }
.footer-main { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 1.1fr 2fr; } }
.footer-about p { max-width: 24rem; margin: 16px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.footer-about .brand-text small { display: block; max-height: none; opacity: 1; }
.footer-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.footer-contact .zalo { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--surface); font-family: var(--font-display); font-size: 12px; font-weight: 600; }
.footer-contact .zalo:hover { border-color: var(--teal); color: var(--teal-deep); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--surface); color: var(--ink-soft); transition: transform .15s ease, color .15s ease, border-color .15s ease; }
.socials a:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-deep); }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.footer-note { margin-top: 12px !important; font-size: 12px !important; color: var(--ink-faint) !important; }
.business { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 16px 0 0; font-size: 12px; color: var(--ink-soft); }
.business dt { font-weight: 600; color: var(--ink-2); }
.business dd { margin: 0; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(4, 1fr); } }
.footer-cols p { margin: 0; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); }
.footer-cols ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer-cols a { font-size: 14px; color: var(--ink-soft); }
.footer-cols a:hover { color: var(--teal-deep); }
.footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--rule); font-size: 12px; color: var(--ink-faint); }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.footer-bottom a:hover { color: var(--teal-deep); }

/* ---------------- shared page pieces ---------------- */
.eyebrow { margin: 0; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); }
.breadcrumbs { padding-top: 24px; font-size: 13px; color: var(--ink-faint); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; }
.breadcrumbs a:hover { color: var(--teal-deep); }
.breadcrumbs [aria-current='page'] { font-weight: 600; color: var(--ink-2); }
.section { padding-block: 80px; }
.section-tint { border-block: 1px solid var(--rule); background: rgba(238, 242, 248, .6); }
.section-heading { max-width: 44rem; margin: 0 auto 48px; text-align: center; }
.section-heading.align-left { margin: 0; text-align: left; }
.section-heading .eyebrow { color: var(--ink-faint); }
.section h2, .final-cta h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 36px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.section-heading > p:last-child:not(.eyebrow) { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.card { border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }

/* ---------------- landing pages ---------------- */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; padding-block: 56px 88px; }
.hero h1 { max-width: 44rem; margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1.07; letter-spacing: -.025em; color: var(--ink); }
.hero-lead { max-width: 40rem; margin: 22px 0 0; font-size: 18px; line-height: 1.7; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-soft); }
.trust-list li::before { content: '✓'; margin-right: 6px; font-weight: 800; color: var(--teal-deep); }
.hero-panel { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--rule); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lift); }
.hero-panel::before { content: ''; position: absolute; width: 230px; height: 230px; right: -90px; top: -110px; border-radius: 50%; background: rgba(14, 154, 167, .12); }
.panel-top { position: relative; display: flex; align-items: center; gap: 9px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px var(--teal-soft); }
.mini-flow { position: relative; display: grid; gap: 2px; margin: 18px 0 0; padding: 0; list-style: none; }
.mini-flow li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 13px 10px; border-radius: 12px; }
.mini-flow li:hover { background: rgba(215, 238, 240, .5); }
.mini-flow li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; font-family: var(--font-display); font-size: 12px; font-weight: 700; }
.mini-flow div { display: grid; gap: 3px; }
.mini-flow strong { font-family: var(--font-display); font-size: 15px; }
.mini-flow small { font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { padding: 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .15s ease, border-color .15s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: var(--teal); }
.feature-number { display: inline-block; padding: 2px 8px; border-radius: 6px; background: rgba(215, 238, 240, .7); color: var(--teal-deep); font-family: var(--font-mono); font-size: 11px; font-weight: 600; }
.feature-card h3 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.feature-card p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 0 0 28px; }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 23px; top: 50px; bottom: 4px; width: 1px; background: var(--rule-strong); }
.steps li > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; font-family: var(--font-display); font-weight: 700; }
.steps h3 { margin: 2px 0 6px; font-family: var(--font-display); font-size: 17px; }
.steps p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.article { max-width: 48rem; }
.article h2 { margin-bottom: 16px; }
.article p { margin: 0 0 16px; font-size: 16px; line-height: 1.8; color: var(--ink-2); }
.responsible-note { margin: 24px 0 0; padding: 16px 20px; border: 1px solid rgba(217, 138, 30, .34); border-radius: 16px; background: rgba(247, 232, 207, .45); font-size: 14px; line-height: 1.65; color: var(--ink-2); }
.section-dark { background: linear-gradient(135deg, var(--ink), var(--teal-deep)); color: #fff; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: #9ee3e8; }
.use-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.use-cases article { padding: 24px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px; background: rgba(255, 255, 255, .06); }
.use-cases h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 17px; }
.use-cases p { margin: 0; font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .8); }
.section-dark .responsible-note { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .88); }
.faq-list { max-width: 48rem; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { padding: 16px 24px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--teal-deep); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 12px 0 0; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.related-grid a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); font-family: var(--font-display); font-size: 15px; font-weight: 600; transition: transform .15s ease, border-color .15s ease, color .15s ease; }
.related-grid a:hover { transform: translateY(-2px); border-color: var(--teal); color: var(--teal-deep); }
.related-grid a span { color: var(--teal); }
.final-cta {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-block: 24px 88px; padding: 40px; border-radius: 24px; background: linear-gradient(135deg, var(--ink), var(--teal-deep)); color: #fff;
}
.final-cta::before { content: ''; position: absolute; width: 340px; height: 340px; right: -100px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(14, 154, 167, .45), transparent 70%); }
.final-cta > * { position: relative; }
.final-cta h2 { color: #fff; font-size: clamp(24px, 3vw, 30px); }
.final-cta .eyebrow { color: #9ee3e8; }
.final-cta p:not(.eyebrow) { margin: 10px 0 0; max-width: 40rem; font-size: 14px; color: rgba(255, 255, 255, .85); }
.final-cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.final-cta .btn:hover { background: var(--teal-soft); border-color: var(--teal-soft); }

/* ---------------- knowledge-base articles ---------------- */
.art-hero { position: relative; overflow: hidden; padding-block: 8px 48px; }
.art-hero .chip { display: inline-flex; align-items: center; margin-top: 24px; padding: 4px 12px; border: 1px solid rgba(14, 154, 167, .25); border-radius: 999px; background: rgba(215, 238, 240, .6); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-deep); }
.art-hero h1 { margin: 16px 0 0; font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
.art-hero .lede { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--teal); font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.art-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: 13px; color: var(--ink-faint); }
.art-meta b { color: var(--ink-2); font-weight: 600; }
.art-wrap { max-width: 48rem; }
.art-body { padding-bottom: 24px; font-size: 16.5px; color: var(--ink-2); }
.art-body h2 { margin: 38px 0 12px; padding-top: 8px; font-family: var(--font-display); font-size: 26px; letter-spacing: -.01em; color: var(--ink); scroll-margin-top: 96px; }
.art-body h2 .n { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-right: 11px; border-radius: 9px; background: var(--teal-deep); color: #fff; font-size: 15px; vertical-align: 3px; }
.art-body h3 { margin: 26px 0 8px; font-family: var(--font-display); font-size: 19.5px; color: var(--ink-2); }
.art-body h4 { font-family: var(--font-display); }
.art-body p { margin: 12px 0; color: #2a3852; }
.art-body .lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.art-body a { color: var(--teal-deep); }
.art-body a:hover { text-decoration: underline; }
.art-body ul, .art-body ol { margin: 12px 0 12px 4px; padding-left: 22px; color: #2a3852; }
.art-body li { margin: 7px 0; }
.art-body ul li::marker { color: var(--teal); }
.art-body strong { color: var(--ink); }
.art-body hr { margin: 34px 0; border: none; border-top: 1px solid var(--rule-strong); }
.art-body .toc { margin: 6px 0 8px; padding: 18px 22px; border: 1px solid var(--rule-strong); border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(12, 22, 44, .04); }
.art-body .toc .t { margin-bottom: 10px; font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); }
.art-body .toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 26px; }
.art-body .toc li { margin: 5px 0; font-size: 14.5px; }
.art-body .toc a { color: var(--ink-2); font-weight: 500; }
@media (max-width: 640px) { .art-body .toc ol { columns: 1; } }
.art-body .tbl-wrap { overflow-x: auto; margin: 16px 0; }
.art-body table { width: 100%; border-collapse: collapse; overflow: hidden; border: 1px solid var(--rule-strong); border-radius: 12px; background: #fff; font-size: 15px; }
.art-body thead th { padding: 11px 14px; background: var(--teal-deep); color: #fff; text-align: left; font-size: 14px; font-weight: 600; }
.art-body tbody td { padding: 10px 14px; border-top: 1px solid var(--rule); color: var(--ink-2); }
.art-body tbody tr:nth-child(even) { background: #f6f9fc; }
.art-body td.mono, .art-body th.mono { font-family: var(--font-mono); }
.art-body .tbl-red thead th:first-child { background: var(--danger); }
.art-body .tbl-red thead th:last-child { background: var(--green); }
.art-body .callout { margin: 18px 0; padding: 16px 20px; border: 1px solid var(--rule-strong); border-radius: 14px; background: #fff; font-size: 15.5px; }
.art-body .callout .c-t { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-weight: 700; color: var(--ink); }
.art-body .callout.note { background: rgba(14, 154, 167, .06); border-color: rgba(14, 154, 167, .28); }
.art-body .callout.note .c-t { color: var(--teal-deep); }
.art-body .callout.tip { background: rgba(31, 157, 99, .07); border-color: rgba(31, 157, 99, .3); }
.art-body .callout.tip .c-t { color: var(--green); }
.art-body .callout.warn { background: rgba(217, 138, 30, .08); border-color: rgba(217, 138, 30, .34); }
.art-body .callout.warn .c-t { color: #a5670f; }
.art-body .example { margin: 18px 0; padding: 16px 20px; border: 1px solid var(--rule-strong); border-left: 4px solid var(--amber); border-radius: 12px; background: #fffdf8; }
.art-body .example .e-t { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--amber); }
.art-body .example p { margin: 6px 0; }
.art-body .src { margin-top: -4px; font-size: 13px; font-style: italic; color: var(--ink-faint); }
.art-body .thr { margin: 14px 0; padding: 0; list-style: none; }
.art-body .thr li { display: flex; align-items: flex-start; gap: 11px; margin: 9px 0; padding-left: 0; }
.art-body .thr .dot { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 5px; border-radius: 50%; }
.art-body .thr .good { background: var(--green); }
.art-body .thr .ok { background: var(--amber); }
.art-body .thr .bad { background: var(--danger); }
.art-body .thr .info { background: var(--teal-deep); }
.art-body .thr b { color: var(--ink); }
.art-body .keyt { margin: 30px 0; padding: 24px 26px; border-radius: 18px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; }
.art-body .keyt .k-t { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.art-body .keyt ul { margin: 0; padding: 0; list-style: none; }
.art-body .keyt li { position: relative; margin: 9px 0; padding-left: 26px; font-size: 15.5px; color: rgba(255, 255, 255, .94); }
.art-body .keyt li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: #bfeef2; }
.art-body .xlink-grid { display: grid; gap: 14px; }
.art-body .xlink { display: flex; align-items: center; gap: 16px; margin: 16px 0; padding: 18px 20px; border: 1px solid var(--rule-strong); border-radius: 14px; background: #fff; transition: .15s; }
.art-body .xlink:hover { transform: translateY(-2px); border-color: var(--teal); box-shadow: 0 16px 44px rgba(12, 22, 44, .1); text-decoration: none; }
.art-body .xlink .ic { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; font-size: 20px; }
.art-body .xlink .xt { flex: 1; }
.art-body .xlink .xt .k { font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-faint); }
.art-body .xlink .xt .h { margin-top: 2px; font-family: var(--font-display); font-size: 16.5px; font-weight: 700; color: var(--ink); }
.art-body .xlink .xt .d { margin-top: 3px; font-size: 13.5px; color: var(--ink-soft); }
.art-body .xlink .arw { flex: 0 0 auto; font-size: 22px; color: var(--teal); }
.art-body .chiprow { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0; }
.art-body .pill { padding: 6px 13px; border: 1px solid rgba(14, 154, 167, .24); border-radius: 100px; background: rgba(14, 154, 167, .09); font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.art-body .fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
@media (max-width: 640px) { .art-body .fgrid { grid-template-columns: 1fr; } }
.art-body .fcard { padding: 18px; border: 1px solid var(--rule-strong); border-radius: 14px; background: #fff; }
.art-body .fcard h4 { margin: 0 0 6px; font-size: 16px; color: var(--teal-deep); }
.art-body .fcard p, .art-body .fcard ul { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
.art-body .fcard ul { padding-left: 18px; }
.art-body .pathflow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.art-body .pathflow .st { padding: 7px 12px; border: 1px solid rgba(14, 154, 167, .28); border-radius: 9px; background: rgba(14, 154, 167, .09); font-family: var(--font-mono); font-size: 13.5px; font-weight: 600; color: var(--teal-deep); }
.art-body .pathflow .st.go { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; }
.art-body .pathflow .arw2 { font-weight: 800; color: var(--ink-faint); }
.art-body .howto { margin: 18px 0; padding: 14px 20px; border: 1px solid var(--rule-strong); border-left: 4px solid var(--teal); border-radius: 12px; background: #f7fbfc; }
.art-body .howto .ht { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-deep); }
.art-body .howto ol { margin: 6px 0 4px; padding-left: 20px; }
.art-body .howto li { margin: 5px 0; font-size: 15px; color: #2a3852; }
.art-body .howto li::marker { font-weight: 700; color: var(--teal); }
.tool-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0; padding: 22px 24px; border: 1px solid rgba(14, 154, 167, .28); border-radius: 18px; background: rgba(215, 238, 240, .45); }
.tool-cta p { margin: 0; }
.tool-cta .t { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.tool-cta .d { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.more-posts { padding-block: 40px 72px; border-top: 1px solid var(--rule); }
.more-posts h2 { margin: 0; font-family: var(--font-display); font-size: 22px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rule); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-card); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: var(--shadow-lift); }
.post-card .cover { position: relative; height: 128px; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); }
.post-card .cover.navy { background: linear-gradient(135deg, var(--panel-2), var(--teal-deep)); }
.post-card .cover.amber { background: linear-gradient(135deg, var(--amber), var(--amber-deep)); }
.post-card .cover::after { content: ''; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 18px 18px; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .tag { position: absolute; z-index: 1; left: 16px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0, 0, 0, .25); font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.post-card .body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.post-card h3 { margin: 0; font-family: var(--font-display); font-size: 17px; line-height: 1.35; color: var(--ink); }
.post-card p { flex: 1; margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-soft); }
.post-card .go { display: flex; justify-content: space-between; margin-top: 16px; font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--teal-deep); }
.post-card .go small { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--ink-faint); }
.page-hero { padding-block: 32px 40px; text-align: center; }
.page-hero h1 { margin: 12px auto 0; max-width: 48rem; font-family: var(--font-display); font-size: clamp(34px, 5vw, 48px); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.page-hero p:not(.eyebrow) { max-width: 42rem; margin: 18px auto 0; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 64px; }
  .feature-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column { grid-template-columns: 1fr; gap: 40px; }
  .use-cases { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-panel { padding: 18px 12px; }
  .section { padding-block: 64px; }
  .feature-grid, .post-grid, .related-grid { grid-template-columns: 1fr; }
  .tools-panel ul { grid-template-columns: 1fr; }
  .final-cta { margin-bottom: 64px; padding: 28px 22px; }
  .final-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
