/* ═══════════════════════════════════════════════════════
   Hubson Ghost Theme — Design System from Hubson Landing
   ═══════════════════════════════════════════════════════ */

/* ── Font Face ────────────────────────────────────────── */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-latin-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-latin-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-latin-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-latin-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-latin-800.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Reset ────────────────────────────────────────────── */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    font-family: 'Inter', var(--gh-font-body, system-ui, -apple-system, sans-serif);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

/* ── Design Tokens ────────────────────────────────────── */

:root {
    --color-primary: #7c6eff;
    --color-primary-hover: #6b5ce6;
    --color-primary-deep: #5a4bd4;
    --color-primary-light: rgba(124, 110, 255, 0.08);
    --color-primary-muted: rgba(124, 110, 255, 0.15);

    --color-text: #111827;
    --color-text-secondary: #4b5563;
    --color-text-muted: #6b7280;

    --color-background: #ffffff;
    --color-surface: #f9fafb;
    --color-surface-2: #f3f4f6;
    --color-surface-3: #e5e7eb;
    --color-border: #e5e7eb;

    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    --color-dark: #0f172a;
    --color-dark-surface: #1e293b;

    --font-sans: 'Inter', var(--gh-font-body, system-ui, -apple-system, sans-serif);
    --font-heading: 'Inter', var(--gh-font-heading, system-ui, -apple-system, sans-serif);
    --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;

    --max-width: 1140px;
    --max-width-narrow: 780px;
    --max-width-content: 720px;
    --header-height: 64px;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 4px 24px rgba(124, 110, 255, 0.2);
}

/* ── Dark Mode ────────────────────────────────────────── */

body.is-dark,
[data-color-scheme="dark"] body {
    --color-text: #f1f5f9;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-background: #0f172a;
    --color-surface: #1e293b;
    --color-surface-2: #334155;
    --color-surface-3: #475569;
    --color-border: #334155;
}

@media (prefers-color-scheme: dark) {
    [data-color-scheme="auto"] body {
        --color-text: #f1f5f9;
        --color-text-secondary: #94a3b8;
        --color-text-muted: #64748b;
        --color-background: #0f172a;
        --color-surface: #1e293b;
        --color-surface-2: #334155;
        --color-surface-3: #475569;
        --color-border: #334155;
    }
}

/* ── Typography ───────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

/* ── Buttons ──────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    white-space: nowrap;
    text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-surface);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
}

/* ── Site Header ──────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    height: var(--header-height);
}

body.is-dark .site-header,
[data-color-scheme="dark"] .site-header {
    background: rgba(15, 23, 42, 0.95);
}

@media (prefers-color-scheme: dark) {
    [data-color-scheme="auto"] .site-header {
        background: rgba(15, 23, 42, 0.95);
    }
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.4rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.nav-links > li > a {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.15s;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-sm);
}

.nav-links > li > a:hover {
    color: var(--color-text);
    background: var(--color-surface);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 0.8rem;
    min-width: 320px;
    z-index: 200;
}

.nav-dropdown:hover .nav-dropdown-panel {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem 1.6rem;
    border-radius: var(--radius-md);
    transition: background 0.12s;
}

.dropdown-item:hover {
    background: var(--color-surface);
}

.dropdown-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 90, 232, 0.10), rgba(6, 182, 212, 0.06));
    border: 1px solid rgba(79, 90, 232, 0.18);
    border-radius: 8px;
    color: var(--hub-brand);
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.dropdown-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.dropdown-item:hover .dropdown-icon {
    background: linear-gradient(135deg, var(--hub-brand), var(--hub-brand-deep));
    border-color: transparent;
    color: #fff;
    transform: scale(1.04);
    box-shadow: 0 4px 12px -2px rgba(79, 90, 232, 0.45);
}

.dropdown-item strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    letter-spacing: 0;
}

.dropdown-item div > span {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-actions .btn {
    padding: 0.8rem 2rem;
    font-size: 1.3rem;
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
}

.nav-mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-background);
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu-inner {
    padding: 2.4rem;
    max-width: 480px;
    margin: 0 auto;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-menu-links a {
    display: block;
    padding: 1.2rem 1.6rem;
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: background 0.15s, color 0.15s;
}

.mobile-menu-links a:hover {
    background: var(--color-surface);
    color: var(--color-text);
}

.mobile-menu-actions {
    margin-top: 2.4rem;
    padding-top: 2.4rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mobile-menu-actions .btn {
    width: 100%;
    justify-content: center;
}

/* ── Site Footer ──────────────────────────────────────── */

.site-footer {
    padding: 6.4rem 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.4rem;
    display: grid;
    grid-template-columns: 1.5fr 3fr;
    gap: 6.4rem;
}

.footer-brand img {
    height: 26px;
    width: auto;
}

