/* ============================================================================
   Tenancy Pilot — content site styles.
   Ported from the main product's design system: strict black/white monochrome,
   single Tailwind-blue accent (#3b82f6), Inter display + JetBrains Mono accent,
   glass nav, premium black footer, big soft shadows, restrained micro-motion.
   ========================================================================== */

:root {
  /* Core monochrome */
  --ink: #000000; --ink-light: #1a1a1a; --ink-hover: #222222; --ink-hover-alt: #333333;
  --near-black-2: #0d0d0d; --paper: #ffffff;

  /* Greys */
  --neutral-50: #fafafa; --neutral-100: #f5f5f5; --gray-f8: #f8f8f8;
  --neutral-200: #e5e5e5; --neutral-300: #d4d4d4; --neutral-400: #a3a3a3;
  --neutral-500: #737373; --neutral-600: #525252; --neutral-700: #404040;
  --neutral-800: #262626; --neutral-900: #171717;
  --text-body: #666666; --text-muted: #555555; --border-e0: #e0e0e0;

  /* Blue accent */
  --blue-400: #60a5fa; --blue-500: #3b82f6; --blue-600: #2563eb; --blue-700: #1d4ed8;
  --accent-blue: var(--blue-500); --link: #2563eb;

  /* Status */
  --success: #10b981; --live: #22c55e; --warning: #f59e0b; --error: #dc2626;

  /* Washes */
  --white-05: rgba(255,255,255,.05); --white-08: rgba(255,255,255,.08);
  --white-10: rgba(255,255,255,.10);
  --black-05: rgba(0,0,0,.05); --black-08: rgba(0,0,0,.08); --black-10: rgba(0,0,0,.10);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --heading-weight: 800; --body-weight: 500;

  /* Type scale */
  --leading-tight: 1.2; --leading-normal: 1.6; --leading-prose: 1.7;
  --h1-size: clamp(2.25rem, 4vw, 3rem);
  --h2-size: clamp(1.75rem, 3vw, 2.25rem);
  --h3-size: clamp(1.25rem, 2.2vw, 1.5rem);
  --h4-size: 1.125rem;
  --display: clamp(2.75rem, 7vw, 4.75rem);

  /* Spacing */
  --space-xs: .5rem; --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2rem;
  --space-xl: 3rem; --space-2xl: 4rem; --space-3xl: 6rem;
  --container-max: 1280px; --container-pad: 24px; --prose-max: 720px; --nav-height: 72px;

  /* Radius */
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px;
  --radius-2xl: 32px; --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
  --shadow-btn: 0 4px 20px rgba(0,0,0,.15);
  --shadow-btn-hover: 0 8px 30px rgba(0,0,0,.25);
  --shadow-card-hover: 0 12px 32px rgba(0,0,0,.10);
  --shadow-pricing-hover: 0 32px 64px rgba(0,0,0,.12);
  --nav-shadow: 0 4px 20px rgba(0,0,0,.08);
  --focus-ring: 0 0 0 3px rgba(59,130,246,.35);

  /* Motion */
  --blur-nav: blur(20px); --blur-orb: blur(80px);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: .2s; --dur-base: .3s; --dur-slow: .4s;
  --transition: all .2s ease; --z-nav: 1000;
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 12px); }

body.site-bw {
  font-family: var(--font-sans);
  font-weight: var(--body-weight);
  line-height: var(--leading-normal);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 { color: var(--neutral-900); line-height: var(--leading-tight); font-weight: var(--heading-weight); letter-spacing: -0.01em; }
a { color: var(--link); text-decoration: none; }
img { max-width: 100%; }

.container, .wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.muted { color: var(--text-body); }
.small { font-size: .85rem; }

*:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible { box-shadow: var(--focus-ring); border-color: var(--blue-500); outline: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-sans); font-weight: 600; font-size: 1rem; cursor: pointer; border: none; text-decoration: none; border-radius: var(--radius-md); transition: all var(--dur-base) var(--ease-standard); }
.btn-primary { padding: 15px 30px; background: var(--ink); color: var(--paper); box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: var(--ink-hover); transform: translateY(-3px); box-shadow: var(--shadow-btn-hover); }
.btn-secondary { padding: 15px 30px; background: transparent; color: var(--ink); border: 2px solid var(--neutral-200); }
.btn-secondary:hover { border-color: var(--ink); background: var(--neutral-100); }
.btn-sm { padding: 11px 22px; font-size: 15px; border-radius: var(--radius-sm); }
.btn-sm.btn-primary:hover { background: var(--ink-hover-alt); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn-white { background: var(--paper); color: var(--ink); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(255,255,255,.15); }
.link-arrow { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow:hover { gap: .6rem; }

/* ---------- Nav (glass marketing) ---------- */
.main-nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav); height: var(--nav-height); background: rgba(255,255,255,.95); backdrop-filter: var(--blur-nav); -webkit-backdrop-filter: var(--blur-nav); border-bottom: 1px solid var(--black-10); transition: all var(--dur-base) var(--ease-standard); }
.main-nav.scrolled { background: rgba(255,255,255,.98); box-shadow: var(--nav-shadow); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.nav-brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-logo { height: 42px; width: auto; display: block; }
.nav-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--text-body); position: relative; padding: 6px 0; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--ink); transition: width var(--dur-fast) ease; }
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }

