/* ═══════════════════════════════════════════════════════════════════════════
   site.css — the marketing pages that are not the homepage: /software/,
   /industries/, /free/, /tools/, /guides/, /glossary/, /compare/, /about/,
   /press/, /contact/, /hi/. Loaded AFTER /v2/css/tokens.css, which stays the
   only source of colour, size and curve. The base below is pricing.html's
   own (copied, so these pages read as the same site); the components after it
   are the few that landing pages, articles and calculators need.
   Generated pages come from tools/seo/nvpage.py — edit the template, not a page.
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:root { --nav-h: 64px; }
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body);
       font-size: 16px; line-height: 1.6; font-weight: 400; letter-spacing: var(--tr-body); word-spacing: normal;
       overflow-x: hidden; overflow-x: clip; }
b, strong { font-weight: 500; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
p { margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
/* The same wide-monitor step the homepage takes. --maxw is 1180px because
   that is the APP's content width; on a big display the page reads as a
   ribbon adrift in grey. The column and the body size move together so the
   line length in characters barely changes. */
@media (min-width: 1500px) { :root { --maxw: 1320px; } }
@media (min-width: 1800px) { :root { --maxw: 1440px; --pad: 40px; } body { font-size: 17px; } }
@media (min-width: 2200px) { :root { --maxw: 1560px; } body { font-size: 18px; } }
.wrap-narrow { max-width: 820px; }
:root { --sec-y: clamp(64px, 7vw, 104px); }
section { padding: var(--sec-y) 0; }
.s-plans { padding-top: 40px; }
.s-tight { padding-top: 0; }
@media (max-width: 720px) { :root { --pad: 20px; } }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06; letter-spacing: var(--tr-display); }
h2 { font-size: var(--fs-title); line-height: var(--lh-title); letter-spacing: var(--tr-title); }
h3 { font-size: var(--fs-subhead); line-height: var(--lh-subhead); letter-spacing: var(--tr-subhead); }
.lede { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--text-soft); text-wrap: pretty; }
.eyebrow { font-size: var(--fs-micro); line-height: var(--lh-micro); text-transform: uppercase;
           letter-spacing: var(--tr-micro); color: var(--accent); font-weight: 500; }
.sec-lede { color: var(--text-soft); margin: 8px 0 24px; max-width: 68ch; text-wrap: pretty; }

/* ── Nav — a material the content scrolls under ────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center;
       background: var(--chrome-glass); border-bottom: 1px solid var(--border);
       backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display);
         font-weight: 500; font-size: 17px; letter-spacing: var(--tr-subhead); }
.brand:hover { text-decoration: none; }
.brand i { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
           background: var(--accent-fill); color: var(--on-accent); font-style: normal; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text-soft); transition: color var(--dur-1) var(--ease-out); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); }
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 420px) { .nav .btn { padding: 8px 12px; font-size: var(--fs-caption); } .nav .brand { font-size: 15px; } }
@media (max-width: 359px) { .nav .nav-signin { display: none; } }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px;
       border-radius: var(--r-sm); font-size: 15px; line-height: 20px; font-weight: 500; letter-spacing: var(--tr-body);
       border: 1px solid var(--border); background: var(--surface-2); color: var(--text); white-space: nowrap;
       transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out),
                   border-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
.btn:hover { background: var(--surface-3); border-color: var(--border-control); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); } }
.btn:active { transform: scale(.98); transition-duration: 70ms; }
.btn-primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); border-color: transparent; }
.btn-lg { padding: 13px 22px; font-size: 16px; line-height: 22px; }
.btn-block { width: 100%; }
.arr { display: inline-block; transition: transform var(--dur-1) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .arr { transform: translateX(3px); } }

/* ── Footer, skip link, focus ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); padding: 48px 0 64px; }
.foot { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot a { color: var(--text-soft); font-size: var(--fs-caption); }
.foot a:hover { color: var(--text); }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-tag { font-size: var(--fs-micro); color: var(--muted); margin-top: 10px; }
.foot .brand { font-size: 15px; }
.foot .brand i { width: 22px; height: 22px; border-radius: 7px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--surface); color: var(--text);
              padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.foot-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; width: 100%;
             padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
@media (max-width: 900px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-cols h2 { font-family: var(--font-body); font-size: var(--fs-micro); line-height: var(--lh-micro); font-weight: 500;
                text-transform: uppercase; letter-spacing: var(--tr-micro); color: var(--muted); margin: 0 0 10px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { color: var(--text-soft); font-size: var(--fs-caption); }
.foot-cols a:hover { color: var(--text); }

/* ── Page head ────────────────────────────────────────────────────────────── */
.crumbs { padding-top: 28px; font-size: var(--fs-caption); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--muted-2, var(--muted)); }
.crumbs a { color: var(--text-soft); }
.ph { padding: 28px 0 8px; max-width: 820px; }
.ph h1 { margin-top: 10px; }
.ph .lede { margin-top: 16px; max-width: 64ch; }
.ph-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.ph-note { margin-top: 12px; font-size: var(--fs-caption); color: var(--muted); }
@media (max-width: 720px) { .crumbs { padding-top: 18px; } .ph { padding-top: 18px; } }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.sec { padding: clamp(40px, 5vw, 72px) 0; }
.sec + .sec { padding-top: 0; }
.sec > h2, .sec-h { max-width: 760px; }
.sec-h p { color: var(--text-soft); margin-top: 10px; max-width: 68ch; text-wrap: pretty; }
.answer { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent);
          border-radius: var(--r-md); background: var(--surface); max-width: 820px; }
