/* ============================================================================
   NowBoard marketing site: shared stylesheet
   ----------------------------------------------------------------------------
   1. Tokens (one palette, one type stack, one radius scale) plus the legacy
      per-page variable names, aliased to the same values so every template
      resolves the same colour whether or not it has been migrated.
   2. Fallback font metrics and base element styles.
   3. Site chrome: header, navigation, footer, breadcrumbs, cookie banner.
   4. Page families: "sec" (sector pages, photo hero), "land" (role and
      use-case landing pages, navy hero) and the blog article styles.
   Pages that still carry their own <style> block (homepage, pricing, features
   and the other bespoke pages) read the tokens from here.
   Served at /css/site.css?v=<version>; bump the version by deploying.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --nb-navy: #0c1426;
  --nb-navy-mid: #162040;
  --nb-navy-light: #1e2d56;
  --nb-navy-deep: #0c1020;
  --nb-ink: #1a1a2e;
  --nb-cream: #faf8f4;
  --nb-warm: #f5f0e8;
  --nb-white: #ffffff;
  --nb-accent: #e8643a;
  --nb-accent-hover: #d4522a;
  --nb-accent-ink: #c2410c;      /* 5.2:1 on white; for text and buttons on light grounds */
  --nb-accent-soft: rgba(232, 100, 58, 0.1);
  --nb-accent-ink-hover: #9a3412;
  --nb-green: #1b7a44;           /* 5.2:1 with white text, 4.9:1 as text on cream */
  --nb-blue: #2563eb;
  --nb-blue-hover: #1d4ed8;
  --nb-text: #2c2c3a;
  --nb-muted: #5f6472;           /* 5.0:1 on the warm tint; #6b7280 was 4.26 */
  --nb-muted-light: #9ca3af;
  --nb-border: #e2ddd4;
  --nb-grey-border: #e5e7eb;
  --nb-grey-text: #4b5563;
  --nb-grey-dark: #374151;
  --nb-radius: 12px;
  --nb-radius-sm: 8px;
  --nb-radius-lg: 20px;
  --nb-font: 'DM Sans', 'DM Sans Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --nb-container: 1400px;
  --nb-content: 1100px;
  --nb-prose: 900px;
  --nb-measure: 68ch;
  --nb-fs-h1: clamp(1.75rem, 4vw, 3rem);
  --nb-fs-h2: clamp(1.5rem, 3vw, 2.125rem);
  --nb-section-space: clamp(4rem, 8vw, 7rem);

  /* Legacy names. Every namespace the templates ever used resolves here. */
  --hp-navy: var(--nb-navy); --hp-navy-mid: var(--nb-navy-mid); --hp-navy-light: var(--nb-navy-light);
  --hp-cream: var(--nb-cream); --hp-warm: var(--nb-warm); --hp-white: var(--nb-white);
  --hp-accent: var(--nb-accent); --hp-accent-hover: var(--nb-accent-hover); --hp-green: var(--nb-green);
  --hp-accent-ink: var(--nb-accent-ink); --hp-accent-ink-hover: var(--nb-accent-ink-hover);
  --hp-text: var(--nb-text); --hp-text-muted: var(--nb-muted); --hp-muted: var(--nb-muted); --hp-border: var(--nb-border);
  --hp-radius: var(--nb-radius); --hp-radius-lg: var(--nb-radius-lg); --hp-max-w: var(--nb-container); --hp-space: var(--nb-section-space);
  --hp-font-display: var(--nb-font); --hp-font-body: var(--nb-font);
  --pg-navy: var(--nb-navy); --pg-navy-mid: var(--nb-navy-mid); --pg-cream: var(--nb-cream); --pg-warm: var(--nb-warm);
  --pg-accent: var(--nb-accent); --pg-accent-hover: var(--nb-accent-hover); --pg-green: var(--nb-green);
  --pg-accent-ink: var(--nb-accent-ink); --pg-accent-ink-hover: var(--nb-accent-ink-hover);
  --pg-ch-accent-ink: var(--nb-accent-ink); --pg-sc-accent-ink: var(--nb-accent-ink); --ov-accent-ink: var(--nb-accent-ink); --nbl-accent-ink: var(--nb-accent-ink);
  --pg-text: var(--nb-text); --pg-text-muted: var(--nb-muted); --pg-border: var(--nb-border); --pg-radius: var(--nb-radius);
  --pg-hp-navy: var(--nb-navy); --pg-hp-navy-mid: var(--nb-navy-mid); --pg-hp-cream: var(--nb-cream); --pg-hp-warm: var(--nb-warm);
  --pg-hp-accent: var(--nb-accent); --pg-hp-text: var(--nb-text); --pg-hp-muted: var(--nb-muted); --pg-hp-border: var(--nb-border); --pg-hp-radius: var(--nb-radius);
  --pg-ch-navy: var(--nb-navy); --pg-ch-navy-mid: var(--nb-navy-mid); --pg-ch-cream: var(--nb-cream); --pg-ch-warm: var(--nb-warm);
  --pg-ch-accent: var(--nb-accent); --pg-ch-text: var(--nb-text); --pg-ch-muted: var(--nb-muted); --pg-ch-border: var(--nb-border); --pg-ch-radius: var(--nb-radius);
  --pg-sc-navy: var(--nb-navy); --pg-sc-navy-mid: var(--nb-navy-mid); --pg-sc-cream: var(--nb-cream); --pg-sc-warm: var(--nb-warm);
  --pg-sc-accent: var(--nb-accent); --pg-sc-green: var(--nb-green); --pg-sc-text: var(--nb-text); --pg-sc-muted: var(--nb-muted); --pg-sc-border: var(--nb-border); --pg-sc-radius: var(--nb-radius);
  --ov-navy: var(--nb-navy); --ov-mid: var(--nb-navy-mid); --ov-cream: var(--nb-cream); --ov-warm: var(--nb-warm); --ov-accent: var(--nb-accent);
  --ov-green: var(--nb-green); --ov-text: var(--nb-text); --ov-muted: var(--nb-muted); --ov-border: var(--nb-border); --ov-r: var(--nb-radius);
  --nbl-navy: var(--nb-navy); --nbl-accent: var(--nb-accent); --nbl-text: var(--nb-text); --nbl-muted: var(--nb-muted); --nbl-border: var(--nb-border); --nbl-warn-bg: #fff8f0;
}