.footer-brand p {
    margin-top: 1.6rem;
    color: var(--color-text-secondary);
    font-size: 1.4rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-address {
    margin-top: 2.4rem !important;
    font-size: 1.3rem !important;
    color: #9ca3af !important;
    line-height: 1.5 !important;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2.4rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 1.6rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col a {
    display: block;
    padding: 0.4rem 0;
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    transition: color 0.15s;
}

.footer-col a:hover {
    color: var(--color-text);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 4.8rem auto 0;
    padding: 2.4rem 2.4rem;
    border-top: 1px solid var(--color-border);
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════
   HUBSON LANDING — Static Marketing Pages
   ═══════════════════════════════════════════════════════ */

.gh-main:has(> .hubson-marketing) {
    padding-top: 0;
}

.hubson-marketing {
    min-height: 60vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 0 2.4rem;
}

.section {
  padding: 9.6rem 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-dark {
  background: var(--color-dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-header {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto 6.4rem;
}

.section-header p {
  margin-top: 1.6rem;
  font-size: 1.8rem;
  color: var(--color-text-secondary);
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary) 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-white {
  background: #fff;
  color: var(--color-text);
}

.btn-white:hover {
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1.6rem 3.2rem;
  font-size: 1.7rem;
  border-radius: var(--radius-md);
}

.btn-xl {
  padding: 1.8rem 4rem;
  font-size: 1.8rem;
  border-radius: var(--radius-md);
  letter-spacing: -0.01em;
}

/* ── Hero ──────────────────────────────────────────── */

.hero {
  padding-top: calc(var(--header-height) + 8rem);
  padding-bottom: 9.6rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.6rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 2.4rem;
}

.hero h1 {
  max-width: 80rem;
  margin: 0 auto 2.4rem;
}

.hero-subtitle {
  max-width: 62rem;
  margin: 0 auto 4rem;
  font-size: 1.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 4.8rem;
  font-size: 1.4rem;
  color: var(--color-text-muted);
}

/* Hero visual (Decision Stack demo placeholder) */
.hero-visual {
  max-width: 90rem;
  margin: 6.4rem auto 0;
  border-radius: var(--radius-xl);
  border: 0.1rem solid var(--color-border);
  background: var(--color-surface);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

/* ── Problem Wedge ─────────────────────────────────── */

.wedge {
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
}

.wedge blockquote {
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  border-left: 0.4rem solid var(--color-primary);
  padding-left: 2.4rem;
  text-align: left;
  margin: 0 auto;
}

/* ── Feature Grid ──────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.feature-card {
  padding: 3.2rem;
  border-radius: var(--radius-lg);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--color-primary-muted);
  box-shadow: 0 0.8rem 3.2rem rgba(124, 110, 255, 0.08);
}

.feature-icon {
  width: 4.8rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.feature-card h3 {
  margin-bottom: 1.2rem;
}

.feature-card p {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* ── Pillar Section (Platform pages) ───────────────── */

.pillar-hero {
  padding-top: calc(var(--header-height) + 6.4rem);
  padding-bottom: 6.4rem;
  text-align: center;
}

.pillar-hero .tag {
  display: inline-block;
  padding: 0.4rem 1.4rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  margin-bottom: 1.6rem;
}

.pillar-hero h1 {
  margin-bottom: 2rem;
}

.pillar-hero p {
  max-width: 58rem;
  margin: 0 auto;
  font-size: 1.8rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.pillar-visual {
  max-width: 90rem;
  margin: 4.8rem auto 0;
  border-radius: var(--radius-xl);
  border: 0.1rem solid var(--color-border);
  background: var(--color-surface);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
}

/* Split section (text + visual) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: center;
}

.split.reversed {
  direction: rtl;
}

.split.reversed > * {
  direction: ltr;
}

.split-content {
  max-width: 48rem;
}

.split-content .tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  margin-bottom: 1.6rem;
}

.split-content h2 {
  margin-bottom: 1.6rem;
}

.split-content p {
  color: var(--color-text-secondary);
  margin-bottom: 2.4rem;
  font-size: 1.7rem;
  line-height: 1.7;
}

.split-visual {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 0.1rem solid var(--color-border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.4rem;
}

/* ── Stats Strip ───────────────────────────────────── */

.stats-strip {
  display: flex;
  justify-content: center;
  gap: 4.8rem;
  flex-wrap: wrap;
  padding: 3.2rem 0;
  border-top: 0.1rem solid var(--color-border);
  border-bottom: 0.1rem solid var(--color-border);
}

.stat-item {
  text-align: center;
}

.stat-item .stat-value {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.stat-item .stat-label {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

/* ── Template Grid (App Store) ─────────────────────── */

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.template-card {
  padding: 2.8rem;
  border-radius: var(--radius-lg);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  border-color: var(--color-primary-muted);
  box-shadow: var(--shadow-md);
}

.template-card-icon {
  width: 5.6rem;
  height: 5.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-size: 2.8rem;
  margin-bottom: 2rem;
}

.template-card h3 {
  margin-bottom: 0.8rem;
}

.template-card p {
  color: var(--color-text-secondary);
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1.6rem;
  flex: 1;
}

.template-includes {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 2rem;
  padding-top: 1.6rem;
  border-top: 0.1rem solid var(--color-border);
}

.template-includes strong {
  color: var(--color-text);
  font-weight: 700;
}

.template-card .btn {
  width: 100%;
}

/* ── Integration Grid ──────────────────────────────── */

.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.integration-card {
  padding: 2.4rem;
  border-radius: var(--radius-md);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
  text-align: center;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.integration-card:hover {
  border-color: var(--color-primary-muted);
  box-shadow: var(--shadow-sm);
}

.integration-card-icon {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
}

.integration-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.integration-card p {
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

/* ── Comparison Table ──────────────────────────────── */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.1rem solid var(--color-border);
}

.comparison-table thead {
  background: var(--color-surface);
}

.comparison-table th,
.comparison-table td {
  padding: 1.6rem 2.4rem;
  text-align: left;
  border-bottom: 0.1rem solid var(--color-border);
  font-size: 1.5rem;
}

.comparison-table th {
  font-weight: 700;
  font-size: 1.4rem;
}

.comparison-table th:first-child {
  width: 40%;
}

.comparison-table .check {
  color: var(--color-success);
  font-weight: 700;
}

.comparison-table .cross {
  color: var(--color-text);
  font-weight: 400;
}

.comparison-table .cross::first-letter {
  color: var(--color-error);
}

.comparison-table .partial {
  color: var(--color-text);
  font-weight: 400;
}

.comparison-table .partial::first-letter {
  color: var(--color-warning);
}

/* Hubson column gets subtle blurple tint */
.comparison-table td:nth-child(2) {
  background: rgba(124, 110, 255, 0.03);
}

.comparison-table th:nth-child(2) {
  background: rgba(124, 110, 255, 0.06);
}

/* ── Pricing ───────────────────────────────────────── */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  align-items: start;
}

.pricing-card {
  padding: 4rem 3.2rem;
  border-radius: var(--radius-lg);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.4rem 1.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.pricing-desc {
  font-size: 1.4rem;
  color: var(--color-text-muted);
  margin-bottom: 2.4rem;
}

.pricing-amount {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.pricing-amount span {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pricing-period {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  margin-bottom: 3.2rem;
}

.pricing-features {
  margin-bottom: 3.2rem;
}

.pricing-features li {
  padding: 0.8rem 0;
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.pricing-features li::before {
  content: '\2713';
  color: var(--color-success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

/* ── CTA Banner ────────────────────────────────────── */

.cta-banner {
  text-align: center;
  padding: 8rem 2.4rem;
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-xl);
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1.6rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 52rem;
  margin: 0 auto 3.2rem;
  font-size: 1.7rem;
}

.cta-banner .btn-primary:hover {
  background: var(--color-primary-hover);
}

/* ── Security Checklist ────────────────────────────── */

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.2rem;
}

.security-card {
  padding: 3.2rem;
  border-radius: var(--radius-lg);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
}

.security-card h3 {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.security-card p {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* ── FAQ ───────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
  max-width: 90rem;
  margin: 0 auto;
}

.faq-item {
  padding: 2.4rem;
  border-radius: var(--radius-md);
  border: 0.1rem solid var(--color-border);
  background: var(--color-background);
}

.faq-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.faq-item p {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* ── Concierge callout ─────────────────────────────── */

.concierge-callout {
  margin-top: 4.8rem;
  padding: 3.2rem;
  border-radius: var(--radius-lg);
  border: 0.2rem dashed var(--color-primary-muted);
  background: var(--color-primary-light);
  text-align: center;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.concierge-callout h3 {
  margin-bottom: 0.8rem;
}

.concierge-callout p {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* ── 404 Page ──────────────────────────────────────── */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.4rem;
}

.error-page h1 {
  font-size: 9.6rem;
  color: var(--color-primary);
  margin-bottom: 1.6rem;
}

.error-page p {
  color: var(--color-text-secondary);
  margin-bottom: 3.2rem;
  font-size: 1.8rem;
}

/* ── Responsive ────────────────────────────────────── */

@media (max-width: 102.4rem) {
  .features-grid,
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: span 2;
    max-width: 48rem;
    margin: 0 auto;
  }

  .integration-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split { gap: 4rem; }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 76.8rem) {
  .section { padding: 6.4rem 0; }

  .nav-links,
  .nav-actions { display: none; }
  .nav-mobile-toggle { display: flex; }

  .hero {
    padding-top: calc(var(--header-height) + 4.8rem);
    padding-bottom: 6.4rem;
  }

  .hero h1 { font-size: 3.2rem; }
  .hero-subtitle { font-size: 1.6rem; }

  .features-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .split.reversed { direction: ltr; }
  .split-visual { order: -1; }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 40rem;
    margin: 0 auto;
  }

  .pricing-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .stats-strip {
    gap: 3.2rem;
  }

  .faq-grid { grid-template-columns: 1fr; }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1.2rem 1.6rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 48rem) {
  .container {
    padding-left: 1.6rem;
    padding-right: 1.6rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 32rem;
  }

  .integration-grid {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .stats-strip {
    flex-direction: column;
    gap: 2.4rem;
  }
}

/* ═══════════════════════════════════════════════════════
   GHOST BLOG — Layout & Post Index
   ═══════════════════════════════════════════════════════ */

.gh-main {
    padding-top: var(--header-height);
    min-height: 60vh;
}

/* ── Homepage / Post Feed ─────────────────────────────── */

.gh-homepage-header {
    text-align: center;
    padding: 8rem 2.4rem 6.4rem;
    max-width: 640px;
    margin: 0 auto;
}

.gh-homepage-header h1 {
    margin-bottom: 1.6rem;
}

.gh-homepage-header p {
    font-size: 1.8rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Featured posts */
.gh-featured {
    max-width: var(--max-width);
    margin: 0 auto 6.4rem;
    padding: 0 2.4rem;
}

.gh-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem;
    background: var(--color-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    margin-bottom: 2.4rem;
}

.gh-featured-card-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gh-featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gh-featured-card-content .gh-card-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: 1.6rem;
}

.gh-featured-card-content h2 {
    margin-bottom: 1.2rem;
    font-size: clamp(1.875rem, 3vw, 2.25rem);
}

.gh-featured-card-content h2 a {
    transition: color 0.15s;
}

.gh-featured-card-content h2 a:hover {
    color: var(--color-primary);
}

.gh-featured-card-content p {
    color: var(--color-text-secondary);
    font-size: 1.6rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.gh-featured-card-content .gh-card-meta {
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

/* Post feed */
.gh-feed {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.4rem 9.6rem;
}

.gh-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.gh-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-background);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.gh-card:hover {
    border-color: var(--color-primary-muted);
    box-shadow: 0 8px 32px rgba(124, 110, 255, 0.08);
}

.gh-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.gh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gh-card:hover .gh-card-image img {
    transform: scale(1.02);
}

.gh-card-content {
    padding: 2.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gh-card-tag {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    align-self: flex-start;
}

.gh-card-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}

.gh-card-title a {
    transition: color 0.15s;
}

.gh-card-title a:hover {
    color: var(--color-primary);
}

.gh-card-excerpt {
    color: var(--color-text-secondary);
    font-size: 1.4rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh-card-meta {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.gh-card-meta time {
    color: var(--color-text-muted);
}

.gh-card-meta .gh-card-author {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.gh-card-meta .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

/* ── Pagination ───────────────────────────────────────── */

.gh-pagination {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2.4rem 9.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.4rem;
}

.gh-pagination a {
    padding: 1rem 2rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    border-radius: var(--radius-md);
    transition: background 0.15s;
}

.gh-pagination a:hover {
    background: var(--color-primary-light);
}

.gh-pagination .page-number {
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

/* ═══════════════════════════════════════════════════════
   GHOST BLOG — Single Post / Page
   ═══════════════════════════════════════════════════════ */

.gh-article {
    padding: 8rem 2.4rem 9.6rem;
}

.gh-article-header {
    max-width: var(--max-width-content);
    margin: 0 auto 4.8rem;
    text-align: center;
}

.gh-article-tag {
    display: inline-block;
    padding: 0.4rem 1.4rem;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
}

.gh-article-tag a {
    color: inherit;
}

.gh-article-header h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

.gh-article-excerpt {
    font-size: 2rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2.4rem;
}

.gh-article-meta {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    flex-wrap: wrap;
}

.gh-article-meta .gh-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gh-author-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.gh-author-name {
    font-weight: 600;
    color: var(--color-text);
}

.gh-article-meta .sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-text-muted);
}

/* Featured image */
.gh-article-image {
    max-width: var(--max-width);
    margin: 0 auto 4.8rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gh-article-image img {
    width: 100%;
    height: auto;
}

/* ── Post Content ─────────────────────────────────────── */

.gh-content {
    max-width: var(--max-width-content);
    margin: 0 auto;
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--color-text);
    word-break: break-word;
    overflow-wrap: break-word;
}

.gh-content > * + * {
    margin-top: 2.8rem;
}

.gh-content p {
    color: var(--color-text-secondary);
}

.gh-content a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    transition: color 0.15s;
}

.gh-content a:hover {
    color: var(--color-primary-hover);
}

/* Headings in content */
.gh-content h2 {
    font-size: 2.8rem;
    margin-top: 5.6rem;
    margin-bottom: 1.6rem;
}

.gh-content h3 {
    font-size: 2.2rem;
    margin-top: 4.8rem;
    margin-bottom: 1.2rem;
}

.gh-content h4 {
    font-size: 1.8rem;
    margin-top: 4rem;
    margin-bottom: 1rem;
}

.gh-content h2 + *,
.gh-content h3 + *,
.gh-content h4 + * {
    margin-top: 0;
}

/* Lists */
.gh-content ul,
.gh-content ol {
    padding-left: 2.4rem;
    color: var(--color-text-secondary);
}

.gh-content ul {
    list-style: disc;
}

.gh-content ol {
    list-style: decimal;
}

.gh-content li + li {
    margin-top: 0.8rem;
}

.gh-content li > ul,
.gh-content li > ol {
    margin-top: 0.8rem;
}

/* Blockquote */
.gh-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 2.4rem;
    font-size: 2rem;
    font-style: italic;
    color: var(--color-text);
    margin: 4rem 0;
}

.gh-content blockquote p {
    color: var(--color-text);
}

/* Code */
.gh-content code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--color-surface);
    padding: 0.2em 0.5em;
    border-radius: 4px;
    border: 1px solid var(--color-border);
}

.gh-content pre {
    background: var(--color-dark);
    color: #e2e8f0;
    padding: 2.4rem;
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: 1.5rem;
    line-height: 1.7;
}

.gh-content pre code {
    background: none;
    padding: 0;
    border: none;
    font-size: inherit;
    color: inherit;
}

/* Tables */
.gh-content table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    font-size: 1.6rem;
}

.gh-content thead {
    background: var(--color-surface);
}

.gh-content th,
.gh-content td {
    padding: 1.2rem 1.6rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.gh-content th {
    font-weight: 700;
    color: var(--color-text);
}

.gh-content td {
    color: var(--color-text-secondary);
}

/* Horizontal rule */
.gh-content hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 4.8rem 0;
}

/* Figures / Images */
.gh-content figure {
    margin: 3.2rem 0;
}

.gh-content figcaption {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-text-muted);
}

/* ── Koenig Card Width Overrides ──────────────────────── */

.gh-content .kg-width-wide {
    max-width: min(var(--max-width), calc(100vw - 4.8rem));
    margin-left: calc(50% - min(var(--max-width), calc(100vw - 4.8rem)) / 2);
    margin-right: calc(50% - min(var(--max-width), calc(100vw - 4.8rem)) / 2);
}

.gh-content .kg-width-full {
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Image card */
.gh-content .kg-image-card img,
.gh-content .kg-image {
    border-radius: var(--radius-md);
}

.gh-content .kg-width-full img {
    border-radius: 0;
}

/* Gallery card */
.gh-content .kg-gallery-card {
    margin: 3.2rem 0;
}

.gh-content .kg-gallery-image img {
    border-radius: var(--radius-sm);
}

/* Bookmark card */
.gh-content .kg-bookmark-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gh-content .kg-bookmark-container {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.gh-content .kg-bookmark-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gh-content .kg-bookmark-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.gh-content .kg-bookmark-description {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    margin-top: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gh-content .kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    font-size: 1.3rem;
    color: var(--color-text-muted);
}

.gh-content .kg-bookmark-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.gh-content .kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.gh-content .kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Callout card */
.gh-content .kg-callout-card {
    padding: 2rem 2.4rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.gh-content .kg-callout-card-grey {
    background: var(--color-surface);
}

.gh-content .kg-callout-card-white {
    background: var(--color-background);
    border: 1px solid var(--color-border);
}

.gh-content .kg-callout-card-blue {
    background: rgba(59, 130, 246, 0.08);
}

.gh-content .kg-callout-card-green {
    background: rgba(34, 197, 94, 0.08);
}

.gh-content .kg-callout-card-yellow {
    background: rgba(245, 158, 11, 0.08);
}

.gh-content .kg-callout-card-red {
    background: rgba(239, 68, 68, 0.08);
}

.gh-content .kg-callout-card-pink {
    background: rgba(236, 72, 153, 0.08);
}

.gh-content .kg-callout-card-purple {
    background: rgba(124, 110, 255, 0.08);
}

.gh-content .kg-callout-card-accent {
    background: var(--color-primary-light);
}

.gh-content .kg-callout-emoji {
    font-size: 2rem;
    line-height: 1;
}

.gh-content .kg-callout-text {
    font-size: 1.6rem;
    line-height: 1.6;
}

/* Toggle card */
.gh-content .kg-toggle-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem 2.4rem;
}

.gh-content .kg-toggle-heading-text {
    font-size: 1.7rem;
    font-weight: 600;
}

.gh-content .kg-toggle-content {
    font-size: 1.6rem;
    color: var(--color-text-secondary);
    padding-top: 1.2rem;
}

/* Button card */
.gh-content .kg-button-card {
    margin: 3.2rem 0;
}

.gh-content .kg-btn {
    display: inline-flex;
    padding: 1.2rem 2.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background 0.15s, box-shadow 0.15s;
}

.gh-content .kg-btn-accent {
    background: var(--color-primary);
    color: #fff;
}

.gh-content .kg-btn-accent:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
}

/* Header card */
.gh-content .kg-header-card {
    padding: 6.4rem 4rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.gh-content .kg-header-card h2 {
    margin-top: 0;
}

.gh-content .kg-header-card-subheader {
    margin-top: 1.6rem;
    font-size: 1.8rem;
    opacity: 0.85;
}

.gh-content .kg-header-card-button {
    margin-top: 2.4rem;
    display: inline-flex;
    padding: 1.2rem 2.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
}

.gh-content .kg-style-accent {
    background: var(--color-primary);
    color: #fff;
}

.gh-content .kg-style-dark {
    background: var(--color-dark);
    color: #fff;
}

.gh-content .kg-style-light {
    background: var(--color-surface);
    color: var(--color-text);
}

/* Product card */
.gh-content .kg-product-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2.4rem;
}

/* File card */
.gh-content .kg-file-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* Embed card */
.gh-content .kg-embed-card {
    margin: 3.2rem 0;
}

.gh-content .kg-embed-card iframe {
    border-radius: var(--radius-md);
}

/* Signup card */
.gh-content .kg-signup-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gh-content .kg-signup-card-button {
    background: var(--color-primary) !important;
    border-radius: var(--radius-md) !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
}

.gh-content .kg-signup-card-button:hover {
    background: var(--color-primary-hover) !important;
}

/* ── Author Box (end of post) ─────────────────────────── */

.gh-author-box {
    max-width: var(--max-width-content);
    margin: 6.4rem auto 0;
    padding: 3.2rem;
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    display: flex;
    gap: 2.4rem;
    align-items: flex-start;
}

.gh-author-box-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.gh-author-box-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.gh-author-box-name a {
    transition: color 0.15s;
}

.gh-author-box-name a:hover {
    color: var(--color-primary);
}

.gh-author-box-bio {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ── Related Posts ────────────────────────────────────── */

.gh-related {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 9.6rem 2.4rem;
}

.gh-related h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.gh-related .gh-feed-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ── Tag / Author Archive ─────────────────────────────── */

.gh-archive-header {
    text-align: center;
    padding: 8rem 2.4rem 4.8rem;
    max-width: 640px;
    margin: 0 auto;
}

.gh-archive-header h1 {
    margin-bottom: 1.2rem;
}

.gh-archive-header p {
    font-size: 1.8rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.gh-archive-header .gh-author-image-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
}

/* ── Error Pages ──────────────────────────────────────── */

.gh-error {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2.4rem;
}

.gh-error h1 {
    font-size: 8rem;
    color: var(--color-primary);
    margin-bottom: 1.6rem;
}

.gh-error p {
    color: var(--color-text-secondary);
    margin-bottom: 3.2rem;
    font-size: 1.8rem;
}

/* ── Membership Styles ────────────────────────────────── */

.gh-subscribe-cta {
    max-width: var(--max-width-content);
    margin: 6.4rem auto;
    padding: 4.8rem;
    background: var(--color-dark);
    color: #fff;
    border-radius: var(--radius-xl);
    text-align: center;
}

.gh-subscribe-cta h2 {
    color: #fff;
    margin-bottom: 1.6rem;
}

.gh-subscribe-cta p {
    color: rgba(255, 255, 255, 0.65);
    max-width: 520px;
    margin: 0 auto 3.2rem;
    font-size: 1.7rem;
}

.gh-subscribe-form {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    max-width: 480px;
    margin: 0 auto;
}

.gh-subscribe-form input[type="email"] {
    flex: 1;
    padding: 1.2rem 1.6rem;
    font-size: 1.5rem;
    font-family: var(--font-sans);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    outline: none;
}

.gh-subscribe-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.gh-subscribe-form input[type="email"]:focus {
    border-color: var(--color-primary);
}

.gh-subscribe-form .btn-primary {
    flex-shrink: 0;
}

/* Access denied / Paywall CTA */
.gh-content-cta {
    max-width: var(--max-width-content);
    margin: 4rem auto;
    padding: 4rem;
    border: 2px dashed var(--color-primary-muted);
    background: var(--color-primary-light);
    border-radius: var(--radius-lg);
    text-align: center;
}

.gh-content-cta h3 {
    margin-bottom: 1.2rem;
}

.gh-content-cta p {
    color: var(--color-text-secondary);
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

/* Member account */
.gh-account {
    max-width: 560px;
    margin: 0 auto;
    padding: 8rem 2.4rem 9.6rem;
}

.gh-account h1 {
    margin-bottom: 3.2rem;
}

.gh-account-section {
    padding: 2.4rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.gh-account-section h3 {
    margin-bottom: 1.2rem;
}

.gh-account-section p {
    color: var(--color-text-secondary);
    font-size: 1.5rem;
}

/* ── Comments ─────────────────────────────────────────── */

.gh-comments {
    max-width: var(--max-width-content);
    margin: 6.4rem auto 0;
    padding-top: 4.8rem;
    border-top: 1px solid var(--color-border);
}

/* ── Post Navigation ──────────────────────────────────── */

.gh-post-nav {
    max-width: var(--max-width-content);
    margin: 6.4rem auto 0;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
}

.gh-post-nav-item {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.15s;
}

.gh-post-nav-item:hover {
    border-color: var(--color-primary-muted);
}

.gh-post-nav-item .gh-post-nav-label {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.8rem;
}

.gh-post-nav-item .gh-post-nav-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.gh-post-nav-next {
    text-align: right;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .gh-feed-grid,
    .gh-related .gh-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-featured-card {
        gap: 2.4rem;
        padding: 2.4rem;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .gh-feed-grid,
    .gh-related .gh-feed-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .gh-homepage-header {
        padding: 6rem 2.4rem 4rem;
    }

    .gh-homepage-header h1 {
        font-size: 2.8rem;
    }

    .gh-featured-card {
        grid-template-columns: 1fr;
    }

    .gh-article {
        padding: 6rem 2rem 6.4rem;
    }

    .gh-article-header h1 {
        font-size: 2.8rem;
    }

    .gh-article-excerpt {
        font-size: 1.7rem;
    }

    .gh-content {
        font-size: 1.7rem;
    }

    .gh-content h2 {
        font-size: 2.2rem;
    }

    .gh-content h3 {
        font-size: 1.8rem;
    }

    .gh-content .kg-width-wide {
        max-width: calc(100vw - 3.2rem);
        margin-left: calc(50% - (100vw - 3.2rem) / 2);
        margin-right: calc(50% - (100vw - 3.2rem) / 2);
    }

    .gh-content .kg-bookmark-container {
        flex-direction: column;
    }

    .gh-content .kg-bookmark-thumbnail {
        width: 100%;
        height: 160px;
    }

    .gh-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gh-post-nav {
        grid-template-columns: 1fr;
    }

    .gh-post-nav-next {
        text-align: left;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .gh-subscribe-form {
        flex-direction: column;
    }

    .gh-related {
        padding: 6.4rem 2.4rem;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .gh-feed,
    .gh-related {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .footer-container {
        padding: 0 1.6rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .gh-article {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .gh-content .kg-header-card {
        padding: 4rem 2.4rem;
    }
}

/* ── Ghost Specific Overrides ─────────────────────────── */

/* Ghost injects .gh-portal-close etc; give them proper z-index */
.gh-portal-triggerbtn-iframe {
    z-index: 90 !important;
}

/* Ensure Ghost's injected search works with fixed header */
.gh-search {
    z-index: 110;
}

/* ── CTA Section Card ─────────────────────────────────── */
.kg-cta-section-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3rem 0;
    max-width: 1200px;
}

.kg-cta-section-card.kg-layout-image-right {
    direction: rtl;
}

.kg-cta-section-card.kg-layout-image-right > * {
    direction: ltr;
}

.kg-cta-section-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--color-surface, #f3f4f6);
}

.kg-cta-section-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.kg-cta-section-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.kg-cta-section-heading {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--color-text, #0b0d12);
}

.kg-cta-section-text {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary, #4b5563);
    margin: 0;
}

.kg-cta-section-text p {
    margin: 0 0 0.75rem;
}

.kg-cta-section-text p:last-child {
    margin-bottom: 0;
}

.kg-cta-section-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    color: #ffffff;
    background-color: #0b0d12;
    border-radius: 8px;
    transition: background-color 0.15s ease, transform 0.15s ease;
    margin-top: 0.5rem;
}

.kg-cta-section-button:hover {
    background-color: #1f2937;
    text-decoration: none;
}

.kg-cta-section-button:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .kg-cta-section-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }

    .kg-cta-section-card.kg-layout-image-right {
        direction: ltr;
    }

    .kg-cta-section-heading {
        font-size: 1.75rem;
    }

    .kg-cta-section-text {
        font-size: 1rem;
    }
}

/* ============================================================
   Koenig Landing Elements — Hubson Brand Skin
   ============================================================ */

.gh-content {
    --kg-landing-accent: var(--color-primary);
    --kg-landing-accent-contrast: #fff;
    --kg-landing-card-bg: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--color-primary) 3%, #fff) 100%);
    --kg-landing-card-bg-solid: #fff;
    --kg-landing-border: color-mix(in srgb, var(--color-primary) 16%, var(--color-border));
    --kg-landing-text: var(--color-text);
    --kg-landing-muted: var(--color-text-secondary);
    --kg-landing-subtle: var(--color-text-muted);
    --kg-landing-radius: var(--radius-xl);
    --kg-landing-radius-sm: var(--radius-md);
    --kg-landing-shadow: 0 24px 70px rgba(124, 110, 255, 0.12);
    --kg-landing-button-font-size: 1rem;
}

.gh-content :is(.kg-cta-section-card,.kg-hiw-card,.kg-stats-card,.kg-testimonial-card,.kg-ratings-card,.kg-testimonials-grid-card,.kg-logo-strip-card,.kg-price-comparison-card,.kg-integrations-grid-card,.kg-contact-form-card,.kg-tabbed-features-card,.kg-calendar-embed-card) {
    border-width: 1.5px;
}

.gh-content :is(.kg-cta-section-button,.kg-feature-item-link,.kg-tabbed-features-cta,.kg-contact-form-submit) {
    background: linear-gradient(135deg, var(--color-primary), #a78bfa);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    text-decoration: none;
}

.gh-content :is(.kg-cta-section-button,.kg-feature-item-link,.kg-tabbed-features-cta,.kg-contact-form-submit):hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(124, 110, 255, 0.22);
}

.gh-content .kg-feature-grid-card {
    background: radial-gradient(circle at 50% 0%, rgba(124,110,255,.08), transparent 38%);
}

.gh-content .kg-feature-item,
.gh-content .kg-testimonials-grid-item,
.gh-content .kg-rating-platform {
    border: 1.5px solid var(--color-border);
    background: linear-gradient(180deg, #fff, var(--color-surface));
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
}

.gh-content .kg-hiw-step-number,
.gh-content .kg-stat-value,
.gh-content .kg-ratings-aggregate-score {
    color: var(--color-primary);
}

.gh-content .kg-stats-card {
    background: linear-gradient(135deg, rgba(124,110,255,.09), rgba(167,139,250,.05));
}

.gh-content .kg-testimonial-quote,
.gh-content .kg-testimonials-grid-quote {
    border-left-color: var(--color-primary);
}

.gh-content .kg-logo-strip-card,
.gh-content .kg-integrations-grid-card {
    background: transparent;
    border-style: dashed;
}

.gh-content .kg-integrations-grid-item {
    background: var(--color-primary-light);
    color: var(--color-primary-deep);
    border-color: var(--color-primary-muted);
}

.gh-content .kg-price-comparison-step[data-kg-active="true"] {
    background: var(--color-primary);
    color: #fff;
}

.gh-content .kg-price-comparison-bar-highlight,
.gh-content .kg-price-comparison-bar {
    background: linear-gradient(180deg, #a78bfa, var(--color-primary));
}

.gh-content .kg-contact-form-input {
    border-width: 1.5px;
    background: #fff;
}

body.is-dark .gh-content,
[data-color-scheme="dark"] body .gh-content,
[data-color-scheme="auto"] body .gh-content {
    --kg-landing-card-bg: linear-gradient(180deg, var(--color-dark-surface), #111827);
    --kg-landing-card-bg-solid: #111827;
    --kg-landing-border: rgba(148, 163, 184, 0.24);
    --kg-landing-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

/* ═══════════════════════════════════════════════════════════════════════
   HUBSON ENTERPRISE POLISH — Zero-Trust Execution Fabric design language
   Palette: deep navy + electric indigo + sharp cyan accents only
   Targeting: ICP2 Ops leaders, ICP3 CISO/CFO buying committees
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* Surface scale */
    --hub-ink-900: #0A1628;          /* deepest navy — section bg, dark cards */
    --hub-ink-800: #0F1F38;          /* primary dark surface */
    --hub-ink-700: #1A2C47;          /* dark surface raise */
    --hub-ink-600: #2A3F5F;          /* divider / muted line on dark */

    --hub-paper: #FFFFFF;            /* card surface light */
    --hub-paper-2: #F8FAFC;          /* subtle surface raise */
    --hub-paper-3: #F1F5F9;          /* surface deeper */

    --hub-line: #E2E8F0;             /* default border */
    --hub-line-strong: #CBD5E1;      /* strong border / divider */

    --hub-text-strong: #0A1628;      /* primary text */
    --hub-text: #1E293B;             /* body text */
    --hub-text-muted: #475569;       /* secondary text */
    --hub-text-subtle: #64748B;      /* tertiary text / meta */

    /* Brand */
    --hub-brand: #4F5AE8;            /* electric indigo — primary brand */
    --hub-brand-deep: #3D45C9;       /* indigo deep — pressed/hover */
    --hub-brand-soft: #6B73EE;       /* indigo soft — accent fill */
    --hub-cyan: #06B6D4;             /* sharp cyan — signal accent */
    --hub-cyan-deep: #0891B2;
    --hub-success: #10B981;
    --hub-warn: #F59E0B;
    --hub-danger: #DC2626;

    /* Backdrops */
    --hub-bg-light: linear-gradient(180deg, #FAFBFD 0%, #F4F6FA 100%);
    --hub-bg-dark: linear-gradient(180deg, #0A1628 0%, #060E1C 100%);
    --hub-bg-spot: radial-gradient(60% 50% at 50% 0%, rgba(79, 90, 232, 0.10), transparent 70%);
    --hub-bg-spot-dark: radial-gradient(70% 60% at 50% 0%, rgba(79, 90, 232, 0.30), transparent 70%);

    /* Shadows — depth without softness */
    --hub-sh-sm: 0 1px 2px rgba(10, 22, 40, 0.05),
                 0 1px 3px rgba(10, 22, 40, 0.06);
    --hub-sh-md: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
                 0 0 0 1px rgba(10, 22, 40, 0.06),
                 0 8px 20px -8px rgba(10, 22, 40, 0.12),
                 0 24px 40px -20px rgba(10, 22, 40, 0.10);
    --hub-sh-lg: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
                 0 0 0 1px rgba(10, 22, 40, 0.06),
                 0 16px 40px -12px rgba(10, 22, 40, 0.18),
                 0 40px 80px -40px rgba(79, 90, 232, 0.18);
    --hub-sh-hover: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
                    0 0 0 1px rgba(79, 90, 232, 0.18),
                    0 24px 50px -12px rgba(10, 22, 40, 0.20),
                    0 50px 100px -40px rgba(79, 90, 232, 0.30);
    --hub-sh-dark-card: 0 0 0 1px rgba(148, 163, 184, 0.10) inset,
                        0 1px 0 rgba(255, 255, 255, 0.04) inset,
                        0 30px 60px -20px rgba(0, 0, 0, 0.40),
                        0 50px 100px -40px rgba(79, 90, 232, 0.20);
    --hub-sh-cta: 0 1px 0 rgba(255, 255, 255, 0.30) inset,
                  0 8px 20px -6px rgba(79, 90, 232, 0.45),
                  0 16px 40px -16px rgba(79, 90, 232, 0.35);

    /* Mono for technical chrome */
    --hub-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', ui-monospace, monospace;
}

/* Override any legacy lavender variables coming from the early baseline */
:root {
    --color-primary: var(--hub-brand);
    --color-primary-hover: var(--hub-brand-deep);
    --color-primary-deep: var(--hub-brand-deep);
    --color-primary-light: rgba(79, 90, 232, 0.08);
    --color-primary-muted: rgba(79, 90, 232, 0.18);
}

/* ── Reset legacy hero/feature/template gradient text ───────── */
.text-gradient {
    background: linear-gradient(135deg, var(--hub-brand) 0%, var(--hub-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    background-size: 200% 100%;
}

/* ── Eyebrow patterns ─────────────────────────────────────── */
.section-eyebrow,
.split-eyebrow,
.cta-banner-eyebrow,
.wedge-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1.2rem;
    background: rgba(79, 90, 232, 0.07);
    border: 1px solid rgba(79, 90, 232, 0.20);
    border-radius: 999px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--hub-brand-deep);
    font-family: var(--hub-mono);
}

.section-eyebrow-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    margin: 0 auto 6rem;
    max-width: 68rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
}

.section-header h2 {
    font-size: clamp(2.6rem, 3.6vw, 3.8rem);
    letter-spacing: -0.025em;
    line-height: 1.08;
    font-weight: 800;
    text-wrap: balance;
    color: var(--hub-text-strong);
    margin: 0;
}

.section-header p {
    font-size: clamp(1.6rem, 1.5vw, 1.85rem);
    line-height: 1.6;
    color: var(--hub-text-muted);
    text-wrap: pretty;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 6rem);
    padding-bottom: 8rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -10% -10% 0;
    background:
        radial-gradient(50% 50% at 50% 0%, rgba(79, 90, 232, 0.14), transparent 70%),
        radial-gradient(40% 40% at 85% 25%, rgba(6, 182, 212, 0.10), transparent 70%),
        radial-gradient(40% 40% at 15% 25%, rgba(79, 90, 232, 0.10), transparent 70%);
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 90, 232, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 90, 232, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 25%, black, transparent 75%);
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(79, 90, 232, 0.20);
    border-radius: 999px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--hub-brand-deep);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 4px 12px -4px rgba(10, 22, 40, 0.08);
    margin-bottom: 2.8rem;
}

.hero-badge-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--hub-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    animation: hub-pulse-dot 2.4s ease-in-out infinite;
}

@keyframes hub-pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

.hero h1 {
    text-wrap: balance;
    letter-spacing: -0.035em;
    font-weight: 800;
    font-size: clamp(3.4rem, 5.6vw, 5rem);
    line-height: 1.02;
    max-width: 86rem;
    margin: 0 auto 2.4rem;
    color: var(--hub-text-strong);
}

.hero-subtitle {
    text-wrap: pretty;
    color: var(--hub-text-muted);
    max-width: 64rem;
    font-size: clamp(1.65rem, 1.55vw, 1.95rem);
    line-height: 1.6;
    margin: 0 auto 3.6rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-bottom: 3.2rem;
}

.btn-primary {
    background: var(--hub-brand);
    color: #fff;
    box-shadow: var(--hub-sh-cta);
    transition: transform 0.18s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.18s, box-shadow 0.18s;
}

.btn-primary:hover {
    background: var(--hub-brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset,
                0 12px 28px -6px rgba(79, 90, 232, 0.55),
                0 22px 48px -16px rgba(79, 90, 232, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(79, 90, 232, 0.30);
    color: var(--hub-brand-deep);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 4px 12px -4px rgba(10, 22, 40, 0.06);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.btn-outline:hover {
    transform: translateY(-1px);
    border-color: var(--hub-brand);
    background: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 20px -6px rgba(79, 90, 232, 0.20);
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0 auto 5.2rem;
    max-width: 80rem;
}

.hero-proof li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--hub-text-muted);
}

.hero-proof svg {
    color: var(--hub-success);
}

/* ── Hero visual: Decision Stack mock ──────────────────── */
.hero-visual {
    max-width: 110rem;
    margin: 0 auto;
    background: none;
    border: none;
    aspect-ratio: auto;
    box-shadow: none;
    padding: 0;
    display: block;
}

.mock-window {
    background: var(--hub-ink-900);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 30px 80px -20px rgba(10, 22, 40, 0.50),
        0 60px 120px -40px rgba(79, 90, 232, 0.35);
    color: rgba(255, 255, 255, 0.92);
}

.mock-window-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 1.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    font-family: var(--hub-mono);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.55);
}

.mock-dot {
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-dot-r { background: #FF5F57; }
.mock-dot-y { background: #FEBC2E; }
.mock-dot-g { background: #28C840; }

.mock-window-title {
    margin-left: 1.2rem;
    font-weight: 500;
}

.mock-window-tag {
    margin-left: auto;
    padding: 0.25rem 0.7rem;
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
    border-radius: 4px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.mock-window-tag.mock-tag-ok {
    background: rgba(16, 185, 129, 0.18);
    color: #34D399;
}

.mock-window-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    min-height: 38rem;
}

.mock-col {
    padding: 2rem;
}

.mock-col-list {
    border-right: 1px solid rgba(148, 163, 184, 0.08);
}

.mock-col-head {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 1.4rem;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem 1.4rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 0.4rem;
}

.mock-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mock-row-active {
    background: rgba(79, 90, 232, 0.18);
    border: 1px solid rgba(79, 90, 232, 0.40);
}

.mock-row-active:hover {
    background: rgba(79, 90, 232, 0.22);
}

.mock-row-muted {
    opacity: 0.55;
}

.mock-row-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 8px;
    background: rgba(148, 163, 184, 0.08);
    flex-shrink: 0;
    display: grid;
    place-items: center;
    position: relative;
}

.mock-row-icon::before {
    content: '';
    width: 1.6rem;
    height: 1.6rem;
    background: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.mock-icon-refund { color: #FBBF24; }
.mock-icon-refund::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v20M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 2v20M17 5H9.5a3.5 3.5 0 000 7h5a3.5 3.5 0 010 7H6'/></svg>");
}

.mock-icon-deploy { color: #22D3EE; }
.mock-icon-deploy::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l7-7 7 7M12 5v14'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l7-7 7 7M12 5v14'/></svg>");
}

.mock-icon-crm { color: #6B73EE; }
.mock-icon-crm::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='4'/><path d='M3 21v-2a4 4 0 014-4h4a4 4 0 014 4v2M16 3a4 4 0 010 8M21 21v-2a4 4 0 00-3-3.87'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='4'/><path d='M3 21v-2a4 4 0 014-4h4a4 4 0 014 4v2M16 3a4 4 0 010 8M21 21v-2a4 4 0 00-3-3.87'/></svg>");
}

.mock-icon-email { color: #94A3B8; }
.mock-icon-email::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='M3 7l9 6 9-6'/></svg>");
}

.mock-row-text {
    flex: 1;
    min-width: 0;
}

.mock-row-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

.mock-row-meta {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 0.3rem;
}

.mock-row-badge {
    flex-shrink: 0;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    font-family: var(--hub-mono);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.mock-badge-high {
    background: rgba(220, 38, 38, 0.20);
    color: #FCA5A5;
}

.mock-badge-med {
    background: rgba(245, 158, 11, 0.20);
    color: #FCD34D;
}

.mock-badge-low {
    background: rgba(148, 163, 184, 0.18);
    color: rgba(255, 255, 255, 0.55);
}

/* Mock detail panel */
.mock-col-detail {
    background: rgba(0, 0, 0, 0.18);
}

.mock-detail-eyebrow {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.8rem;
    letter-spacing: 0.04em;
}

.mock-detail-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.mock-detail-block {
    margin-bottom: 1.4rem;
}

.mock-detail-label {
    font-family: var(--hub-mono);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.4rem;
}

.mock-detail-val {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.mock-detail-val code {
    font-family: var(--hub-mono);
    background: rgba(79, 90, 232, 0.18);
    color: #A5B4FC;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.92em;
}

.mock-detail-trace {
    font-family: var(--hub-mono);
    font-size: 1.2rem;
    color: rgba(34, 211, 238, 0.85);
    word-break: break-all;
}

.mock-detail-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
}

.mock-btn {
    flex: 1;
    padding: 1rem 1.4rem;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}

.mock-btn-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.mock-btn-decline:hover {
    background: rgba(220, 38, 38, 0.12);
    color: #FCA5A5;
    border-color: rgba(220, 38, 38, 0.30);
}

.mock-btn-authorize {
    background: var(--hub-brand);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.20) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.50);
}

.mock-btn-authorize:hover {
    background: var(--hub-brand-deep);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -4px rgba(79, 90, 232, 0.65);
}

/* ═══════════════════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════════════════ */

.trust-bar {
    border-top: 1px solid var(--hub-line);
    border-bottom: 1px solid var(--hub-line);
    background: var(--hub-paper-2);
    padding: 2.4rem 0;
}

.trust-bar-inner {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-bar-label {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--hub-text-subtle);
}

.trust-bar-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.trust-bar-badges li {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hub-text-muted);
}

.trust-bar-badges svg {
    color: var(--hub-brand);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM WEDGE
   ═══════════════════════════════════════════════════════════ */

.section { padding: 9.6rem 0; }
.section-alt {
    background: var(--hub-paper-2);
    border-top: 1px solid var(--hub-line);
    border-bottom: 1px solid var(--hub-line);
}

.wedge {
    max-width: 84rem;
    margin: 0 auto;
    text-align: left;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: flex-start;
}

.wedge::before, .wedge::after { content: none; }

.wedge blockquote {
    margin: 0;
    padding: 0;
    font-style: normal;
    font-weight: 500;
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    line-height: 1.4;
    color: var(--hub-text-strong);
    letter-spacing: -0.015em;
    text-wrap: pretty;
    border-left: none;
}

.wedge blockquote strong {
    background: linear-gradient(135deg, var(--hub-brand) 0%, var(--hub-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
}

.wedge-attribution {
    font-family: var(--hub-mono);
    font-size: 1.3rem;
    color: var(--hub-text-subtle);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   STATS STRIP
   ═══════════════════════════════════════════════════════════ */

.stats-strip {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
    padding: 4rem 4.8rem;
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 16px;
    box-shadow: var(--hub-sh-md);
}

.stat-item {
    text-align: center;
    padding: 0 2rem;
}

.stat-divider {
    width: 1px;
    height: 7rem;
    background: linear-gradient(180deg, transparent, var(--hub-line) 30%, var(--hub-line) 70%, transparent);
}

.stat-item .stat-value {
    font-size: clamp(3.2rem, 4vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    background: linear-gradient(135deg, var(--hub-brand) 0%, var(--hub-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.8rem;
}

.stat-item .stat-label {
    font-size: 1.35rem;
    color: var(--hub-text-muted);
    line-height: 1.45;
    text-wrap: balance;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS
   ═══════════════════════════════════════════════════════════ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 14px;
    padding: 3rem 2.8rem;
    box-shadow: var(--hub-sh-sm);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 90, 232, 0.25);
    box-shadow: var(--hub-sh-lg);
}

.feature-icon {
    width: 4.4rem;
    height: 4.4rem;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(79, 90, 232, 0.10), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(79, 90, 232, 0.18);
    border-radius: 10px;
    color: var(--hub-brand);
    margin-bottom: 2rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-card h3 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--hub-text-strong);
    margin-bottom: 1.2rem;
    text-wrap: balance;
}

.feature-card p {
    color: var(--hub-text-muted);
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0;
    text-wrap: pretty;
}

/* ═══════════════════════════════════════════════════════════
   ICP SPLITS
   ═══════════════════════════════════════════════════════════ */

.split {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 6.4rem;
    align-items: center;
}

.split.reversed {
    direction: rtl;
}

.split.reversed > * {
    direction: ltr;
}

.split-content {
    max-width: 50rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    align-items: flex-start;
}

.split-content h2 {
    font-size: clamp(2.6rem, 3.2vw, 3.6rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    font-weight: 800;
    color: var(--hub-text-strong);
    margin: 0;
    text-wrap: balance;
}

.split-content p {
    font-size: 1.65rem;
    line-height: 1.65;
    color: var(--hub-text-muted);
    margin: 0;
    text-wrap: pretty;
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0.4rem 0 1.2rem;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--hub-text);
    line-height: 1.5;
}

.split-list svg {
    color: var(--hub-success);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* ── Split visual = mock window ─────────────────────── */
.split-visual {
    background: none;
    border: none;
    aspect-ratio: auto;
    box-shadow: none;
    color: inherit;
    font-size: inherit;
    padding: 0;
    display: block;
}

.split-visual .mock-window {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 24px 60px -16px rgba(10, 22, 40, 0.40),
        0 50px 100px -40px rgba(79, 90, 232, 0.30);
}

/* Command Center mock */
.mock-cc {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 32rem;
}

.mock-cc-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.8rem 2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    font-family: var(--hub-mono);
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.92);
}

.mock-cc-prompt {
    color: var(--hub-cyan);
    font-weight: 700;
}

.mock-cc-text {
    flex: 1;
}

.mock-mention {
    background: rgba(79, 90, 232, 0.20);
    color: #A5B4FC;
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
}

.mock-cc-cursor {
    width: 2px;
    height: 1.6rem;
    background: var(--hub-cyan);
    animation: hub-cursor 1.1s steps(2) infinite;
}

@keyframes hub-cursor {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.mock-cc-suggest {
    padding: 1.2rem 1rem;
}

.mock-cc-suggest-head {
    font-family: var(--hub-mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.40);
    padding: 0.4rem 1rem 0.8rem;
}

.mock-cc-suggest-row {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 1rem;
    border-radius: 6px;
    transition: background 0.15s;
}

.mock-cc-suggest-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.mock-cc-suggest-active {
    background: rgba(79, 90, 232, 0.16);
}

.mock-cc-suggest-active:hover {
    background: rgba(79, 90, 232, 0.20);
}

.mock-cc-tag {
    font-family: var(--hub-mono);
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
}

.mock-tag-revops { background: rgba(6, 182, 212, 0.18); color: #67E8F9; }
.mock-tag-mkt { background: rgba(245, 158, 11, 0.18); color: #FCD34D; }
.mock-tag-eng { background: rgba(79, 90, 232, 0.20); color: #A5B4FC; }
.mock-tag-cs { background: rgba(16, 185, 129, 0.18); color: #6EE7B7; }

.mock-cc-suggest-meta {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Template library mock */
.mock-tpl {
    padding: 2rem;
}

.mock-tpl-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.mock-tpl-card {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.10);
    border-radius: 10px;
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
    cursor: pointer;
}

.mock-tpl-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(79, 90, 232, 0.30);
    transform: translateY(-2px);
}

.mock-tpl-card-active {
    background: rgba(79, 90, 232, 0.15) !important;
    border-color: rgba(79, 90, 232, 0.45) !important;
}

.mock-tpl-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: rgba(148, 163, 184, 0.10);
    display: grid;
    place-items: center;
    position: relative;
}

.mock-tpl-icon::before {
    content: '';
    width: 1.6rem;
    height: 1.6rem;
    background: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.mock-tpl-icon-eng { color: #A5B4FC; }
.mock-tpl-icon-eng::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18l-6-6 6-6M15 6l6 6-6 6'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18l-6-6 6-6M15 6l6 6-6 6'/></svg>");
}

.mock-tpl-icon-cs { color: #6EE7B7; }
.mock-tpl-icon-cs::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a4 4 0 01-4 4H7l-4 4V5a4 4 0 014-4h10a4 4 0 014 4v10z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a4 4 0 01-4 4H7l-4 4V5a4 4 0 014-4h10a4 4 0 014 4v10z'/></svg>");
}

.mock-tpl-icon-revops { color: #67E8F9; }
.mock-tpl-icon-revops::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 19l5-5 4 4 9-9M14 9h7v7'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 19l5-5 4 4 9-9M14 9h7v7'/></svg>");
}

.mock-tpl-icon-mkt { color: #FCD34D; }
.mock-tpl-icon-mkt::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11l18-8-7 18-2-8-9-2z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11l18-8-7 18-2-8-9-2z'/></svg>");
}

.mock-tpl-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}

.mock-tpl-meta {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
}

.mock-tpl-cta {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hub-cyan);
    font-family: var(--hub-mono);
}

/* Trace explorer mock — single column override */
.hub-mock-trace .mock-window-body {
    display: block !important;
    grid-template-columns: none !important;
}

.mock-trace {
    padding: 1.4rem 0.8rem;
    font-family: var(--hub-mono);
    min-height: 32rem;
}

.mock-trace-row {
    display: grid;
    grid-template-columns: 9rem 1fr 7.5rem;
    gap: 1.2rem;
    padding: 0.7rem 1.4rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 6px;
    align-items: center;
}

.mock-trace-cost { text-align: right; }

.mock-trace-row:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mock-trace-row-head {
    color: rgba(255, 255, 255, 0.40);
}

.mock-trace-dur {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
}

.mock-trace-row-yield .mock-trace-dur {
    color: var(--hub-warn);
}

.mock-trace-row-ok .mock-trace-dur {
    color: var(--hub-success);
}

.mock-trace-row-yield {
    background: rgba(245, 158, 11, 0.08);
    border-left: 2px solid var(--hub-warn);
}

.mock-trace-row-ok {
    background: rgba(16, 185, 129, 0.08);
    border-left: 2px solid var(--hub-success);
}

.mock-trace-name {
    color: rgba(255, 255, 255, 0.85);
}

.mock-trace-cost {
    color: var(--hub-cyan);
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SECTION-DARK + TEMPLATE GRID
   ═══════════════════════════════════════════════════════════ */

.section-dark {
    background: var(--hub-bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hub-bg-spot-dark);
    pointer-events: none;
    z-index: 0;
}

.section-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167, 173, 232, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 173, 232, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

.section-dark > * {
    position: relative;
    z-index: 1;
}

.section-dark .section-header h2 {
    color: #fff;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.65) 130%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.65);
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3.6rem;
}

.section-dark .template-card {
    background: linear-gradient(180deg, rgba(26, 44, 71, 0.8) 0%, rgba(15, 31, 56, 0.9) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 14px;
    padding: 3rem 2.8rem;
    box-shadow: var(--hub-sh-dark-card);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
    overflow: hidden;
}

.section-dark .template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 173, 232, 0.40), transparent);
}

.section-dark .template-card:hover {
    transform: translateY(-3px);
    border-color: rgba(79, 90, 232, 0.40) !important;
    box-shadow: 0 0 0 1px rgba(79, 90, 232, 0.20) inset,
                0 30px 60px -20px rgba(0, 0, 0, 0.50),
                0 60px 120px -40px rgba(79, 90, 232, 0.40);
}

.section-dark .template-card-icon {
    width: 4.4rem !important;
    height: 4.4rem !important;
    background: rgba(79, 90, 232, 0.18) !important;
    border: 1px solid rgba(79, 90, 232, 0.30);
    color: #A5B4FC !important;
    border-radius: 10px !important;
    display: grid;
    place-items: center;
    margin-bottom: 0.4rem !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 8px 16px -4px rgba(79, 90, 232, 0.30);
}

.section-dark .template-card h3 {
    color: #fff !important;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin: 0;
}

.section-dark .template-card p {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 1.4rem;
    line-height: 1.55;
    margin: 0;
}

.template-card-meta {
    display: flex;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.10);
    font-family: var(--hub-mono);
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
}

.section-dark .template-card .btn {
    margin-top: 0.4rem;
    background: var(--hub-brand);
    color: #fff;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.20) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.55);
    width: 100%;
}

.section-dark .template-card .btn:hover {
    background: var(--hub-brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 10px 22px -4px rgba(79, 90, 232, 0.70);
}

.template-grid-cta {
    text-align: center;
    margin-top: 1.6rem;
}

.btn-ghost-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.18s, border-color 0.18s, transform 0.18s;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.32);
    color: #fff;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER (final)
   ═══════════════════════════════════════════════════════════ */

.cta-banner {
    background: var(--hub-bg-dark);
    border-radius: 18px;
    padding: 7.2rem 4.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 80px -30px rgba(10, 22, 40, 0.50),
        0 60px 120px -50px rgba(79, 90, 232, 0.40);
    isolation: isolate;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167, 173, 232, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 173, 232, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent 90%);
    pointer-events: none;
    z-index: -1;
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(79, 90, 232, 0.40), transparent 60%);
    filter: blur(60px);
    pointer-events: none;
    z-index: -1;
}

.cta-banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.4rem;
}

.cta-banner-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--hub-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.20);
    animation: hub-pulse-dot 2.4s ease-in-out infinite;
}

.cta-banner h2 {
    color: #fff !important;
    font-size: clamp(2.6rem, 3.8vw, 3.8rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-wrap: balance;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.60) 130%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.6rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.70);
    font-size: clamp(1.6rem, 1.5vw, 1.85rem);
    line-height: 1.55;
    text-wrap: pretty;
    max-width: 56rem;
    margin: 0 auto 3rem;
}

.cta-banner-actions {
    display: flex;
    justify-content: center;
    gap: 1.4rem;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
}

.cta-banner .btn-white {
    background: #fff;
    color: var(--hub-text-strong);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset,
                0 12px 28px -6px rgba(0, 0, 0, 0.30),
                0 24px 50px -16px rgba(79, 90, 232, 0.40);
    transition: transform 0.18s, box-shadow 0.18s;
}

.cta-banner .btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset,
                0 16px 36px -6px rgba(0, 0, 0, 0.35),
                0 32px 64px -16px rgba(79, 90, 232, 0.55);
}

.cta-banner-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 2.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-banner-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
}

.cta-banner-trust svg {
    color: var(--hub-success);
}

/* ═══════════════════════════════════════════════════════════
   SITE HEADER + FOOTER
   ═══════════════════════════════════════════════════════════ */

.site-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border-bottom: 1px solid var(--hub-line);
}

.nav-actions .btn-primary {
    background: var(--hub-brand);
    box-shadow: 0 4px 12px -2px rgba(79, 90, 232, 0.35);
}

.nav-actions .btn-primary:hover {
    background: var(--hub-brand-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px -2px rgba(79, 90, 232, 0.55);
}

.site-footer {
    background: var(--hub-paper-2);
    border-top: 1px solid var(--hub-line);
}

.footer-col h4 {
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    color: var(--hub-text-subtle);
}

.footer-col a:hover {
    color: var(--hub-brand);
}

/* ═══════════════════════════════════════════════════════════
   POST CHROME
   ═══════════════════════════════════════════════════════════ */

.gh-article-tag {
    background: rgba(79, 90, 232, 0.07);
    color: var(--hub-brand-deep);
    border: 1px solid rgba(79, 90, 232, 0.20);
    font-family: var(--hub-mono);
}

.gh-article-header h1 {
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    letter-spacing: -0.035em;
    text-wrap: balance;
    line-height: 1.02;
    font-weight: 800;
    color: var(--hub-text-strong);
}

.gh-article-excerpt {
    text-wrap: pretty;
    font-size: clamp(1.7rem, 1.7vw, 2rem);
    line-height: 1.55;
    color: var(--hub-text-muted);
}

.gh-article-image {
    border-radius: 16px;
    box-shadow: var(--hub-sh-lg);
    overflow: hidden;
}

.gh-author-box {
    background: var(--hub-paper-2);
    border: 1px solid var(--hub-line);
    box-shadow: var(--hub-sh-sm);
    border-radius: 14px;
    padding: 3rem;
}

.gh-author-box-image {
    box-shadow: 0 0 0 3px #fff,
                0 0 0 4px rgba(79, 90, 232, 0.20),
                0 8px 20px -8px rgba(79, 90, 232, 0.35);
}

.gh-post-nav-item {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    box-shadow: var(--hub-sh-sm);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.gh-post-nav-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.30);
    box-shadow: var(--hub-sh-md);
}

/* ═══════════════════════════════════════════════════════════
   GH-CONTENT TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

.gh-content h2 {
    font-size: clamp(2.4rem, 3vw, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    font-weight: 800;
    margin-top: 6rem;
    margin-bottom: 1.6rem;
    color: var(--hub-text-strong);
    text-wrap: balance;
}

.gh-content h3 {
    font-size: clamp(1.85rem, 2.2vw, 2.2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-weight: 700;
    margin-top: 5.2rem;
    color: var(--hub-text-strong);
    text-wrap: balance;
}

.gh-content p { text-wrap: pretty; }

.gh-content blockquote {
    border-left: 3px solid var(--hub-brand);
    background: var(--hub-paper-2);
    padding: 2rem 2.4rem;
    border-radius: 0 10px 10px 0;
    margin: 4rem 0;
    font-style: normal;
    font-size: 1.85rem;
    color: var(--hub-text-strong);
}

.gh-content blockquote p {
    color: var(--hub-text-strong);
    line-height: 1.5;
}

.gh-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--hub-line-strong), transparent);
    margin: 5.6rem 0;
}

.gh-content code {
    font-family: var(--hub-mono);
    background: rgba(79, 90, 232, 0.08);
    color: var(--hub-brand-deep);
    border: 1px solid rgba(79, 90, 232, 0.16);
    padding: 0.15rem 0.5rem;
    border-radius: 5px;
    font-weight: 500;
}

.gh-content pre {
    background: var(--hub-ink-900);
    border: 1px solid rgba(79, 90, 232, 0.18);
    border-radius: 10px;
    box-shadow: 0 16px 40px -16px rgba(10, 22, 40, 0.40);
    padding: 2rem 2.4rem;
}

.gh-content pre code {
    background: none;
    border: none;
    color: #E2E8F0;
    padding: 0;
}

.gh-content a:not(.kg-bookmark-container):not(.kg-btn):not([class*="kg-"]) {
    color: var(--hub-brand);
    text-decoration: underline;
    text-decoration-color: rgba(79, 90, 232, 0.30);
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: text-decoration-color 0.2s;
}

.gh-content a:not(.kg-bookmark-container):not(.kg-btn):not([class*="kg-"]):hover {
    text-decoration-color: var(--hub-brand);
    color: var(--hub-brand-deep);
}

.gh-content ul li::marker,
.gh-content ol li::marker {
    color: var(--hub-brand);
}

/* ═══════════════════════════════════════════════════════════
   KOENIG CARDS — Enterprise polish
   ═══════════════════════════════════════════════════════════ */

/* Image / Gallery / Bookmark */
.gh-content .kg-image-card img,
.gh-content .kg-image {
    border-radius: 12px;
    box-shadow: var(--hub-sh-md);
}

.gh-content figure.kg-width-full img,
.gh-content .kg-image-card.kg-width-full img,
.gh-content .kg-width-full img {
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
    align-self: stretch;
}

.gh-content .kg-image-card figcaption,
.gh-content figcaption {
    margin-top: 1.2rem;
    text-align: center;
    font-size: 1.35rem;
    color: var(--hub-text-subtle);
    font-style: italic;
}

.gh-content .kg-gallery-image img {
    border-radius: 8px;
    box-shadow: var(--hub-sh-sm);
}

.gh-content .kg-bookmark-card {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 12px;
    box-shadow: var(--hub-sh-sm);
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.gh-content .kg-bookmark-card:hover {
    transform: translateY(-1px);
    border-color: rgba(79, 90, 232, 0.30);
    box-shadow: var(--hub-sh-md);
}

.gh-content .kg-bookmark-content { padding: 2rem 2.4rem; }
.gh-content .kg-bookmark-title { font-size: 1.6rem; font-weight: 700; color: var(--hub-text-strong); }
.gh-content .kg-bookmark-description { color: var(--hub-text-muted); }
.gh-content .kg-bookmark-metadata { color: var(--hub-text-subtle); font-weight: 500; }

/* Callout */
.gh-content .kg-callout-card {
    --hub-callout-accent: var(--hub-brand);
    --hub-callout-bg: rgba(79, 90, 232, 0.05);
    --hub-callout-border: rgba(79, 90, 232, 0.18);
    padding: 1.8rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--hub-callout-border);
    background: var(--hub-callout-bg);
    display: flex;
    align-items: center;
    gap: 1.4rem;
    position: relative;
    overflow: hidden;
}

.gh-content .kg-callout-card::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 3px;
    background: var(--hub-callout-accent);
}

/* ── Replace cheap emoji glyphs with uniform monochrome SVG icons ──── */
.gh-content .kg-callout-emoji {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    min-width: 4rem;
    min-height: 4rem;
    max-width: 4rem;
    max-height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--hub-callout-border);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(10, 22, 40, 0.04);
    aspect-ratio: 1;
    box-sizing: border-box;
    overflow: hidden;
    /* Hide the underlying emoji character */
    font-size: 0 !important;
    color: transparent !important;
    position: relative;
}

/* Inject per-variant SVG icon as background-image, brand-color tinted */
.gh-content .kg-callout-emoji::before {
    content: '';
    width: 2.2rem;
    height: 2.2rem;
    display: block;
    background-color: var(--hub-callout-accent);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* Default icon: info-circle */
.gh-content .kg-callout-card .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 16v-4M12 8h.01'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><path d='M12 16v-4M12 8h.01'/></svg>");
}

/* Blue — info / tip lightbulb */
.gh-content .kg-callout-card-blue .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18h6M10 22h4M12 2a7 7 0 00-4 12.7c.7.6 1 1.4 1 2.3v1h6v-1c0-.9.3-1.7 1-2.3A7 7 0 0012 2z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18h6M10 22h4M12 2a7 7 0 00-4 12.7c.7.6 1 1.4 1 2.3v1h6v-1c0-.9.3-1.7 1-2.3A7 7 0 0012 2z'/></svg>");
}

/* Yellow — warning triangle */
.gh-content .kg-callout-card-yellow .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10.3 3.3L1.7 17.6a2 2 0 001.7 3h17.2a2 2 0 001.7-3L13.7 3.3a2 2 0 00-3.4 0z'/><path d='M12 9v4M12 17h.01'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M10.3 3.3L1.7 17.6a2 2 0 001.7 3h17.2a2 2 0 001.7-3L13.7 3.3a2 2 0 00-3.4 0z'/><path d='M12 9v4M12 17h.01'/></svg>");
}

/* Red — alert octagon */
.gh-content .kg-callout-card-red .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7.9 2h8.2L22 7.9v8.2L16.1 22H7.9L2 16.1V7.9z'/><path d='M12 8v4M12 16h.01'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M7.9 2h8.2L22 7.9v8.2L16.1 22H7.9L2 16.1V7.9z'/><path d='M12 8v4M12 16h.01'/></svg>");
}

/* Green — check-circle */
.gh-content .kg-callout-card-green .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.1V12a10 10 0 11-5.9-9.1'/><path d='M22 4L12 14l-3-3'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.1V12a10 10 0 11-5.9-9.1'/><path d='M22 4L12 14l-3-3'/></svg>");
}

/* Purple — sparkles (advanced/expert) */
.gh-content .kg-callout-card-purple .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l2 4 4 2-4 2-2 4-2-4-4-2 4-2zM19 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1zM5 14l.7 1.4L7 16l-1.3.6L5 18l-.7-1.4L3 16l1.3-.6z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l2 4 4 2-4 2-2 4-2-4-4-2 4-2zM19 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1zM5 14l.7 1.4L7 16l-1.3.6L5 18l-.7-1.4L3 16l1.3-.6z'/></svg>");
}

/* Pink — heart */
.gh-content .kg-callout-card-pink .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.8 4.6a5.5 5.5 0 00-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 00-7.8 7.8l1 1.1L12 21l7.8-7.8 1-1.1a5.5 5.5 0 000-7.8z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20.8 4.6a5.5 5.5 0 00-7.8 0L12 5.7l-1-1.1a5.5 5.5 0 00-7.8 7.8l1 1.1L12 21l7.8-7.8 1-1.1a5.5 5.5 0 000-7.8z'/></svg>");
}

/* Grey — bookmark / pin (editorial annotation) */
.gh-content .kg-callout-card-grey .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21l-7-5-7 5V5a2 2 0 012-2h10a2 2 0 012 2z'/></svg>");
}

/* White — file-text (subtle/note) */
.gh-content .kg-callout-card-white .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/><path d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8z'/><path d='M14 2v6h6M16 13H8M16 17H8M10 9H8'/></svg>");
}

/* Accent — zap / lightning */
.gh-content .kg-callout-card-accent .kg-callout-emoji::before {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/></svg>");
}

.gh-content .kg-callout-text {
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--hub-text);
}

.gh-content .kg-callout-card-grey { --hub-callout-accent: #64748B; --hub-callout-bg: rgba(100, 116, 139, 0.05); --hub-callout-border: rgba(100, 116, 139, 0.18); }
.gh-content .kg-callout-card-white { --hub-callout-accent: var(--hub-brand); --hub-callout-bg: #fff; --hub-callout-border: var(--hub-line); }
.gh-content .kg-callout-card-blue { --hub-callout-accent: #3B82F6; --hub-callout-bg: rgba(59, 130, 246, 0.05); --hub-callout-border: rgba(59, 130, 246, 0.18); }
.gh-content .kg-callout-card-green { --hub-callout-accent: var(--hub-success); --hub-callout-bg: rgba(16, 185, 129, 0.05); --hub-callout-border: rgba(16, 185, 129, 0.18); }
.gh-content .kg-callout-card-yellow { --hub-callout-accent: var(--hub-warn); --hub-callout-bg: rgba(245, 158, 11, 0.05); --hub-callout-border: rgba(245, 158, 11, 0.18); }
.gh-content .kg-callout-card-red { --hub-callout-accent: var(--hub-danger); --hub-callout-bg: rgba(220, 38, 38, 0.05); --hub-callout-border: rgba(220, 38, 38, 0.18); }
.gh-content .kg-callout-card-pink { --hub-callout-accent: #EC4899; --hub-callout-bg: rgba(236, 72, 153, 0.05); --hub-callout-border: rgba(236, 72, 153, 0.18); }
.gh-content .kg-callout-card-purple { --hub-callout-accent: var(--hub-brand); --hub-callout-bg: rgba(79, 90, 232, 0.06); --hub-callout-border: rgba(79, 90, 232, 0.20); }
.gh-content .kg-callout-card-accent { --hub-callout-accent: var(--hub-brand); --hub-callout-bg: linear-gradient(135deg, rgba(79, 90, 232, 0.08), rgba(6, 182, 212, 0.05)); --hub-callout-border: rgba(79, 90, 232, 0.22); }

/* Toggle */
.gh-content .kg-toggle-card {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 10px;
    box-shadow: var(--hub-sh-sm);
    transition: border-color 0.18s, box-shadow 0.18s;
    padding: 0;
    overflow: hidden;
}

.gh-content .kg-toggle-card:hover {
    border-color: rgba(79, 90, 232, 0.30);
    box-shadow: var(--hub-sh-md);
}

.gh-content .kg-toggle-heading {
    padding: 1.8rem 2.2rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.gh-content .kg-toggle-heading:hover { background: rgba(79, 90, 232, 0.03); }

.gh-content .kg-toggle-heading-text {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--hub-text-strong);
    letter-spacing: -0.01em;
}

.gh-content .kg-toggle-card-icon { color: var(--hub-brand); transition: transform 0.25s; }
.gh-content .kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon { transform: rotate(180deg); }

.gh-content .kg-toggle-content {
    padding: 0 2.2rem 1.8rem;
    color: var(--hub-text-muted);
    font-size: 1.5rem;
    line-height: 1.6;
}

/* Header card */
.gh-content .kg-header-card {
    border-radius: 18px;
    padding: 6.4rem 4.8rem;
    box-shadow: var(--hub-sh-lg);
}

.gh-content .kg-header-card.kg-style-light {
    background: var(--hub-bg-light);
    border: 1px solid var(--hub-line);
    color: var(--hub-text-strong);
}

.gh-content .kg-header-card.kg-style-dark {
    background: var(--hub-bg-dark);
    color: #fff;
}

.gh-content .kg-header-card.kg-style-accent {
    background: linear-gradient(135deg, var(--hub-brand) 0%, var(--hub-brand-deep) 100%);
    color: #fff;
}

.gh-content .kg-header-card-button {
    padding: 1.2rem 2.6rem;
    border-radius: 8px;
    font-size: 1.45rem;
    font-weight: 600;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(10, 22, 40, 0.20);
    transition: transform 0.18s, box-shadow 0.18s;
    margin-top: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gh-content .kg-header-card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 12px 28px -6px rgba(10, 22, 40, 0.30);
}

/* Button card */
.gh-content .kg-button-card { margin: 4rem 0; }

.gh-content .kg-btn {
    padding: 1.3rem 2.6rem;
    border-radius: 8px;
    font-size: 1.45rem;
    font-weight: 600;
    transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.gh-content .kg-btn-accent {
    background: var(--hub-brand) !important;
    color: #fff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset,
                0 8px 20px -6px rgba(79, 90, 232, 0.50);
}

.gh-content .kg-btn-accent:hover {
    background: var(--hub-brand-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.30) inset,
                0 12px 28px -6px rgba(79, 90, 232, 0.65);
}

/* Signup card — atmospheric dark with halos */
.gh-content .kg-signup-card[style*="display: none"] { display: revert !important; }

.gh-content .kg-signup-card {
    background: var(--hub-bg-dark) !important;
    background-color: var(--hub-ink-900) !important;
    border-radius: 18px;
    padding: 6.4rem 4rem !important;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 30px 80px -20px rgba(10, 22, 40, 0.40),
        0 60px 120px -40px rgba(79, 90, 232, 0.30);
}

.gh-content .kg-signup-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167, 173, 232, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 173, 232, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent 90%);
    pointer-events: none;
}

.gh-content .kg-signup-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(79, 90, 232, 0.30), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.gh-content .kg-signup-card > * { position: relative; z-index: 1; }

.gh-content .kg-signup-card-heading {
    font-size: clamp(2.6rem, 3.4vw, 3.6rem) !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    color: #fff !important;
    text-wrap: balance;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.65) 130%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.gh-content .kg-signup-card-subheading {
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: clamp(1.5rem, 1.6vw, 1.7rem) !important;
    line-height: 1.55 !important;
    text-wrap: pretty;
    margin-top: 1.6rem !important;
}

.gh-content .kg-signup-card-fields {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 999px !important;
    padding: 0.5rem 0.5rem 0.5rem 1.6rem !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 8px 32px -12px rgba(0, 0, 0, 0.40);
    max-width: 56rem;
    margin: 2.8rem auto 0 !important;
}

.gh-content .kg-signup-card-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.5rem !important;
    padding: 1rem 1.4rem !important;
}

.gh-content .kg-signup-card-input::placeholder { color: rgba(255, 255, 255, 0.50) !important; }

.gh-content .kg-signup-card-button {
    background: #fff !important;
    color: var(--hub-text-strong) !important;
    border-radius: 999px !important;
    padding: 1rem 2.4rem !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 8px 20px -6px rgba(0, 0, 0, 0.30) !important;
}

.gh-content .kg-signup-card-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 12px 24px -6px rgba(0, 0, 0, 0.40) !important;
}

.gh-content .kg-signup-card-disclaimer {
    color: rgba(255, 255, 255, 0.50) !important;
    font-size: 1.25rem !important;
    margin-top: 1.6rem !important;
}

/* Product / File / Audio / Video cards */
.gh-content .kg-product-card,
.gh-content .kg-file-card,
.gh-content .kg-audio-card {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 12px;
    box-shadow: var(--hub-sh-sm);
    padding: 2.4rem;
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.gh-content .kg-product-card:hover,
.gh-content .kg-file-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.30);
    box-shadow: var(--hub-sh-md);
}

.gh-content .kg-product-card-button {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.50);
}

.gh-content .kg-product-card-rating-active svg,
.gh-content .kg-product-card-rating-star svg {
    fill: var(--hub-warn) !important;
    color: var(--hub-warn) !important;
}

.gh-content .kg-product-card-button:hover {
    background: var(--hub-brand-deep) !important;
}

.gh-content .kg-file-card-icon {
    background: var(--hub-brand) !important;
    color: #fff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.45);
}

.gh-content .kg-audio-play-icon,
.gh-content .kg-audio-pause-icon {
    background: var(--hub-brand) !important;
    color: #fff !important;
    fill: #fff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.45);
}

.gh-content .kg-audio-play-icon svg,
.gh-content .kg-audio-pause-icon svg,
.gh-content .kg-audio-card .kg-audio-play-icon svg path,
.gh-content .kg-audio-card .kg-audio-pause-icon svg path {
    fill: #fff !important;
    color: #fff !important;
}

.gh-content .kg-audio-thumbnail {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.gh-content .kg-audio-thumbnail svg,
.gh-content .kg-audio-thumbnail path {
    fill: #fff !important;
    stroke: #fff !important;
    color: #fff !important;
}

/* Hide Ghost-default placeholder magenta thumbnail decorations */
.gh-content .kg-audio-thumbnail.placeholder {
    background: var(--hub-brand) !important;
}

.gh-content .kg-audio-thumbnail.placeholder svg {
    color: rgba(255, 255, 255, 0.85) !important;
    fill: rgba(255, 255, 255, 0.85) !important;
}

.gh-content .kg-file-card-icon svg,
.gh-content .kg-file-card-icon path {
    fill: #fff !important;
    color: #fff !important;
    stroke: #fff !important;
}

/* Override Ghost default magenta on file/audio thumbnails */
.gh-content .kg-file-card .kg-file-card-icon {
    background: var(--hub-brand) !important;
}

.gh-content .kg-embed-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}

.gh-content .kg-embed-card > * {
    width: 100%;
    max-width: 100%;
}

.gh-content .kg-embed-card iframe {
    width: 100% !important;
    aspect-ratio: 16 / 9;
    height: auto !important;
    min-height: 36rem;
    border-radius: 12px;
    box-shadow: var(--hub-sh-md);
    overflow: hidden;
    border: none;
}

.gh-content .kg-video-card video,
.gh-content .kg-video-container {
    border-radius: 12px;
    box-shadow: var(--hub-sh-md);
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   KOENIG LANDING SNIPPETS
   ═══════════════════════════════════════════════════════════ */

.gh-content .kg-cta-section-card {
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 16px;
    box-shadow: var(--hub-sh-md);
    padding: 4rem;
    margin: 4rem 0;
    gap: 3.6rem;
    align-items: center;
}

.gh-content .kg-cta-section-image { border-radius: 10px; box-shadow: var(--hub-sh-sm); }
.gh-content .kg-cta-section-heading { font-size: clamp(2.2rem, 2.6vw, 2.8rem); letter-spacing: -0.025em; line-height: 1.15; font-weight: 800; text-wrap: balance; color: var(--hub-text-strong); }
.gh-content .kg-cta-section-text { font-size: 1.65rem; line-height: 1.6; color: var(--hub-text-muted); text-wrap: pretty; }

.gh-content .kg-cta-section-button {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 1.2rem 2.4rem !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(79, 90, 232, 0.50);
    transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
    font-weight: 600;
    margin-top: 1.6rem;
}

.gh-content .kg-cta-section-button:hover {
    background: var(--hub-brand-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.30) inset, 0 12px 28px -6px rgba(79, 90, 232, 0.65);
}

/* Feature Grid snippet */
.gh-content .kg-feature-grid-card {
    padding: 4rem 0;
    background: transparent;
    border-radius: 0;
}

.gh-content .kg-feature-grid-heading {
    font-size: clamp(2.4rem, 3vw, 3rem);
    letter-spacing: -0.025em;
    font-weight: 800;
    text-wrap: balance;
    color: var(--hub-text-strong);
    background: none;
    -webkit-text-fill-color: var(--hub-text-strong);
}

.gh-content .kg-feature-grid-eyebrow,
.gh-content [class*="eyebrow"]:not(.section-eyebrow):not(.split-eyebrow):not(.cta-banner-eyebrow):not(.wedge-eyebrow):not(.hub-eyebrow):not(.mock-detail-eyebrow) {
    color: var(--hub-brand-deep) !important;
    font-family: var(--hub-mono) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.10em !important;
    text-transform: uppercase !important;
}

.gh-content .kg-stats-eyebrow,
.gh-content .kg-testimonial-eyebrow,
.gh-content .kg-testimonials-grid-eyebrow,
.gh-content .kg-ratings-eyebrow,
.gh-content .kg-cta-section-eyebrow,
.gh-content .kg-hiw-eyebrow,
.gh-content .kg-pricing-eyebrow,
.gh-content .kg-price-comparison-eyebrow,
.gh-content .kg-tabbed-features-eyebrow,
.gh-content .kg-contact-form-eyebrow,
.gh-content .kg-integrations-grid-eyebrow,
.gh-content .kg-logo-strip-eyebrow,
.gh-content .kg-calendar-embed-eyebrow {
    color: var(--hub-brand-deep) !important;
}

.gh-content .kg-feature-grid-subheading {
    font-size: 1.7rem;
    line-height: 1.55;
    color: var(--hub-text-muted);
    text-wrap: pretty;
}

.gh-content .kg-feature-item {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 12px !important;
    padding: 2.6rem !important;
    box-shadow: var(--hub-sh-sm) !important;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.gh-content .kg-feature-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.28) !important;
    box-shadow: var(--hub-sh-md) !important;
}

.gh-content .kg-feature-item-icon {
    background: linear-gradient(135deg, rgba(79, 90, 232, 0.10), rgba(6, 182, 212, 0.06)) !important;
    border: 1px solid rgba(79, 90, 232, 0.18);
    color: var(--hub-brand) !important;
    border-radius: 10px !important;
    width: 4.4rem !important;
    height: 4.4rem !important;
    box-shadow: none;
}

.gh-content .kg-feature-item-title { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.015em; color: var(--hub-text-strong); }
.gh-content .kg-feature-item-text { font-size: 1.45rem; line-height: 1.55; color: var(--hub-text-muted); }

.gh-content .kg-feature-item-link {
    color: var(--hub-brand) !important;
    font-weight: 600 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.gh-content .kg-feature-item-link:hover {
    color: var(--hub-brand-deep) !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none;
}

/* HIW snippet */
.gh-content .kg-hiw-card {
    padding: 4rem;
    background: var(--hub-paper);
    border: 1px solid var(--hub-line);
    border-radius: 16px;
    box-shadow: var(--hub-sh-md);
    margin: 4rem 0;
    gap: 4rem;
}

.gh-content .kg-hiw-image { border-radius: 10px; box-shadow: var(--hub-sh-sm); }
.gh-content .kg-hiw-heading { font-size: clamp(2.2rem, 2.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; color: var(--hub-text-strong); text-wrap: balance; }
.gh-content .kg-hiw-subheading { font-size: 1.6rem; line-height: 1.55; color: var(--hub-text-muted); text-wrap: pretty; }

.gh-content .kg-hiw-step-number {
    background: var(--hub-brand);
    color: #fff;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 14px -4px rgba(79, 90, 232, 0.45);
}

.gh-content .kg-hiw-step-title,
.gh-content .kg-hiw-step-heading {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--hub-text-strong);
    letter-spacing: -0.01em;
    margin-bottom: 0.4rem;
    display: block;
}

.gh-content .kg-hiw-step-text,
.gh-content .kg-hiw-step-body {
    font-size: 1.4rem;
    line-height: 1.55;
    color: var(--hub-text-muted);
}

.gh-content .kg-hiw-step {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1.4rem;
    align-items: start;
    margin-bottom: 1.6rem;
}

/* Stats snippet */
.gh-content .kg-stats-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4.4rem 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
    text-align: center;
}

/* Soft background — subtle brand wash */
.gh-content .kg-stats-card.kg-stats-background-soft {
    background:
        radial-gradient(80% 60% at 50% 0%, rgba(79, 90, 232, 0.08), transparent 70%),
        linear-gradient(180deg, var(--hub-paper-2) 0%, var(--hub-paper) 100%) !important;
    border-color: rgba(79, 90, 232, 0.14) !important;
}

/* Gradient background — full brand atmospheric */
.gh-content .kg-stats-card.kg-stats-background-gradient {
    background:
        radial-gradient(60% 80% at 100% 100%, rgba(6, 182, 212, 0.18), transparent 60%),
        radial-gradient(60% 80% at 0% 0%, rgba(79, 90, 232, 0.18), transparent 60%),
        linear-gradient(135deg, var(--hub-ink-900) 0%, var(--hub-ink-800) 100%) !important;
    border-color: rgba(167, 173, 232, 0.18) !important;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.gh-content .kg-stats-card.kg-stats-background-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(167, 173, 232, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 173, 232, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 90%);
    pointer-events: none;
    z-index: 0;
}

.gh-content .kg-stats-card.kg-stats-background-gradient > * {
    position: relative;
    z-index: 1;
}

.gh-content .kg-stats-card.kg-stats-background-gradient .kg-stats-heading {
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.65) 130%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.gh-content .kg-stats-card.kg-stats-background-gradient .kg-stat-label {
    color: rgba(255, 255, 255, 0.85) !important;
}

.gh-content .kg-stats-card.kg-stats-background-gradient .kg-stat-desc,
.gh-content .kg-stats-card.kg-stats-background-gradient .kg-stat-desc p {
    color: rgba(255, 255, 255, 0.65) !important;
}

/* White variant — solid white */
.gh-content .kg-stats-card.kg-stats-background-white {
    background: var(--hub-paper) !important;
}

/* Stats heading — center-aligned with proper spacing */
.gh-content .kg-stats-card .kg-stats-heading {
    margin: 0 auto 3.2rem !important;
    text-align: center !important;
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    font-weight: 800;
    text-wrap: balance;
    max-width: 64rem;
    color: var(--hub-text-strong);
}

/* Stats row — 4 column grid centered */
.gh-content .kg-stats-card .kg-stats-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 3rem;
    align-items: start;
    justify-items: center;
}

