/* Free tools & SEO content pages (templates/tools/). Mirrors the landing
   page's design system — DM Sans, #111827 ink, #6c63ff accent, fixed blurred
   nav, white/grey bands, dark CTA band — so these pages read as part of the
   main site. Keep in step with templates/landing.html. */
:root {
  --ink: #111827;
  --ink-2: #374151;
  --body: #1f2937;
  --muted: #6b7280;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --line-soft: #f3f4f6;
  --band: #f9fafb;
  --card: #fff;
  --accent: #6c63ff;
  --accent-2: #5550ee;
  --accent-soft: #eef2ff;
  --accent-line: #c7d2fe;
  --good: #15803d;
  --good-soft: #f0fdf4;
  --good-line: #bbf7d0;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --warn-line: #fde68a;
  --bad: #b91c1c;
  --bad-soft: #fef2f2;
  --bad-line: #fecaca;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: #fff; color: var(--ink); margin: 0; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ── Nav (same as landing) ── */
.land-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 64px;
  background: rgba(255,255,255,0.95); border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.land-nav-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.1rem; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.land-nav-brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; }
.land-nav-links { display: flex; align-items: center; gap: 2rem; }
.land-nav-links a { font-size: .875rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .15s; white-space: nowrap; }
.land-nav-links a:hover, .land-nav-links a[aria-current="page"] { color: var(--ink); }
.land-nav-links a.btn-nav-cta { background: var(--ink); color: #fff; padding: .5rem 1.25rem; border-radius: 8px; font-weight: 600; transition: background .15s; }
.land-nav-links a.btn-nav-cta:hover { background: var(--ink-2); color: #fff; }
.land-nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; padding: 0; }
.land-nav-toggle:hover { background: var(--line-soft); }
.land-nav-toggle svg { pointer-events: none; }
@media (max-width: 960px) {
  .land-nav { padding: 0 1rem; }
  .land-nav-toggle { display: inline-flex; }
  .land-nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line-soft); box-shadow: 0 12px 24px rgba(0,0,0,.06);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .land-nav-links.is-open { max-height: 520px; }
  .land-nav-links a { padding: .9rem 1.5rem; width: 100%; min-height: 44px; display: flex; align-items: center; border-bottom: 1px solid #f9fafb; }
  .land-nav-links a.btn-nav-cta { width: calc(100% - 3rem); margin: .75rem 1.5rem; justify-content: center; }
}

/* ── Bands & layout ── */
.t-hero-band { padding: calc(64px + 2.5rem) 0 2.5rem; background: #fff; }
.t-band { padding: 3.5rem 0; background: var(--band); }
.t-band.white { background: #fff; }
.t-wrap { max-width: 920px; margin: 0 auto; padding: 0 1.5rem; }
.t-wrap.wide { max-width: 1080px; }
@media (max-width: 640px) {
  .t-hero-band { padding: calc(64px + 1.5rem) 0 1.75rem; }
  .t-band { padding: 2.5rem 0; }
  .t-wrap { padding: 0 1rem; }
}

.t-crumbs { font-size: .8rem; color: var(--faint); margin-bottom: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.t-crumbs a { color: var(--muted); text-decoration: none; }
.t-crumbs a:hover { color: var(--ink); }

/* Hero — centred like the landing hero */
.t-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.t-kicker, .t-hero p.t-kicker, .t-section-head p.t-kicker { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; margin: 0 0 .75rem; }
.t-hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; margin: 0 0 1rem; color: var(--ink); }
.t-hero p { font-size: 1.1rem; color: var(--muted); line-height: 1.7; margin: 0 auto; max-width: 620px; }
.t-hero p.t-note { font-size: .82rem; margin-top: .9rem; }
.t-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.5rem; }
.t-badges span { display: inline-flex; align-items: center; gap: .35rem; background: var(--good-soft); color: #16a34a; border: 1px solid var(--good-line); border-radius: 99px; padding: .3rem .8rem; font-size: .78rem; font-weight: 600; }
.t-badges span::before { content: '✓'; font-weight: 800; }

/* Section headings inside bands */
.t-section-head { text-align: center; margin: 0 auto 2.25rem; max-width: 620px; }
.t-section-head h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6rem; }
.t-section-head p { color: var(--muted); margin: 0; line-height: 1.65; }

/* ── Cards & forms ── */
.t-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; }
.t-card + .t-card { margin-top: 1rem; }
.t-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 780px) { .t-grid-2 { grid-template-columns: 1fr; } }
.t-field { margin-bottom: 1rem; }
.t-field label, .t-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-2); margin-bottom: .35rem; }
.t-field .hint { font-size: .76rem; color: var(--faint); margin-top: .3rem; line-height: 1.45; }
.t-input, .t-field input, .t-field select, .t-field textarea {
  width: 100%; padding: .65rem .8rem; border: 1px solid #d1d5db; border-radius: 9px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.t-field textarea { resize: vertical; min-height: 80px; }
.t-input:focus, .t-field input:focus, .t-field select:focus, .t-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,99,255,.15); }
.t-field [aria-invalid="true"] { border-color: var(--bad); }
.t-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .875rem; }
@media (max-width: 520px) { .t-row { grid-template-columns: 1fr; } }
.t-section-title { font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; margin: 1.5rem 0 .8rem; }
.t-section-title:first-child { margin-top: 0; }
.t-seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.t-seg label { margin: 0; position: relative; }
.t-seg input, .t-field .t-seg input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.t-seg span { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--muted); cursor: pointer; background: #fff; transition: border-color .15s, color .15s; }
.t-seg span:hover { border-color: var(--faint); color: var(--ink); }
.t-seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.t-tpl { display: inline-block; padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 99px; font-size: .85rem; font-weight: 600; color: var(--muted); text-decoration: none; background: #fff; }
.t-tpl:hover { border-color: var(--faint); color: var(--ink); }
.t-tpl.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-check { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; margin-bottom: .65rem; color: var(--ink-2); }
.t-check input { margin-top: .25rem; width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--accent); }
details > summary { cursor: pointer; }

