/* Tribble Design System (from tribble-style-guide.html + cursor-prompt) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --navy-950: #0a1628;
  --navy-900: #1a2f5e;
  --navy-800: #243f7a;
  --navy-700: #2e4a8a;
  --navy-600: #3d5fa8;
  --blue-600: #3658d4;
  --blue-500: #4a6fe8;
  --blue-400: #6b8cf0;
  --blue-300: #7a9bf0;
  --blue-200: #a5c0ff;
  --blue-100: #dce8ff;
  --blue-50: #eef2ff;
  --slate-900: #1e2a3a;
  --slate-700: #3a4a6b;
  --slate-500: #6b7a99;
  --slate-400: #8894b0;
  --slate-300: #b8c2d8;
  --slate-200: #dce3f0;
  --slate-100: #eef0f5;
  --slate-50: #f7f9fc;
  --white: #ffffff;
  --black: #000000;
  --border-default: var(--slate-200);
  --border-strong: var(--slate-300);
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(26,47,94,0.08);
  --shadow-md: 0 4px 16px rgba(26,47,94,0.10);
  --shadow-lg: 0 8px 32px rgba(26,47,94,0.14);
  --shadow-glow: 0 0 0 4px rgba(74,111,232,0.15);
  --ease-standard: cubic-bezier(0.4,0,0.2,1);
  --ease-enter: cubic-bezier(0,0,0.2,1);
  --dur-fast: 100ms;
  --dur-default: 200ms;
  --dur-deliberate: 350ms;
  --font: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "kern" 1, "liga" 1, "calt" 1; }
body { font-family: var(--font); background: var(--slate-50); color: var(--navy-900); line-height: 1.6; position: relative; overflow-x: hidden; }
/* Light graph paper on whitespace (visible when viewport is wider than main) */
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(26,47,94,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(26,47,94,0.04) 1px, transparent 1px); background-size: 48px 48px; }
main { max-width: 1320px; margin: 0 auto; position: relative; z-index: 1; }

.text-display { font-size: clamp(36px, 5vw, 48px); font-weight: 900; letter-spacing: -2px; line-height: 1; color: var(--navy-900); }
.text-h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--navy-900); }
.text-h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; color: var(--navy-900); }
.text-h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; color: var(--navy-900); }
.text-h4 { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--navy-900); }
.text-lead { font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--slate-500); }
.text-body { font-size: 14px; font-weight: 400; line-height: 1.7; color: var(--slate-700); }
.text-small { font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--slate-500); }
.text-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--slate-400); }
.stat-num, .metric-value, [data-type="number"] { font-variant-numeric: tabular-nums; }

.draft-nav { position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 1000; display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-900); }
.draft-nav-right { background: var(--white); display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-6); padding: 0 var(--sp-8); }
.draft-nav-left { display: flex; align-items: center; padding-left: var(--sp-8); gap: var(--sp-8); }
.draft-nav .wordmark { display: flex; align-items: center; text-decoration: none; }
.draft-nav .wordmark img { height: 24px; width: auto; display: block; }
.footer-wordmark img { height: 24px; width: auto; display: block; }
.draft-nav .nav-link { font-size: 12px; font-weight: 500; color: var(--slate-500); text-decoration: none; transition: color var(--dur-fast); }
.draft-nav .nav-link:hover, .draft-nav .nav-link.active { color: var(--navy-900); font-weight: 600; }
.draft-nav .nav-link.dark { color: rgba(255,255,255,0.6); }
.draft-nav .nav-link.dark:hover { color: var(--white); }
@media (max-width: 900px) {
  .draft-nav { grid-template-columns: 1fr; min-height: 60px; height: auto; padding: var(--sp-3) var(--sp-4); }
  .draft-nav-left { flex-wrap: wrap; gap: var(--sp-2); padding-left: var(--sp-4); }
  .draft-nav-right { justify-content: center; background: var(--navy-900); padding: 0 var(--sp-4); }
  .draft-nav .nav-link { color: rgba(255,255,255,0.6); font-size: 11px; }
  .draft-nav .nav-link:hover { color: var(--white); }
  .draft-nav-right .btn-secondary {
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
  }
  .draft-nav-right .btn-secondary:hover {
    border-color: var(--white);
  }
}