.gh-content .kg-stats-card .kg-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    max-width: 26rem;
}

.gh-content .kg-stats-card .kg-stat-value {
    font-size: clamp(3rem, 4vw, 4.4rem);
    line-height: 1;
}

.gh-content .kg-stats-card .kg-stat-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--hub-text-strong);
    letter-spacing: -0.005em;
}

.gh-content .kg-stats-card .kg-stat-desc,
.gh-content .kg-stats-card .kg-stat-desc p {
    font-size: 1.35rem;
    color: var(--hub-text-muted);
    line-height: 1.45;
    text-align: center;
    margin: 0;
}

.gh-content .kg-stat-value {
    background: linear-gradient(135deg, var(--hub-brand), var(--hub-cyan)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-size: clamp(3rem, 4vw, 4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em;
    line-height: 1 !important;
}

.gh-content .kg-stat-label { font-size: 1.4rem; color: var(--hub-text-muted); margin-top: 0.8rem; line-height: 1.4; text-wrap: balance; }

/* Testimonial single */
.gh-content .kg-testimonial-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4.4rem 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.gh-content .kg-testimonial-card::after {
    content: '\201D';
    position: absolute;
    top: 0.8rem;
    right: 3rem;
    font-family: Georgia, serif;
    font-size: 12rem;
    line-height: 1;
    color: rgba(79, 90, 232, 0.10);
    pointer-events: none;
}

.gh-content .kg-testimonial-card > * { position: relative; z-index: 1; }

.gh-content .kg-testimonial-quote {
    font-size: clamp(1.7rem, 2vw, 2.1rem);
    line-height: 1.5;
    font-weight: 500;
    text-wrap: pretty;
    color: var(--hub-text-strong);
    border-left: 3px solid var(--hub-brand);
    padding-left: 2.4rem;
    font-style: normal;
}

.gh-content .kg-testimonial-stars,
.gh-content .kg-testimonials-grid-stars,
.gh-content .kg-rating-stars,
.gh-content .kg-ratings-aggregate-stars {
    color: var(--hub-warn);
}

.gh-content .kg-testimonial-author-name { font-size: 1.55rem; font-weight: 700; color: var(--hub-text-strong); }
.gh-content .kg-testimonial-author-title { font-size: 1.3rem; color: var(--hub-text-subtle); }

.gh-content .kg-testimonial-author-image,
.gh-content .kg-testimonial-image,
.gh-content .kg-testimonial-avatar {
    box-shadow: 0 0 0 3px #fff,
                0 0 0 4px rgba(79, 90, 232, 0.20),
                0 8px 20px -6px rgba(79, 90, 232, 0.30);
    width: 5.6rem !important;
    height: 5.6rem !important;
    border-radius: 50% !important;
    object-fit: cover;
    flex-shrink: 0;
}

.gh-content .kg-testimonial-card .kg-testimonial-author,
.gh-content figcaption.kg-testimonial-author {
    display: grid !important;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.4rem;
    row-gap: 0.2rem;
    align-items: center;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hub-line);
}

.gh-content .kg-testimonial-card .kg-testimonial-avatar {
    grid-row: 1 / 3;
    grid-column: 1;
}

.gh-content .kg-testimonial-card .kg-testimonial-author > strong {
    grid-row: 1;
    grid-column: 2;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--hub-text-strong);
    font-style: normal;
    text-align: left;
    align-self: end;
}