.answer p { color: var(--text-soft); text-wrap: pretty; }
.answer p + p { margin-top: 8px; }
.answer b, .answer strong { color: var(--text); }

/* Cards and grids */
.grid { display: grid; gap: 16px; margin-top: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
        box-shadow: var(--shadow-1); padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card h3 { font-size: 18px; line-height: 1.3; }
.card p, .card li { color: var(--text-soft); font-size: var(--fs-caption); line-height: 1.6; text-wrap: pretty; }
.card ul { margin: 0; padding-left: 18px; }
a.card { color: inherit; transition: border-color var(--dur-1) var(--ease-out); }
a.card:hover { text-decoration: none; border-color: var(--border-control); }
a.card .more { margin-top: auto; padding-top: 6px; color: var(--primary); font-size: var(--fs-caption); font-weight: 500; }

/* A list of what it does, one line each */
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.ticks li { position: relative; padding-left: 26px; color: var(--text-soft); text-wrap: pretty; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 11px; height: 6px;
                    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.ticks li b { color: var(--text); font-weight: 500; }

/* What it does NOT do — the honest part, stated on the page that sells it */
.limits { margin-top: 24px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-md);
          background: var(--surface-2); max-width: 820px; }
.limits h3 { font-size: 16px; margin-bottom: 8px; }
.limits ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.limits li { color: var(--text-soft); font-size: var(--fs-caption); line-height: 1.6; }

/* Numbered steps */
.steps { counter-reset: st; list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; max-width: 820px; }
.steps li { counter-increment: st; position: relative; padding-left: 44px; color: var(--text-soft); text-wrap: pretty; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
                    display: grid; place-items: center; font-size: 13px; font-weight: 500; color: var(--text);
                    border: 1px solid var(--border-control); }
.steps li b { color: var(--text); font-weight: 500; }

/* Price line */
.price-line { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 18px; font-size: var(--fs-caption); color: var(--text-soft); }
.price-line b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Tables — scroll on a phone rather than crush */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 20px; border: 1px solid var(--border);
       border-radius: var(--r-md); background: var(--surface); contain: paint; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
/* Only a WIDE table keeps a minimum width and scrolls on a phone; a two-column
   one must never hide its second column off-screen. */
.tbl.wide table { min-width: 640px; }
.tbl th, .tbl td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl thead th { background: var(--surface-chrome); font-size: var(--fs-micro); line-height: var(--lh-micro); text-transform: uppercase;
                letter-spacing: var(--tr-micro); color: var(--text-soft); font-weight: 500; border-bottom: 1px solid var(--border-control); }
.tbl tbody th { font-weight: 500; color: var(--text); }
.tbl td { color: var(--text-soft); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: none; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }

/* FAQ — the same disclosure the pricing page uses */
.faq { margin-top: 20px; max-width: 820px; }
details { border-top: 1px solid var(--border); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-size: 16px; font-weight: 500; list-style: none; display: flex; justify-content: space-between;
          align-items: center; gap: 16px; padding: 14px 0; min-height: 48px; color: var(--text); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--muted); font-size: 22px; font-weight: 300; flex: none;
                 transition: transform var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { summary:hover::after { color: var(--text); } }
details p { color: var(--text-soft); font-size: 15px; line-height: 1.6; margin-top: 0; padding-bottom: 16px; max-width: 68ch; text-wrap: pretty; }

/* Closing call to action */
.cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); box-shadow: var(--shadow-1);
       padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 32px); text-align: center; margin: clamp(40px, 5vw, 72px) 0; }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--text-soft); max-width: 58ch; margin: 0 auto; text-wrap: pretty; }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* Articles: guides, glossary entries, comparisons */
