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

    :root {
      --blue: #2563eb;
      --blue-dark: #1d4ed8;
      --navy: #0f172a;
      --slate: #1e293b;
      --muted: #64748b;
      --light: #f1f5f9;
      --white: #ffffff;
      --accent: #f59e0b;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--navy);
      background: var(--white);
      line-height: 1.6;
    }

    /* ── NAV ── */
    nav {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(8px);
      border-bottom: 1px solid #e2e8f0;
      padding: 0 24px;
    }
    .nav-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }
    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .nav-logo img {
      height: 40px;
      width: auto;
    }
    .nav-logo span {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--navy);
    }
    .nav-cta {
      background: var(--blue);
      color: var(--white);
      padding: 9px 20px;
      border-radius: 8px;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      transition: background 0.2s;
    }
    .nav-cta:hover { background: var(--blue-dark); }

    /* ── HERO ── */
    .hero {
      background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
      color: var(--white);
      padding: 100px 24px 80px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,0.3) 0%, transparent 70%);
    }
    .hero-inner {
      max-width: 760px;
      margin: 0 auto;
      position: relative;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(37,99,235,0.2);
      border: 1px solid rgba(37,99,235,0.4);
      color: #93c5fd;
      font-size: 0.8rem;
      font-weight: 600;
      padding: 5px 14px;
      border-radius: 100px;
      margin-bottom: 24px;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }
    .hero h1 {
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 800;
      line-height: 1.15;
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }
    .hero h1 span { color: #60a5fa; }
    .hero p {
      font-size: 1.15rem;
      color: #94a3b8;
      margin-bottom: 36px;
      max-width: 580px;
      margin-left: auto;
      margin-right: auto;
    }
    .hero-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--blue);
      color: var(--white);
      padding: 14px 30px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      transition: all 0.2s;
      box-shadow: 0 4px 20px rgba(37,99,235,0.4);
    }
    .btn-primary:hover {
      background: var(--blue-dark);
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(37,99,235,0.5);
    }
    .btn-outline {
      background: transparent;
      color: var(--white);
      padding: 14px 30px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      border: 1.5px solid rgba(255,255,255,0.3);
      transition: all 0.2s;
    }
    .btn-outline:hover {
      border-color: rgba(255,255,255,0.6);
      background: rgba(255,255,255,0.05);
    }

    /* ── STATS ── */
    .stats {
      background: var(--white);
      padding: 48px 24px;
      border-bottom: 1px solid #e2e8f0;
    }
    .stats-inner {
      max-width: 900px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      text-align: center;
    }
    .stat-num {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--blue);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label {
      font-size: 0.9rem;
      color: var(--muted);
      font-weight: 500;
    }

    /* ── SECTION SHARED ── */
    section { padding: 80px 24px; }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-tag {
      display: inline-block;
      background: #eff6ff;
      color: var(--blue);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 4px 12px;
      border-radius: 100px;
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }
    .section-sub {
      color: var(--muted);
      font-size: 1.05rem;
      max-width: 560px;
      margin-bottom: 48px;
    }

    /* ── CATEGORIES ── */
    .categories { background: var(--light); }
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
    }
    .cat-card {
      background: var(--white);
      border-radius: 14px;
      padding: 28px 24px;
      text-decoration: none;
      color: inherit;
      border: 1.5px solid #e2e8f0;
      transition: all 0.2s;
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .cat-card:hover {
      border-color: var(--blue);
      box-shadow: 0 8px 30px rgba(37,99,235,0.1);
      transform: translateY(-2px);
    }
    .cat-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }
    .cat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
    .cat-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
    .cat-arrow { margin-left: auto; color: var(--muted); font-size: 1.2rem; align-self: center; flex-shrink: 0; }

    /* ── WHY ── */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 32px;
    }
    .why-item { }
    .why-icon {
      width: 52px;
      height: 52px;
      background: #eff6ff;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      margin-bottom: 16px;
    }
    .why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
    .why-item p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

    /* ── CTA BANNER ── */
    .cta-banner {
      background: linear-gradient(135deg, #1d4ed8, #2563eb);
      color: var(--white);
      text-align: center;
      padding: 72px 24px;
    }
    .cta-banner h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800;
      margin-bottom: 14px;
      letter-spacing: -0.02em;
    }
    .cta-banner p {
      color: rgba(255,255,255,0.75);
      font-size: 1.05rem;
      margin-bottom: 32px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }
    .btn-white {
      background: var(--white);
      color: var(--blue);
      padding: 14px 32px;
      border-radius: 10px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1rem;
      display: inline-block;
      transition: all 0.2s;
    }
    .btn-white:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }

    /* ── FOOTER ── */
    footer {
      background: var(--navy);
      color: #94a3b8;
      padding: 48px 24px 32px;
    }
    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
    }
    .footer-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
      padding-bottom: 32px;
      border-bottom: 1px solid #1e293b;
      margin-bottom: 24px;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }
    .footer-logo img { height: 36px; }
    .footer-logo span { font-size: 1rem; font-weight: 700; color: var(--white); }
    .footer-links {
      display: flex;
      gap: 24px;
      flex-wrap: wrap;
    }
    .footer-links a {
      color: #94a3b8;
      text-decoration: none;
      font-size: 0.875rem;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--white); }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 12px;
      font-size: 0.8rem;
    }
    .footer-bottom a { color: #64748b; text-decoration: none; }
    .footer-bottom a:hover { color: #94a3b8; }

    /* ── RESPONSIVE ── */
    @media (max-width: 600px) {
      .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 12px; }
      .stat-num { font-size: 1.6rem; }
      .footer-top { flex-direction: column; align-items: flex-start; }
    }

/* ---- additions for multi-page site ---- */
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a:not(.nav-cta) { color: var(--slate); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:not(.nav-cta):hover { color: var(--blue); }
.group-title { font-size: 18px; font-weight: 700; color: var(--navy); margin: 36px 0 14px; padding-left: 10px; border-left: 4px solid var(--blue); }
.group-title:first-of-type { margin-top: 8px; }
.why-item.link { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.why-item.link:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,23,42,.08); }
.section-inner.narrow { max-width: 820px; }

.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #1e3a8a 100%); color: #fff; padding: 48px 20px 40px; }
.page-hero-inner { max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; line-height: 1.2; margin: 10px 0 14px; }
.page-hero .lead { font-size: 17px; color: #cbd5e1; line-height: 1.6; }
.page-hero .meta { font-size: 13px; color: #94a3b8; margin-top: 14px; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: #94a3b8; }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { color: #cbd5e1; text-decoration: none; }
.crumbs a:hover { color: #fff; }

.article { max-width: 900px; margin: 0 auto; padding: 32px 20px 56px; line-height: 1.75; color: var(--slate); }
.article section { padding: 12px 0; }
.article h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 28px 0 14px; line-height: 1.3; }
.article h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 22px 0 10px; }
.article p { margin: 0 0 14px; font-size: 16.5px; }
.article a { color: var(--blue); }
.toc { display: flex; flex-wrap: wrap; gap: 8px 16px; background: var(--light); border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 12px; }
.toc strong { width: 100%; color: var(--navy); }
.toc a { text-decoration: none; }
.ticks, .crosses, .numbered { margin: 0 0 14px 0; padding-left: 0; list-style: none; }
.ticks li, .crosses li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.crosses li::before { content: "✗"; position: absolute; left: 0; color: #dc2626; font-weight: 800; }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; position: relative; padding-left: 38px; margin-bottom: 10px; font-weight: 700; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.feat { border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; background: #fff; }
.feat h3 { margin: 0 0 6px; font-size: 16px; }
.feat p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.price-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 18px 20px; }
.price-box p { margin: 0 0 8px; }
.small-note { font-size: 13px !important; color: var(--muted); margin: 0 !important; }
.callout { border: 1px solid #bfdbfe; background: #eff6ff; border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.callout.product { border-color: #bbf7d0; background: #f0fdf4; }
.callout p { margin: 6px 0 12px; font-size: 15px; }
.btn-primary.small, .btn-outline-dark.small { padding: 10px 18px; font-size: 14px; display: inline-block; }
.btn-outline-dark { border: 2px solid var(--blue); color: var(--blue); border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn-outline-dark:hover { background: var(--blue); color: #fff; }
.article .btn-primary { color: #fff; }
.faq details { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq details p { margin: 10px 0 0; }
.related .cat-grid { margin-top: 8px; }

.footer-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; padding-bottom: 28px; margin-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fcol h4, .fcol .fh { color: #fff; font-size: 14px; margin-bottom: 10px; }
.fcol a { display: block; color: #94a3b8; text-decoration: none; font-size: 13.5px; margin-bottom: 6px; }
.fcol a:hover { color: #fff; }

.table-wrap { overflow-x: auto; margin: 8px 0 16px; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.table-wrap th, .table-wrap td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--light); color: var(--navy); font-weight: 700; }
.guide-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.guide-list a { display: block; padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.guide-list a:hover { border-color: var(--blue); color: var(--blue); }

/* tools */
.article.wide { max-width: 1100px; }
.tool-card { border: 2px solid #bfdbfe; background: #f8fbff; border-radius: 16px; padding: 20px; margin: 18px 0 28px; }
.tool-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 12px; }
.tool-row label, .tool-card fieldset label { display: flex; flex-direction: column; font-weight: 600; font-size: 14px; color: var(--navy); flex: 1 1 200px; gap: 6px; }
.tool-card label.radio { flex-direction: row; align-items: center; font-weight: 500; gap: 8px; flex: 1 1 260px; }
.tool-card input:not([type=radio]):not([type=checkbox]), .tool-card textarea, #pf { font: inherit; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; width: 100%; }
.tool-card fieldset { border: 1px solid #e2e8f0; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.tool-card legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button { border: 1px solid #cbd5e1; background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.chips button.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.result { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 6px 16px; margin: 8px 0 10px; }
.result div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; }
.result div:last-child { border-bottom: 0; }
.result .total { font-size: 19px; color: var(--blue); }
#items input { width: 100%; min-width: 60px; padding: 8px; }
#items .del { border: 0; background: none; color: #dc2626; font-size: 16px; cursor: pointer; }
.inv-preview { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; margin-top: 20px; color: #0f172a; font-size: 14px; line-height: 1.5; }
.inv-preview p { font-size: 14px; margin: 0; }
.inv-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid #0f172a; padding-bottom: 12px; margin-bottom: 12px; }
.inv-head h3 { margin: 0 0 4px; } .inv-meta { text-align: right; } .inv-meta h2 { margin: 0 0 6px; font-size: 20px; }
.inv-bill { margin-bottom: 12px; }
.inv-table { width: 100%; border-collapse: collapse; }
.inv-table th, .inv-table td { border: 1px solid #cbd5e1; padding: 6px 8px; text-align: left; }
.inv-table tfoot td:last-child, .inv-table tbody td:last-child { text-align: right; }
.inv-table tfoot td:first-child { text-align: right; }
.inv-table .grand td { font-weight: 800; font-size: 16px; }
.inv-notes { margin-top: 12px !important; } .inv-foot { margin-top: 16px !important; font-size: 11px !important; color: #94a3b8; }
.tpl-card { border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.tpl-card h3 { margin: 0 0 8px !important; }
pre.tpl { white-space: pre-wrap; font-family: inherit; background: var(--light); border-radius: 10px; padding: 12px 14px; margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
@media print {
  nav, footer, .no-print, .page-hero, script { display: none !important; }
  body { background: #fff; }
  .article { padding: 0; max-width: none; }
  .tool-card { border: 0; padding: 0; margin: 0; background: #fff; }
  .inv-preview { border: 0; margin: 0; padding: 0; }
}

@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .article h2 { font-size: 22px; }
}

/* directory (2026-11-26) */
.dir-own{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-size:11px;font-weight:600;vertical-align:middle}
.dir-meta{margin-top:4px;font-size:12px;color:#64748b}
.dir-note{margin:24px 0;padding:12px 16px;border-left:3px solid #6366f1;background:#f8fafc;color:#475569;font-size:14px}
.dir-facts{width:100%;border-collapse:collapse;margin:8px 0 4px}
.dir-facts th,.dir-facts td{text-align:left;padding:10px 12px;border-bottom:1px solid #e2e8f0;vertical-align:top}
.dir-facts th{width:30%;color:#475569;font-weight:600}
.dir-claim{margin-top:32px;padding:20px;border:1px dashed #cbd5e1;border-radius:12px}
.badge-code{width:100%;font-family:monospace;font-size:12px;padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;resize:vertical}