.gh-content .kg-testimonial-card .kg-testimonial-role {
    grid-row: 2;
    grid-column: 2;
    font-size: 1.3rem;
    color: var(--hub-text-muted);
    font-style: normal !important;
    text-align: left;
    align-self: start;
}

.gh-content .kg-testimonial-card .kg-testimonial-platform {
    grid-row: 1 / 3;
    grid-column: 3;
    align-self: center;
    justify-self: end;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hub-brand-deep);
    background: rgba(79, 90, 232, 0.08);
    border: 1px solid rgba(79, 90, 232, 0.20);
    border-radius: 4px;
    padding: 0.3rem 0.7rem;
    font-family: var(--hub-mono);
    font-style: normal !important;
}

.gh-content .kg-testimonial-card .kg-testimonial-author {
    grid-template-columns: auto 1fr auto;
}

/* Testimonials grid */
.gh-content .kg-testimonials-grid-card { margin: 4rem 0; }

.gh-content .kg-testimonials-grid-item {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 12px !important;
    padding: 2.6rem !important;
    box-shadow: var(--hub-sh-sm) !important;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
    margin: 0 !important;
}

.gh-content .kg-testimonials-grid-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.28) !important;
    box-shadow: var(--hub-sh-md) !important;
}

.gh-content .kg-testimonials-grid-quote {
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--hub-text-strong);
    border-left: 2px solid var(--hub-brand);
    padding-left: 1.4rem;
    text-wrap: pretty;
    margin: 1.6rem 0;
    width: 100%;
}

