:root {
  color-scheme: light;
  --navy-950: #08111f;
  --navy-900: #0b1424;
  --navy-800: #111f33;
  --navy-700: #1b2d46;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --teal-500: #0f9f8f;
  --ink: #132238;
  --muted: #5d6b7e;
  --soft: #eef2f7;
  --paper: #f5f7fb;
  --white: #ffffff;
  --line: #dbe2eb;
  --danger: #b42318;
  --success: #087b5b;
  --warning: #995c00;
  --radius: 12px;
  --shadow: 0 12px 35px rgba(18, 34, 56, 0.07);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
body, button, input, select { font: inherit; }
button, input, select { color: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { border: 0; }
p, h1, h2, h3, h4 { margin-top: 0; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header { background: var(--navy-900); color: #dbe6f4; border-bottom: 1px solid rgba(255,255,255,0.09); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); font-size: 21px; line-height: 1; font-weight: 760; letter-spacing: -0.4px; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 14px; font-weight: 550; }
.nav-links a { color: #aebdd0; transition: color 150ms ease; }
.nav-links a:hover { color: var(--white); }
.nav-action { margin-left: 4px; }

.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; cursor: pointer; font-weight: 680; font-size: 14px; line-height: 1.3; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:disabled { opacity: 0.5; cursor: not-allowed; }
.button-primary { background: var(--blue-600); color: var(--white); }
.button-primary:hover:not(:disabled) { background: var(--blue-700); }
.button-secondary { background: var(--white); color: var(--ink); border-color: #bfcbd9; }
.button-secondary:hover:not(:disabled) { background: var(--soft); border-color: #96a7ba; }
.button-quiet { background: transparent; color: var(--muted); border-color: transparent; }
.button-quiet:hover:not(:disabled) { color: var(--ink); background: var(--soft); }
.button-danger { background: #fff5f4; color: var(--danger); border-color: #f1c6c1; }
.button-on-dark { color: #e5edf7; border-color: #3a4c65; background: transparent; }
.button-on-dark:hover { background: var(--navy-800); border-color: #60728b; }
.button-small { min-height: 38px; padding: 8px 14px; font-size: 13px; }

.hero { background: var(--navy-900); color: var(--white); padding: 84px 0 80px; border-top: 1px solid rgba(255,255,255,0.02); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr); gap: 76px; align-items: center; }
.eyebrow { margin-bottom: 18px; color: #7dd3c7; font-size: 12px; line-height: 1.4; font-weight: 750; letter-spacing: 1.5px; text-transform: uppercase; }
.eyebrow-on-light { color: var(--blue-700); }
.hero h1 { max-width: 650px; margin-bottom: 24px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; letter-spacing: -2.5px; font-weight: 760; }
.hero-description { max-width: 620px; margin-bottom: 30px; color: #b7c5d6; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; list-style: none; padding: 0; margin: 30px 0 0; color: #9eafc3; font-size: 13px; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #4fd1bd; }

.workflow-preview { padding: 26px; border: 1px solid #2a3c54; border-radius: var(--radius); background: var(--navy-800); box-shadow: 0 24px 60px rgba(0,0,0,0.16); }
.preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid #2a3c54; }
.preview-label { max-width: 180px; color: #e7eef7; font-size: 13px; font-weight: 650; line-height: 1.5; }
.live-indicator { display: inline-flex; align-items: center; gap: 7px; color: #9fb1c5; font-size: 11px; white-space: nowrap; }
.live-indicator > span { width: 6px; height: 6px; border-radius: 50%; background: #4fd1bd; }
.preview-flow { list-style: none; padding: 8px 0; margin: 0; }
.preview-flow li { position: relative; display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: start; padding: 18px 0; }
.preview-flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 50px; bottom: -8px; width: 1px; background: #354a65; }
.flow-number { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #3b5472; border-radius: 50%; color: #8eb6ef; background: var(--navy-800); font-size: 10px; font-weight: 750; z-index: 1; }
.preview-flow strong { display: block; margin: 1px 0 4px; color: #f4f7fb; font-size: 14px; }
.preview-flow p { color: #9fb1c5; font-size: 12px; line-height: 1.5; }
.flow-tag { padding-top: 3px; color: #6f85a0; font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; }
.preview-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid #2a3c54; color: #a9b8c9; font-size: 11px; }

.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 430px); gap: 48px; align-items: end; margin-bottom: 32px; }
.section-heading h2, .section-intro h2 { margin-bottom: 0; font-size: clamp(28px, 3.5vw, 38px); line-height: 1.16; letter-spacing: -1.2px; }
.section-heading > p, .section-intro > p { color: var(--muted); line-height: 1.75; }
.section-heading .eyebrow, .section-intro .eyebrow { margin-bottom: 12px; }
.content-section { padding: 82px 0; background: var(--white); }
.content-section:nth-of-type(even) { background: var(--paper); }

.site-footer { padding: 50px 0 22px; background: var(--navy-950); color: #a9b7c8; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 56px; align-items: start; }
.brand-footer { margin-bottom: 16px; }
.footer-grid p { max-width: 340px; font-size: 13px; }
.footer-grid nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 13px; }
.footer-grid nav a:hover { color: var(--white); }
.footer-meta { justify-self: end; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #223147; color: #75879c; font-size: 12px; }

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