/* ==========================================================================
 xflow, Modern Light Theme (Linear-inspired typography)
 Fonts: Inter, system-ui
 ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
 /* Light, warm-neutral background system */
 --bg-primary: #fafaf7; /* page background, soft off-white */
 --bg-surface: #f3f3ee; /* alt sections */
 --bg-elevated: #ffffff; /* cards on alt sections */
 --bg-card: #ffffff; /* cards on primary bg */

 /* Text, near-black with warmth */
 --text-primary: #14161a;
 --text-secondary:#3d4148;
 --text-muted: #6b7079;

 /* Accent, confident indigo (kept from brand DNA, less saturated) */
 --accent: #3a52e0;
 --accent-hover: #2d42c4;
 --accent-ink: #ffffff; /* text on accent bg */
 --accent-dim: rgba(58,82,224,0.08);
 --accent-border: rgba(58,82,224,0.22);
 --accent-glow: rgba(58,82,224,0.04);

 /* Borders, soft neutral hairlines */
 --border: rgba(20,22,26,0.08);
 --border-strong: rgba(20,22,26,0.14);

 --success: #0f9d58;
 --error: #d23b3b;
 --warning: #c47f00;

 --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
 --font-accent: 'Inter', -apple-system, system-ui, sans-serif;
 --container: 1140px;
 --section-py: clamp(80px, 12vw, 140px);
 --radius: 12px;
 --radius-lg: 20px;

 --shadow-sm: 0 1px 2px rgba(20,22,26,0.04), 0 1px 1px rgba(20,22,26,0.03);
 --shadow-md: 0 4px 16px rgba(20,22,26,0.05), 0 1px 3px rgba(20,22,26,0.04);
 --shadow-lg: 0 24px 60px rgba(20,22,26,0.08), 0 2px 6px rgba(20,22,26,0.04);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
 margin: 0;
 font-family: var(--font-body);
 font-size: 17px;
 line-height: 1.65;
 color: var(--text-secondary);
 background: var(--bg-primary);
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
 font-family: var(--font-body);
 font-weight: 600;
 color: var(--text-primary);
 margin: 0;
 line-height: 1.1;
 letter-spacing: 0;
}

h1 { font-size: clamp(2.25rem, 4.6vw, 3.5rem); letter-spacing: 0; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.45rem); letter-spacing: 0; font-weight: 600; }
h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: 0; }

/* Stripped italic flourishes, keep <em> emphasis subtle, no font swap */
h1 em, h2 em, .hero h1 em {
 font-family: inherit;
 font-style: normal;
 font-weight: 600;
 letter-spacing: inherit;
 color: var(--text-primary);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.container {
 max-width: var(--container);
 margin: 0 auto;
 padding: 0 28px;
}

.section { padding: var(--section-py) 0; }

/* ── Labels & Chips ────────────────────────────────────────────────────── */
.label {
 display: inline-block;
 font-size: 0.6875rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--accent);
 margin-bottom: 20px;
}

.chip {
 display: inline-block;
 font-size: 0.6875rem;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--accent);
 background: var(--accent-dim);
 padding: 4px 10px;
 border-radius: 100px;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-family: var(--font-body);
 font-size: 0.9375rem;
 font-weight: 500;
 border: none;
 cursor: pointer;
 transition: all 0.2s ease;
 border-radius: 100px;
 text-decoration: none;
}

.btn-primary {
 background: var(--text-primary);
 color: #fff;
 padding: 14px 26px;
}
.btn-primary:hover { background: var(--accent); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
 background: transparent;
 color: var(--text-primary);
 padding: 14px 4px;
 border-radius: 0;
}
.btn-ghost:hover { color: var(--accent); }
.btn-ghost .arrow { transition: transform 0.2s ease; }
.btn-ghost:hover .arrow { transform: translateX(3px); }

.text-link { font-size: 0.9375rem; font-weight: 500; color: var(--accent); transition: color 0.2s ease; }
.text-link:hover { color: var(--accent-hover); }

.link-button {
 background: none; border: none; font: inherit;
 color: var(--accent); cursor: pointer; font-weight: 500;
 padding: 0; transition: color 0.2s ease;
}
.link-button:hover { color: var(--accent-hover); }

/* Legacy button classes for sub-pages */
.button { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500; border: none; cursor: pointer; transition: all 0.2s ease; border-radius: 100px; text-decoration: none; }
.button-primary { background: var(--text-primary); color: #fff; padding: 12px 24px; }
.button-primary:hover { background: var(--accent); }
.button-secondary { background: var(--bg-elevated); color: var(--text-primary); padding: 12px 24px; border: 1px solid var(--border-strong); }
.button-secondary:hover { border-color: var(--accent-border); color: var(--accent); }
.button-lg { padding: 14px 28px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
 position: fixed;
 top: 0; left: 0; right: 0;
 z-index: 100;
 padding: 18px 0;
 background: transparent;
 transition: background 0.3s ease, border-color 0.3s ease;
 border-bottom: 1px solid transparent;
}

.site-header.scrolled {
 background: rgba(250, 250, 247, 0.85);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 border-bottom-color: var(--border);
}

.header-inner {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
}

.brand { display: flex; align-items: center; }
.logo { height: 26px; width: auto; filter: invert(1) brightness(0.05); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
 font-size: 0.9rem;
 font-weight: 500;
 color: var(--text-secondary);
 transition: color 0.2s ease;
 white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text-primary); }

.nav-cta {
 background: var(--text-primary);
 color: #fff !important;
 padding: 8px 18px;
 border-radius: 100px;
 border: 1px solid var(--text-primary);
 transition: all 0.2s ease !important;
 white-space: nowrap;
}
.nav-cta:hover { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }

/* Mobile nav */
.nav-toggle {
 display: none; background: none; border: none; cursor: pointer;
 padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
 display: block; width: 22px; height: 2px;
 background: var(--text-primary); border-radius: 1px;
 transition: all 0.2s ease;
}