/* When grid has only 2 items, render as 2 columns (not 3 with empty col) */
.gh-content .kg-testimonials-grid-list:has(.kg-testimonials-grid-item:nth-child(2):last-child) {
    grid-template-columns: 1fr 1fr !important;
}

/* When grid has 4 items, render as 2x2 */
.gh-content .kg-testimonials-grid-list:has(.kg-testimonials-grid-item:nth-child(4):last-child) {
    grid-template-columns: 1fr 1fr !important;
}

/* When grid has 1 item, full width */
.gh-content .kg-testimonials-grid-list:has(.kg-testimonials-grid-item:only-child) {
    grid-template-columns: 1fr !important;
    max-width: 60rem;
    margin: 0 auto;
}

.gh-content .kg-testimonials-grid-item figcaption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    margin-top: auto;
    padding-top: 1rem;
}

.gh-content .kg-testimonials-grid-author,
.gh-content .kg-testimonials-grid-author-name {
    font-weight: 700 !important;
    color: var(--hub-text-strong) !important;
    font-size: 1.4rem;
    font-style: normal !important;
    text-align: left !important;
}

.gh-content .kg-testimonials-grid-role {
    font-size: 1.25rem;
    color: var(--hub-text-muted);
    font-style: normal !important;
}

/* Ratings */
.gh-content .kg-ratings-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
}