/* ---------- Flash messages ---------- */
.flash-wrap { max-width: var(--container-max); margin: 1.25rem auto 0; padding: 0 var(--container-pad); }
.flash { padding: .85rem 1.15rem; border-radius: var(--radius-md); margin-bottom: .75rem; font-weight: 600; font-size: .95rem; border: 1px solid transparent; }
.flash-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.flash-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }

/* ---------- Eyebrows / badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--ink); color: var(--paper); border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.badge .dot { width: 6px; height: 6px; background: var(--live); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--text-body); margin-bottom: 18px; }
.eyebrow .dot { width: 6px; height: 6px; background: var(--live); border-radius: 50%; }
.chip-mono { display: inline-block; background: var(--ink); color: var(--paper); font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: var(--radius-pill); text-transform: uppercase; }

/* ---------- Hero (two-column: copy + laptop) ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper); padding: clamp(44px, 6vw, 88px) 0 clamp(56px, 7vw, 100px); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { max-width: 580px; }
.hero .badge { margin-bottom: 24px; animation: fadeSlideDown .8s ease forwards; }
.hero h1 { font-size: var(--display); font-weight: 900; line-height: 1.04; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 20px; opacity: 1; animation: heroRise .8s ease forwards; }
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-body); line-height: 1.7; max-width: 540px; margin-bottom: 30px; opacity: 0; animation: fadeSlideUp .8s ease forwards .2s; }
.hero-cta { width: 100%; max-width: 480px; opacity: 0; animation: fadeSlideUp .8s ease forwards .3s; }
.hero-visual { opacity: 0; animation: fadeSlideUp 1s ease forwards .35s; }
.gradient-orb { position: absolute; border-radius: 50%; filter: var(--blur-orb); pointer-events: none; }
.orb-1 { width: 620px; height: 620px; background: rgba(0,0,0,.06); top: -260px; right: -160px; }
.orb-2 { width: 520px; height: 520px; background: rgba(0,0,0,.04); bottom: -200px; left: -160px; }

/* ---------- Laptop mockup ---------- */
.laptop { width: 100%; max-width: 580px; margin: 0 auto; }
.laptop-screen { background: #0d0d0d; border: 1px solid #2b2b2b; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-2xl); }
.laptop-ui { background: #fff; border-radius: 7px; overflow: hidden; aspect-ratio: 16 / 10.4; }
.laptop-base { position: relative; height: 14px; width: 118%; margin: 0 -9%; background: #cdd2da; border-radius: 0 0 12px 12px; box-shadow: inset 0 2px 4px rgba(0,0,0,.18); }
.laptop-base::after { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 6px; background: #b3b9c2; border-radius: 0 0 7px 7px; }

/* ---------- Mini dashboard (inside the laptop) ---------- */
.mini { height: 100%; display: flex; background: var(--neutral-50); color: var(--neutral-800); }

/* Left sidebar */
.mini-side { flex: 0 0 120px; background: #0b0b0b; color: #fff; display: flex; flex-direction: column; padding: 9px 8px; overflow: hidden; }
.mini-side-brand { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 11px; letter-spacing: -.01em; padding: 2px 6px 6px; }
.mini-side-brand .mini-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.mini-seclabel { font-family: var(--font-mono); font-size: 6.5px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.33); padding: 7px 6px 3px; }
.mini-link { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: 5px; font-size: 8.5px; font-weight: 500; color: rgba(255,255,255,.62); }
.mini-link svg { width: 11px; height: 11px; flex: 0 0 auto; opacity: .85; }
.mini-link.on { background: var(--white-10); color: #fff; }
.mini-ibadge { margin-left: auto; background: var(--blue-500); color: #fff; font-family: var(--font-mono); font-size: 6.5px; border-radius: 100px; padding: 0 4px; }

/* Main area */
.mini-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-topbar { display: flex; align-items: center; gap: 8px; padding: 7px 11px; background: #fff; border-bottom: 1px solid var(--black-08); }
.mini-pagetitle { font-size: 11px; font-weight: 800; color: var(--neutral-900); letter-spacing: -.01em; }
.mini-searchbar { flex: 1; max-width: 150px; height: 16px; margin-left: 4px; background: var(--neutral-100); border: 1px solid var(--black-08); border-radius: 100px; }
.mini-avatar { width: 20px; height: 20px; border-radius: 50%; background: var(--blue-500); color: #fff; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.mini-content { flex: 1; padding: 10px 11px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }

.mini-welcome { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-eyebrow { font-family: var(--font-mono); font-size: 7px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-body); display: block; margin-bottom: 2px; }
.mini-welcome strong { font-size: 13px; font-weight: 800; letter-spacing: -.02em; color: var(--neutral-900); }
.mini-chips { display: flex; gap: 6px; flex: 0 0 auto; }
.mini-chips span { background: #fff; border: 1px solid var(--black-08); border-radius: 7px; padding: 4px 7px; text-align: center; }
.mini-chips i { display: block; font-style: normal; font-size: 7px; color: var(--text-body); }
.mini-chips b { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--neutral-900); }

.mini-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; }
.mini-card { background: #fff; border: 1px solid var(--black-08); border-radius: 9px; padding: 9px 10px; }
.mini-card-title { font-size: 8px; font-weight: 700; color: var(--text-body); text-transform: uppercase; letter-spacing: .04em; }
.mini-metrics { display: flex; gap: 14px; margin: 5px 0 6px; }
.mini-metrics i { display: block; font-style: normal; font-size: 7px; color: var(--text-body); }
.mini-metrics b { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--neutral-900); }
.mini-bar { height: 5px; background: var(--neutral-200); border-radius: 100px; overflow: hidden; }
.mini-bar span { display: block; height: 100%; background: var(--live); border-radius: 100px; }
.mini-rate { font-size: 7px; color: var(--text-body); margin-top: 4px; display: block; }
.mini-card--compliance { display: flex; flex-direction: column; align-items: flex-start; }
.mini-ring { position: relative; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 5px 0 4px; background: conic-gradient(var(--blue-500) 0 96%, var(--neutral-200) 96% 100%); }
.mini-ring::before { content: ''; position: absolute; inset: 5px; background: #fff; border-radius: 50%; }
.mini-ring span { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 10px; font-weight: 700; color: var(--neutral-900); }
.mini-sub { font-size: 7px; color: var(--text-body); }
.mini-chart { display: flex; align-items: flex-end; gap: 4px; height: 30px; margin-top: 7px; }
.mini-chart i { flex: 1; background: var(--neutral-200); border-radius: 2px 2px 0 0; }
.mini-chart i.hi { background: var(--ink); }
.mini-stat { display: flex; flex-direction: column; gap: 1px; justify-content: center; }
.mini-stat i { font-style: normal; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text-body); }
.mini-stat b { font-family: var(--font-mono); font-size: 16px; font-weight: 700; color: var(--neutral-900); line-height: 1.1; }
.mini-action { background: #000; color: #fff; border-radius: 9px; padding: 8px 10px; }
.mini-action-head { display: flex; align-items: center; justify-content: space-between; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.65); margin-bottom: 5px; }
.mini-badge { background: var(--blue-500); color: #fff; border-radius: 100px; padding: 1px 6px; font-family: var(--font-mono); font-size: 7.5px; }
.mini-row { display: flex; align-items: center; gap: 7px; font-size: 9px; color: rgba(255,255,255,.85); padding: 3px 0; border-top: 1px solid var(--white-08); }
.mini-row:first-of-type { border-top: none; }
.mini-rowdot { width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; }
.mini-rowdot.warn { background: var(--warning); }
.mini-rowdot.ok { background: var(--live); }
.mini-go { margin-left: auto; color: rgba(255,255,255,.4); }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero .lede { margin-left: auto; margin-right: auto; }
  .hero-cta { margin: 0 auto; }
  .hero-visual { order: 2; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space-3xl) 0; }
.band-light { background: var(--gray-f8); border-top: 1px solid var(--black-05); border-bottom: 1px solid var(--black-05); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-xl); }
.section-head h2 { font-size: var(--h2-size); }
.page-head { max-width: 760px; margin: 0 auto var(--space-2xl); text-align: center; }
.page-head h1 { font-size: var(--h1-size); margin-bottom: .75rem; }
.page-head .lede { color: var(--text-body); font-size: 1.15rem; }
.cluster-title { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; margin: var(--space-2xl) 0 var(--space-md); padding-bottom: .6rem; border-bottom: 1px solid var(--border-e0); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.card { display: flex; flex-direction: column; gap: .6rem; background: var(--paper); border: 1px solid var(--black-08); border-radius: var(--radius-lg); padding: 28px; transition: all var(--dur-slow) var(--ease-standard); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-pricing-hover); border-color: var(--black-10); }
.card h3 { font-size: 1.2rem; line-height: 1.3; color: var(--neutral-900); }
.card .muted { font-size: .96rem; line-height: 1.6; }
.card .read-time { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--neutral-400); margin-top: auto; padding-top: .4rem; }

/* ---------- Help centre (guides index) ---------- */
.help-hero { background: #0b0b0b; border-bottom: 1px solid #1c1c1c; padding: var(--space-2xl) 0 var(--space-xl); text-align: center; color: #fff; }
.help-hero .eyebrow { justify-content: center; color: rgba(255,255,255,.6); }
.help-hero h1 { font-size: var(--h1-size); margin-bottom: .6rem; color: #fff; }
.help-hero .lede { color: rgba(255,255,255,.72); font-size: 1.1rem; margin-bottom: 1.75rem; }
.help-hero .search-box input { background: var(--white-08); border-color: var(--white-10); color: #fff; box-shadow: none; }
.help-hero .search-box input::placeholder { color: rgba(255,255,255,.5); }
.help-hero .search-box svg { color: rgba(255,255,255,.5); }
.help-hero .search-box input:focus { border-color: rgba(255,255,255,.35); box-shadow: 0 0 0 3px rgba(255,255,255,.1); }
.search-box { position: relative; max-width: 560px; margin: 0 auto; }
.search-box svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--neutral-400); pointer-events: none; }
.search-box input { width: 100%; padding: 16px 18px 16px 48px; font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; border: 1px solid var(--neutral-300); border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.search-box input:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--focus-ring); }

.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: var(--space-2xl); }
.cat-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--paper); border: 1px solid var(--black-08); border-radius: var(--radius-md); transition: all var(--dur-base) var(--ease-standard); }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--black-10); text-decoration: none; }
.cat-icon { flex: 0 0 auto; width: 44px; height: 44px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.cat-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cat-title { font-weight: 800; color: var(--neutral-900); letter-spacing: -0.01em; line-height: 1.25; }
.no-results { text-align: center; color: var(--text-body); padding: 2.5rem 0; font-size: 1.05rem; }

/* ---------- Blog index (two-column + topics filter) ---------- */
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; max-width: 1340px; }
.blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.blog-head h2 { font-size: 1.5rem; }
.blog-main .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card .card-foot { margin-top: auto; padding-top: .55rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; color: var(--neutral-400); }
.blog-side { position: sticky; top: calc(var(--nav-height) + 16px); display: flex; flex-direction: column; gap: 1.1rem; }
.topic-list { display: flex; flex-direction: column; gap: .4rem; }
.topic-btn { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; text-align: left; padding: .6rem .85rem; border: 1px solid var(--black-08); background: #fff; border-radius: var(--radius-sm); font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none; cursor: pointer; transition: var(--transition); }
.topic-btn:hover { border-color: var(--ink); }
.topic-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic-count { font-family: var(--font-mono); font-size: .68rem; font-weight: 700; color: var(--text-body); background: var(--neutral-100); border-radius: 100px; padding: 1px 7px; }
.topic-btn.active .topic-count { background: var(--white-10); color: rgba(255,255,255,.85); }

/* Topic hub: "other topics" interlinking */
.topic-related { margin-top: 2.5rem; border-top: 1px solid var(--black-08); padding-top: 1.75rem; }
.topic-related h2 { font-size: 1.2rem; margin: 0 0 1rem; }
.topic-related-list { display: flex; flex-wrap: wrap; gap: .6rem; }
.topic-related-list a { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--black-08); border-radius: 100px; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: var(--transition); }
.topic-related-list a:hover { border-color: var(--ink); background: var(--neutral-100); }
.linkish { background: none; border: none; padding: 0; color: var(--link); cursor: pointer; font: inherit; text-decoration: underline; }
.blog-head-right { display: flex; align-items: center; gap: 1.25rem; }
.pager { display: inline-flex; align-items: center; gap: .5rem; }
.pager-btn { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--black-08); background: #fff; border-radius: var(--radius-sm); cursor: pointer; font-size: 1.2rem; line-height: 1; color: var(--ink); transition: var(--transition); }
.pager-btn:hover:not(:disabled) { border-color: var(--ink); background: var(--neutral-100); }
.pager-btn:disabled { opacity: .35; cursor: default; }
.pager-label { font-size: .85rem; color: var(--text-body); font-weight: 600; white-space: nowrap; }
.pager-bottom { display: flex; justify-content: center; margin-top: 2.5rem; }
@media (max-width: 560px) { .blog-head-right { flex-direction: column; align-items: flex-end; gap: .5rem; } }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .blog-side { position: static; }
  .blog-main .card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--paper); border-radius: var(--radius-2xl); padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--paper); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: .9rem; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-band .badge { background: var(--white-10); color: #fff; margin-bottom: 1.25rem; }
/* Waitlist form styling (light + dark) is consolidated in the Waitlist form section below. */

/* ---------- Waitlist form (joined input-group) ---------- */
.waitlist-form { display: flex; align-items: stretch; max-width: 460px; background: #fff; border: 1px solid var(--neutral-300); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease; }
.waitlist-form:focus-within { border-color: var(--blue-500); box-shadow: var(--focus-ring); }
.waitlist-form input[type="email"] { flex: 1 1 auto; min-width: 0; border: none; background: transparent; padding: 15px 18px; font: inherit; font-size: 1rem; color: var(--ink); }
.waitlist-form input[type="email"]:focus { outline: none; box-shadow: none; }
.waitlist-form .btn-primary { flex: 0 0 auto; border-radius: 0; box-shadow: none; padding: 15px 26px; white-space: nowrap; }
.waitlist-form .btn-primary:hover { transform: none; box-shadow: none; background: var(--ink-hover); }
.waitlist-note { margin-top: .85rem; }

/* Dark contexts — CTA band + footer */
.cta-band .waitlist-form, .global-footer .waitlist-form { margin: 0 auto; background: var(--white-08); border-color: var(--white-10); box-shadow: none; }
.cta-band .waitlist-form:focus-within, .global-footer .waitlist-form:focus-within { border-color: rgba(255,255,255,.3); box-shadow: none; }
.cta-band .waitlist-form input[type="email"], .global-footer .waitlist-form input[type="email"] { color: #fff; }
.cta-band .waitlist-form input[type="email"]::placeholder, .global-footer .waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.cta-band .waitlist-form .btn-primary, .global-footer .waitlist-form .btn-primary { background: #fff; color: #000; }
.cta-band .waitlist-form .btn-primary:hover, .global-footer .waitlist-form .btn-primary:hover { background: #f1f1f1; }
.global-footer .waitlist-form { max-width: 340px; }

/* ---------- Article / prose ---------- */
.article { padding: var(--space-2xl) var(--container-pad) var(--space-3xl); }
.article-head, .prose, .disclaimer, .cta-card, .related, .breadcrumbs { max-width: var(--prose-max); margin-left: auto; margin-right: auto; }
.breadcrumbs { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--neutral-400); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--text-body); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .current { color: var(--neutral-600); }
.article-head { margin-bottom: 2rem; }
.article-head .eyebrow { margin-bottom: 1rem; }
.article-title { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 0 0 1.25rem; }
.article-meta { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-body); }

.prose { font-size: 1.125rem; line-height: var(--leading-prose); color: var(--neutral-800); font-weight: 400; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--neutral-900); letter-spacing: -0.02em; line-height: 1.2; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 700; color: var(--neutral-900); letter-spacing: -0.01em; margin: 2rem 0 .75rem; }
.prose p { margin-bottom: 1.5rem; }
.prose a { color: var(--neutral-900); text-decoration: underline; text-decoration-color: var(--neutral-400); text-underline-offset: 2px; text-decoration-thickness: 1px; transition: color var(--dur-fast) ease, text-decoration-color var(--dur-fast) ease; }
.prose a:hover { color: var(--accent-blue); text-decoration-color: var(--accent-blue); }
.prose strong { font-weight: 700; color: var(--neutral-900); }
.prose ul, .prose ol { margin: 0 0 1.5rem 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose blockquote { margin: 2rem 0; padding: 1rem 1.5rem; border-left: 3px solid var(--ink); background: var(--gray-f8); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--neutral-700); }
.prose table { width: 100%; border-collapse: collapse; margin: 2rem 0; font-size: .97rem; }
.prose th, .prose td { border: 1px solid var(--border-e0); padding: .7rem .9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--gray-f8); font-weight: 700; color: var(--neutral-900); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--black-05); padding: .15em .4em; border-radius: 4px; }
.prose hr { border: none; border-top: 1px solid var(--neutral-200); margin: 3rem 0; }