.prose { max-width: 72ch; margin-top: 24px; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 40px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { color: var(--text-soft); line-height: 1.75; text-wrap: pretty; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose strong, .prose b { color: var(--text); font-weight: 500; }
.prose blockquote { margin-left: 0; padding: 12px 18px; border-left: 3px solid var(--accent); background: var(--surface);
                    border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.prose code { font-family: var(--font-mono); font-size: .92em; padding: 1px 5px; border-radius: 4px; background: var(--surface-2); }
.prose .tbl.wide table { min-width: 560px; }
.meta { margin-top: 14px; font-size: var(--fs-caption); color: var(--muted); }
.meta a { color: var(--text-soft); }
.toc { margin-top: 24px; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--r-md); max-width: 72ch; }
.toc h2 { font-family: var(--font-body); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: var(--tr-micro);
          color: var(--muted); font-weight: 500; margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: var(--fs-caption); }
.sources { margin-top: 32px; font-size: var(--fs-caption); color: var(--muted); max-width: 72ch; }
.sources li { margin-top: 4px; overflow-wrap: anywhere; }

/* Link lists (hubs, related) */
.links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.links a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--r-pill);
           color: var(--text-soft); font-size: var(--fs-caption); }
.links a:hover { text-decoration: none; border-color: var(--border-control); color: var(--text); }

/* Calculators (/tools/) — an input's outline is --border-control, never a
   material edge: WCAG 1.4.11 wants 3:1 for a control boundary (ds.css). */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
@media (max-width: 820px) { .tool { grid-template-columns: 1fr; } }
.tool-in, .tool-out { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px 22px; }
.tool-in { display: grid; gap: 14px; align-content: start; }
.tool label { display: grid; gap: 6px; font-size: var(--fs-caption); color: var(--text-soft); font-weight: 500; }
.tool input, .tool select { font: inherit; font-size: 16px; color: var(--text); background: var(--bg); padding: 10px 12px;
                            border: 1px solid var(--border-control); border-radius: var(--r-sm); width: 100%; min-width: 0; }
.tool input:focus-visible, .tool select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.tool .hint { font-weight: 400; color: var(--muted); font-size: var(--fs-micro); }
.tool-out dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
.tool-out dt { color: var(--text-soft); font-size: var(--fs-caption); }
.tool-out dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; color: var(--text); font-weight: 500; }
.tool-out .big { font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); line-height: 1.1; font-variant-numeric: tabular-nums; }
.tool-out .note { margin-top: 14px; font-size: var(--fs-micro); color: var(--muted); }

/* Tags */
.tag { display: inline-block; padding: 2px 9px; border-radius: var(--r-pill); font-size: var(--fs-micro); line-height: 18px;
       font-weight: 500; letter-spacing: var(--tr-micro); text-transform: uppercase; color: var(--on-accent); background: var(--accent-fill); }
.tag-quiet { color: var(--text-soft); background: var(--surface-2); border: 1px solid var(--border); }

/* Reduced motion is handled once, globally, in tokens.css (gentler, not zero). */