.gh-content .kg-rating-platform {
    background: var(--hub-paper-2) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: none !important;
}

.gh-content .kg-ratings-aggregate-score {
    background: linear-gradient(135deg, var(--hub-brand), var(--hub-cyan)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

/* Logo strip */
.gh-content .kg-logo-strip-card { background: transparent !important; border: none !important; padding: 4rem 0 !important; margin: 4rem 0; text-align: center; }

.gh-content .kg-logo-strip-heading,
.gh-content .kg-logo-strip-label {
    color: var(--hub-text-subtle) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    font-family: var(--hub-mono) !important;
    margin-bottom: 2.4rem !important;
}

.gh-content .kg-logo-strip-row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem 5rem;
    padding: 1rem 0;
}

.gh-content .kg-logo-strip-logos img,
.gh-content .kg-logo-strip-img {
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity 0.25s, filter 0.25s;
    max-height: 3.4rem;
    width: auto;
}

.gh-content .kg-logo-strip-logos img:hover,
.gh-content .kg-logo-strip-img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Pricing snippet */
.gh-content .kg-pricing-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4rem 3rem !important;
    box-shadow: var(--hub-sh-md) !important;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.gh-content .kg-pricing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.25) !important;
    box-shadow: var(--hub-sh-lg) !important;
}