.btn { display: inline-flex; align-items: center; gap: var(--sp-2); font-family: var(--font); font-weight: 700; border: none; cursor: pointer; transition: all var(--dur-fast) var(--ease-standard); white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--blue-500); color: var(--white); padding: 12px 28px; border-radius: var(--r-md); font-size: 14px; }
.btn-primary:hover { background: var(--blue-600); }
.btn-secondary { background: transparent; color: var(--navy-900); padding: 11px 27px; border-radius: var(--r-md); font-size: 14px; border: 1px solid var(--slate-300); }
.btn-secondary:hover { border-color: var(--blue-500); color: var(--blue-500); }
.btn-ghost { background: transparent; color: var(--white); padding: 11px 27px; border-radius: var(--r-md); font-size: 14px; border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }
.btn-white { background: var(--white); color: var(--navy-900); padding: 12px 28px; border-radius: var(--r-md); font-size: 14px; }
.btn-white:hover { background: var(--slate-50); }

.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; border-radius: var(--r-pill); }
.tag-blue { background: rgba(74,111,232,0.12); border: 1px solid rgba(74,111,232,0.25); color: var(--blue-500); padding: 4px 14px; }
.tag-white { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 4px 14px; }

/* Standard cards per tribble-style-guide.html § Cards */
.card-base { background: var(--white); border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.card-elevated { background: var(--white); border: 1px solid var(--border-default); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-md); }
.card-dark { background: var(--navy-900); border: 1px solid rgba(255,255,255,0.06); border-radius: var(--r-lg); padding: var(--sp-6); }
.card-tag { margin-bottom: var(--sp-3); }
.card-num { font-size: 40px; font-weight: 900; color: var(--blue-500); letter-spacing: -2px; line-height: 1; margin-bottom: var(--sp-2); font-variant-numeric: tabular-nums; }
.card-title { font-size: 16px; font-weight: 700; color: var(--navy-900); margin-bottom: var(--sp-2); line-height: 1.4; }
.card-dark .card-title { color: var(--white); }
.card-body { font-size: 13px; color: var(--slate-500); line-height: 1.7; }
.card-dark .card-body { color: rgba(255,255,255,0.45); }
/* Legacy card (blue left border) — prefer .card-base or .card-elevated */
.card { background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); border-left: 3px solid var(--blue-500); }
/* Product cards (Solution section): no truncation — full text visible per style guide */
.section-split .panel-light .card .card-title { display: block; }
.section-split .panel-light .card .card-body { display: block; }

.stat-strip { display: flex; flex-direction: column; gap: 0; }
.stat-row { display: flex; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--slate-200); }
.stat-row:last-child { border-bottom: none; }
.stat-row-n { font-size: 36px; font-weight: 900; color: var(--blue-500); letter-spacing: -2px; line-height: 1; flex-shrink: 0; min-width: 4.5em; font-variant-numeric: tabular-nums; }
.stat-row-content { flex: 1; min-width: 0; }
.stat-row-title { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 2px; }
.stat-row-desc { font-size: 12px; color: var(--slate-500); line-height: 1.5; }

.metrics-band { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy-900); padding: var(--sp-12) var(--sp-10); gap: 1px; position: relative; overflow: hidden; }
.metrics-band::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.metrics-band-cell { background: var(--navy-900); padding: var(--sp-6) var(--sp-8); text-align: center; }
.metrics-band-n { font-size: 40px; font-weight: 900; color: var(--blue-300); letter-spacing: -2px; line-height: 1; font-variant-numeric: tabular-nums; }
.metrics-band-l { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: var(--sp-2); line-height: 1.5; }
/* Uniform width and line breaks for Core page metrics band */
.metrics-band--uniform .metrics-band-cell { display: flex; flex-direction: column; align-items: center; }
.metrics-band--uniform .metrics-band-l { max-width: 15em; line-height: 1.45; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .metrics-band { grid-template-columns: repeat(2, 1fr); } }