/* ---------- 2. Fonts and base ---------- */
/* Size-adjusted fallback so text does not reflow when DM Sans arrives. */
@font-face {
  font-family: 'DM Sans Fallback';
  src: local('Arial');
  ascent-override: 94%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 103%;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--nb-font); line-height: 1.6; color: var(--nb-ink); background: var(--nb-white); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--nb-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--nb-container); margin: 0 auto; padding: 0 1.5rem; }
main { min-height: 60vh; }
/* Keyboard focus: visible on light and dark grounds alike. */
:focus-visible { outline: 3px solid var(--nb-accent-ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
/* Links inside running text are underlined; links that are buttons or cards carry a class and opt out. */
main p > a:not([class]), main li > a:not([class]), main td > a:not([class]), main dd > a:not([class]), main figcaption > a:not([class]) { text-decoration: underline; text-underline-offset: 0.15em; color: var(--nb-accent-ink); }
main p > a:not([class]):hover, main li > a:not([class]):hover, main td > a:not([class]):hover { color: var(--nb-accent-ink-hover); }
main [class*="hero"] p > a:not([class]), main [class*="navy"] p > a:not([class]), main [class*="cta"] p > a:not([class]), main [class*="dark"] p > a:not([class]) { color: #fff; }
main [class*="note"] > a:not([class]), main [class*="note"] p > a:not([class]) { text-decoration: underline; text-underline-offset: 0.15em; color: var(--nb-accent-ink); }
/* Visually hidden, still read by screen readers. */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- 3. Site chrome ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--nb-white); border-bottom: 1px solid var(--nb-grey-border); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 28px; width: auto; display: block; }
.site-nav { display: flex; gap: 1.5rem; align-items: center; }
.site-nav a { color: var(--nb-grey-text); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; padding: 0.625rem 0.125rem; }
.site-nav a:hover { color: var(--nb-ink); text-decoration: none; }
.nav-dropdown { position: relative; }
.nav-dropdown__trigger { display: flex; align-items: center; gap: 0.3rem; cursor: pointer; color: var(--nb-grey-text); font-size: 0.9375rem; font-weight: 500; background: none; border: none; padding: 0.625rem 0.125rem; font-family: inherit; white-space: nowrap; }
.nav-dropdown__trigger:hover { color: var(--nb-ink); }
.nav-dropdown__trigger svg { transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown__trigger svg,
.nav-dropdown.open .nav-dropdown__trigger svg { transform: rotate(180deg); }
.nav-dropdown__menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--nb-white); border: 1px solid var(--nb-grey-border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); padding: 0.5rem;
  min-width: 200px; display: none; z-index: 200; margin-top: 12px;
}
.nav-dropdown__menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown.open .nav-dropdown__menu { display: block; }
.nav-dropdown__menu a { display: block; padding: 0.625rem 0.75rem; border-radius: 6px; color: var(--nb-grey-dark); font-size: 0.875rem; font-weight: 500; }
.nav-dropdown__menu a:hover { background: var(--nb-cream); color: var(--nb-ink); text-decoration: none; }
.nav-dropdown__menu-header { padding: 0.4rem 0.75rem 0.25rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--nb-muted-light); }
.nav-dropdown__divider { border: none; border-top: 1px solid var(--nb-grey-border); margin: 0.35rem 0; }
.btn-primary { display: inline-block; padding: 0.625rem 1.25rem; background: var(--nb-accent-ink); color: #fff !important; border-radius: 6px; font-weight: 600; font-size: 0.9375rem; transition: background 0.15s; }
.btn-primary:hover { background: var(--nb-accent-ink-hover); text-decoration: none !important; }

/* Final CTA on every page: orange band, flush with the footer. Any element
   whose class contains "cta-box" gets this, whatever family it came from. */
[class*="cta-box"] {
  background: var(--nb-accent-ink) !important;
  border-radius: 0 !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 3rem 2rem !important;
  margin-bottom: 0 !important;
}
[class*="cta-box"] a[class*="btn-primary"] { background: #fff !important; color: var(--nb-accent-ink) !important; }
[class*="cta-box"] p, [class*="cta-box"] li, [class*="cta-box"] a:not([class]), [class*="cta-box"] [class*="trust"], [class*="cta-box"] [class*="reassure"], [class*="cta-box"] [class*="__sub"] { color: #fff !important; opacity: 1 !important; }
[class*="cta-box"] a[class*="btn-primary"]:hover { background: var(--nb-warm) !important; }
[class*="cta-box"] a[class*="btn-outline"] { border-color: rgba(255, 255, 255, 0.6) !important; }
[class*="cta-box"] a[class*="btn-outline"]:hover { border-color: #fff !important; }

.site-footer { background: var(--nb-ink); color: var(--nb-muted-light); padding: 3rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #d1d5db; }
.footer-logo { margin-bottom: 2rem; }
.footer-logo img { height: 28px; width: auto; }
.footer-tagline { margin: 0.6rem 0 0; font-size: 0.875rem; color: #d1d5db; font-weight: 500; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h3 { color: #fff; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0; }
.footer-col a { font-size: 0.875rem; display: inline-block; padding: 0.4rem 0; }
.footer-bottom { border-top: 1px solid var(--nb-grey-dark); padding-top: 1.5rem; font-size: 0.8125rem; text-align: center; }

.breadcrumb-nav { padding: 0.75rem 0; margin-bottom: 0.5rem; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; list-style: none; gap: 0.25rem; font-size: 0.8125rem; }
.breadcrumb-item + .breadcrumb-item::before { content: '/'; color: var(--nb-muted-light); margin-right: 0.25rem; }
.breadcrumb-item a { color: var(--nb-muted); display: inline-block; padding: 0.5rem 0; }
.breadcrumb-item a:hover { color: var(--nb-blue); }
.breadcrumb-current span { color: var(--nb-ink); font-weight: 500; }

/* Collapsed navigation. Nine items plus the CTA need about 700px, so the row
   only fits from 1100px up; below that everything goes behind the toggle. */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--nb-ink); margin: 5px 0; transition: 0.2s; }
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--nb-white); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem; border-bottom: 1px solid var(--nb-grey-border); gap: 0.75rem; max-height: calc(100vh - 64px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav a, .nav-dropdown__trigger { font-size: 1.0625rem; padding: 0.25rem 0; }
  .nav-dropdown__menu { position: static; transform: none; box-shadow: none; border: none; border-left: 2px solid var(--nb-grey-border); border-radius: 0; margin: 0.25rem 0 0.25rem 0.25rem; padding: 0 0 0 0.75rem; min-width: 0; }
  .nav-dropdown__menu::before { display: none; }
  .nav-dropdown:hover .nav-dropdown__menu { display: none; }
  .nav-dropdown.open .nav-dropdown__menu { display: block; }
  .site-nav .btn-primary { text-align: center; margin-top: 0.25rem; }
}

.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.5rem 1rem; background: var(--nb-ink); color: #fff; border-radius: 0 0 4px 4px; font-size: 0.875rem; font-weight: 600; z-index: 9999; transition: top 0.1s; }
.skip-link:focus { top: 0; text-decoration: none; }

.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998; background: var(--nb-ink); color: var(--nb-grey-border); padding: 1rem 1.5rem; box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15); }
.cookie-banner__inner { max-width: var(--nb-container); margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cookie-banner__text { font-size: 0.875rem; flex: 1; min-width: 200px; }
.cookie-banner__text a { color: #93c5fd; }
.cookie-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner__btn { padding: 0.5rem 1.25rem; border-radius: 5px; font-size: 0.875rem; font-weight: 600; cursor: pointer; border: none; font-family: inherit; }
.cookie-banner__btn--accept { background: var(--nb-blue); color: #fff; }
.cookie-banner__btn--accept:hover { background: var(--nb-blue-hover); }
.cookie-banner__btn--decline { background: transparent; color: var(--nb-muted-light); border: 1px solid var(--nb-grey-text); }
.cookie-banner__btn--decline:hover { color: var(--nb-grey-border); border-color: var(--nb-muted); }

/* ---------- 4a. Sector pages ("sec"): navy hero, photo framed on the right, 900px prose column ---------- */
.sec-hero { background: linear-gradient(135deg, var(--nb-navy) 0%, var(--nb-navy-mid) 100%); color: #fff; padding: 4rem 0; }
.sec-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.sec-hero__copy { max-width: 40rem; }
.sec-hero h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.15; margin: 0 0 1.25rem; text-wrap: balance; }
.sec-hero p { font-size: 1.125rem; color: rgba(255, 255, 255, 0.85); max-width: var(--nb-measure); margin: 0 0 1.75rem; line-height: 1.6; }
.sec-hero__media { position: relative; }
.sec-hero__media img { width: 100%; height: auto; aspect-ratio: 1376 / 768; object-fit: cover; border-radius: var(--nb-radius-lg); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
@media (max-width: 900px) {
  .sec-hero { padding: 3rem 0; }
  .sec-hero__inner { grid-template-columns: 1fr; gap: 2rem; }
  .sec-hero__copy { max-width: none; }
  .sec-hero__media { max-width: 560px; }
}
.sec-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.sec-trust { margin: 1.25rem 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }
.sec-btn-primary { background: var(--nb-accent-ink); color: #fff; padding: 0.75rem 1.75rem; border-radius: var(--nb-radius-sm); font-weight: 700; font-size: 1rem; text-decoration: none; display: inline-block; }
.sec-btn-primary:hover { background: var(--nb-accent-ink-hover); text-decoration: none; }
.sec-btn-outline { border: 2px solid rgba(255, 255, 255, 0.6); color: #fff; padding: 0.75rem 1.75rem; border-radius: var(--nb-radius-sm); font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-block; }
.sec-btn-outline:hover { border-color: #fff; text-decoration: none; }
.sec-section { padding: 4rem 0; }
.sec-section-alt { padding: 4rem 0; background: var(--nb-cream); }
.sec-container { max-width: var(--nb-prose); margin: 0 auto; padding: 0 1.5rem; }
.sec-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nb-accent-ink); margin-bottom: 0.5rem; }
.sec-h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--nb-navy); margin-bottom: 1.25rem; line-height: 1.25; }
.sec-prose { color: var(--nb-text); line-height: 1.75; font-size: 1.05rem; }
.sec-prose p { margin-bottom: 1rem; }
.sec-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.sec-card { background: #fff; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.5rem; }
.sec-card-icon { width: 44px; height: 44px; background: var(--nb-accent-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--nb-accent); margin-bottom: 1rem; }
.sec-card-icon svg { width: 22px; height: 22px; }
.sec-card h3 { font-size: 1rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.5rem; }
.sec-card p { font-size: 0.9rem; color: var(--nb-muted); line-height: 1.5; }
.sec-steps { counter-reset: steps; list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-direction: column; gap: 1.25rem; }
.sec-step { display: flex; gap: 1.25rem; align-items: flex-start; counter-increment: steps; }
.sec-step::before { content: counter(steps); background: var(--nb-accent); color: #fff; font-weight: 800; font-size: 0.9rem; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sec-step-content h3 { font-size: 1rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.35rem; }
.sec-step-content p { font-size: 0.95rem; color: var(--nb-muted); line-height: 1.55; }
.sec-use-cases { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2rem; }
.sec-use-case h3 { font-size: 1.15rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.5rem; }
.sec-use-case-label { font-size: 0.8rem; font-weight: 700; color: var(--nb-accent-ink); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.sec-use-case p { font-size: 0.975rem; color: var(--nb-text); line-height: 1.7; }
.sec-example { background: var(--nb-warm); border-left: 3px solid var(--nb-accent); padding: 1rem 1.25rem; border-radius: 0 var(--nb-radius) var(--nb-radius) 0; margin-top: 0.75rem; font-size: 0.925rem; color: var(--nb-text); line-height: 1.6; }
.sec-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.sec-feature { padding: 1.5rem; background: #fff; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); }
.sec-feature h3 { font-size: 0.975rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.35rem; }
.sec-feature p { font-size: 0.875rem; color: var(--nb-muted); line-height: 1.55; }
.sec-faq { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.75rem; }
.sec-faq-item { border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.25rem 1.5rem; background: #fff; }
.sec-faq-item h3 { font-size: 0.975rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.5rem; }
.sec-faq-item p { font-size: 0.9rem; color: var(--nb-muted); line-height: 1.6; }
.sec-cta-box { background: linear-gradient(135deg, var(--nb-navy) 0%, var(--nb-navy-mid) 100%); border-radius: var(--nb-radius-lg); padding: 3rem 2rem; text-align: center; color: #fff; margin-top: 4rem; }
.sec-cta-box h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.sec-cta-box p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.75rem; max-width: 560px; margin-left: auto; margin-right: auto; font-size: 1.05rem; line-height: 1.6; }
.sec-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.sec-preview { border-radius: var(--nb-radius); overflow: hidden; border: 1px solid var(--nb-border); background: #000; position: relative; }
.sec-preview-label { font-size: 0.8rem; font-weight: 600; color: var(--nb-muted); text-align: center; padding: 0.6rem 0; background: var(--nb-cream); border-top: 1px solid var(--nb-border); }
.sec-preview iframe { display: block; width: 1920px; height: 1080px; transform: scale(0.2292); transform-origin: top left; pointer-events: none; border: 0; }
.sec-preview-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.sec-compliance-box { background: var(--nb-warm); border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.75rem; margin-top: 2rem; }
.sec-compliance-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.75rem; }
.sec-compliance-box ul { margin: 0; padding-left: 1.25rem; }
.sec-compliance-box li { font-size: 0.95rem; color: var(--nb-text); line-height: 1.65; margin-bottom: 0.35rem; }

/* ---------- 4b. Role and use-case landing pages ("land"): navy hero ---------- */
.land-hero { background: linear-gradient(135deg, var(--nb-navy) 0%, var(--nb-navy-mid) 100%); color: #fff; padding: 5rem 1.5rem; text-align: center; }
.land-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; max-width: 860px; margin: 0 auto 1.25rem; }
.land-hero p { font-size: 1.125rem; line-height: 1.7; max-width: 700px; margin: 0 auto 2rem; opacity: 0.9; }
.land-btn-primary { display: inline-block; background: var(--nb-accent-ink); color: #fff; padding: 0.875rem 2rem; border-radius: var(--nb-radius); font-weight: 600; font-size: 1rem; text-decoration: none; margin: 0.375rem; transition: background 0.2s; }
.land-btn-primary:hover { background: var(--nb-accent-ink-hover); text-decoration: none; }
.land-btn-outline { display: inline-block; border: 2px solid rgba(255, 255, 255, 0.7); color: #fff; padding: 0.875rem 2rem; border-radius: var(--nb-radius); font-weight: 600; font-size: 1rem; text-decoration: none; margin: 0.375rem; transition: border-color 0.2s, color 0.2s; }
.land-btn-outline:hover { border-color: #fff; text-decoration: none; }
.land-trust { margin-top: 1.5rem; font-size: 0.875rem; opacity: 0.9; }
.land-section { padding: 4rem 1.5rem; max-width: var(--nb-content); margin: 0 auto; }
.land-section-alt { background: var(--nb-cream); padding: 4rem 1.5rem; }
.land-section-alt .land-section { background: transparent; }
.land-section-warm { background: var(--nb-warm); padding: 4rem 1.5rem; }
.land-label { display: inline-block; background: var(--nb-accent-ink); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 1rem; }
.land-h2 { font-size: var(--nb-fs-h2); font-weight: 700; color: var(--nb-navy); line-height: 1.25; margin-bottom: 1.25rem; }
.land-lead { font-size: 1.0625rem; line-height: 1.75; color: var(--nb-text); max-width: 760px; margin-bottom: 1.5rem; }
.land-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.land-card { background: #fff; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.75rem; }
.land-card-icon { width: 44px; height: 44px; background: var(--nb-accent-soft); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--nb-accent); margin-bottom: 1rem; }
.land-card-icon svg { width: 22px; height: 22px; }
.land-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.625rem; }
.land-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--nb-muted); margin: 0; }
.land-steps { counter-reset: steps; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.land-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.land-step::before { counter-increment: steps; content: counter(steps); display: flex; align-items: center; justify-content: center; min-width: 2.25rem; height: 2.25rem; background: var(--nb-accent); color: #fff; font-weight: 700; border-radius: 50%; font-size: 1rem; flex-shrink: 0; }
.land-step-content h3 { font-size: 1rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.4rem; }
.land-step-content p { font-size: 0.9375rem; line-height: 1.65; color: var(--nb-text); margin: 0; }
.land-uc-list { display: flex; flex-direction: column; gap: 2.5rem; margin-top: 2rem; }
.land-uc-item { border-left: 4px solid var(--nb-accent); padding-left: 1.5rem; }
.land-uc-item .land-label { margin-bottom: 0.5rem; }
.land-uc-item h3 { font-size: 1.1875rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.625rem; }
.land-uc-item p { font-size: 0.9375rem; line-height: 1.7; color: var(--nb-text); margin-bottom: 0.75rem; }
.land-uc-item em { font-size: 0.9rem; color: var(--nb-muted); display: block; border-left: 2px solid var(--nb-border); padding-left: 1rem; margin-top: 0.75rem; font-style: italic; }
.land-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.land-feature { padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); }
.land-feature h3 { font-size: 0.9375rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.4rem; }
.land-feature p { font-size: 0.875rem; line-height: 1.6; color: var(--nb-muted); margin: 0; }
.land-faq { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.land-faq-item { background: #fff; border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.5rem; }
.land-faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.625rem; }
.land-faq-item p { font-size: 0.9375rem; line-height: 1.65; color: var(--nb-text); margin: 0; }
.land-cta-box { background: linear-gradient(135deg, var(--nb-navy) 0%, var(--nb-navy-mid) 100%); color: #fff; border-radius: var(--nb-radius); padding: 3rem 2rem; text-align: center; margin-top: 2rem; }
.land-cta-box h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: 1rem; }
.land-cta-box p { font-size: 1.0625rem; line-height: 1.7; opacity: 0.9; max-width: 640px; margin: 0 auto 2rem; }
.land-cta-box .land-trust { margin-top: 1.25rem; }
.land-pricing-box { background: var(--nb-navy); color: #fff; border-radius: var(--nb-radius); padding: 2.5rem 2rem; margin-top: 2rem; }
.land-pricing-box h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.75rem; }
.land-pricing-box p { font-size: 1rem; opacity: 0.85; line-height: 1.65; margin-bottom: 1.5rem; }
.land-pricing-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.land-pricing-tier { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--nb-radius-sm); padding: 1.25rem; text-align: center; }
.land-pricing-tier .amount { font-size: 1.75rem; font-weight: 800; display: block; margin-bottom: 0.25rem; }
.land-pricing-tier .name { font-size: 0.875rem; font-weight: 600; opacity: 0.9; display: block; margin-bottom: 0.25rem; }
.land-pricing-tier .detail { font-size: 0.8rem; opacity: 0.65; display: block; }
.land-honest-box { background: var(--nb-warm); border: 1px solid var(--nb-border); border-left: 4px solid var(--nb-accent); border-radius: var(--nb-radius); padding: 1.75rem; margin-top: 2rem; }
.land-honest-box h3 { font-size: 1.05rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.75rem; }
.land-honest-box p { font-size: 0.95rem; color: var(--nb-text); line-height: 1.65; margin-bottom: 0.5rem; }
.land-honest-box p:last-child { margin-bottom: 0; }
.land-compare { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: 0.9rem; }
.land-compare th { text-align: left; padding: 0.75rem 1rem; background: var(--nb-navy); color: #fff; font-weight: 600; }
.land-compare th:first-child { border-radius: 8px 0 0 0; }
.land-compare th:last-child { border-radius: 0 8px 0 0; }
.land-compare td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--nb-border); color: var(--nb-text); vertical-align: top; }
.land-compare tr:nth-child(even) td { background: var(--nb-cream); }
.land-compare .yes { color: #16a34a; font-weight: 600; }
.land-compare .no { color: #dc2626; }
.land-compare .partial { color: #d97706; }
.land-previews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.land-preview { border-radius: var(--nb-radius); overflow: hidden; border: 1px solid var(--nb-border); background: #000; }
.land-preview-label { font-size: 0.8rem; font-weight: 600; color: var(--nb-muted); text-align: center; padding: 0.6rem 0; background: var(--nb-cream); border-top: 1px solid var(--nb-border); }
.land-preview iframe { display: block; width: 1920px; height: 1080px; transform: scale(0.2292); transform-origin: top left; pointer-events: none; border: 0; }
.land-preview-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
@media (max-width: 640px) {
  .land-hero, .land-section, .land-section-alt, .land-section-warm { padding-left: 1rem; padding-right: 1rem; }
  .land-card-grid, .land-features, .land-previews { grid-template-columns: 1fr; }
  .land-compare { font-size: 0.8rem; }
  .land-compare td, .land-compare th { padding: 0.5rem 0.6rem; }
}

/* ---------- 4c. Blog articles ---------- */
.pg-article { max-width: 740px; padding: 2.5rem 0 3rem; }
.pg-article-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.pg-article-date { font-size: 0.875rem; color: var(--nb-muted); }
.pg-article-tag { display: inline-block; padding: 0.25rem 0.75rem; background: var(--nb-warm); border-radius: 100px; font-size: 0.8125rem; font-weight: 500; color: var(--nb-text); }
.pg-reading-time { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--nb-muted); }
.pg-article h1 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); font-weight: 700; color: var(--nb-navy); line-height: 1.25; margin-bottom: 1.25rem; }
.pg-article-lede { font-size: 1.125rem; color: var(--nb-muted); line-height: 1.7; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--nb-border); }
.pg-article h2 { font-size: 1.5rem; font-weight: 700; color: var(--nb-navy); margin: 2.5rem 0 1rem; line-height: 1.3; }
.pg-article h3 { font-size: 1.125rem; font-weight: 700; color: var(--nb-text); margin: 1.75rem 0 0.75rem; }
.pg-article p { font-size: 1rem; line-height: 1.75; color: var(--nb-text); margin-bottom: 1.25rem; }
.pg-article ul, .pg-article ol { margin: 1rem 0 1.25rem 1.5rem; }
.pg-article li { font-size: 1rem; line-height: 1.75; color: var(--nb-text); margin-bottom: 0.375rem; }
.pg-article a { color: var(--nb-accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 0.15em; }
.pg-article a:hover { color: var(--nb-accent-hover); }
.pg-article strong { font-weight: 700; color: var(--nb-text); }
.pg-article hr { border: none; border-top: 1px solid var(--nb-border); margin: 2.5rem 0; }
.pg-table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--nb-radius); border: 1px solid var(--nb-border); }
.pg-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.pg-table th { background: var(--nb-navy); color: #fff; font-weight: 600; padding: 0.75rem 1rem; text-align: left; white-space: nowrap; }
.pg-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--nb-border); color: var(--nb-text); vertical-align: top; }
.pg-table tr:last-child td { border-bottom: none; }
.pg-table tr:nth-child(even) td { background: var(--nb-cream); }
.pg-table-highlight td { background: #fff7ed !important; font-weight: 600; }
.pg-summary { background: var(--nb-warm); border-radius: var(--nb-radius); padding: 1.75rem 2rem; margin: 2.5rem 0; }
.pg-summary h2 { margin-top: 0; }
.pg-summary h3 { margin-top: 0; margin-bottom: 1rem; color: var(--nb-navy); }
.pg-scenario { background: var(--nb-cream); border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.75rem 2rem; margin: 1.5rem 0; }
.pg-scenario h3 { margin-top: 0; color: var(--nb-navy); }
.pg-checklist { background: var(--nb-warm); border-radius: var(--nb-radius); padding: 1.75rem 2rem; margin: 2rem 0; }
.pg-checklist h3 { margin-top: 0; color: var(--nb-navy); margin-bottom: 1rem; }
.pg-checklist ul { list-style: none; margin-left: 0; }
.pg-checklist li { padding-left: 1.75rem; position: relative; margin-bottom: 0.625rem; }
.pg-checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--nb-green); font-weight: 700; }
.pg-cta { background: var(--nb-navy); border-radius: var(--nb-radius); padding: 2.25rem 2rem; text-align: center; margin: 2.5rem 0; color: #fff; }
.pg-cta h2 { color: #fff !important; margin-top: 0 !important; margin-bottom: 0.75rem; font-size: 1.375rem; }
.pg-cta p { color: rgba(255, 255, 255, 0.8); margin-bottom: 1.5rem; }
.pg-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.pg-btn-primary { display: inline-block; padding: 0.75rem 1.5rem; background: var(--nb-accent-ink); color: #fff !important; border-radius: var(--nb-radius-sm); font-weight: 600; font-size: 1rem; transition: background 0.15s; text-decoration: none !important; }
.pg-btn-primary:hover { background: var(--nb-accent-ink-hover); }
.pg-btn-secondary { display: inline-block; padding: 0.75rem 1.5rem; border: 2px solid rgba(255, 255, 255, 0.4); color: #fff !important; border-radius: var(--nb-radius-sm); font-weight: 600; font-size: 1rem; transition: border-color 0.15s; text-decoration: none !important; }
.pg-btn-secondary:hover { border-color: rgba(255, 255, 255, 0.7); }
.pg-step { display: flex; gap: 1.25rem; margin-bottom: 1.75rem; align-items: flex-start; }
.pg-step-num { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--nb-navy); color: #fff; font-weight: 700; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin-top: 0.125rem; }
.pg-step-body h3 { margin-top: 0; color: var(--nb-navy); }
.pg-step-body p { margin-bottom: 0; }
.pg-activities { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin: 1.5rem 0; }
.pg-activity-card { background: var(--nb-cream); border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.25rem; }
.pg-activity-card h4 { font-size: 0.9375rem; font-weight: 700; color: var(--nb-navy); margin-bottom: 0.625rem; }
.pg-activity-card ul { margin: 0; padding-left: 1.25rem; }
.pg-activity-card li { font-size: 0.875rem; color: var(--nb-text); margin-bottom: 0.25rem; }
.pg-cqc { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: var(--nb-radius); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.pg-cqc h3 { margin-top: 0; color: #1e40af; font-size: 1.0625rem; }
.pg-cqc p { margin-bottom: 0; color: var(--nb-text); }
.pg-option { background: var(--nb-cream); border: 1px solid var(--nb-border); border-radius: var(--nb-radius); padding: 1.5rem 1.75rem; margin: 1.5rem 0; }
.pg-option h3 { margin-top: 0; color: var(--nb-navy); }
.pg-option-label { display: inline-block; font-size: 0.8125rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 100px; margin-bottom: 0.75rem; }
.pg-option-label.easiest { background: #dcfce7; color: #166534; }
.pg-option-label.technical { background: #fee2e2; color: #991b1b; }
.pg-option-label.best { background: #eff6ff; color: #1e40af; }
.pg-mistakes { background: var(--nb-warm); border-radius: var(--nb-radius); padding: 1.75rem 2rem; margin: 2rem 0; }
.pg-mistakes h3 { margin-top: 0; color: var(--nb-navy); margin-bottom: 1rem; }
.pg-problem { border-left: 4px solid var(--nb-accent); padding: 1rem 1.25rem; background: var(--nb-cream); border-radius: 0 var(--nb-radius) var(--nb-radius) 0; margin: 1.25rem 0; }
.pg-problem p { margin-bottom: 0; }