.gh-content .kg-pricing-tier-name,
.gh-content .kg-pricing-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--hub-brand-deep);
    font-family: var(--hub-mono);
}

.gh-content .kg-pricing-tier-price,
.gh-content .kg-pricing-amount {
    background: linear-gradient(135deg, var(--hub-brand), var(--hub-cyan)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-size: clamp(3.6rem, 5vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

.gh-content .kg-pricing-tier-button,
.gh-content .kg-pricing-card-button {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(79, 90, 232, 0.50);
}

/* Price comparison */
.gh-content .kg-price-comparison-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4.8rem 4rem 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
    position: relative;
}

.gh-content .kg-price-comparison-card::before {
    content: 'PRICING';
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--hub-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--hub-brand-deep);
    background: rgba(79, 90, 232, 0.08);
    border: 1px solid rgba(79, 90, 232, 0.20);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
}

.gh-content .kg-price-comparison-card::after {
    content: 'No hidden fees \00B7  BYOC enabled \00B7  Cancel anytime';
    display: block;
    text-align: center;
    margin-top: 2.4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hub-line);
    font-family: var(--hub-mono);
    font-size: 1.2rem;
    color: var(--hub-text-subtle);
    letter-spacing: 0.04em;
}

.gh-content .kg-price-comparison-header {
    text-align: center;
    margin-bottom: 2.4rem;
    margin-top: 2rem;
    padding: 0 2rem;
}