/* Buttons — landing .btn-primary / .btn-ghost */
.t-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .75rem 1.4rem; border-radius: 9px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; font-family: inherit; cursor: pointer; text-decoration: none; transition: background .15s, transform .1s, border-color .15s; }
.t-btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.t-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.t-btn.secondary { background: #fff; color: var(--ink-2); border-color: var(--line); font-weight: 500; }
.t-btn.secondary:hover { border-color: var(--faint); color: var(--ink); background: #fff; }
.t-btn.block { width: 100%; }
.t-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }

/* Results */
.t-result { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.75rem; box-shadow: 0 20px 60px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.03); }
.t-big { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; color: var(--ink); }
.t-big-label { font-size: .72rem; color: var(--faint); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; }
.t-lines { width: 100%; border-collapse: collapse; margin-top: 1.1rem; font-variant-numeric: tabular-nums; }
.t-lines td { padding: .6rem 0; border-top: 1px solid var(--line-soft); font-size: .92rem; color: var(--ink-2); }
.t-lines td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.t-lines tr.total td { border-top: 2px solid var(--ink); font-weight: 800; font-size: 1rem; color: var(--ink); }
.t-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; line-height: 1.55; }
.t-alert { border-radius: 10px; padding: .85rem 1rem; font-size: .88rem; margin: 1rem 0; border: 1px solid; line-height: 1.55; }
.t-alert.info { background: var(--accent-soft); border-color: var(--accent-line); color: #3730a3; }
.t-alert.warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); }
.t-alert.bad { background: var(--bad-soft); border-color: var(--bad-line); color: var(--bad); }
.t-alert.good { background: var(--good-soft); border-color: var(--good-line); color: var(--good); }
.t-alert a { color: inherit; font-weight: 600; }
.t-output { white-space: pre-wrap; font-family: inherit; font-size: .93rem; line-height: 1.7; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.t-output[contenteditable="true"]:focus { outline: 2px solid var(--accent); }
.t-empty { color: var(--faint); font-size: .92rem; text-align: center; padding: 2.5rem 1rem; }
.t-pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; background: var(--line-soft); color: var(--ink-2); }
.t-pill.good { background: var(--good-soft); color: var(--good); }
.t-pill.warn { background: var(--warn-soft); color: var(--warn); }
.t-pill.bad { background: var(--bad-soft); color: var(--bad); }
.t-pick { display: block; width: 100%; text-align: left; background: none; border: 0; border-top: 1px solid var(--line-soft); padding: .8rem 1.25rem; font: inherit; color: inherit; cursor: pointer; }
.t-pick:hover { background: var(--band); }
.t-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ── Prose ── */
.t-prose { max-width: 760px; margin: 0 auto; }
.t-prose > :first-child { margin-top: 0; }
.t-prose h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin: 2.5rem 0 .8rem; }
.t-prose h3 { font-size: 1.05rem; font-weight: 700; margin: 1.6rem 0 .5rem; }
.t-prose p, .t-prose li { color: var(--body); font-size: 1rem; line-height: 1.75; }
.t-prose ul, .t-prose ol { padding-left: 1.25rem; }
.t-prose li { margin-bottom: .45rem; }
.t-prose a { color: var(--accent); font-weight: 500; }
.t-table-wrap { overflow-x: auto; margin: 1.1rem 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.t-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.t-table th, .t-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.t-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--band); }
.t-table tbody th { font-weight: 600; font-size: .88rem; color: var(--ink-2); }
.t-table tr:last-child td, .t-table tr:last-child th { border-bottom: 0; }