.section-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.section-split .panel-dark { background: var(--navy-900); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; }
.section-split .panel-dark::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.section-split .panel-light { background: var(--white); padding: var(--sp-20) var(--sp-16); }
.section-split .panel-pale { background: var(--slate-50); padding: var(--sp-20) var(--sp-16); }
.section-split .panel-blue { background: var(--blue-500); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; }
.section-split .panel-blue::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.section-split .panel-navy8 { background: var(--navy-800); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; }
.section-split .panel-navy8::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
@media (max-width: 900px) { .section-split { grid-template-columns: 1fr; } }
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .draft-hero-left, .draft-hero-right { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .section-split .panel-pale, .section-split .panel-light, .section-split .panel-dark,
  .cta-band-left, .cta-band-right { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .logo-band-left, .logo-band-right { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  .stat-row-n { min-width: 3.5em; font-size: 28px; }
}

.cta-band { display: grid; grid-template-columns: 1fr 1fr; }
.cta-band-left { background: var(--blue-500); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; }
.cta-band-left::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.cta-band-right { background: var(--navy-800); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; }
.cta-band-right::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.cta-band-left .text-h2, .cta-band-left .text-lead { color: var(--white); }
.cta-band-left .text-lead { opacity: 0.9; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer — per style guide: left navy-900 (wordmark, tagline, links), right navy-950 (legal) */
.draft-footer { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-900); position: relative; overflow: hidden; }
.draft-footer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.draft-footer-left { padding: var(--sp-12) var(--sp-16); position: relative; z-index: 1; }
.draft-footer .footer-wordmark { margin-bottom: 10px; display: block; text-decoration: none; }
.draft-footer .footer-wordmark img { height: 24px; width: auto; display: block; }
.draft-footer .footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.65; max-width: 280px; margin-bottom: 28px; }
.draft-footer .footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.draft-footer .footer-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.15s; }
.draft-footer .footer-links a:hover { color: var(--white); }
.draft-footer-right { background: var(--navy-950); display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding: var(--sp-12) var(--sp-16); text-align: right; position: relative; overflow: hidden; border-left: 1px solid rgba(255,255,255,0.06); }
.draft-footer-right::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.draft-footer .footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0; font-size: 11px; letter-spacing: 0.2px; position: relative; z-index: 1; }
.draft-footer .footer-copy { color: rgba(255,255,255,0.3); }
.draft-footer .footer-legal .footer-copy { margin-right: 0; }
.draft-footer .footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.15s; }
.draft-footer .footer-legal a:hover { color: var(--white); }
.draft-footer .footer-legal [aria-hidden="true"] { margin: 0 var(--sp-2); color: rgba(255,255,255,0.2); }
@media (max-width: 900px) {
  .draft-footer { grid-template-columns: 1fr; }
  .draft-footer-right { justify-content: flex-start; align-items: flex-start; text-align: left; padding: var(--sp-8) var(--sp-16); border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .draft-footer .footer-legal { justify-content: flex-start; }
  .draft-footer-left { padding: var(--sp-12) var(--sp-16); }
}
@media (max-width: 600px) {
  .draft-footer-left, .draft-footer-right { padding: var(--sp-8) var(--sp-4); }
}

.draft-hero { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; }
.draft-hero--fullbleed { position: relative; }
/* Light graph paper overlay on blue sections — per tribble-rebrand.html */
.draft-hero-left { background: var(--navy-900); padding: var(--sp-20) var(--sp-16); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; }
.draft-hero-left::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(74,111,232,0.18) 0%, transparent 65%); pointer-events: none; }
.draft-hero-left::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.draft-hero-right { background: var(--white); padding: var(--sp-20) var(--sp-16); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.draft-hero-right .stat-strip { width: 100%; max-width: 100%; }
.draft-hero-right .hero-deal-intel-wrap { display: flex; align-items: flex-start; justify-content: center; width: 100%; max-width: 100%; padding-top: 0; flex-shrink: 0; overflow: hidden; }
.draft-hero-right .hero-deal-intel-scaler { transform: scale(0.72); transform-origin: center center; }
.draft-hero-right .hero-deal-intel-scaler iframe { display: block; width: 380px; height: 480px; border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
/* Engage hero: landscape animation (468×294) — fixed container, stretched landscape iframe */
.draft-hero-right .hero-engage-wrap { width: 100%; max-width: 500px; min-height: 0; flex-shrink: 0; overflow: hidden; }
.draft-hero-right .hero-engage-scaler { transform: scale(0.9); transform-origin: center center; }
.draft-hero-right .hero-engage-scaler iframe { width: 540px; height: 340px; border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
/* Respond hero: landscape animation — same pattern as Engage */
.draft-hero-right .hero-respond-wrap { width: 100%; max-width: 500px; min-height: 0; flex-shrink: 0; overflow: hidden; }
.draft-hero-right .hero-respond-scaler { transform: scale(0.9); transform-origin: center center; }
.draft-hero-right .hero-respond-scaler iframe { width: 540px; height: 340px; border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
/* Tribbyltics hero: deal-intelligence animation — portrait card (380px wide, tall content) */
.draft-hero-right .hero-tribblytics-wrap { width: 100%; max-width: 380px; min-height: 0; flex-shrink: 0; overflow: hidden; }
.draft-hero-right .hero-tribblytics-scaler { transform: scale(0.8); transform-origin: center center; }
.draft-hero-right .hero-tribblytics-scaler iframe { width: 380px; height: 520px; border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.draft-hero-right .hero-core-platform { transform: scale(0.85); }
.draft-hero-right .hero-core-platform iframe { width: 380px; height: 400px; }
.draft-hero-left .hero-deal-intel-wrap { display: flex; align-items: center; justify-content: center; width: 100%; flex-shrink: 0; }
.draft-hero-left .hero-core-platform { transform: scale(0.92); transform-origin: center center; }
.draft-hero-left .hero-core-platform iframe { width: 380px; height: 400px; border: none; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
@keyframes float-graphic { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.floating-graphic { animation: float-graphic 4s ease-in-out infinite; }
.draft-hero .eyebrow { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--blue-300); margin-bottom: var(--sp-4); }
.draft-hero .hero-h1 { font-size: clamp(36px, 5vw, 48px); font-weight: 900; color: var(--white); line-height: 1.1; letter-spacing: -2px; margin-bottom: var(--sp-6); }
.draft-hero .hero-lead { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 480px; margin-bottom: var(--sp-8); }
@media (max-width: 900px) {
  .draft-hero { grid-template-columns: 1fr; min-height: auto; }
  .draft-hero-right { flex-direction: column; align-items: stretch; overflow: hidden; }
  .draft-hero-right .hero-deal-intel-wrap { max-width: 100%; overflow: hidden; }
  .draft-hero-right .hero-deal-intel-scaler { transform: scale(0.65); transform-origin: top center; width: 380px; max-width: 100%; margin: 0 auto; }
  .draft-hero-right .hero-deal-intel-scaler iframe { width: 380px; height: 480px; }
  .draft-hero-right .hero-tribblytics-scaler { transform: scale(0.65); transform-origin: top center; width: 380px; max-width: 100%; margin: 0 auto; }
}

.logo-band { display: grid; grid-template-columns: 1fr 1fr; }
.logo-band-left { background: var(--navy-900); padding: var(--sp-6) var(--sp-16); display: flex; align-items: center; justify-content: flex-end; position: relative; overflow: hidden; }
.logo-band-left::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(74,111,232,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(74,111,232,0.05) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.logo-band-right { background: var(--white); padding: var(--sp-6) var(--sp-16); display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.trust-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.2); }
.customer-logos { display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-8); }
.customer-logos img { height: 24px; width: auto; max-width: 110px; object-fit: contain; opacity: 0.65; flex-shrink: 0; display: block; transition: opacity 0.15s; }
.customer-logos img[alt="Abridge"] { height: 32px; max-width: 120px; }
.customer-logos img[alt="Sprout Social"] { height: 32px; max-width: 140px; }
.customer-logos img:hover { opacity: 0.9; }
@media (max-width: 900px) { .logo-band { grid-template-columns: 1fr; } .logo-band-left { justify-content: center; } .logo-band-right { justify-content: center; } }

.step-list { display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: var(--sp-4); padding: var(--sp-5) 0; border-bottom: 1px solid var(--slate-200); }
.step-item:last-child { border-bottom: none; }
.step-num { font-size: 14px; font-weight: 700; color: var(--blue-500); flex-shrink: 0; min-width: 5.5em; }
.step-title { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 2px; }
.step-desc { font-size: 12px; color: var(--slate-500); line-height: 1.5; }

.faq-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.faq-q { font-size: 14px; font-weight: 600; color: var(--white); padding: var(--sp-4) 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-a { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; padding-bottom: var(--sp-4); display: none; }
.faq-item.open .faq-a { display: block; }

.quote-block { border-left: 3px solid var(--blue-400); padding: var(--sp-4) var(--sp-5); background: rgba(255,255,255,0.05); }
.quote-block q { font-size: 14px; font-style: italic; color: rgba(255,255,255,0.8); line-height: 1.6; display: block; margin-bottom: var(--sp-3); }
.quote-attrib { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.35); }

/* Integration category list (dark panel) — per style guide feat-row + dark surface rules */
.int-list { list-style: none; }
.int-list-item { margin-bottom: var(--sp-5); }
.int-list-item:last-child { margin-bottom: 0; }
.int-list-label { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 2px; letter-spacing: -0.2px; }
.int-list-val { font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.7); line-height: 1.6; }
.panel-dark .int-list-label { color: var(--white); }
.panel-dark .int-list-val { color: rgba(255,255,255,0.7); }

.progress-item { margin-bottom: var(--sp-5); }
.progress-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-2); }
.progress-label { font-size: 12px; font-weight: 600; color: var(--slate-500); }
.progress-value { font-size: 14px; font-weight: 700; color: var(--blue-500); font-variant-numeric: tabular-nums; }
.progress-bar { height: 6px; background: var(--slate-100); border-radius: var(--r-pill); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--blue-500); border-radius: var(--r-pill); transition: width 1s cubic-bezier(0.25, 0.1, 0.25, 1); }

/* Scroll reveal (respect prefers-reduced-motion) — gentler motion, smoother ease */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 820ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 820ms cubic-bezier(0.25, 0.1, 0.25, 1); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

/* Trust badges (facts/credentials) — glass-style on dark panels, per style guide */
.trust-row { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-4); }
.trust-row.trust-stack { flex-direction: column; align-items: stretch; gap: var(--sp-4); margin-top: var(--sp-6); }
.trust-row.trust-stack .tbadge { padding: var(--sp-4) var(--sp-5); font-size: 14px; }
.tbadge { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); transition: background 0.15s, color 0.15s; }
.tbadge:hover { background: rgba(255,255,255,0.11); color: var(--white); }
.tbadge::before { content: '✓'; margin-right: 8px; color: var(--blue-300); font-weight: 700; flex-shrink: 0; }