.gh-content .kg-price-comparison-heading {
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    font-weight: 800;
    color: var(--hub-text-strong);
    text-wrap: balance;
    margin-bottom: 1rem;
}

.gh-content .kg-price-comparison-description {
    font-size: clamp(1.5rem, 1.5vw, 1.7rem);
    color: var(--hub-text-muted);
    max-width: 56rem;
    margin: 0 auto;
    line-height: 1.55;
    text-wrap: pretty;
}

.gh-content .kg-price-comparison-bars { height: 28rem; }

.gh-content .kg-price-comparison-bar {
    background: linear-gradient(180deg, var(--hub-brand-soft), var(--hub-brand)) !important;
    min-height: 0.6rem !important;
    border-radius: 6px 6px 0 0 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.30) inset;
}

.gh-content .kg-price-comparison-bar-highlight {
    background: linear-gradient(180deg, var(--hub-cyan), var(--hub-brand)) !important;
}

.gh-content .kg-price-comparison-step {
    border-radius: 8px !important;
    padding: 0.8rem 1.4rem !important;
    transition: background 0.18s, color 0.18s;
    font-weight: 600;
}

.gh-content .kg-price-comparison-step[data-kg-active="true"] {
    background: var(--hub-brand) !important;
    color: #fff !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.50);
}

/* Integrations */
.gh-content .kg-integrations-grid-card {
    background: transparent !important;
    border: none !important;
    padding: 4rem 0 !important;
    margin: 4rem 0;
}

.gh-content .kg-integrations-grid-item {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    color: var(--hub-text) !important;
    border-radius: 12px !important;
    padding: 2.2rem !important;
    box-shadow: var(--hub-sh-sm) !important;
    transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.gh-content .kg-integrations-grid-item:hover {
    transform: translateY(-2px);
    border-color: rgba(79, 90, 232, 0.30) !important;
    box-shadow: var(--hub-sh-md) !important;
}

/* Contact form */
.gh-content .kg-contact-form-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
}

.gh-content .kg-contact-form-input,
.gh-content .kg-contact-form-textarea,
.gh-content .kg-contact-form-select {
    background: #fff !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 8px !important;
    padding: 1.2rem 1.4rem !important;
    font-size: 1.45rem !important;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.gh-content .kg-contact-form-input:focus,
.gh-content .kg-contact-form-textarea:focus,
.gh-content .kg-contact-form-select:focus {
    border-color: var(--hub-brand) !important;
    box-shadow: 0 0 0 3px rgba(79, 90, 232, 0.15);
    outline: none;
}

.gh-content .kg-contact-form-label { font-size: 1.3rem; font-weight: 600; color: var(--hub-text-strong); }

.gh-content .kg-contact-form-submit {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 1.3rem 2.6rem !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(79, 90, 232, 0.50);
}

.gh-content .kg-contact-form-submit:hover {
    background: var(--hub-brand-deep) !important;
    transform: translateY(-1px);
}

/* Tabbed features */
.gh-content .kg-tabbed-features-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
}

.gh-content .kg-tabbed-features-tabs {
    border-bottom: 1px solid var(--hub-line);
    gap: 0.6rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gh-content .kg-tabbed-features-tab,
.gh-content .kg-tabbed-features-card [role="tab"] {
    padding: 1rem 1.8rem !important;
    border-radius: 8px 8px 0 0 !important;
    background: transparent !important;
    color: var(--hub-text-muted) !important;
    font-weight: 600;
    border: none !important;
    transition: background 0.15s, color 0.15s;
    cursor: pointer;
}

.gh-content .kg-tabbed-features-tab:hover,
.gh-content .kg-tabbed-features-card [role="tab"]:hover {
    background: rgba(79, 90, 232, 0.06) !important;
    color: var(--hub-brand-deep) !important;
}

.gh-content .kg-tabbed-features-tab[aria-selected="true"],
.gh-content .kg-tabbed-features-card [role="tab"][aria-selected="true"] {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 16px -4px rgba(79, 90, 232, 0.45);
}

.gh-content .kg-tabbed-features-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.6rem;
    align-items: center;
}

.gh-content .kg-tabbed-features-content:not(:has(img)) { display: block; }

.gh-content .kg-tabbed-features-content img { border-radius: 10px; box-shadow: var(--hub-sh-sm); }

.gh-content .kg-tabbed-features-heading,
.gh-content .kg-tabbed-features-content h3 {
    font-size: clamp(1.85rem, 2.2vw, 2.2rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-weight: 700;
    color: var(--hub-text-strong);
    text-wrap: balance;
    margin-top: 0;
}

.gh-content .kg-tabbed-features-text,
.gh-content .kg-tabbed-features-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--hub-text-muted);
    text-wrap: pretty;
}

.gh-content .kg-tabbed-features-cta {
    background: var(--hub-brand) !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -6px rgba(79, 90, 232, 0.50);
    padding: 1.2rem 2.4rem;
    font-weight: 600;
}

.gh-content .kg-tabbed-features-cta:hover {
    background: var(--hub-brand-deep) !important;
    transform: translateY(-1px);
}

/* Calendar embed */
.gh-content .kg-calendar-embed-card {
    background: var(--hub-paper) !important;
    border: 1px solid var(--hub-line) !important;
    border-radius: 16px !important;
    padding: 4rem !important;
    box-shadow: var(--hub-sh-md) !important;
    margin: 4rem 0;
    overflow: hidden;
}

.gh-content .kg-calendar-embed-card--side-by-side {
    display: grid !important;
    grid-template-columns: 1fr 1.1fr !important;
    gap: 4rem;
    align-items: stretch;
}

.gh-content .kg-calendar-embed-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.4rem 0;
}

.gh-content .kg-calendar-embed-heading {
    font-size: clamp(2.2rem, 2.6vw, 2.8rem);
    letter-spacing: -0.025em;
    line-height: 1.15;
    font-weight: 800;
    color: var(--hub-text-strong);
    text-wrap: balance;
    margin-bottom: 1.4rem;
}

.gh-content .kg-calendar-embed-text {
    font-size: 1.55rem;
    line-height: 1.6;
    color: var(--hub-text-muted);
    text-wrap: pretty;
}

.gh-content .kg-calendar-embed-iframe-wrap {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--hub-paper-2), var(--hub-paper-3));
    border: 1px dashed var(--hub-line-strong);
    min-height: 36rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-content .kg-calendar-embed-iframe-wrap iframe {
    border-radius: 10px;
    background: #fff;
    width: 100%;
    height: 100%;
    border: none;
}

.gh-content .kg-calendar-embed-iframe-wrap:has(iframe[src="about:blank"]) iframe {
    display: none;
}

.gh-content .kg-calendar-embed-iframe-wrap:has(iframe[src="about:blank"])::before {
    content: '\1F4C5';
    font-size: 4rem;
    position: absolute;
    top: 30%;
    color: var(--hub-text-subtle);
    opacity: 0.4;
}

.gh-content .kg-calendar-embed-iframe-wrap:has(iframe[src="about:blank"])::after {
    content: 'Add a scheduling URL to show the calendar embed.';
    position: absolute;
    bottom: 30%;
    color: var(--hub-text-subtle);
    font-size: 1.3rem;
    text-align: center;
    padding: 0 2rem;
    font-family: var(--hub-mono);
}

.gh-content .kg-calendar-embed-iframe-wrap > p {
    color: var(--hub-text-subtle);
    font-size: 1.3rem;
    text-align: center;
    padding: 2rem;
    font-family: var(--hub-mono);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-strip { grid-template-columns: 1fr 1fr; padding: 3.2rem; }
    .stat-divider:nth-child(2), .stat-divider:nth-child(6) { display: none; }
    .mock-window-body { grid-template-columns: 1fr; }
    .mock-col-list { border-right: none; border-bottom: 1px solid rgba(148, 163, 184, 0.10); }
}

@media (max-width: 768px) {
    .features-grid, .template-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 4rem; }
    .split.reversed { direction: ltr; }
    .stats-strip { grid-template-columns: 1fr; gap: 2.4rem; }
    .stat-divider { display: none; }
    .stat-item { padding: 0; }
    .cta-banner { padding: 5.6rem 2.4rem; }
    .cta-banner-actions { flex-direction: column; align-items: stretch; }
    .hero { padding-top: calc(var(--header-height) + 4rem); padding-bottom: 6rem; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 32rem; margin-inline: auto; }
    .gh-content .kg-tabbed-features-content { grid-template-columns: 1fr; gap: 2.4rem; }
    .gh-content .kg-cta-section-card,
    .gh-content .kg-hiw-card { padding: 3.2rem 2.4rem; gap: 2.4rem; }
    .gh-content .kg-signup-card { padding: 4.8rem 2.4rem !important; }
    .gh-content .kg-signup-card-fields { flex-direction: column; border-radius: 16px !important; padding: 1.2rem !important; gap: 0.8rem; }
    .gh-content .kg-signup-card-button { border-radius: 999px !important; width: 100%; }
    .trust-bar-inner { flex-direction: column; gap: 1.6rem; }
    .trust-bar-badges { justify-content: center; gap: 1rem 2rem; }
}