/* ── FAQ — landing .faq-item cards ── */
.t-faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.t-faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.t-faq summary { list-style: none; padding: 1.2rem 1.5rem; font-size: .95rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.t-faq summary:hover { background: #fafafa; }
.t-faq summary::-webkit-details-marker { display: none; }
.t-faq summary::after { content: ''; width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease;
  background: no-repeat center/18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); }
.t-faq details[open] summary::after { transform: rotate(180deg); }
.t-faq details p { margin: 0; padding: 0 1.5rem 1.25rem; font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ── Link cards — landing .feat-card ── */
.t-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.t-link { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .15s, border-color .15s; }
.t-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,.06); transform: translateY(-2px); border-color: #d1d5db; }
.t-link strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.t-link span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.t-link .t-go { margin-top: auto; padding-top: .9rem; font-size: .82rem; font-weight: 600; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .t-link, .t-btn { transition: none; } .t-link:hover, .t-btn:hover { transform: none; } }

/* ── Tools hub (/tools/) ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cat-chase { --cat: #6c63ff; --cat-soft: #eef2ff; --cat-line: #c7d2fe; }
.cat-legal { --cat: #b45309; --cat-soft: #fffbeb; --cat-line: #fde68a; }
.cat-invoice { --cat: #047857; --cat-soft: #ecfdf5; --cat-line: #a7f3d0; }

.t-hero-band:has(.hub-hero) {
  position: relative; overflow: hidden; padding-bottom: 3.5rem;
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(108,99,255,.10), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(17,24,39,.07) 1px, transparent 0) 0 0 / 22px 22px,
    #fff;
}
.t-hero-band:has(.hub-hero)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.t-hero-band:has(.hub-hero) .t-wrap { position: relative; z-index: 1; }
.hub-hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.4rem); }
.hub-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.9rem; }
.hub-hero-actions .t-btn { padding: .85rem 1.5rem; font-size: .95rem; }
.hub-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 640px; margin: 2.75rem auto 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); }
.hub-stats div { padding: 1rem .5rem; text-align: center; }
.hub-stats div + div { border-left: 1px solid var(--line); }
.hub-stats dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.hub-stats dd { margin: .15rem 0 0; font-size: .78rem; color: var(--muted); }
@media (max-width: 560px) {
  .hub-stats { grid-template-columns: 1fr 1fr; }
  .hub-stats div:nth-child(3) { border-left: 0; }
  .hub-stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hub-hero-actions .t-btn { width: 100%; }
}

.hub-trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: #fff; }
.hub-trust-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
.hub-trust p { display: flex; align-items: flex-start; gap: .7rem; margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.hub-trust strong { color: var(--ink); }
.hub-trust-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--line-soft); color: var(--ink-2); }
.hub-trust-ico .t-ico { width: 17px; height: 17px; }
@media (max-width: 820px) { .hub-trust-row { grid-template-columns: 1fr; gap: .85rem; } }

.hub-head { max-width: 640px; margin: 0 0 2rem; }
.hub-head h2 { font-size: clamp(1.45rem, 3.2vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.2; margin: 0; }

.hub-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--cat-soft, var(--accent-soft)); color: var(--cat, var(--accent)); border: 1px solid var(--cat-line, var(--accent-line)); }
.hub-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.hub-kind { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--line-soft); border-radius: 99px; padding: .25rem .6rem; }
.hub-go { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink); }
.hub-go span { transition: transform .15s; }

.hub-featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hub-feature { position: relative; display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; overflow: hidden; transition: box-shadow .2s, transform .15s, border-color .15s; }
.hub-feature::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--cat); }
.hub-feature h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; margin: 0 0 .45rem; }
.hub-feature p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin: 0 0 1.1rem; }
.hub-feature ul { list-style: none; padding: 1.1rem 0 0; margin: 0; border-top: 1px solid var(--line-soft); display: grid; gap: .55rem; }
.hub-feature li { position: relative; padding-left: 1.6rem; font-size: .86rem; color: var(--ink-2); line-height: 1.45; }
.hub-feature li::before { content: ''; position: absolute; left: 0; top: .1rem; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--cat-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 60% no-repeat; border: 1px solid var(--cat-line); }
.hub-feature .hub-go { padding-top: 1.4rem; }
@media (max-width: 900px) { .hub-featured { grid-template-columns: 1fr; } }

.hub-toolbar { position: sticky; top: 64px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .75rem; margin: 0 0 2.25rem; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px rgba(17,24,39,.04); }
.hub-search { flex: 1 1 280px; display: flex; align-items: center; gap: .55rem; padding: 0 .9rem; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--faint); transition: border-color .15s, box-shadow .15s; }
.hub-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(108,99,255,.15); }
.hub-search .t-ico { width: 18px; height: 18px; flex-shrink: 0; }
.hub-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .92rem; color: var(--ink); }
.hub-chips { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; }
.hub-chips::-webkit-scrollbar { display: none; }
.hub-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: .86rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.hub-chip span { font-size: .72rem; font-weight: 700; color: var(--muted); background: var(--line-soft); border-radius: 99px; padding: .1rem .45rem; }
.hub-chip:hover { border-color: var(--faint); }
.hub-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hub-chip[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 640px) { .hub-toolbar { top: 64px; margin-left: -.5rem; margin-right: -.5rem; } .hub-chips { width: 100%; } }

.hub-cat + .hub-cat { margin-top: 2.75rem; }
.hub-cat[hidden], .hub-card[hidden] { display: none; }
.hub-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--line); }
.hub-cat-head h3 { font-size: 1.05rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.hub-cat-head p { margin: 0; font-size: .87rem; color: var(--muted); }
.hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card { display: flex; flex-direction: column; padding: 1.35rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .15s, border-color .15s; }
.hub-card strong { font-size: .97rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; letter-spacing: -.005em; }
.hub-blurb { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.hub-feature:hover, .hub-card:hover, .hub-guide:hover { border-color: var(--cat-line, #d1d5db); box-shadow: 0 14px 34px rgba(17,24,39,.08); transform: translateY(-2px); }
.hub-feature:hover .hub-go span, .hub-card:hover .hub-go span { transform: translateX(3px); }
.hub-feature:hover .hub-go, .hub-card:hover .hub-go { color: var(--cat); }
@media (max-width: 560px) {
  /* Compact rows on phones: icon, name, blurb */
  .hub-grid { gap: .6rem; }
  .hub-card { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: start; padding: 1rem; }
  .hub-card .hub-card-top { grid-row: span 2; margin: 0; }
  .hub-card .hub-ico { width: 38px; height: 38px; }
  .hub-card .hub-kind, .hub-card .hub-go { display: none; }
  .hub-card strong { font-size: .93rem; margin-bottom: .15rem; }
  .hub-blurb { font-size: .82rem; }
  .hub-feature { padding: 1.4rem; }
  .hub-cat + .hub-cat { margin-top: 2rem; }
}
.hub-empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; margin: 0; border: 1px dashed var(--line); border-radius: 14px; background: #fff; }