/* Demo request modal styles (for pages that only load draft.css) */
#demo-request-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
}
#demo-request-modal.hidden {
  display: none !important;
}
#demo-request-modal > div:nth-child(2) {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
}
@media (min-width: 640px) {
  #demo-request-modal > div:nth-child(2) { padding: 4rem 1rem; }
}
#demo-request-modal > div:first-child {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, 0.85) !important;
  backdrop-filter: blur(8px);
}
#demo-request-modal .text-primary { color: #4F6EF7 !important; }
#demo-request-modal .bg-primary { background-color: #4F6EF7 !important; }
#demo-request-modal input:focus { border-color: var(--blue-500) !important; outline: none !important; box-shadow: var(--shadow-glow) !important; }
#demo-request-modal button[data-demo-dismiss] {
  background: var(--navy-800) !important;
  border: none !important;
  color: var(--white) !important;
}
#demo-request-modal button[data-demo-dismiss]:hover {
  background: var(--navy-700) !important;
  color: var(--white) !important;
}
#demo-request-modal button[data-demo-dismiss]:focus {
  outline: none !important;
  box-shadow: var(--shadow-glow) !important;
}
#demo-request-modal button[data-demo-dismiss] svg {
  width: 14px;
  height: 14px;
  display: block;
}
#demo-request-modal button[data-demo-submit] {
  background-color: #4F6EF7 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
}
#demo-request-modal button[data-demo-submit]:hover {
  background-color: #6b85f8 !important;
}
#demo-request-modal .rounded-3xl { border-radius: 1.5rem !important; }
#demo-request-modal .space-y-5 > * + * { margin-top: 1.25rem !important; }
#demo-request-modal .ring-slate-900\/10 { box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.1) !important; }
#demo-request-modal .border-slate-200 { border-color: #e2e8f0 !important; }
#demo-request-modal .text-slate-500 { color: #64748b !important; }
#demo-request-modal .text-slate-700 { color: #334155 !important; }
#demo-request-modal .text-slate-900 { color: #0f172a !important; }
#demo-request-modal .text-slate-800 { color: #1e293b !important; }
#demo-request-modal input,
#demo-request-modal .shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
#demo-request-modal .rounded-xl { border-radius: 0.75rem; }
#demo-request-modal .max-w-xl { max-width: 36rem; }
#demo-request-modal .shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
#demo-request-modal .bg-white { background-color: #ffffff !important; }
#demo-request-modal .w-full { width: 100% !important; }
#demo-request-modal .ring-1 { box-shadow: 0 0 0 1px rgba(15,23,42,0.1); }
/* Don't clip the pill button — use visible so rounded corners render correctly */
#demo-request-modal .overflow-hidden { overflow: visible !important; }
/* Layout utilities used by modal template (style guide: flex, gap, alignment) */
#demo-request-modal .flex { display: flex !important; }
#demo-request-modal .min-h-full { min-height: 100% !important; }
#demo-request-modal .items-center { align-items: center !important; }
#demo-request-modal .items-start { align-items: flex-start !important; }
#demo-request-modal .justify-center { justify-content: center !important; }
#demo-request-modal .justify-between { justify-content: space-between !important; }
#demo-request-modal .gap-4 { gap: 1rem !important; }
#demo-request-modal .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
#demo-request-modal .px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
#demo-request-modal .py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
#demo-request-modal .py-10 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
#demo-request-modal .pt-4 { padding-top: 1rem !important; }
#demo-request-modal .pb-6 { padding-bottom: 1.5rem !important; }
#demo-request-modal .mt-1 { margin-top: 0.25rem !important; }
#demo-request-modal .mt-2 { margin-top: 0.5rem !important; }
#demo-request-modal .rounded-full { border-radius: 9999px !important; }
#demo-request-modal .h-4 { height: 1rem !important; }
#demo-request-modal .w-4 { width: 1rem !important; }
#demo-request-modal .inline-flex { display: inline-flex !important; }
#demo-request-modal .backdrop-blur-sm { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
#demo-request-modal .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
  #demo-request-modal form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
}

/* Demo modal form — per tribble-style-guide.html § Form Inputs (clean, minimal, clear focus, validation feedback) */
#demo-request-modal .input-demo {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 100%;
}
#demo-request-modal .input-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
#demo-request-modal .input-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-900);
}
#demo-request-modal .input-el {
  font-family: var(--font);
  font-size: 14px;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--dur-fast);
  width: 100%;
  box-sizing: border-box;
}
#demo-request-modal .input-el::placeholder {
  color: var(--slate-400);
}
#demo-request-modal .input-el:focus {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-glow);
}
#demo-request-modal .input-el.error {
  border-color: #ef4444;
}
#demo-request-modal .input-hint {
  font-size: 11px;
  color: var(--slate-400);
}
#demo-request-modal .input-hint.error {
  color: #ef4444;
}
#demo-request-modal .input-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
#demo-request-modal form .btn-primary {
  border-radius: var(--r-md);
  font-size: 14px;
  padding: 12px 28px;
}