.disclaimer { margin-top: 2.5rem; padding: 1.1rem 1.4rem; background: var(--gray-f8); border: 1px solid var(--border-e0); border-radius: var(--radius-md); font-size: .92rem; color: var(--text-muted); }
.cta-card { margin-top: 2.5rem; }
.related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--neutral-200); }
.related h2 { font-size: 1.4rem; margin-bottom: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.related-card { display: flex; flex-direction: column; gap: .45rem; background: #fff; border: 1px solid var(--black-08); border-radius: var(--radius-lg); padding: 18px 20px; transition: all var(--dur-base) var(--ease-standard); }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: var(--black-10); text-decoration: none; }
.related-card h3 { font-size: 1.04rem; line-height: 1.3; color: var(--neutral-900); }
.related-card .muted { font-size: .88rem; line-height: 1.5; }
.related-card .related-more { margin-top: auto; padding-top: .5rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); font-weight: 700; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

/* ---------- Home: feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: var(--space-xl); }
.feature-card { padding: 26px; border: 1px solid var(--black-08); border-radius: var(--radius-lg); background: #fff; transition: all var(--dur-base) var(--ease-standard); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: var(--black-10); }
.feature-icon { display: none; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-body); font-size: .95rem; line-height: 1.6; }

/* Dark toolkit band */
.feature-band { background: #0b0b0b; color: #fff; }
.feature-band .eyebrow { color: rgba(255,255,255,.6); }
.feature-band h2 { color: #fff; }
.feature-band .feature-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.feature-band .feature-card:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.25); box-shadow: none; }
.feature-band .feature-card h3 { color: #fff; }
.feature-band .feature-card p { color: rgba(255,255,255,.7); }
.feature-band .muted { color: rgba(255,255,255,.6); }
.feature-band .link-arrow { color: #fff; }

/* Generic dark section (e.g. Latest guides) */
.section-dark { background: #0b0b0b; color: #fff; }
.section-dark .eyebrow { color: rgba(255,255,255,.6); }
.section-dark h2 { color: #fff; }
.section-dark .link-arrow { color: #fff; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section-dark .card:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.28); box-shadow: none; }
.section-dark .card h3 { color: #fff; }
.section-dark .card .muted { color: rgba(255,255,255,.65); }
.section-dark .card .read-time { color: rgba(255,255,255,.7); }
.section-dark .card .chip-mono { background: #fff; color: #000; }

/* Improved "new law" content block (centered, button CTA) */
.law-content { text-align: center; }
.law-content .eyebrow { justify-content: center; }
.law-content h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: .25rem 0 1.25rem; }
.law-content .prose { max-width: 720px; margin: 0 auto 1.75rem; text-align: left; font-size: 1.08rem; color: var(--neutral-800); }
.law-content .prose p { margin-bottom: 1.1rem; }

/* Topic hub head */
.topic-head { max-width: 760px; margin-bottom: 2.25rem; }
.topic-head h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.03em; margin: .5rem 0 .7rem; }
.topic-head .lede { font-size: 1.1rem; color: var(--text-body); line-height: 1.6; }

/* Footer contact line */
.footer-contact { margin-bottom: 1.25rem; }
.footer-contact a { color: rgba(255,255,255,.72); text-decoration: underline; font-size: .9rem; }
.footer-contact a:hover { color: #fff; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--neutral-800); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 1rem; font-weight: 400; padding: 13px 16px; border: 1px solid var(--neutral-300); border-radius: var(--radius-md); background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: var(--focus-ring); }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form .btn-primary { align-self: flex-start; margin-top: .25rem; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { border: 1px solid var(--black-08); border-radius: var(--radius-lg); padding: 1.5rem; background: var(--gray-f8); }
.contact-card h3 { margin: .5rem 0 .35rem; font-size: 1.1rem; }
.contact-card a { color: var(--ink); text-decoration: underline; word-break: break-word; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Calculators / tools */
.calc { background: #fff; border: 1px solid var(--black-08); border-radius: 20px; padding: 2rem; margin: 1.5rem 0 2rem; box-shadow: 0 12px 34px rgba(0,0,0,.06); }
.calc label { display: block; font-weight: 600; font-size: .92rem; color: var(--neutral-800); margin: 0 0 .45rem; }
.calc label:not(:first-of-type) { margin-top: 1.2rem; }
.calc .calc-opt { font-weight: 400; color: var(--text-body); }
.calc-field { position: relative; }
.calc-field .calc-prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 1.05rem; font-weight: 600; color: var(--text-body); pointer-events: none; }
.calc .calc-field input { padding-left: 34px; }
.calc input { width: 100%; font: inherit; font-size: 1.05rem; padding: 14px 16px; border: 1.5px solid var(--neutral-300); border-radius: var(--radius-md); background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.calc input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.07); }
.calc-result { margin-top: 1.75rem; background: var(--ink); color: #fff; border-radius: 16px; padding: 1.7rem 1.8rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem 2rem; }
.calc-result[hidden] { display: none; }
.calc-figure { display: flex; flex-direction: column; gap: .25rem; }
.calc-figure span { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.55); }
.calc-figure strong { font-size: clamp(1.7rem, 4.5vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; line-height: 1.05; }
.calc-figure em { font-style: normal; font-size: .9rem; color: rgba(255,255,255,.7); }
.calc-note { grid-column: 1 / -1; font-size: .86rem; color: rgba(255,255,255,.62); line-height: 1.55; margin: .35rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); }

/* Tools index cards */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; margin-top: 2.25rem; }
.tool-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--black-08); border-radius: 18px; padding: 2rem; text-decoration: none; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.tool-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.12); border-color: var(--ink); }
.tool-chip { align-self: flex-start; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 12px; border-radius: 100px; margin-bottom: 1.25rem; }
.tool-card h2 { font-size: 1.4rem; letter-spacing: -.02em; margin: 0 0 .55rem; }
.tool-desc { color: var(--text-body); line-height: 1.6; font-size: .98rem; margin: 0 0 1.4rem; }
.tool-feats { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: .55rem; }
.tool-feats li { position: relative; padding-left: 1.15rem; font-size: .92rem; color: var(--neutral-800); line-height: 1.5; }
.tool-feats li::before { content: ""; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.tool-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 100px; border: 1.5px solid var(--neutral-300); color: var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
a.tool-card:hover .tool-cta { background: var(--ink); color: #fff; border-color: var(--ink); }
.tool-card.is-soon { background: var(--gray-f8); border-style: dashed; }
.tool-card.is-soon .tool-chip { background: transparent; color: var(--text-body); border: 1px solid var(--neutral-300); }
.tool-cta-soon { border-style: dashed; color: var(--text-body); }

/* Cookie consent banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1100; max-width: 680px; margin: 0 auto; background: #0b0b0b; color: #fff; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.25rem; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.82); flex: 1 1 300px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex: 0 0 auto; }
.cookie-banner .btn-primary { background: #fff; color: #000; }
.cookie-banner .btn-primary:hover { background: #ececec; }
.cookie-banner .btn-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.28); }
.cookie-banner .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Home: content band ---------- */
.content-band { background: var(--gray-f8); border-top: 1px solid var(--black-05); border-bottom: 1px solid var(--black-05); }
.content-band .prose { max-width: 760px; margin: 0 auto; }
.content-band .prose h2 { font-size: var(--h2-size); margin-bottom: 1rem; }

/* Dark "new law" band */
.law-band { background: #0b0b0b; color: #fff; }
.law-band .prose { max-width: 760px; margin: 0 auto; }
.law-band .eyebrow { color: rgba(255,255,255,.6); }
.law-band .prose h2 { color: #fff; font-size: var(--h2-size); margin-bottom: 1rem; letter-spacing: -0.01em; }
.law-band .prose p { color: rgba(255,255,255,.72); }
.law-band .prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.law-band .prose a:hover { text-decoration-color: #fff; }
.law-band .link-arrow { color: #fff; }

/* ---------- Home: FAQ ---------- */
.faq { max-width: 760px; margin: 1.5rem auto 0; }
.faq-item { border-bottom: 1px solid var(--neutral-200); }
.faq-item summary { cursor: pointer; padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem; color: var(--neutral-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--text-body); font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { color: var(--text-body); line-height: 1.7; padding-bottom: 1.2rem; margin: 0; }
.faq-item p a { color: var(--link); text-decoration: underline; }

/* ---------- Article two-column layout + sidebar ---------- */
.guide-layout { max-width: 1300px; margin: 0 auto; padding: 2rem var(--container-pad) 4rem; }
.guide-layout > .breadcrumbs { max-width: none; margin: 0 0 1.5rem; }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 312px; gap: 3rem; align-items: start; }
.guide-main { min-width: 0; }
.guide-main .article-head, .guide-main .prose, .guide-main .disclaimer, .guide-main .cta-card, .guide-main .related { max-width: none; margin-left: 0; margin-right: 0; }
.guide-main .chip-mono { text-decoration: none; }

.guide-side { position: sticky; top: calc(var(--nav-height) + 16px); display: flex; flex-direction: column; gap: 1.1rem; }
.side-box { border: 1px solid var(--black-08); border-radius: var(--radius-lg); padding: 18px 18px 20px; background: #fff; }
.side-box h3 { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: .8rem; }
.side-toc .toc { font-size: .88rem; }
.side-toc .toc ul { list-style: none; margin: 0; padding: 0; }
.side-toc .toc > ul > li { margin-bottom: .35rem; }
.side-toc .toc ul ul { margin: .25rem 0 .4rem; padding-left: .75rem; border-left: 2px solid var(--neutral-200); }
.side-toc .toc a { display: block; color: var(--text-body); text-decoration: none; padding: 3px 0; line-height: 1.35; }
.side-toc .toc a:hover { color: var(--ink); }
.side-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.side-cta h3 { color: #fff; }
.side-cta p { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.5; margin-bottom: 1rem; }
.side-cta .eyebrow { color: rgba(255,255,255,.6); margin-bottom: .65rem; }
.side-cta .waitlist-form { flex-direction: column; align-items: stretch; max-width: none; background: var(--white-08); border-color: var(--white-10); box-shadow: none; }
.side-cta .waitlist-form input[type="email"] { color: #fff; }
.side-cta .waitlist-form input[type="email"]::placeholder { color: rgba(255,255,255,.5); }
.side-cta .waitlist-form .btn-primary { border-radius: 0; box-shadow: none; background: #fff; color: #000; justify-content: center; }
.side-cta .waitlist-form .btn-primary:hover { background: #f1f1f1; }
.side-related ul { list-style: none; margin: 0; padding: 0; }
.side-related li { margin-bottom: .65rem; font-size: .88rem; line-height: 1.35; }
.side-related a { color: var(--ink); font-weight: 500; }
.side-related a:hover { color: var(--link); }

@media (max-width: 980px) {
  .guide-grid { grid-template-columns: 1fr; gap: 2rem; }
  .guide-side { position: static; }
  .side-toc { display: none; }
  .guide-main .article-head, .guide-main .prose, .guide-main .disclaimer, .guide-main .cta-card, .guide-main .related { max-width: none; }
}

/* ---------- Footer (premium black) ---------- */
.global-footer { background: #000; color: #fff; font-family: var(--font-sans); overflow: hidden; margin-top: var(--space-3xl); }
.footer-container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }
.footer-top { padding: 5rem 0 4rem; border-bottom: 1px solid var(--white-08); display: grid; grid-template-columns: 1.5fr 2fr; gap: 4rem; align-items: start; }
.footer-brand-text { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.03em; margin-bottom: .9rem; }
.footer-logo { height: 36px; width: auto; display: block; margin-bottom: 1rem; }
.footer-description { color: rgba(255,255,255,.6); line-height: 1.7; font-size: .95rem; max-width: 320px; margin-bottom: 1.5rem; }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-heading { font-size: .7rem; font-weight: 700; color: rgba(255,255,255,.62); text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; transition: all var(--dur-fast) ease; }
.footer-links a::before { content: ''; width: 0; height: 1px; background: #fff; transition: width var(--dur-fast) ease; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-links a:hover::before { width: 12px; }
.footer-bottom { padding: 2rem 0; }
.footer-bottom-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-copyright { color: rgba(255,255,255,.62); font-size: .85rem; max-width: 60ch; }
.footer-copyright a { color: rgba(255,255,255,.78); text-decoration: underline; }
.footer-copyright a:hover { color: #fff; }
.footer-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.5); padding: .375rem .875rem; background: var(--white-05); border-radius: var(--radius-pill); border: 1px solid var(--white-08); white-space: nowrap; }
.status-dot { width: 6px; height: 6px; background: var(--live); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

/* ---------- Animations ---------- */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroRise { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .hero h1, .hero .lede, .hero-cta, .hero .badge { opacity: 1 !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
  /* Stack the hero: copy on top, dashboard preview below (it was locked to
     two columns at every width, which crushed both on tablet/mobile). */
  .hero-grid { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .hero-copy, .hero .lede { max-width: 640px; }
  .hero-visual { width: 100%; max-width: 540px; margin: 0 auto; }
}
@media (max-width: 768px) {
  :root { --container-pad: 16px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-content { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .section { padding: var(--space-2xl) 0; }
  .section-head { margin-bottom: var(--space-lg); }
}
@media (max-width: 640px) {
  /* The dashboard mockup's labels are illegible at phone width and it's
     decorative, so hide it — keeps the hero clean and quick to read. */
  .hero-visual { display: none; }
  .hero { padding: clamp(28px, 8vw, 52px) 0 clamp(36px, 9vw, 60px); }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .nav-link { display: none; } }
@media (max-width: 480px) {
  /* Stack the join-waitlist form so email + button are full-width and tappable */
  .waitlist-form { flex-direction: column; background: transparent; border: none; box-shadow: none; gap: .55rem; }
  .waitlist-form input[type="email"] { background: #fff; border: 1px solid var(--neutral-300); border-radius: var(--radius-md); }
  .waitlist-form input[type="email"]:focus { border-color: var(--blue-500); }
  .waitlist-form .btn-primary { width: 100%; border-radius: var(--radius-md); }
  .cta-band .waitlist-form, .global-footer .waitlist-form { background: transparent; }
  .cta-band .waitlist-form input[type="email"], .global-footer .waitlist-form input[type="email"] { background: var(--white-08); border-color: var(--white-10); }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
}