.hub-guides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 720px) { .hub-guides { grid-template-columns: 1fr; } }
.hub-guide { display: flex; gap: 1rem; align-items: flex-start; padding: 1.35rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .15s, border-color .15s; }
.hub-guide .hub-ico { background: var(--line-soft); color: var(--ink-2); border-color: var(--line); }
.hub-guide strong { display: block; font-size: .97rem; font-weight: 700; margin-bottom: .25rem; }
.hub-guide span span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .hub-feature, .hub-card, .hub-guide, .hub-go span { transition: none; } .hub-feature:hover, .hub-card:hover, .hub-guide:hover { transform: none; } }

/* ── CTA band — landing .cta-section ── */
.cta-section { padding: 4.5rem 1.5rem; text-align: center; background: var(--ink); }
.cta-title { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 800; color: #fff; margin: 0 0 .75rem; letter-spacing: -.02em; }
.cta-sub { font-size: 1rem; color: var(--faint); margin: 0 auto 2rem; max-width: 560px; line-height: 1.6; }
.btn-cta-white { display: inline-flex; align-items: center; gap: .5rem; background: #fff; color: var(--ink); font-weight: 700; font-size: 1rem; padding: .9rem 2rem; border-radius: 9px; text-decoration: none; transition: background .15s, transform .1s; }
.btn-cta-white:hover { background: var(--line-soft); transform: translateY(-1px); }

/* ── Footer — landing .land-footer with link columns ── */
.land-footer { border-top: 1px solid var(--line-soft); padding: 3rem 2rem 2rem; background: #fff; }
.t-footer-cols { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
@media (max-width: 860px) { .t-footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .t-footer-cols { grid-template-columns: 1fr; } .land-footer { padding: 2.5rem 1rem 1.5rem; } }
.land-footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .95rem; color: var(--ink-2); text-decoration: none; }
.land-footer-brand img { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; }
.t-footer-tag { font-size: .82rem; color: var(--faint); line-height: 1.55; margin: .6rem 0 0; max-width: 240px; }
.t-footer-cols h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); margin: 0 0 .8rem; }
.t-footer-cols div > a:not(.land-footer-brand) { display: block; font-size: .82rem; color: var(--faint); text-decoration: none; margin-bottom: .45rem; }
.t-footer-cols div > a:not(.land-footer-brand):hover { color: var(--ink-2); }
.land-footer-company { max-width: 1080px; margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; font-size: .75rem; color: var(--faint); }
.land-footer-company a { color: var(--faint); }

.t-disclaimer { font-size: .78rem; color: var(--faint); margin-top: 2rem; }

@media print {
  .land-nav, .land-footer, .t-crumbs, .t-hero-band, .t-prose, .cta-section, .no-print, .t-faq, .t-related { display: none !important; }
  body { background: #fff; }
  .t-band { padding: 0; background: #fff; }
  .t-wrap { padding: 0; max-width: none; }
  .print-only-target { border: 0 !important; padding: 0 !important; }
  .t-output { border: 0; padding: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 11.5pt; }
}
