    /* ==========================================================================
       Design tokens

       The palette is neutral by design: zinc greys carry the whole page and the
       only saturated colour is status (green / amber / red), which is the thing
       a monitoring product actually needs to signal. There is no chromatic brand
       accent — "accent" here means the CTA colour, which is near-black on light
       and near-white on dark, so --accent-fg has to travel with it wherever a
       rule paints text on an accent background.
       ========================================================================== */
    :root {
      color-scheme: light;
      --bg-primary: #ffffff;
      --bg-secondary: #fafafa;
      --bg-tertiary: #f4f4f5;
      --bg-card: #ffffff;
      --bg-glass: #fafafa;
      --border-subtle: #e4e4e7;
      --border-hover: #d4d4d8;
      --text-primary: #0a0a0a;
      --text-secondary: #52525b;
      --text-muted: #71717a;
      --text-faint: #a1a1aa;
      /* CTA colour. --accent-rgb carries the same colour as a bare channel list
         so the many rgba(...) tints can follow one token, and --accent-fg is
         what stays readable on top of it in both themes. */
      --accent-start: #0a0a0a;
      --accent-end: #27272a;
      --accent-rgb: 10, 10, 10;
      --accent-fg: #ffffff;
      --accent-cyan: #0369a1;
      --accent-green: #16a34a;
      --accent-red: #dc2626;
      --accent-amber: #d97706;
      /* Status chips: background / hairline / label / dot, one set per state. */
      --ok-bg: #f0fdf4;
      --ok-border: #bbf7d0;
      --ok-text: #15803d;
      --ok-dot: #22c55e;
      --warn-bg: #fffbeb;
      --warn-border: #fde68a;
      --warn-text: #b45309;
      --warn-dot: #f59e0b;
      --bad-bg: #fef2f2;
      --bad-border: #fecaca;
      --bad-text: #b91c1c;
      --bad-dot: #ef4444;
      /* Inverted band (final CTA, the queue-depth card). On dark it lifts off
         the page instead of sinking into it, so it keeps a visible edge. */
      --invert-bg: #0a0a0a;
      --invert-text: #fafafa;
      --invert-muted: rgba(255, 255, 255, 0.6);
      --invert-border: rgba(255, 255, 255, 0.12);
      --invert-btn-bg: #ffffff;
      --invert-btn-text: #0a0a0a;
      --shadow-sm: 0 1px 2px rgba(9, 9, 11, 0.06);
      --shadow-md: 0 4px 16px rgba(9, 9, 11, 0.08);
      --shadow-lg: 0 12px 40px rgba(9, 9, 11, 0.12);
      --nav-bg: rgba(255, 255, 255, 0.8);
      --mobile-menu-bg: rgba(255, 255, 255, 0.97);
      --surface-soft: #fafafa;
      --surface-muted: #fafafa;
      --surface-hover: #f4f4f5;
      --section-tint: #fafafa;
      --hero-glow: rgba(9, 9, 11, 0.04);
      --hero-veil: rgba(255, 255, 255, 0.85);
      --hero-grid-line: #e4e4e7;
      --selection-bg: #d4d4d8;
      --selection-fg: #0a0a0a;
      --scrollbar-thumb: #d4d4d8;
      --scrollbar-thumb-hover: #a1a1aa;
      --radius-sm: 6px;
      --radius-md: 8px;
      --radius-lg: 10px;
      --radius-xl: 12px;
      --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
      --transition-fast: 0.15s ease;
      --transition-base: 0.3s ease;
      --transition-slow: 0.5s ease;
    }

    /* Dark tokens live in one place and are applied by two selectors: the OS
       preference (unless the visitor has explicitly chosen light) and an
       explicit data-theme="dark" from the nav toggle. Keep the two blocks in
       sync — CSS has no way to share a declaration list between them. */
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg-primary: #09090b;
        --bg-secondary: #0e0e11;
        --bg-tertiary: #131316;
        --bg-card: #0e0e11;
        --bg-glass: #131316;
        --border-subtle: #27272a;
        --border-hover: #3f3f46;
        --text-primary: #fafafa;
        --text-secondary: #a1a1aa;
        --text-muted: #8b8b94;
        --text-faint: #71717a;
        --accent-start: #fafafa;
        --accent-end: #e4e4e7;
        --accent-rgb: 250, 250, 250;
        --accent-fg: #0a0a0a;
        --accent-cyan: #38bdf8;
        --accent-green: #4ade80;
        --accent-red: #f87171;
        --accent-amber: #fbbf24;
        --ok-bg: rgba(34, 197, 94, 0.1);
        --ok-border: rgba(34, 197, 94, 0.28);
        --ok-text: #4ade80;
        --ok-dot: #22c55e;
        --warn-bg: rgba(245, 158, 11, 0.1);
        --warn-border: rgba(245, 158, 11, 0.3);
        --warn-text: #fbbf24;
        --warn-dot: #f59e0b;
        --bad-bg: rgba(239, 68, 68, 0.1);
        --bad-border: rgba(239, 68, 68, 0.3);
        --bad-text: #f87171;
        --bad-dot: #ef4444;
        --invert-bg: #18181b;
        --invert-text: #fafafa;
        --invert-muted: rgba(255, 255, 255, 0.6);
        --invert-border: rgba(255, 255, 255, 0.1);
        --invert-btn-bg: #fafafa;
        --invert-btn-text: #0a0a0a;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
        --nav-bg: rgba(9, 9, 11, 0.8);
        --mobile-menu-bg: rgba(9, 9, 11, 0.97);
        --surface-soft: #0e0e11;
        --surface-muted: #131316;
        --surface-hover: #1c1c20;
        --section-tint: #0e0e11;
        --hero-glow: rgba(250, 250, 250, 0.03);
        --hero-veil: rgba(9, 9, 11, 0.85);
        --hero-grid-line: #1c1c20;
        --selection-bg: #3f3f46;
        --selection-fg: #fafafa;
        --scrollbar-thumb: #3f3f46;
        --scrollbar-thumb-hover: #52525b;
      }
    }

    :root[data-theme="dark"] {
      color-scheme: dark;
      --bg-primary: #09090b;
      --bg-secondary: #0e0e11;
      --bg-tertiary: #131316;
      --bg-card: #0e0e11;
      --bg-glass: #131316;
      --border-subtle: #27272a;
      --border-hover: #3f3f46;
      --text-primary: #fafafa;
      --text-secondary: #a1a1aa;
      --text-muted: #8b8b94;
      --text-faint: #71717a;
      --accent-start: #fafafa;
      --accent-end: #e4e4e7;
      --accent-rgb: 250, 250, 250;
      --accent-fg: #0a0a0a;
      --accent-cyan: #38bdf8;
      --accent-green: #4ade80;
      --accent-red: #f87171;
      --accent-amber: #fbbf24;
      --ok-bg: rgba(34, 197, 94, 0.1);
      --ok-border: rgba(34, 197, 94, 0.28);
      --ok-text: #4ade80;
      --ok-dot: #22c55e;
      --warn-bg: rgba(245, 158, 11, 0.1);
      --warn-border: rgba(245, 158, 11, 0.3);
      --warn-text: #fbbf24;
      --warn-dot: #f59e0b;
      --bad-bg: rgba(239, 68, 68, 0.1);
      --bad-border: rgba(239, 68, 68, 0.3);
      --bad-text: #f87171;
      --bad-dot: #ef4444;
      --invert-bg: #18181b;
      --invert-text: #fafafa;
      --invert-muted: rgba(255, 255, 255, 0.6);
      --invert-border: rgba(255, 255, 255, 0.1);
      --invert-btn-bg: #fafafa;
      --invert-btn-text: #0a0a0a;
      --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
      --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
      --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.6);
      --nav-bg: rgba(9, 9, 11, 0.8);
      --mobile-menu-bg: rgba(9, 9, 11, 0.97);
      --surface-soft: #0e0e11;
      --surface-muted: #131316;
      --surface-hover: #1c1c20;
      --section-tint: #0e0e11;
      --hero-glow: rgba(250, 250, 250, 0.03);
      --hero-veil: rgba(9, 9, 11, 0.85);
      --hero-grid-line: #1c1c20;
      --selection-bg: #3f3f46;
      --selection-fg: #fafafa;
      --scrollbar-thumb: #3f3f46;
      --scrollbar-thumb-hover: #52525b;
    }

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

    html {
      scroll-behavior: smooth;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 8px; }
    ::-webkit-scrollbar-track { background: var(--bg-primary); }
    ::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--scrollbar-thumb-hover); }

    /* Selection */
    ::selection {
      background: var(--selection-bg);
      color: var(--selection-fg);
    }

    /* Utility */
    /* Text that only the screen reader needs, e.g. the meaning of a dash in a
       comparison cell that is otherwise purely visual. */
    .sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .container {
      width: 100%;
      max-width: 1280px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Was a two-stop gradient clipped to the text. A single accent colour
       reads as a considered choice rather than a template default. */
    .gradient-text {
      color: var(--accent-start);
    }

    .gradient-border {
      position: relative;
    }
    .gradient-border::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: rgba(var(--accent-rgb), 0.28);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0.5;
      pointer-events: none;
    }

    /* Animations */
    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-12px); }
    }

    @keyframes pulse-glow {
      0%, 100% { box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15); }
      50% { box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.3); }
    }

    @keyframes ticker {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    @keyframes spin-slow {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }

    @keyframes dash {
      to { stroke-dashoffset: 0; }
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .stagger-1 { transition-delay: 0.1s; }
    .stagger-2 { transition-delay: 0.2s; }
    .stagger-3 { transition-delay: 0.3s; }
    .stagger-4 { transition-delay: 0.4s; }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 40px;
      padding: 0 20px;
      font-family: inherit;
      font-size: 14px;
      font-weight: 500;
      line-height: 1;
      border-radius: var(--radius-md);
      border: 1px solid transparent;
      cursor: pointer;
      transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
      text-decoration: none;
      white-space: nowrap;
    }
    /* Nav-sized. The nav bar is 56px tall, so its button has to be shorter. */
    .btn-sm {
      height: 32px;
      padding: 0 16px;
      font-size: 13px;
    }

    .btn-primary {
      background: var(--accent-start);
      color: var(--accent-fg);
      border-color: var(--accent-start);
    }
    .btn-primary:hover {
      background: var(--accent-end);
      border-color: var(--accent-end);
    }

    .btn-secondary {
      background: var(--bg-card);
      color: var(--text-primary);
      border-color: var(--border-subtle);
    }
    .btn-secondary:hover {
      border-color: var(--border-hover);
      background: var(--surface-hover);
    }
    .btn:disabled {
      cursor: not-allowed;
      opacity: 0.7;
      transform: none;
    }

    .btn-ghost {
      background: transparent;
      border-color: transparent;
      color: var(--text-secondary);
      height: 32px;
      padding: 0 8px;
      font-size: 13.5px;
    }
    .btn-ghost:hover { color: var(--text-primary); }

    /* Navigation */
    /* Sticky, not fixed: the bar occupies layout space, so no page has to
       reserve room for it with a top padding of its own. */
    .navbar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--nav-bg);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-subtle);
      transition: box-shadow var(--transition-fast);
    }
    .navbar.scrolled {
      box-shadow: var(--shadow-sm);
    }
    .navbar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      height: 56px;
    }
    .nav-left {
      display: flex;
      align-items: center;
      gap: 32px;
      min-width: 0;
    }
    .nav-brand {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      font-size: 18px;
      letter-spacing: -0.01em;
      color: var(--text-primary);
      text-decoration: none;
    }
    .logo-mark {
      flex: none;
      display: block;
      width: auto;
      height: 26px;
    }
    /* "Live" pill beside the wordmark. Hidden on small screens, where the row
       has to hold the menu button instead. */
    .nav-live {
      display: none;
      align-items: center;
      gap: 8px;
      padding: 3px 10px;
      border: 1px solid var(--border-subtle);
      border-radius: 999px;
      font-size: 11px;
      font-weight: 500;
      color: var(--text-muted);
    }
    @media (min-width: 640px) {
      .nav-live { display: inline-flex; }
    }
    /* Keep the logo in its light-mode colours on a light pill: the navy "Sensa"
       is nearly black, so recolouring for dark mode isn't an option and it needs
       a light backdrop instead. Two selectors, same rule — see the note above
       the dark token blocks for why both are needed. */
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .logo-mark {
        box-sizing: border-box;
        padding: 5px 10px;
        border-radius: 999px;
        background: #f8fafc;
      }
    }
    :root[data-theme="dark"] .logo-mark {
      box-sizing: border-box;
      padding: 5px 10px;
      border-radius: 999px;
      background: #f8fafc;
    }
    .nav-links {
      display: none;
      align-items: center;
      gap: 24px;
    }
    .nav-links a {
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 13.5px;
      font-weight: 500;
      transition: color var(--transition-fast);
    }
    .nav-links a:hover {
      color: var(--text-primary);
    }
    .nav-cta {
      display: none;
      align-items: center;
      gap: 12px;
    }
    .mobile-menu-btn {
      display: flex;
      background: none;
      border: none;
      color: var(--text-primary);
      cursor: pointer;
      padding: 8px;
    }
    .mobile-menu {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--mobile-menu-bg);
      backdrop-filter: blur(20px);
      border-bottom: 1px solid var(--border-subtle);
      padding: 16px 24px;
      flex-direction: column;
      gap: 4px;
    }
    .mobile-menu.open { display: flex; }
    .mobile-menu a {
      color: var(--text-secondary);
      text-decoration: none;
      padding: 12px 16px;
      border-radius: var(--radius-sm);
      font-size: 15px;
      font-weight: 500;
      transition: all var(--transition-fast);
    }
    .mobile-menu a:hover {
      color: var(--text-primary);
      background: var(--surface-muted);
    }
    .mobile-menu a.mobile-menu-accent {
      background: var(--accent-start);
      color: var(--accent-fg);
      text-align: center;
      margin-top: 4px;
    }
    .mobile-menu a.mobile-menu-accent:hover {
      background: var(--accent-end);
      color: var(--accent-fg);
    }

    .mobile-menu-btn {
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      padding: 0;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
    }
    .mobile-menu-btn svg { width: 18px; height: 18px; }

    /* The five nav links plus both CTAs only fit from 1024px up; below that the
       whole set moves into the mobile sheet. */
    @media (min-width: 1024px) {
      .nav-links { display: flex; }
      .nav-cta { display: flex; }
      .mobile-menu-btn { display: none; }
    }

    /* ==========================================================================
       Sections — shared by the homepage, /pricing, /tools and content pages
       ========================================================================== */
    section {
      padding: 64px 0;
      position: relative;
    }
    @media (min-width: 768px) {
      section { padding: 80px 0; }
    }
    /* The homepage separates its bands with a hairline instead of whitespace,
       so the tinted and untinted sections alternate visibly. Scoped to the home
       body class: other pages lay their own sections out. */
    .home-page section {
      border-bottom: 1px solid var(--border-subtle);
    }
    .section-tinted {
      background: var(--section-tint);
    }
    .section-header {
      max-width: 640px;
      margin: 0 0 40px;
    }
    .section-label {
      display: block;
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 400;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      color: var(--text-muted);
      margin-bottom: 12px;
    }
    .section-title {
      font-size: clamp(26px, 3.4vw, 36px);
      font-weight: 700;
      line-height: 1.12;
      letter-spacing: -0.025em;
      margin-bottom: 14px;
    }
    .section-desc {
      font-size: 14px;
      color: var(--text-secondary);
      line-height: 1.7;
    }
    /* Label + title on the left, supporting line pushed to the right edge. */
    .section-header-split {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
      gap: 16px 32px;
      max-width: none;
    }
    /* Without a basis the heading block claims the whole row and the supporting
       line wraps underneath it instead of sitting opposite. */
    .section-header-split > :first-child { flex: 1 1 480px; }
    .section-header-split .section-title { margin-bottom: 0; }
    .section-header-split .section-desc { flex: 0 1 360px; }

    /* ==========================================================================
       Small parts shared across the homepage
       ========================================================================== */
    .mono { font-family: var(--font-mono); }

    /* A status dot. .pulse-dot adds the outward ping for anything described as
       live; .dot is the same mark standing still. */
    .dot,
    .pulse-dot {
      flex: none;
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--ok-dot);
    }
    .pulse-dot { position: relative; }
    .pulse-dot::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 50%;
      background: inherit;
      opacity: 0.75;
      animation: pingDot 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
    }
    .dot.is-warn, .pulse-dot.is-warn { background: var(--warn-dot); }
    .dot.is-bad, .pulse-dot.is-bad { background: var(--bad-dot); }
    .dot-sm { width: 6px; height: 6px; }

    @keyframes pingDot {
      75%, 100% { transform: scale(2.2); opacity: 0; }
    }

    /* Status chip: tinted background, hairline, coloured label. */
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 2px 8px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border-subtle);
      background: var(--surface-muted);
      color: var(--text-secondary);
      font-size: 11px;
      white-space: nowrap;
    }
    .chip.is-ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }
    .chip.is-warn { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
    .chip.is-bad { background: var(--bad-bg); border-color: var(--bad-border); color: var(--bad-text); }

    /* ==========================================================================
       Hero
       ========================================================================== */
    .hero {
      position: relative;
      overflow: hidden;
      /* .hero-inner carries the vertical rhythm so the log columns can run the
         full height of the band; the global section padding would double it. */
      padding: 0;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .hero-bg-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
      background-size: 32px 32px;
      opacity: 0.25;
    }
    /* Veils the log columns and the grid so they read as texture, never as
       something the visitor is meant to parse. */
    .hero-bg-fade {
      position: absolute;
      inset: 0;
      z-index: 1;
      background: linear-gradient(180deg, var(--bg-primary) 0%, var(--hero-veil) 28%, var(--hero-veil) 72%, var(--bg-primary) 100%);
    }
    .hero-logs {
      display: flex;
      gap: 64px;
      max-width: 1600px;
      margin: 0 auto;
      padding: 0 24px;
      opacity: 0.09;
      font-family: var(--font-mono);
      font-size: 11px;
      line-height: 24px;
    }
    .hero-log { white-space: nowrap; }
    .hero-log-b { display: none; }
    @media (min-width: 768px) {
      .hero-log-b { display: block; }
    }
    .hero-log-inner { animation: heroLogScroll 90s linear infinite; }
    .hero-log-b .hero-log-inner {
      animation-duration: 110s;
      animation-direction: reverse;
    }
    .hero-log-line {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* Travels exactly half its height, and the markup prints the list twice, so
       the seam lands back on the starting frame. */
    @keyframes heroLogScroll {
      from { transform: translateY(0); }
      to { transform: translateY(-50%); }
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      align-items: start;
      padding-top: 45px;
      padding-bottom: 45px;
    }
    @media (min-width: 768px) {
      /* .hero-inner { padding-top: 96px; padding-bottom: 96px; } */
    }
    @media (min-width: 1024px) {
      .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 6px 12px;
      margin-bottom: 24px;
      border: 1px solid var(--border-subtle);
      border-radius: 999px;
      background: var(--bg-card);
      font-size: 12px;
      font-weight: 500;
    }
    .hero h1 {
      font-size: clamp(34px, 5.4vw, 56px);
      font-weight: 700;
      line-height: 0.98;
      letter-spacing: -0.03em;
      max-width: 640px;
    }
    .hero-subtitle {
      margin-top: 20px;
      max-width: 520px;
      font-size: 16px;
      line-height: 1.75;
      color: var(--text-secondary);
    }
    .hero-cta {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 28px;
    }
    .hero-trust {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-top: 24px;
      font-size: 12px;
      color: var(--text-muted);
    }
    .hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
    .hero-trust-sep {
      width: 1px;
      height: 12px;
      background: var(--border-subtle);
    }

    /* ==========================================================================
       Example flows
       ========================================================================== */
    .flow-lead {
      margin-top: 14px;
      max-width: 560px;
    }
    .flow-legend-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .flow-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 1024px) {
      .flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    /* Column layout so the alert bar can be pushed to the foot of every card,
       which lines them up across a row however long the step list is. */
    .flow-panel {
      display: flex;
      flex-direction: column;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
      overflow: hidden;
    }
    .flow-panel-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      min-height: 36px;
      padding: 6px 16px;
      border-bottom: 1px solid var(--border-subtle);
      background: var(--surface-muted);
    }
    .flow-panel-title {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 500;
    }
    .flow-panel-body {
      display: flex;
      flex: 1;
      flex-direction: column;
      padding: 16px;
      font-family: var(--font-mono);
      font-size: 12px;
    }
    .flow-nodes {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
    }
    .flow-node {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px;
      border: 1px solid var(--border-subtle);
      border-radius: 999px;
      background: var(--surface-muted);
      white-space: nowrap;
    }
    .flow-node.is-warn { border-color: var(--warn-border); background: var(--warn-bg); }
    .flow-node.is-bad { border-color: var(--bad-border); background: var(--bad-bg); }
    /* A step the flow has not reached yet: outlined, not filled. */
    .flow-node.is-idle {
      border-style: dashed;
      background: transparent;
      color: var(--text-faint);
    }
    .dot.is-idle, .pulse-dot.is-idle { background: var(--border-hover); }
    /* Arrow and the step it points at travel together, so a wrap never leaves a
       dangling arrow at the end of a line. */
    .flow-step {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .flow-arrow { color: var(--text-faint); }
    .flow-meta {
      margin: 12px 0;
      font-size: 11px;
      line-height: 1.6;
      color: var(--text-muted);
    }
    .flow-alert {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: auto;
      padding: 8px 12px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      background: var(--surface-muted);
      color: var(--text-secondary);
      font-size: 11px;
    }
    .flow-alert.is-ok { border-color: var(--ok-border); background: var(--ok-bg); color: var(--ok-text); }
    .flow-alert.is-warn { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-text); }
    .flow-alert.is-bad { border-color: var(--bad-border); background: var(--bad-bg); color: var(--bad-text); }

    /* Event stack — the live-feed column on the right of the hero. */
    .hero-stack {
      display: grid;
      gap: 12px;
    }
    .stack-status {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 8px 12px;
      padding: 0 4px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
    }
    .stack-status span { display: inline-flex; align-items: center; gap: 6px; }
    .stack-status-group { display: flex; gap: 12px; }
    .stack-card {
      display: flex;
      gap: 12px;
      padding: 12px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
    }
    .stack-icon {
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      background: var(--surface-muted);
      font-size: 13px;
    }
    .stack-icon.is-solid {
      border-color: transparent;
      background: var(--accent-start);
      color: var(--accent-fg);
      font-size: 11px;
      font-weight: 700;
    }
    .stack-body { flex: 1; min-width: 0; }
    .stack-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }
    .stack-title { font-size: 13px; font-weight: 500; }
    .stack-time { flex: none; font-size: 11px; color: var(--text-muted); }
    .stack-time.is-warn { color: var(--warn-text); }
    .stack-line {
      margin-top: 4px;
      font-size: 12px;
      color: var(--text-secondary);
    }
    .stack-line.mono { font-size: 11px; }
    .stack-line.is-bad { color: var(--bad-text); display: flex; align-items: center; gap: 6px; }
    .stack-note {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 8px;
      padding: 3px 8px;
      border: 1px solid var(--warn-border);
      border-radius: var(--radius-sm);
      background: var(--warn-bg);
      color: var(--warn-text);
      font-size: 11px;
    }
    .stack-card-dark {
      padding: 12px;
      border: 1px solid var(--invert-border);
      border-radius: var(--radius-xl);
      background: var(--invert-bg);
      color: var(--invert-text);
    }
    .stack-card-dark-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-family: var(--font-mono);
      font-size: 11px;
    }
    .stack-card-dark-head span { display: inline-flex; align-items: center; gap: 8px; }
    .stack-card-dark-head .is-muted { color: var(--invert-muted); }
    .stack-bar {
      margin-top: 8px;
      height: 6px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.1);
      overflow: hidden;
    }
    .stack-bar > span {
      display: block;
      height: 100%;
      background: var(--bad-dot);
    }
    .stack-card-dashed {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px;
      border: 1px dashed var(--border-subtle);
      border-radius: var(--radius-xl);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
    }

    /* ==========================================================================
       The Problem
       ========================================================================== */
    .problem-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 640px) {
      .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (min-width: 1024px) {
      .problem-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    .problem-card {
      padding: 20px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
    }
    .problem-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      margin-bottom: 12px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      background: var(--surface-muted);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-secondary);
    }
    .problem-card h3 {
      font-size: 14px;
      font-weight: 500;
    }
    .problem-card p {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    /* ==========================================================================
       The Solution
       ========================================================================== */
    .solution-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 48px;
    }
    @media (min-width: 1024px) {
      .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    .solution-text p {
      margin-top: 16px;
      font-size: 15px;
      line-height: 1.75;
      color: var(--text-secondary);
    }
    .rule-list {
      list-style: none;
      display: grid;
      gap: 16px;
      margin-top: 32px;
    }
    .rule-item {
      display: flex;
      gap: 12px;
    }
    .rule-icon {
      flex: none;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border: 1px solid var(--border-subtle);
      border-radius: 50%;
      background: var(--surface-muted);
      font-size: 11px;
      line-height: 1;
    }
    .rule-icon.is-bad { border-color: var(--bad-border); background: var(--bad-bg); color: var(--bad-text); }
    .rule-icon.is-warn { border-color: var(--warn-border); background: var(--warn-bg); color: var(--warn-text); }
    .rule-name {
      display: block;
      font-size: 13px;
      font-weight: 500;
    }
    .rule-detail {
      display: block;
      margin-top: 2px;
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
    }
    .solution-cta { margin-top: 32px; }

    .timeline-panel {
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--section-tint);
      overflow: hidden;
    }
    .timeline-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      min-height: 36px;
      padding: 6px 16px;
      border-bottom: 1px solid var(--border-subtle);
      background: var(--bg-card);
      font-family: var(--font-mono);
      font-size: 11px;
    }
    .timeline-head span { display: inline-flex; align-items: center; gap: 6px; }
    .timeline-body {
      padding: 20px;
      font-family: var(--font-mono);
      font-size: 11px;
      line-height: 24px;
    }
    .timeline-row {
      display: flex;
      gap: 12px;
    }
    .timeline-time {
      flex: none;
      width: 56px;
      color: var(--text-faint);
    }
    .timeline-event {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .timeline-event.is-warn { color: var(--warn-text); }
    /* Vertical stem between two rows, aligned under the event column. */
    .timeline-link {
      width: 1px;
      height: 16px;
      margin-left: 68px;
      background: var(--border-subtle);
    }
    .timeline-link.is-warn { background: var(--warn-border); }
    .timeline-alert {
      margin-top: 16px;
      padding: 12px;
      border: 1px solid var(--bad-border);
      border-radius: var(--radius-lg);
      background: var(--bad-bg);
      color: var(--bad-text);
    }
    .timeline-alert-head {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .timeline-alert-impact {
      margin-top: 4px;
      font-size: 10px;
      opacity: 0.85;
    }

    /* ==========================================================================
       Features
       ========================================================================== */
    .features-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 640px) {
      .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (min-width: 1024px) {
      .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }
    .feature-card {
      padding: 20px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
      transition: border-color var(--transition-fast);
    }
    .feature-card:hover { border-color: var(--border-hover); }
    .feature-card h3 {
      font-size: 12px;
      font-weight: 500;
    }
    .feature-card p {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    /* ==========================================================================
       How It Works
       ========================================================================== */
    .steps {
      position: relative;
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
    }
    @media (min-width: 768px) {
      .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      /* One rule behind all three cards, stopping short of the outer numbers. */
      .steps::before {
        content: '';
        position: absolute;
        top: 42px;
        left: 16%;
        right: 16%;
        height: 1px;
        background: var(--border-subtle);
      }
    }
    .step {
      position: relative;
      padding: 24px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
    }
    .step-number {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--accent-start);
      color: var(--accent-fg);
      font-family: var(--font-mono);
      font-size: 11px;
    }
    .step h3 {
      margin-top: 16px;
      font-size: 14px;
      font-weight: 500;
    }
    .step p {
      margin-top: 8px;
      font-size: 13px;
      line-height: 1.7;
      color: var(--text-secondary);
    }
    .step-code {
      margin-top: 16px;
      padding: 6px 10px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      background: var(--surface-muted);
      font-family: var(--font-mono);
      font-size: 11px;
      overflow-x: auto;
      white-space: nowrap;
    }
    .step-alert {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-top: 16px;
      font-size: 11px;
    }

    /* ==========================================================================
       Comparison
       ========================================================================== */
    .comparison-wrap {
      margin-top: 32px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      overflow-x: auto;
    }
    .comparison-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .comparison-table thead {
      background: var(--surface-muted);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
    }
    .comparison-table th {
      padding: 12px;
      font-weight: 500;
      text-align: left;
      white-space: nowrap;
      border-bottom: 1px solid var(--border-subtle);
    }
    .comparison-table th.is-ours {
      background: var(--accent-start);
      color: var(--accent-fg);
    }
    .comparison-table td {
      padding: 12px;
      border-bottom: 1px solid var(--border-subtle);
    }
    .comparison-table tbody tr:last-child td { border-bottom: none; }
    .comparison-table td.is-ours {
      background: var(--surface-muted);
      font-weight: 500;
      white-space: nowrap;
    }
    .comparison-table td.is-none { color: var(--text-faint); }

    /* ==========================================================================
       Integrations + dashboard preview
       ========================================================================== */
    .integrations-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
    }
    @media (min-width: 1024px) {
      .integrations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    .integrations-intro h3 {
      font-size: 16px;
      font-weight: 600;
    }
    .integrations-intro p {
      margin-top: 8px;
      font-size: 13px;
      color: var(--text-secondary);
    }
    .integration-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 24px;
    }
    .integration-pill {
      padding: 6px 12px;
      border: 1px solid var(--border-subtle);
      border-radius: 999px;
      background: var(--bg-card);
      font-size: 12px;
    }

    .dash-mock {
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
      overflow: hidden;
    }
    .dash-mock-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      min-height: 36px;
      padding: 6px 12px;
      border-bottom: 1px solid var(--border-subtle);
      background: var(--surface-muted);
      font-family: var(--font-mono);
      font-size: 11px;
    }
    .dash-mock-bar .is-live {
      margin-left: auto;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .dash-mock-body { display: flex; }
    .dash-mock-nav {
      flex: none;
      width: 120px;
      padding: 12px;
      border-right: 1px solid var(--border-subtle);
      background: var(--surface-muted);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--text-muted);
    }
    .dash-mock-nav div + div { margin-top: 8px; }
    .dash-mock-nav .is-current {
      color: var(--text-primary);
      font-weight: 500;
    }
    .dash-mock-main {
      flex: 1;
      min-width: 0;
      padding: 16px;
    }
    .dash-stats {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
      font-size: 11px;
    }
    .dash-stat {
      padding: 8px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      text-align: center;
    }
    .dash-stat-label { color: var(--text-muted); }
    .dash-stat-value { font-weight: 600; }
    .dash-activity {
      display: grid;
      gap: 8px;
      margin-top: 16px;
      font-size: 11px;
    }
    .dash-activity-row { display: flex; gap: 8px; }
    .dash-activity-row time {
      flex: none;
      color: var(--text-faint);
    }
    .dash-activity-row .is-bad { color: var(--bad-text); }
    .dash-activity-row .is-warn { color: var(--warn-text); }

    /* ==========================================================================
       FAQ — also used by /pricing and every tool page
       ========================================================================== */
    .section-narrow .container {
      max-width: 848px;
    }
    .faq-list {
      max-width: 800px;
      margin: 0 auto;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      background: var(--bg-card);
      overflow: hidden;
    }
    .faq-item + .faq-item {
      border-top: 1px solid var(--border-subtle);
    }
    .faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px;
      background: none;
      border: none;
      color: var(--text-primary);
      font-family: inherit;
      font-size: 14px;
      font-weight: 500;
      text-align: left;
      cursor: pointer;
      transition: background var(--transition-fast);
    }
    .faq-question:hover { background: var(--surface-muted); }
    .faq-question svg {
      flex: none;
      color: var(--text-faint);
      transition: transform var(--transition-base);
    }
    .faq-item.open .faq-question svg { transform: rotate(180deg); }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--transition-base), padding var(--transition-base);
    }
    .faq-item.open .faq-answer {
      max-height: 400px;
      padding: 0 16px 16px;
    }
    .faq-answer p {
      font-size: 13px;
      line-height: 1.85;
      color: var(--text-secondary);
    }

    /* ==========================================================================
       Final CTA
       ========================================================================== */
    .final-cta {
      background: var(--invert-bg);
      color: var(--invert-text);
      text-align: center;
    }
    .final-cta h2 {
      max-width: 820px;
      margin: 0 auto;
      font-size: clamp(30px, 4.6vw, 48px);
      font-weight: 700;
      line-height: 0.98;
      letter-spacing: -0.025em;
    }
    .final-cta p {
      margin-top: 16px;
      font-size: 15px;
      color: var(--invert-muted);
    }
    .final-cta-buttons {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      margin-top: 32px;
    }
    /* Both buttons sit on the inverted band, so neither can use page tokens. */
    .final-cta .btn-primary {
      background: var(--invert-btn-bg);
      border-color: var(--invert-btn-bg);
      color: var(--invert-btn-text);
    }
    .final-cta .btn-primary:hover {
      background: #e4e4e7;
      border-color: #e4e4e7;
    }
    .final-cta .btn-secondary {
      background: transparent;
      border-color: var(--invert-border);
      color: var(--invert-text);
    }
    .final-cta .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.24);
    }


    /* Footer */
    .footer {
      background: var(--section-tint);
      border-top: 1px solid var(--border-subtle);
      padding: 48px 0 0;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      margin-bottom: 48px;
    }
    @media (min-width: 768px) {
      .footer-grid { grid-template-columns: 2fr repeat(3, 1fr); }
    }
    @media (min-width: 1100px) {
      .footer-grid { grid-template-columns: 2fr repeat(4, 1fr); }
    }
    .footer-tools {
      padding: 32px 0;
      border-top: 1px solid var(--border-subtle);
    }
    .footer-tools-head {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      justify-content: space-between;
      gap: 8px 16px;
      margin-bottom: 20px;
    }
    .footer-tools-head h4 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
    }
    .footer-tools-head a {
      color: var(--accent-start);
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
    }
    .footer-tools-head a:hover { color: var(--accent-end); }
    .footer-tools-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 24px 40px;
    }
    @media (min-width: 900px) {
      .footer-tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    }
    .footer-tools-grid h5 {
      font-size: 13px;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 8px;
    }
    .footer-tools-grid .footer-col a {
      padding: 4px 0;
      font-size: 13.5px;
    }
    .footer-brand p {
      color: var(--text-muted);
      font-size: 14px;
      margin-top: 12px;
      line-height: 1.6;
    }
    .footer-col h4 {
      font-size: 13px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .footer-col a {
      display: block;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 14px;
      padding: 6px 0;
      transition: color var(--transition-fast);
    }
    .footer-col a:hover { color: var(--text-primary); }
    .footer-bottom {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: center;
      justify-content: space-between;
      padding: 16px 0;
      border-top: 1px solid var(--border-subtle);
      color: var(--text-faint);
      font-family: var(--font-mono);
      font-size: 11px;
    }
    .footer-status {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    @media (min-width: 768px) {
      .footer-bottom { flex-direction: row; }
    }
    .footer-social {
      display: flex;
      gap: 16px;
    }
    .footer-social a {
      color: var(--text-muted);
      transition: color var(--transition-fast);
    }
    .footer-social a:hover { color: var(--text-primary); }

    /* Auth */
    .auth-page {
      min-height: 100vh;
      background:
        radial-gradient(circle at 18% 20%, var(--hero-glow), transparent 32%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    }
    .auth-main {
      min-height: calc(100vh - 57px);
      padding: 56px 0 72px;
      position: relative;
      overflow: hidden;
    }
    .auth-main::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: linear-gradient(to bottom, black, transparent 80%);
      pointer-events: none;
    }
    .auth-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    @media (min-width: 960px) {
      .auth-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(380px, 460px);
        gap: 64px;
      }
    }
    .auth-copy {
      max-width: 620px;
    }
    .auth-copy h1 {
      font-size: clamp(36px, 6vw, 64px);
      line-height: 1.05;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin: 18px 0 20px;
    }
    .auth-copy p {
      color: var(--text-secondary);
      font-size: 18px;
      line-height: 1.7;
      max-width: 560px;
    }
    .auth-highlights {
      display: grid;
      grid-template-columns: 1fr;
      gap: 14px;
      margin-top: 32px;
    }
    @media (min-width: 640px) {
      .auth-highlights {
        grid-template-columns: repeat(3, 1fr);
      }
    }
    .auth-highlight {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 18px;
      box-shadow: var(--shadow-sm);
    }
    .auth-highlight strong {
      display: block;
      font-size: 22px;
      line-height: 1;
      margin-bottom: 8px;
    }
    .auth-highlight span {
      display: block;
      color: var(--text-muted);
      font-size: 13px;
      line-height: 1.4;
    }
    .auth-panel {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow-lg);
      padding: 32px;
      backdrop-filter: blur(20px);
    }
    .auth-panel-header {
      margin-bottom: 28px;
    }
    .auth-panel-header h2 {
      font-size: 28px;
      line-height: 1.2;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 8px;
    }
    .auth-panel-header p {
      color: var(--text-secondary);
      font-size: 14px;
    }
    .auth-form {
      display: grid;
      gap: 18px;
    }
    .form-field {
      display: grid;
      gap: 8px;
    }
    .form-label-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }
    /* Was the only link on the site with no rule of its own, so it fell back to
       the browser's blue — the one hue this palette does not contain. */
    .forgot-link {
      color: var(--text-secondary);
      font-size: 13px;
      text-decoration: none;
    }
    .forgot-link:hover {
      color: var(--text-primary);
      text-decoration: underline;
    }
    .form-field label {
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 700;
    }
    .form-field a,
    .auth-switch a {
      color: var(--accent-start);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
    }
    .form-field a:hover,
    .auth-switch a:hover {
      color: var(--accent-end);
    }
    .input-wrap {
      position: relative;
    }
    .input-wrap svg {
      position: absolute;
      left: 14px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }
    .form-input {
      width: 100%;
      height: 48px;
      padding: 0 14px 0 44px;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      background: var(--bg-secondary);
      color: var(--text-primary);
      font: inherit;
      outline: none;
      transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    }
    .form-input:focus {
      border-color: rgba(var(--accent-rgb), 0.6);
      box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
    }
    .form-options {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      color: var(--text-secondary);
      font-size: 13px;
    }
    .check-control {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }
    .check-control input {
      width: 16px;
      height: 16px;
      accent-color: var(--accent-start);
    }
    .btn-full {
      width: 100%;
    }
    .auth-alert {
      display: none;
      border-radius: var(--radius-md);
      padding: 12px 14px;
      font-size: 13px;
      line-height: 1.4;
    }
    .auth-alert.show {
      display: block;
      margin-bottom: 16px;
    }
    .auth-alert.error {
      color: var(--accent-red);
      background: rgba(248,113,113,0.08);
      border: 1px solid rgba(248,113,113,0.16);
    }
    .auth-alert.success {
      color: var(--accent-green);
      background: rgba(52,211,153,0.08);
      border: 1px solid rgba(52,211,153,0.16);
    }
    .auth-switch {
      color: var(--text-secondary);
      font-size: 14px;
      text-align: center;
      margin-top: 22px;
      padding-top: 22px;
      border-top: 1px solid var(--border-subtle);
    }
    .auth-mini-flow {
      display: grid;
      gap: 12px;
      margin-top: 28px;
    }
    .auth-flow-step {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      background: var(--surface-muted);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      color: var(--text-secondary);
      font-size: 13px;
      font-weight: 600;
    }
    .auth-flow-step span {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .auth-flow-status {
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: var(--accent-green);
      box-shadow: 0 0 0 5px rgba(52,211,153,0.12);
      flex-shrink: 0;
    }
    .auth-flow-status.warning {
      background: var(--accent-amber);
      box-shadow: 0 0 0 5px rgba(251,191,36,0.12);
    }

    /* Register */
    @keyframes spin {
      from { transform: rotate(0deg); }
      to { transform: rotate(360deg); }
    }
    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      20%, 60% { transform: translateX(-4px); }
      40%, 80% { transform: translateX(4px); }
    }
    .register-main .animate-in {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.6s ease forwards;
    }
    .register-main .delay-1 { animation-delay: 0.1s; }
    .register-main .delay-2 { animation-delay: 0.2s; }
    .register-main .delay-3 { animation-delay: 0.3s; }
    .register-main .delay-4 { animation-delay: 0.4s; }

    .register-main {
      min-height: calc(100vh - 81px);
      padding: 128px 0 72px;
      position: relative;
      overflow: hidden;
    }
    .register-main::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
      background-size: 52px 52px;
      mask-image: linear-gradient(to bottom, black, transparent 80%);
      pointer-events: none;
    }
    .register-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 48px;
      align-items: start;
      max-width: 1240px;
      width: 100%;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
    @media (min-width: 900px) {
      .register-layout { grid-template-columns: repeat(2, 1fr); gap: 72px; }
    }
    .login-main {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 64px 16px;
    }
    .login-main .register-layout {
      max-width: 480px;
      width: 100%;
      margin: 0;
    }
    @media (min-width: 900px) {
      .login-main .register-layout { grid-template-columns: 1fr; }
    }

    /* Left side - value prop */
    .value-prop {
      display: none;
    }
    @media (min-width: 900px) {
      .value-prop { display: block; }
    }
    .value-prop h1 {
      font-size: 42px;
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      margin-bottom: 20px;
    }
    .value-prop p {
      font-size: 17px;
      color: var(--text-secondary);
      line-height: 1.7;
      margin-bottom: 40px;
    }
    .value-features {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .value-feature {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .value-feature-icon {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-md);
      background: rgba(var(--accent-rgb), 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-start);
      flex-shrink: 0;
    }
    .value-feature h4 {
      font-size: 15px;
      font-weight: 600;
      margin-bottom: 4px;
    }
    .value-feature p {
      font-size: 14px;
      color: var(--text-muted);
      margin: 0;
      line-height: 1.5;
    }

    /* Right side - form card */
    .register-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-xl);
      padding: 40px;
      backdrop-filter: blur(20px);
      position: relative;
      overflow: hidden;
    }
    .register-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.4), transparent);
    }
    @media (max-width: 480px) {
      .register-card { padding: 28px 20px; }
    }
    .register-header {
      text-align: center;
      margin-bottom: 32px;
    }
    .register-header h2 {
      font-size: 26px;
      font-weight: 800;
      margin-bottom: 8px;
      letter-spacing: -0.02em;
    }
    .register-header p {
      font-size: 15px;
      color: var(--text-secondary);
    }

    .social-login {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin-bottom: 24px;
    }
    .register-main .btn-social {
      background: var(--bg-glass);
      color: var(--text-primary);
      border: 1px solid var(--border-subtle);
      padding: 12px 20px;
      font-size: 14px;
      font-weight: 500;
      width: 100%;
      gap: 10px;
    }
    .register-main .btn-social:hover {
      border-color: var(--border-hover);
      background: var(--surface-hover);
    }
    .register-main .btn-social:only-child {
      grid-column: 1 / -1;
    }
    .social-divider {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 24px;
      color: var(--text-muted);
      font-size: 13px;
    }
    .social-divider::before,
    .social-divider::after {
      content: '';
      flex: 1;
      height: 1px;
      background: var(--border-subtle);
    }

    /* Form */
    .register-main .form-group {
      margin-bottom: 16px;
    }
    .register-main .form-label {
      display: block;
      font-size: 12px;
      font-weight: 600;
      color: var(--text-secondary);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .register-main .form-input {
      width: 100%;
      height: auto;
      padding: 10px 14px;
      background: var(--bg-glass);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 14px;
      font-family: inherit;
      transition: all var(--transition-base);
      outline: none;
    }
    .register-main .form-input::placeholder {
      color: var(--text-muted);
      opacity: 0.7;
    }
    .register-main .form-input:hover {
      border-color: var(--border-hover);
    }
    .register-main .form-input:focus {
      border-color: rgba(var(--accent-rgb), 0.6);
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
      background: var(--surface-hover);
    }
    .register-main .form-input.error {
      border-color: var(--accent-red);
      box-shadow: 0 0 0 3px rgba(248,113,113,0.15);
      animation: shake 0.4s ease;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 480px) {
      .form-row { grid-template-columns: 1fr 1fr; }
    }

    .password-wrapper {
      position: relative;
    }
    .password-toggle {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--text-muted);
      cursor: pointer;
      padding: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color var(--transition-fast);
    }
    .password-toggle:hover { color: var(--text-secondary); }

    .password-strength {
      margin-top: 8px;
      display: none;
    }
    .password-strength.visible { display: block; }
    .strength-bars {
      display: flex;
      gap: 4px;
      margin-bottom: 6px;
    }
    .strength-bar {
      flex: 1;
      height: 3px;
      border-radius: 2px;
      background: var(--border-subtle);
      transition: background var(--transition-base);
    }
    .strength-bar.weak { background: var(--accent-red); }
    .strength-bar.fair { background: var(--accent-amber); }
    .strength-bar.good { background: var(--accent-cyan); }
    .strength-bar.strong { background: var(--accent-green); }
    .strength-text {
      font-size: 12px;
      color: var(--text-muted);
    }

    .checkbox-wrapper {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 24px;
      cursor: pointer;
    }
    .checkbox-wrapper input {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
    }
    .checkbox-custom {
      width: 18px;
      height: 18px;
      border: 1px solid var(--border-subtle);
      border-radius: 5px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 2px;
      transition: all var(--transition-fast);
      cursor: pointer;
    }
    .checkbox-wrapper:hover .checkbox-custom {
      border-color: var(--border-hover);
    }
    .checkbox-wrapper input:checked + .checkbox-custom {
      background: var(--accent-start);
      border-color: transparent;
    }
    .checkbox-wrapper input:focus + .checkbox-custom {
      box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
    }
    .checkbox-label {
      font-size: 13px;
      color: var(--text-secondary);
      line-height: 1.5;
      cursor: pointer;
    }
    .checkbox-label a {
      color: var(--accent-start);
      text-decoration: none;
      font-weight: 500;
    }
    .checkbox-label a:hover {
      text-decoration: underline;
    }

    /* Submit */
    .register-main .submit-btn {
      position: relative;
      overflow: hidden;
      width: 100%;
    }
    .submit-btn .spinner {
      display: none;
      width: 18px;
      height: 18px;
      border: 2px solid rgba(255,255,255,0.3);
      border-top-color: white;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
    .submit-btn.loading .spinner { display: block; }
    .submit-btn.loading .btn-text { opacity: 0; }
    .submit-btn .btn-text {
      transition: opacity var(--transition-fast);
    }

    .signin-prompt {
      text-align: center;
      margin-top: 24px;
      font-size: 14px;
      color: var(--text-secondary);
    }
    .signin-prompt a {
      color: var(--accent-start);
      text-decoration: none;
      font-weight: 600;
    }
    .signin-prompt a:hover { text-decoration: underline; }

    .form-error {
      display: none;
      align-items: center;
      gap: 8px;
      padding: 12px 16px;
      background: rgba(248,113,113,0.08);
      border: 1px solid rgba(248,113,113,0.2);
      border-radius: var(--radius-md);
      color: var(--accent-red);
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 20px;
    }
    .form-error.visible { display: flex; }

    .field-error {
      display: none;
      margin-top: 6px;
      font-size: 12px;
      font-weight: 500;
      color: var(--accent-red);
    }
    .field-error.visible { display: block; }

    .toast-container {
      position: fixed;
      top: 80px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      width: calc(100% - 40px);
      max-width: 400px;
    }
    .toast {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      width: 100%;
      max-width: 400px;
      padding: 12px 16px;
      background: var(--bg-secondary);
      border: 1px solid var(--border-hover);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 13px;
      font-weight: 500;
      box-shadow: var(--shadow-lg);
      animation: toast-in 0.3s ease;
    }
    .toast-error { border-color: rgba(248,113,113,0.35); }
    .toast-error .toast-icon { color: var(--accent-red); }
    .toast-success { border-color: rgba(52,211,153,0.35); }
    .toast-success .toast-icon { color: var(--accent-green); }
    .toast-icon { display: flex; flex-shrink: 0; }
    .toast-msg { flex: 1; }
    .toast-hide {
      opacity: 0;
      transform: translateY(-16px);
      transition: all 0.3s ease;
    }
    @keyframes toast-in {
      from { opacity: 0; transform: translateY(-16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .success-state {
      display: none;
      text-align: center;
      padding: 20px 0;
    }
    .success-state.visible { display: block; }
    .success-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(52,211,153,0.1);
      border: 1px solid rgba(52,211,153,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
      color: var(--accent-green);
    }
    .success-state h3 {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .success-state p {
      color: var(--text-secondary);
      font-size: 15px;
      margin-bottom: 24px;
    }
    .success-state .btn {
      width: auto;
    }

    /* Floating elements */
    .float-element {
      position: absolute;
      pointer-events: none;
      opacity: 0.4;
    }
    .float-1 { top: 10%; left: 5%; animation-delay: 0s; }
    .float-2 { top: 20%; right: 8%; animation-delay: 1s; }
    .float-3 { bottom: 20%; left: 8%; animation-delay: 2s; }

    /* Reduced motion */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
      html { scroll-behavior: auto; }
    }

    /* ── Blog Post Page ─────────────────────────────────────── */

    .blog-post-page {
      min-height: 100vh;
      padding-top: 40px;
      padding-bottom: 80px;
    }

    .blog-container {
      max-width: 720px;
      margin: 0 auto;
    }

    .blog-back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      margin-bottom: 32px;
      transition: color var(--transition-fast);
    }
    .blog-back-link:hover {
      color: var(--accent-start);
    }

    .blog-header {
      margin-bottom: 40px;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
    .blog-meta-sep { opacity: 0.4; }

    .blog-title {
      font-size: clamp(2rem, 5vw, 2.75rem);
      font-weight: 800;
      line-height: 1.15;
      color: var(--text-primary);
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    .blog-excerpt {
      font-size: 1.125rem;
      line-height: 1.6;
      color: var(--text-secondary);
    }

    .blog-cover {
      margin-bottom: 40px;
      border-radius: var(--radius-lg);
      overflow: hidden;
      aspect-ratio: 16 / 9;
      background: var(--bg-tertiary);
    }
    .blog-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .blog-content {
      font-size: 1.0625rem;
      line-height: 1.75;
      color: var(--text-primary);
    }
    .blog-content h2 {
      font-size: 1.625rem;
      font-weight: 700;
      margin-top: 48px;
      margin-bottom: 16px;
      letter-spacing: -0.01em;
    }
    .blog-content h3 {
      font-size: 1.3125rem;
      font-weight: 600;
      margin-top: 36px;
      margin-bottom: 12px;
    }
    .blog-content p {
      margin-bottom: 20px;
    }
    .blog-content a {
      color: var(--accent-start);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .blog-content a:hover {
      color: var(--accent-end);
    }
    .blog-content strong {
      font-weight: 600;
    }
    .blog-content img {
      max-width: 100%;
      height: auto;
      border-radius: var(--radius-md);
    }

    .content-figure {
      margin: 32px 0;
    }
    .content-figure img {
      width: 100%;
      border-radius: var(--radius-md);
    }
    .content-figure figcaption {
      margin-top: 10px;
      font-size: 0.875rem;
      color: var(--text-muted);
      text-align: center;
    }

    .content-code {
      background: var(--bg-tertiary);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-md);
      padding: 20px 24px;
      overflow-x: auto;
      margin: 28px 0;
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.875rem;
      line-height: 1.6;
    }
    .content-code code {
      font-family: inherit;
    }

    .content-list {
      margin: 20px 0;
      padding-left: 24px;
    }
    .content-list li {
      margin-bottom: 8px;
      padding-left: 4px;
    }

    .content-quote {
      margin: 32px 0;
      padding: 20px 24px;
      border-left: 3px solid var(--accent-start);
      background: var(--surface-soft);
      border-radius: 0 var(--radius-md) var(--radius-md) 0;
    }
    .content-quote p {
      font-style: italic;
      color: var(--text-secondary);
      margin-bottom: 0;
    }
    .content-quote footer {
      margin-top: 10px;
      font-size: 0.875rem;
      color: var(--text-muted);
      font-style: normal;
    }

    .content-table-wrap {
      margin: 32px 0;
      overflow-x: auto;
    }
    .content-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9375rem;
    }
    .content-table th,
    .content-table td {
      text-align: left;
      padding: 10px 14px;
      border: 1px solid var(--border-subtle);
      vertical-align: top;
    }
    .content-table thead th {
      background: var(--surface-soft);
      font-weight: 700;
      white-space: nowrap;
    }
    .content-table tbody tr:nth-child(even) td {
      background: var(--surface-soft);
    }

    .content-embed {
      margin: 32px 0;
    }
    .content-embed iframe {
      width: 100%;
      aspect-ratio: 16 / 9;
      border-radius: var(--radius-md);
    }
    .embed-caption {
      margin-top: 8px;
      font-size: 0.875rem;
      color: var(--text-muted);
      text-align: center;
    }

    .content-divider {
      border: none;
      border-top: 1px solid var(--border-subtle);
      margin: 40px 0;
    }

    /* ==========================================================================
       Theme toggle
       ========================================================================== */
    .theme-toggle {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      padding: 0;
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-sm);
      background: var(--surface-muted);
      color: var(--text-secondary);
      cursor: pointer;
      transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
    }
    .theme-toggle:hover {
      color: var(--text-primary);
      border-color: var(--border-hover);
      background: var(--surface-hover);
    }
    .theme-toggle svg { width: 17px; height: 17px; display: block; }
    /* Show the icon for the theme the click would GIVE you, not the current one:
       a sun while dark means "click for light". */
    .theme-toggle .icon-sun { display: none; }
    .theme-toggle .icon-moon { display: block; }
    :root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
    :root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
      :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    }
    /* An explicit light choice on an OS set to dark has to win over the block
       above, which is why this repeats after it. */
    :root[data-theme="light"] .theme-toggle .icon-sun { display: none; }
    :root[data-theme="light"] .theme-toggle .icon-moon { display: block; }

    .mobile-menu .theme-toggle-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding-top: 12px;
      margin-top: 4px;
      border-top: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      font-size: 0.9375rem;
    }

    /* ==========================================================================
       Shared page header — used by every non-home page
       ========================================================================== */
    .page-hero {
      position: relative;
      padding: 48px 0 56px;
      overflow: hidden;
    }
    .page-hero::before {
      content: '';
      position: absolute;
      top: -30%;
      left: 50%;
      width: min(900px, 120%);
      height: 420px;
      transform: translateX(-50%);
      background: radial-gradient(ellipse at center, var(--hero-glow), transparent 68%);
      pointer-events: none;
      z-index: 0;
    }
    .page-hero > .container { position: relative; z-index: 1; }
    .page-hero-eyebrow {
      display: block;
      margin-bottom: 14px;
      font-size: 0.8125rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent-start);
    }
    .page-hero-title {
      font-size: clamp(2.25rem, 5vw, 3.5rem);
      font-weight: 800;
      line-height: 1.08;
      letter-spacing: -0.03em;
      margin-bottom: 18px;
    }
    .page-hero-lead {
      max-width: 60ch;
      font-size: 1.125rem;
      line-height: 1.7;
      color: var(--text-secondary);
    }

    /* ==========================================================================
       Content hub — index pages for blog, features, learn, solutions, …
       ========================================================================== */
    .hub-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 20px;
      margin: 0 0 40px;
      padding: 0;
      list-style: none;
    }
    .hub-item {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 26px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-lg);
      transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    }
    .hub-item:hover {
      border-color: var(--border-hover);
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
    }
    .hub-item::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      background: rgba(var(--accent-rgb), 0.28);
      opacity: 0;
      transition: opacity var(--transition-base);
      pointer-events: none;
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask-composite: exclude;
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      padding: 1px;
    }
    .hub-item:hover::after { opacity: 0.5; }

    .hub-link {
      font-size: 1.125rem;
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: -0.01em;
      color: var(--text-primary);
      text-decoration: none;
    }
    /* Stretch the title's hit area over the whole card. */
    .hub-link::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      z-index: 1;
    }
    .hub-item:hover .hub-link { color: var(--accent-start); }

    .hub-item time {
      order: -1;
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--text-muted);
    }
    /* The separator only made sense on one inline run of text. */
    .hub-item .blog-meta-sep { display: none; }

    .hub-excerpt {
      margin: 0;
      font-size: 0.9375rem;
      line-height: 1.65;
      color: var(--text-secondary);
    }

    .hub-empty {
      padding: 48px 24px;
      text-align: center;
      color: var(--text-muted);
      background: var(--surface-soft);
      border: 1px dashed var(--border-subtle);
      border-radius: var(--radius-lg);
    }

    @media (max-width: 640px) {
      .hub-list { grid-template-columns: 1fr; gap: 16px; }
      .hub-item { padding: 20px; }
      .page-hero { padding: 32px 0 40px; }
    }

    /* Shared breadcrumb. Mirrors .tool-crumbs in tools.css, which stays as it is
       because that sheet only loads on tool pages. */
    .breadcrumb {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 20px;
      font-size: 0.875rem;
      color: var(--text-muted);
    }
    .breadcrumb a { color: var(--text-muted); text-decoration: none; }
    .breadcrumb a:hover { color: var(--accent-start); }

    .hub-page { min-height: 70vh; }
    /* The global `section` rule adds its own padding on top, which
       double-spaces this straight after .page-hero's own bottom padding. */
    .hub-body { padding: 8px 0 96px; }