.mobile-nav {
 position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
 background: var(--bg-primary);
 display: none; flex-direction: column;
 align-items: center; justify-content: center; gap: 32px; z-index: 99;
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { font-size: 1.125rem; font-weight: 500; color: var(--text-secondary); }
.mobile-nav a:hover { color: var(--text-primary); }

@media (max-width: 768px) {
 .nav { display: none; }
 .nav-toggle { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
 padding: 140px 0 100px;
 position: relative;
 overflow: hidden;
}

/* Subtle warm gradient backdrop */
.hero::before {
 content: '';
 position: absolute;
 inset: 0;
 background:
 radial-gradient(ellipse 1100px 600px at 70% 0%, rgba(58,82,224,0.07), transparent 60%),
 radial-gradient(ellipse 800px 500px at 10% 30%, rgba(255,200,150,0.10), transparent 60%);
 pointer-events: none;
}

.hero-inner {
 position: relative; z-index: 1;
 display: flex; flex-direction: column;
 align-items: center; text-align: center;
}

.hero-content {
 max-width: 820px; width: 100%;
 display: flex; flex-direction: column; align-items: center;
}
.hero .label { margin-bottom: 36px; }
.hero h1 { margin-bottom: 28px; max-width: 16ch; }

.hero-sub {
 font-size: 1.15rem;
 line-height: 1.7;
 color: var(--text-secondary);
 max-width: 640px;
 margin: 0 auto 40px;
 text-wrap: pretty;
}

.hero-actions { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

@media (max-width: 768px) {
 .hero { padding: 120px 0 70px; }
 .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
}

/* Hero entrance */
.hero-enter {
 opacity: 0; transform: translateY(20px);
 animation: hero-fade-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-enter-delay-1 { animation-delay: 0.12s; }
.hero-enter-delay-2 { animation-delay: 0.24s; }
.hero-enter-delay-3 { animation-delay: 0.36s; }
@keyframes hero-fade-in { to { opacity: 1; transform: none; } }

/* ── Hero diagram (light-mode rebuild) ─────────────────────────────────── */
.xf-diagram {
 width: 100%; max-width: 940px; margin: 0 auto;
 background: var(--bg-card);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: 32px;
 box-shadow: var(--shadow-lg);
}

.xf-row { display: grid; grid-template-columns: 116px 1fr; gap: 0; align-items: center; }
.xf-row-label {
 font-size: 0.6875rem; font-weight: 600; color: var(--text-muted);
 text-transform: uppercase; letter-spacing: 0.08em;
 line-height: 1.45; text-align: center; padding: 0 14px;
 border-right: 1px solid var(--border); align-self: stretch;
 display: flex; align-items: center; justify-content: center;
}
.xf-row-label.hero-label { color: var(--accent); border-right-color: var(--accent-border); }
.xf-row-content { display: flex; gap: 10px; flex-wrap: wrap; padding-left: 22px; }

.xf-cat-box {
 flex: 1; min-width: 110px; padding: 16px 14px 14px;
 background: var(--bg-primary); border: 1px solid var(--border);
 border-radius: 10px;
 display: flex; flex-direction: column; align-items: center;
 gap: 10px; text-align: center;
 transition: all 0.2s ease;
}
.xf-cat-box:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.xf-cat-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.xf-cat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.xf-cat-label { font-size: 0.78rem; font-weight: 500; color: var(--text-primary); line-height: 1.35; }

.xf-connector { display: grid; grid-template-columns: 116px 1fr; height: 32px; align-items: center; }
.xf-connector-track {
 position: relative; display: flex; align-items: center; justify-content: center;
 height: 100%; padding-left: 22px;
}
.xf-connector-track::before {
 content: ''; position: absolute; top: 0; bottom: 0;
 left: calc(22px + 50% - 116px/2); width: 1px;
 background: repeating-linear-gradient(to bottom, var(--accent-border) 0 4px, transparent 4px 8px);
}
.xf-connector-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.6; position: relative; z-index: 1; }

.xf-layer-brand {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 8px;
}
.xf-layer-brand img {
 filter: invert(1) brightness(0.05);
 opacity: 1;
}
.xf-layer-brand span {
 color: var(--accent);
}
.xf-hero-band {
 display: flex; align-items: stretch; justify-content: center; width: 100%;
 border: 2px solid var(--accent-border); border-radius: 16px; overflow: hidden;
 background: linear-gradient(135deg, rgba(58,82,224,0.04), rgba(58,82,224,0.09));
 box-shadow: 0 0 0 4px rgba(58,82,224,0.04);
}
.xf-hero-component {
 flex: 1; padding: 42px 28px;
 display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.xf-hero-icon {
 width: 52px; height: 52px; border-radius: 14px;
 background: rgba(58,82,224,0.08); border: 1px solid var(--accent-border);
 display: flex; align-items: center; justify-content: center;
}
.xf-hero-icon svg { width: 24px; height: 24px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.xf-hero-sublabel { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.xf-hero-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; }

@media (max-width: 768px) {
 .xf-diagram { padding: 20px 16px; }
 .xf-connector { grid-template-columns: 80px 1fr; }
 .xf-row-label { font-size: 0.5625rem; padding: 0 8px; }
 .xf-row-content { padding-left: 14px; gap: 8px; }
 .xf-cat-box { min-width: 80px; padding: 10px 8px; }
 .xf-hero-band { margin-left: 14px; flex-direction: column; }
 .xf-connector-track { padding-left: 14px; }
}

/* ── Section intros ────────────────────────────────────────────────────── */
.section-intro { margin-bottom: 8px; max-width: 720px; }
.section-lead {
 font-size: 1.0625rem;
 color: var(--text-secondary);
 max-width: 640px;
 margin-top: 16px;
 text-wrap: pretty;
}

/* ── Positioning section ───────────────────────────────────────────────── */
.positioning-section { padding: var(--section-py) 0; }

/* ── Partners ──────────────────────────────────────────────────────────── */
.partners-section { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partners-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 28px; text-align: center; }
.partners-logos { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.partner-item {
 display: flex; align-items: center; justify-content: center;
 min-width: 156px; height: 64px; padding: 12px 20px;
 background: #fff; border: 1px solid var(--border);
 border-radius: 10px; box-shadow: var(--shadow-sm);
 opacity: 1; transition: opacity 0.2s ease; color: var(--text-primary);
}
.partner-item:hover { opacity: 0.82; }
.partner-item img { display: block; width: auto; object-fit: contain; }
.partner-item-microsoft img { height: 34px; }
.partner-item-collibra img { height: 30px; }
.partner-item-aws img { height: 34px; }

/* ── Beliefs ───────────────────────────────────────────────────────────── */
.beliefs-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.beliefs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.belief-card {
 padding: 32px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 transition: all 0.3s ease;
}
.belief-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.belief-number {
 font-family: var(--font-body); font-style: normal;
 font-size: 1.625rem; font-weight: 600; color: var(--accent);
 letter-spacing: 0; margin-bottom: 18px; line-height: 1;
}
.belief-card h3 { margin-bottom: 12px; }
.belief-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }
@media (max-width: 768px) { .beliefs-grid { grid-template-columns: 1fr; } }

/* ── Agentic / AI-ready ────────────────────────────────────────────────── */
.agentic-section { padding: var(--section-py) 0; }
.agentic-grid {
 display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
 gap: 64px; align-items: start;
}
.agentic-panel {
 border: 1px solid var(--accent-border);
 border-radius: var(--radius); background: var(--accent-dim);
 padding: 32px;
}
.agentic-panel-title {
 font-size: 0.6875rem; font-weight: 600; color: var(--accent);
 text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px;
}
.agentic-row {
 display: grid; grid-template-columns: 110px 1fr; gap: 16px;
 padding: 16px 0; border-top: 1px solid var(--accent-border);
}
.agentic-row:first-of-type { border-top: none; padding-top: 0; }
.agentic-label {
 font-size: 0.6875rem; font-weight: 600; color: var(--text-muted);
 text-transform: uppercase; letter-spacing: 0.08em;
}
.agentic-value { color: var(--text-primary); font-weight: 500; line-height: 1.5; font-size: 0.95rem; }
.agentic-steps { display: grid; gap: 16px; }
.agentic-step {
 border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-card);
 padding: 24px 26px;
}
.agentic-step h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.agentic-step p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }
@media (max-width: 900px) { .agentic-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── Use cases ─────────────────────────────────────────────────────────── */
.use-cases-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.use-case-cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
@media (max-width: 768px) { .use-case-cards-2 { grid-template-columns: 1fr; } }

.use-case-card-link { text-decoration: none; display: block; }
.use-case-card {
 padding: 36px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 transition: all 0.3s ease;
}
.use-case-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.use-case-icon {
 width: 48px; height: 48px;
 display: flex; align-items: center; justify-content: center;
 background: var(--accent-dim); border-radius: 12px;
 color: var(--accent); margin-bottom: 22px;
}
.use-case-card h3 { margin-bottom: 12px; font-size: 1.5rem; letter-spacing: 0; }
.use-case-card p { font-size: 0.9375rem; line-height: 1.65; margin-bottom: 20px; color: var(--text-secondary); }
.use-case-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.use-case-tag {
 font-size: 0.6875rem; font-weight: 500;
 color: var(--text-secondary); background: var(--bg-primary);
 padding: 4px 10px; border-radius: 100px;
 border: 1px solid var(--border);
}
.use-case-cta { margin-top: 22px; font-size: 0.9rem; color: var(--accent); font-weight: 500; }

/* ── Insights teaser ───────────────────────────────────────────────────── */
.insights-teaser-section { padding: var(--section-py) 0; }
.article-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
@media (max-width: 768px) { .article-grid-3 { grid-template-columns: 1fr; } }
.insights-cta { margin-top: 48px; text-align: center; }

/* ── Closing CTA ───────────────────────────────────────────────────────── */
.closing-cta-section {
 padding: var(--section-py) 0;
 background: var(--text-primary);
 color: #fff;
 text-align: center;
}
.closing-cta-section h2 { color: #fff; }
.closing-cta-section h2 em { color: #b3befc; }
.closing-cta-inner { max-width: 680px; margin: 0 auto; }
.closing-cta-inner h2 { margin-bottom: 24px; }
.closing-cta-inner > p {
 font-size: 1.0625rem; color: rgba(255,255,255,0.9);
 margin: 0 auto 36px; max-width: 540px;
}
.closing-cta-section ::selection {
 color: #fff;
 background: rgba(58,82,224,0.72);
}
.closing-cta-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.closing-cta-section .btn-primary { background: #fff; color: var(--text-primary); }
.closing-cta-section .btn-primary:hover { background: var(--accent); color: #fff; }
.closing-cta-section .btn-ghost { color: #fff; }
.closing-cta-section .btn-ghost:hover { color: #b3befc; }

/* ── Contact ──────────────────────────────────────────────────────────── */
.contact-section { padding: var(--section-py) 0; background: var(--bg-primary); }
.contact-inner {
 display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
 gap: 56px; align-items: start;
 max-width: 1080px; margin: 0 auto;
 padding: 42px;
 border: 1px solid var(--border); border-radius: var(--radius-lg);
 background:
  radial-gradient(circle at top left, rgba(58,82,224,0.08), transparent 36%),
  var(--bg-elevated);
 box-shadow: var(--shadow-lg);
}
.contact-copy { padding: 8px 0; }
.contact-inner h2 { margin-bottom: 16px; max-width: 520px; }
.contact-lead {
 font-size: 1.02rem; line-height: 1.6;
 margin-bottom: 28px; color: var(--text-secondary);
 max-width: 560px;
}
.contact-points {
 display: grid; gap: 12px;
 margin-top: 30px;
}
.contact-point {
 padding: 16px 0 16px 18px;
 border-left: 2px solid var(--accent-border);
}
.contact-point strong {
 display: block; color: var(--text-primary);
 font-size: 0.92rem; font-weight: 600;
 margin-bottom: 4px;
}
.contact-point span {
 display: block; color: var(--text-muted);
 font-size: 0.88rem; line-height: 1.55;
}
.contact-panel {
 padding: 26px;
 border: 1px solid var(--border);
 border-radius: var(--radius);
 background: rgba(250,250,247,0.78);
 box-shadow: var(--shadow-sm);
}
.form-row {
 display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}

.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
 display: block; font-size: 0.76rem; font-weight: 600;
 color: var(--text-secondary); margin-bottom: 7px;
 letter-spacing: 0.02em;
}
.form-group .optional { color: var(--text-muted); font-weight: 400; }
.form-group input,
.form-group textarea {
 width: 100%; padding: 13px 14px;
 font-family: var(--font-body); font-size: 0.9375rem;
 color: var(--text-primary); background: #fff;
 border: 1px solid var(--border); border-radius: 10px;
 outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
 box-shadow: inset 0 1px 0 rgba(20,22,26,0.02);
}
.form-group input:hover,
.form-group textarea:hover { border-color: var(--border-strong); }
.form-group input:focus,
.form-group textarea:focus {
 border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input.input-error,
.form-group textarea.input-error { border-color: var(--error); }
.form-group textarea { resize: vertical; min-height: 116px; }
.form-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-submit { width: 100%; margin-top: 4px; justify-content: center; padding: 13px 24px; }
.form-note { font-size: 0.8125rem; color: var(--text-muted); margin-top: 14px; text-align: center; }
.form-error { font-size: 0.875rem; color: var(--error); margin-top: 12px; text-align: center; }

.form-success { padding: 32px 0; }
.form-success h3 { margin-bottom: 8px; }
.form-success a.form-success button { color: var(--accent); }

.contact-secondary { margin-top: 20px; font-size: 0.875rem; color: var(--text-muted); text-align: center; }
.contact-secondary a { color: var(--accent); font-weight: 500; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 56px 0; background: var(--bg-primary); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer-brand { flex: 0 0 auto; min-width: min(100%, 520px); }
.footer-brand .brand-text { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; letter-spacing: 0; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); }
.footer-links {
 display: flex; flex-direction: column;
 align-items: flex-start; gap: 18px;
}
.footer-links-row {
 display: flex; align-items: center;
 gap: clamp(28px, 4vw, 44px);
 flex-wrap: wrap;
}
.footer-links a,
.footer-link-button {
 font-size: 0.8125rem; color: var(--text-muted); transition: color 0.2s ease;
}
.footer-links a:hover,
.footer-link-button:hover { color: var(--text-primary); }
.footer-link-button {
 padding: 0; border: 0; background: transparent;
 font-family: inherit; font-size: 0.8125rem; line-height: inherit;
 color: var(--text-muted); cursor: pointer;
}
.footer-assurance {
 display: flex; flex-wrap: wrap; align-items: center;
 gap: 10px; margin-top: 22px;
}
.footer-assurance-label {
 flex-basis: 100%;
 font-size: 0.65rem; font-weight: 700;
 letter-spacing: 0.11em; text-transform: uppercase;
 color: var(--text-muted);
}
.footer-assurance-row {
 display: flex; align-items: center; gap: 10px;
 flex-wrap: nowrap;
}
.footer-assurance-cards {
 display: flex; align-items: center; gap: 10px;
 flex-wrap: nowrap;
 min-width: 0;
}
.footer-assurance-item {
 display: inline-flex; align-items: center; gap: 9px;
 padding: 8px 10px;
 border: 1px solid var(--border);
 border-radius: 10px; background: var(--bg-elevated);
 box-shadow: var(--shadow-sm);
 min-width: 0;
 max-width: 100%;
}
.footer-assurance-logo {
 width: 28px; height: 28px; object-fit: contain;
 flex: 0 0 28px; border-radius: 50%;
}
.footer-assurance-vanta-logo {
 width: 78px; height: 31px; object-fit: contain;
 flex: 0 0 78px; border-radius: 0;
}
.footer-assurance-copy {
 display: flex; flex-direction: column; gap: 1px;
 min-width: 0;
}
.footer-assurance-copy strong {
 font-size: 0.75rem; line-height: 1.15;
 color: var(--text-primary); font-weight: 600;
 overflow-wrap: anywhere;
}
.footer-assurance-copy span {
 font-size: 0.65rem; line-height: 1.15;
 color: var(--text-muted); font-weight: 500;
 overflow-wrap: anywhere;
}
@media (max-width: 768px) {
 .footer-inner { flex-direction: column; gap: 24px; }
 .footer-brand { min-width: 0; width: 100%; }
 .footer-assurance-row,
 .footer-assurance-cards { flex-wrap: wrap; }
 .footer-assurance-item { flex: 1 1 190px; }
}

/* ── Cookie Settings ───────────────────────────────────────────────────── */
.cookie-banner {
 position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 500;
 display: flex; align-items: center; justify-content: space-between; gap: 24px;
 max-width: 980px; margin: 0 auto; padding: 18px 20px;
 border: 1px solid var(--border); border-radius: var(--radius);
 background: rgba(250,250,247,0.97); box-shadow: var(--shadow-lg);
 backdrop-filter: blur(12px);
}
.cookie-banner[hidden],
.cookie-modal[hidden] { display: none; }
.cookie-banner-copy { max-width: 600px; }
.cookie-banner-copy strong {
 display: block; margin-bottom: 4px; color: var(--text-primary);
 font-size: 0.95rem; line-height: 1.35;
}
.cookie-banner-copy p {
 margin: 0; color: var(--text-secondary);
 font-size: 0.875rem; line-height: 1.55;
}
.cookie-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 42px; padding: 10px 16px;
 border-radius: 999px; border: 1px solid var(--border);
 background: var(--bg-elevated); color: var(--text-primary);
 font-size: 0.875rem; font-weight: 600; cursor: pointer;
 transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.cookie-btn:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.cookie-btn-primary { background: var(--text-primary); border-color: var(--text-primary); color: white; }
.cookie-btn-quiet { background: transparent; color: var(--text-secondary); }
.cookie-modal {
 position: fixed; inset: 0; z-index: 510;
 display: flex; align-items: center; justify-content: center;
 padding: 24px;
}
.cookie-modal-backdrop {
 position: absolute; inset: 0; background: rgba(20,22,26,0.42);
 backdrop-filter: blur(8px);
}
.cookie-modal-panel {
 position: relative; width: min(100%, 560px);
 padding: 28px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-primary);
 box-shadow: var(--shadow-lg);
}
.cookie-modal-header {
 display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
 margin-bottom: 18px;
}
.cookie-modal-header h2 { font-size: 1.35rem; margin: 0 0 6px; }
.cookie-modal-header p {
 margin: 0; color: var(--text-secondary);
 font-size: 0.9375rem; line-height: 1.6;
}
.cookie-close {
 flex: 0 0 auto; width: 34px; height: 34px;
 border: 1px solid var(--border); border-radius: 999px;
 background: var(--bg-elevated); cursor: pointer;
 color: var(--text-secondary); font-size: 1.25rem; line-height: 1;
}
.cookie-option {
 display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
 padding: 18px 0; border-top: 1px solid var(--border);
}
.cookie-option-title { display: block; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 4px; }
.cookie-option p { margin: 0; color: var(--text-secondary); font-size: 0.875rem; line-height: 1.55; }
.cookie-toggle {
 width: 46px; height: 26px; appearance: none; cursor: pointer;
 border-radius: 999px; background: var(--border-strong);
 position: relative; transition: background 0.2s ease;
}
.cookie-toggle::after {
 content: ""; position: absolute; top: 3px; left: 3px;
 width: 20px; height: 20px; border-radius: 50%;
 background: white; box-shadow: var(--shadow-sm);
 transition: transform 0.2s ease;
}
.cookie-toggle:checked { background: var(--accent); }
.cookie-toggle:checked::after { transform: translateX(20px); }
.cookie-toggle:disabled { opacity: 0.55; cursor: not-allowed; }
.cookie-modal-actions {
 display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
 margin-top: 22px;
}
@media (max-width: 720px) {
 .cookie-banner { flex-direction: column; align-items: stretch; left: 16px; right: 16px; bottom: 16px; }
 .cookie-actions, .cookie-modal-actions { align-items: stretch; }
 .cookie-btn { width: 100%; }
 .cookie-modal-panel { padding: 22px; }
 .cookie-option { grid-template-columns: 1fr; }
}

/* ── Reveal animations ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Interior page hero ────────────────────────────────────────────────── */
.page-hero {
 padding: 150px 0 80px;
 border-bottom: 1px solid var(--border);
 position: relative;
 overflow: hidden;
}
.page-hero::before {
 content: '';
 position: absolute; inset: 0;
 background: radial-gradient(ellipse 800px 400px at 80% 0%, rgba(58,82,224,0.06), transparent 60%);
 pointer-events: none;
}
.page-hero-content { max-width: 760px; position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 24px; }
.page-hero .hero-sub { font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); max-width: 640px; }
.collibra-page-logo {
 display: flex; align-items: center; justify-content: flex-start;
 width: fit-content;
 padding: 0; margin-bottom: 22px;
 border: 0; border-radius: 0;
 background: transparent;
 box-shadow: none;
}
.collibra-page-logo + .label {
 display: block;
 width: fit-content;
}
.collibra-page-logo img {
 display: block; width: auto; height: 34px; object-fit: contain;
}

/* ── Articles / insights ───────────────────────────────────────────────── */
.featured-hero { padding: 130px 0 64px; }
.featured-card {
 display: block; padding: 48px;
 border: 1px solid var(--border); border-radius: var(--radius-lg);
 background: var(--bg-elevated);
 transition: all 0.3s ease;
}
.featured-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); }
.featured-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.featured-card h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 14px; line-height: 1.15; }
.featured-card .featured-summary { font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); max-width: 640px; margin-bottom: 20px; }
.featured-card .read-link { font-size: 0.9375rem; font-weight: 500; color: var(--accent); }
.read-time { font-size: 0.8125rem; color: var(--text-muted); }

.filter-bar {
 position: sticky; top: 60px; z-index: 50;
 background: rgba(250,250,247,0.85);
 backdrop-filter: blur(12px);
 border-bottom: 1px solid var(--border);
 padding: 14px 0;
}
.filter-pills { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.filter-pill {
 font-family: var(--font-body); font-size: 0.8125rem; font-weight: 500;
 color: var(--text-muted); background: transparent;
 border: 1px solid transparent; border-radius: 100px;
 padding: 6px 16px; cursor: pointer; white-space: nowrap;
 transition: all 0.2s ease;
}
.filter-pill:hover { color: var(--text-primary); background: var(--bg-surface); }
.filter-pill.active { color: var(--accent); background: var(--accent-dim); border-color: var(--accent-border); }

.article-grid-new { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: var(--section-py) 0; }
.article-card-new {
 display: block; padding: 32px;
 border: 1px solid var(--border); border-radius: var(--radius);
 background: var(--bg-elevated); transition: all 0.3s ease;
}
.article-card-new:hover { border-color: var(--accent-border); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-card-new:nth-child(2n) { margin-top: 32px; }
.article-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.article-card-new h3 { margin-bottom: 10px; line-height: 1.3; font-size: 1.15rem; }
.article-card-new h3 a,
.article-card-new h3 span { color: var(--text-primary); transition: color 0.2s ease; }
.article-card-new:hover h3 a,
.article-card-new:hover h3 span { color: var(--accent); }
.article-card-new .article-summary {
 font-size: 0.9rem; line-height: 1.6; color: var(--text-muted);
 display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 768px) { .article-grid-new { grid-template-columns: 1fr; } .article-card-new:nth-child(2n) { margin-top: 0; } }

.whitepapers-section { padding: 64px 0; border-top: 1px solid var(--border); }
.whitepapers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.whitepaper-card {
 padding: 32px; border: 1px solid var(--accent-border);
 border-radius: var(--radius); background: var(--accent-dim);
}
.whitepaper-card h3 { margin-bottom: 8px; }
.whitepaper-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 18px; }
@media (max-width: 768px) { .whitepapers-grid { grid-template-columns: 1fr; } }

.inline-cta { padding: 48px 0; text-align: center; }
.inline-cta p { font-size: 1.0625rem; color: var(--text-secondary); }
.inline-cta a { color: var(--accent); font-weight: 500; }

/* ── Article page ──────────────────────────────────────────────────────── */
.article-page { padding: 110px 0 64px; }
.article-container { max-width: 720px; margin: 0 auto; }

.back-link {
 display: inline-flex; align-items: center; gap: 8px;
 font-size: 0.85rem; color: var(--text-muted);
 margin-bottom: 32px; transition: color 0.2s ease;
}
.back-link:hover { color: var(--text-primary); }

.article-header { margin-bottom: 40px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.article-header h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); margin-bottom: 14px; }
.article-subtitle { font-size: 1.125rem; line-height: 1.65; color: var(--text-secondary); }

.article-body h2 { font-size: 1.4rem; margin: 44px 0 18px; }
.article-body h2:first-of-type { margin-top: 0; }
.article-body p { margin-bottom: 18px; line-height: 1.75; color: var(--text-secondary); }
.article-body ul { margin: 0 0 18px; padding-left: 20px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; color: var(--text-secondary); }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body strong { color: var(--text-primary); font-weight: 600; }

.article-navigation {
 display: flex; justify-content: space-between; gap: 16px;
 margin: 0 0 32px; padding: 24px 0; border-bottom: 1px solid var(--border);
}
.nav-link {
 display: flex; align-items: center; gap: 12px;
 padding: 16px 20px;
 background: var(--bg-elevated); border: 1px solid var(--border);
 border-radius: var(--radius); transition: all 0.2s ease;
 flex: 1; max-width: 48%;
}
.nav-link:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.nav-link-prev { justify-content: flex-start; }
.nav-link-next { justify-content: flex-end; flex-direction: row-reverse; }
.nav-link-content { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.nav-link-label { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.nav-link-title {
 font-size: 0.85rem; font-weight: 500; color: var(--text-primary); line-height: 1.35;
 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nav-link svg { flex-shrink: 0; color: var(--text-muted); }
.nav-link:hover svg { color: var(--accent); }
@media (max-width: 768px) {
 .article-navigation { flex-direction: column; }
 .nav-link { max-width: 100%; }
 .nav-link-next { flex-direction: row; }
}

.share-linkedin { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s ease; }
.share-linkedin:hover { color: var(--accent); }

.section-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.section-related h2 { font-size: 1.3rem; margin-bottom: 24px; }

.related-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

.thinking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.thinking-card { padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); transition: all 0.3s ease; }
.thinking-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.thinking-card h3 { margin-bottom: 8px; }
.thinking-card h3 a { color: var(--text-primary); transition: color 0.2s ease; }
.thinking-card h3 a:hover { color: var(--accent); }
.thinking-card p { font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 12px; }

.read-link { font-size: 0.9rem; font-weight: 500; color: var(--accent); transition: color 0.2s ease; }
.read-link:hover { color: var(--accent-hover); }
@media (max-width: 768px) { .thinking-grid { grid-template-columns: 1fr; } }

.cta-block {
 display: flex; align-items: center; justify-content: space-between; gap: 24px;
 padding: 36px; background: var(--accent-dim);
 border: 1px solid var(--accent-border); border-radius: var(--radius-lg);
 margin-top: 48px;
}
.cta-content h3 { margin-bottom: 6px; }
.cta-content p { font-size: 0.9375rem; color: var(--text-secondary); }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 768px) { .cta-block { flex-direction: column; align-items: flex-start; } }

.return-to-top {
 display: inline-flex; align-items: center; gap: 8px;
 background: none; border: none; color: var(--text-muted);
 font: inherit; font-size: 0.85rem; cursor: pointer;
 padding: 12px 0; transition: color 0.2s ease;
}
.return-to-top:hover { color: var(--text-primary); }
.article-footer { padding: 16px 0; }

.reading-progress {
 position: fixed; top: 0; left: 0;
 height: 3px; width: 0;
 background: var(--accent); z-index: 200;
 transition: width 0.1s linear;
}

.sticky-cta {
 position: fixed; bottom: 0; left: 0; right: 0;
 z-index: 90; padding: 14px 0;
 background: rgba(250,250,247,0.95);
 backdrop-filter: blur(12px);
 border-top: 1px solid var(--border);
 transform: translateY(100%);
 transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sticky-cta-text { font-size: 0.875rem; color: var(--text-secondary); }
.sticky-cta-dismiss { background: none; border: none; color: var(--text-muted); font-size: 1.25rem; cursor: pointer; padding: 4px; line-height: 1; }
@media (max-width: 480px) { .sticky-cta-text { display: none; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Download gate ─────────────────────────────────────────────────────── */
.download-gate { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200; display: none; align-items: center; justify-content: center; }
.download-gate:not([hidden]) { display: flex; }
.download-gate-backdrop { position: absolute; inset: 0; background: rgba(20,22,26,0.5); backdrop-filter: blur(8px); }
.download-gate-modal {
 position: relative; background: var(--bg-elevated);
 border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
 padding: 36px; max-width: 440px; width: 90%;
 box-shadow: var(--shadow-lg);
}
.download-gate-modal h3 { margin-bottom: 8px; }
.download-gate-modal p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 24px; }
.download-gate-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.download-ready { font-size: 0.875rem; color: var(--success); margin-bottom: 12px; }

/* ── Why xflow page-specific ───────────────────────────────────────────── */
.problem-items { margin-top: 48px; display: flex; flex-direction: column; gap: 16px; }
.problem-item {
 padding: 32px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 display: flex; gap: 28px; align-items: flex-start;
 transition: all 0.3s ease;
}
.problem-item:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); }
.problem-item-number {
 font-family: var(--font-body); font-style: normal;
 font-size: 1.5rem; font-weight: 600; color: var(--accent);
 letter-spacing: 0; flex-shrink: 0; line-height: 1; margin-top: 2px;
}
.problem-item h3 { margin-bottom: 10px; }
.problem-item p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }
@media (max-width: 600px) { .problem-item { flex-direction: column; gap: 14px; } }

.tools-gap-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.tools-gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
@media (max-width: 768px) { .tools-gap-grid { grid-template-columns: 1fr; } }
.tool-gap-card {
 padding: 32px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 transition: all 0.3s ease;
}
.tool-gap-card:hover { border-color: var(--border-strong); }
.tool-gap-card h3 { margin-bottom: 6px; }
.tool-gap-card .tool-role { font-size: 0.8125rem; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.tool-gap-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }

.callout-block {
 padding: 44px 48px; border: 1px solid var(--accent-border);
 border-radius: var(--radius-lg); background: var(--accent-dim);
 text-align: center; margin-top: 48px;
}
.callout-block p {
 font-size: clamp(1.0625rem, 2vw, 1.25rem); line-height: 1.65;
 color: var(--text-primary); max-width: 700px; margin: 0 auto;
}
@media (max-width: 768px) { .callout-block { padding: 32px 24px; } }

.section-plain { padding: var(--section-py) 0; }
.transition-section { padding: var(--section-py) 0; background: var(--bg-surface); }

/* ── Stat cards ────────────────────────────────────────────────────────── */
.problem-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.stat-card {
 padding: 32px 28px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 text-align: center; transition: all 0.3s ease; min-height: 245px;
}
.stat-card:hover { border-color: var(--accent-border); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.stat-number {
 font-size: 2.25rem; font-weight: 600;
 color: var(--accent); letter-spacing: 0; line-height: 1.05;
 margin-bottom: 16px; white-space: nowrap;
}
.stat-label { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.stat-source { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
@media (max-width: 1100px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .stat-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stat-cards { grid-template-columns: 1fr; } }

/* ── Comparison table ────────────────────────────────────────────────── */
.insight-section { padding: var(--section-py) 0; }
.comparison-table { max-width: 760px; margin: 48px auto 0; }
.comparison-header { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0; margin-bottom: 4px; }
.comparison-col-header {
 font-size: 0.6875rem; font-weight: 600; text-transform: uppercase;
 letter-spacing: 0.1em; color: var(--text-muted); padding: 14px 22px;
}
.comparison-col-accent { color: var(--accent); }
.comparison-row {
 display: grid; grid-template-columns: 1fr 40px 1fr; gap: 0;
 border-top: 1px solid var(--border); transition: background 0.2s ease;
}
.comparison-row:hover { background: var(--accent-glow); }
.comparison-cell { padding: 18px 22px; font-size: 0.9375rem; color: var(--text-secondary); }
.comparison-cell-accent { color: var(--text-primary); font-weight: 500; }
.comparison-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 0.875rem; }
@media (max-width: 480px) {
 .comparison-header { display: none; }
 .comparison-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
 .comparison-arrow { display: none; }
 .comparison-cell { padding: 4px 22px; }
 .comparison-cell-accent { color: var(--accent); font-size: 0.8125rem; }
}

/* ── Training loop ─────────────────────────────────────────────────────── */
.training-loop-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.loop-diagram { display: flex; align-items: center; justify-content: center; gap: 0; margin-top: 48px; overflow-x: auto; padding: 8px 0; }
.loop-node {
 position: relative; padding: 22px 18px;
 border: 1px solid var(--border); border-radius: var(--radius);
 background: var(--bg-elevated); text-align: center; min-width: 150px;
 cursor: pointer; transition: all 0.3s ease;
}
.loop-node:hover.loop-node-active { border-color: var(--accent-border); background: var(--accent-dim); }
.loop-node-number { font-size: 0.6875rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.loop-node-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-bottom: 2px; }
.loop-node-short { font-size: 0.78rem; color: var(--text-muted); }
.loop-connector { width: 32px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.loop-connector span { display: block; width: 100%; height: 1px; background: var(--border-strong); }
.loop-detail { margin-top: 32px; padding: 36px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-elevated); min-height: 140px; }
.loop-detail-item { display: none; }
.loop-detail-item.active { display: block; }
.loop-detail-item h3 { margin-bottom: 12px; color: var(--accent); }
.loop-detail-item p { font-size: 0.9375rem; line-height: 1.7; max-width: 640px; }
@media (max-width: 768px) {
 .loop-diagram { flex-direction: column; gap: 0; }
 .loop-connector { width: 1px; height: 24px; }
 .loop-connector span { width: 1px; height: 100%; }
 .loop-node { min-width: 100%; }
}

/* ── Regulatory timeline ───────────────────────────────────────────────── */
.regulatory-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.timeline-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.timeline-item {
 padding: 26px; border: 1px solid var(--border);
 border-radius: var(--radius); background: var(--bg-elevated);
 text-align: center; transition: border-color 0.3s ease;
}
.timeline-item-urgent { border-color: var(--warning); background: rgba(196, 127, 0, 0.05); }
.timeline-item-deadline { border-color: var(--error); background: rgba(210, 59, 59, 0.05); }
.timeline-date { font-size: 0.875rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.timeline-item-deadline .timeline-date { color: var(--error); }
.timeline-item-urgent .timeline-date { color: var(--warning); }
.timeline-label { font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.timeline-status { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 768px) { .timeline-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .timeline-strip { grid-template-columns: 1fr; } }

/* ── Positioning bar ───────────────────────────────────────────────────── */
.positioning-bar { display: flex; align-items: stretch; justify-content: center; gap: 0; margin-top: 48px; }
.pos-stage {
 flex: 1; max-width: 280px; padding: 28px 24px;
 border: 1px solid var(--border); border-radius: var(--radius);
 background: var(--bg-elevated); text-align: center;
}
.pos-stage-active { border-color: var(--accent-border); background: var(--accent-dim); }
.pos-stage-label { font-size: 1.25rem; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.pos-stage-active .pos-stage-label { color: var(--accent); }
.pos-stage-detail { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 8px; }
.pos-stage-example { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.pos-arrow { display: flex; align-items: center; padding: 0 12px; color: var(--text-muted); }
.differentiators { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.diff-item { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); }
.diff-item h3 { margin-bottom: 8px; }
.diff-item p { font-size: 0.9375rem; line-height: 1.65; }
@media (max-width: 768px) {
 .positioning-bar { flex-direction: column; align-items: center; }
 .pos-stage { max-width: 100%; width: 100%; }
 .pos-arrow { transform: rotate(90deg); padding: 8px 0; }
 .differentiators { grid-template-columns: 1fr; }
}

/* ── Phases ────────────────────────────────────────────────────────────── */
.getting-started-section { padding: var(--section-py) 0; background: var(--bg-surface); }
.phases { display: flex; align-items: stretch; justify-content: center; gap: 0; margin-top: 48px; }
.phase-card { flex: 1; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); }
.phase-number { font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 4px; }
.phase-timeline { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; margin-bottom: 12px; }
.phase-card h3 { margin-bottom: 8px; }
.phase-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }
.phase-connector { display: flex; align-items: center; padding: 0 12px; color: var(--text-muted); }
@media (max-width: 768px) {
 .phases { flex-direction: column; }
 .phase-connector { transform: rotate(90deg); padding: 8px 0; }
}

/* ── Nav dropdown ──────────────────────────────────────────────────────── */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-trigger {
 background: none; border: none; cursor: pointer;
 font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
 font-family: var(--font-body); padding: 0; transition: color 0.2s ease;
 display: flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger:hover { color: var(--text-primary); }
.nav-dropdown-trigger::after { content: '▾'; font-size: 0.7rem; margin-top: 1px; }
.nav-dropdown-menu {
 position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
 background: var(--bg-elevated); border: 1px solid var(--border);
 border-radius: var(--radius); padding: 8px 0; min-width: 170px;
 opacity: 0; visibility: hidden; transition: all 0.2s ease; z-index: 200;
 white-space: nowrap;
 box-shadow: var(--shadow-md);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; }
.nav-dropdown-menu a {
 display: block; padding: 10px 18px;
 font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
 transition: color 0.2s ease, background 0.2s ease;
}
.nav-dropdown-menu a:hover { color: var(--accent); background: var(--accent-glow); }

/* ── Compact rhythm overrides ──────────────────────────────────────────── */
:root {
 --section-py: clamp(56px, 7vw, 88px);
}

body {
 font-size: 16px;
 line-height: 1.58;
}

.container { padding: 0 24px; }
.label { margin-bottom: 14px; }
.section-lead { margin-top: 12px; line-height: 1.55; }

.hero { padding: 112px 0 64px; }
.hero .label { margin-bottom: 24px; }
.hero h1 { margin-bottom: 20px; }
.hero-sub { margin-bottom: 28px; line-height: 1.55; }
.hero-actions { gap: 14px; }
.xf-diagram { margin-top: 40px; padding: 24px; }

.page-hero { padding: 118px 0 56px; }
.featured-hero { padding: 112px 0 48px; }
.featured-card { padding: 36px; }
.featured-meta { margin-bottom: 16px; }

.beliefs-grid,
.use-case-cards-2,
.article-grid-3,
.article-grid-new,
.problem-items,
.tools-gap-grid,
.stat-cards,
.comparison-table,
.loop-diagram,
.timeline-strip,
.positioning-bar,
.differentiators,
.phases {
 margin-top: 36px;
}

.belief-card,
.use-case-card,
.article-card-new,
.whitepaper-card,
.thinking-card,
.problem-item,
.tool-gap-card,
.stat-card,
.timeline-item,
.diff-item,
.phase-card {
 padding: 24px;
}

.article-card-new:nth-child(2n) { margin-top: 0; }
.article-grid-new { padding: 56px 0; }

.partners-section { padding: 32px 0; }
.partners-label { margin-bottom: 18px; }
.partners-logos { gap: clamp(28px, 5vw, 48px); }

.whitepapers-section { padding: 48px 0; }
.whitepapers-grid { margin-top: 24px; }
.inline-cta { padding: 36px 0; }

.article-page { padding: 92px 0 48px; }
.article-container { max-width: 680px; }
.back-link { margin-bottom: 22px; }
.article-navigation { margin-bottom: 24px; padding: 16px 0; }
.nav-link { padding: 12px 16px; }
.article-header { margin-bottom: 28px; }
.article-meta { margin-bottom: 14px; }
.article-header h1 { margin-bottom: 12px; }
.article-subtitle { font-size: 1.05rem; line-height: 1.55; }
.article-body h2 { margin: 32px 0 12px; }
.article-body p { margin-bottom: 14px; line-height: 1.62; }
.section-related { margin-top: 40px; padding-top: 30px; }
.section-related h2 { margin-bottom: 18px; }
.cta-block { margin-top: 36px; padding: 28px; }
.article-footer { padding: 10px 0; }

.footer { padding: 42px 0; }

@media (max-width: 768px) {
 .container { padding: 0 20px; }
 .hero { padding: 104px 0 48px; }
 .page-hero { padding: 104px 0 44px; }
 .featured-hero { padding: 96px 0 40px; }
 .featured-card { padding: 26px; }
 .xf-diagram { margin-top: 28px; padding: 18px 14px; }
 .article-page { padding: 84px 0 40px; }
 .cta-block { padding: 24px; }
 .contact-inner {
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 28px 22px;
 }
 .contact-panel { padding: 20px; }
 .form-row { grid-template-columns: 1fr; gap: 0; }
 .contact-points { margin-top: 22px; }
}
