:root {
  --ink: #07111f;
  --blue: #1d5cff;
  --paper: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 17, 31, .12);
  --radius: 18px;
  --container: 1180px;
  --font: "DM Sans", Arial, sans-serif;
  --display: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--font); line-height: 1.6; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, blockquote, figure { margin-top: 0; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; padding: 10px 14px; background: var(--white); color: var(--ink); z-index: 1000; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.centre { text-align: center; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white); transition: background .25s ease, box-shadow .25s ease; }
.site-header.scrolled { background: rgba(7, 17, 31, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .13); backdrop-filter: blur(16px); }
.nav-row { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font: 800 19px/1 var(--display); letter-spacing: -.03em; }
.logo > span:last-child > span { color: var(--blue); }
.logo-mark { position: relative; width: 36px; height: 29px; border: 2px solid currentColor; border-radius: 6px; }
.logo-mark::before { content: ""; position: absolute; width: 11px; height: 15px; right: -9px; bottom: -2px; border: 2px solid currentColor; border-left: 0; border-radius: 0 5px 5px 0; }
.logo-mark::after, .logo-mark span::after { content: ""; position: absolute; width: 7px; height: 7px; bottom: -6px; border-radius: 50%; background: var(--blue); border: 2px solid var(--ink); }
.logo-mark::after { left: 5px; }
.logo-mark span::after { right: -6px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a, .text-link { font-weight: 600; font-size: 14px; opacity: .78; transition: opacity .2s ease; }
.desktop-nav a:hover, .text-link:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font: 700 14px/1 var(--display); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 28px rgba(29, 92, 255, .22); }
.button-primary:hover { box-shadow: 0 15px 34px rgba(29, 92, 255, .32); }
.button-secondary { border-color: rgba(7, 17, 31, .18); background: var(--white); color: var(--ink); }
.hero .button-secondary { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-large { min-height: 54px; padding: 0 24px; font-size: 15px; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 9px; background: transparent; }
.menu-button span { display: block; width: 18px; height: 2px; margin: 5px auto; background: currentColor; transition: transform .2s ease; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; padding: 8px 20px 22px; background: var(--ink); }
.mobile-nav.open { display: grid; }
.mobile-nav a { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }

.hero { position: relative; min-height: 900px; padding: 150px 0 36px; color: var(--white); background: var(--ink); overflow: hidden; isolation: isolate; }
#routeCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .76; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 17, 31, .98) 0%, rgba(7, 17, 31, .84) 48%, rgba(7, 17, 31, .28) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr .95fr; gap: 64px; align-items: center; }
.eyebrow { margin-bottom: 18px; color: var(--blue); font: 800 12px/1.2 var(--display); letter-spacing: .13em; text-transform: uppercase; }
.hero h1 { margin-bottom: 24px; font: 800 clamp(46px, 6vw, 78px)/.99 var(--display); letter-spacing: -.06em; }
.hero h1 span { color: var(--blue); }
.hero-lead { max-width: 650px; color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 30px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 18px; padding: 0; list-style: none; color: rgba(255, 255, 255, .75); font-size: 14px; }
.hero-checks li::before { content: "✓"; margin-right: 8px; color: var(--blue); font-weight: 800; }
.hero-product { position: relative; perspective: 1000px; }
.product-window { position: relative; padding: 18px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; background: rgba(247, 249, 252, .96); color: var(--ink); box-shadow: 0 42px 100px rgba(0, 0, 0, .35); transform: rotateY(-5deg) rotateX(2deg); }
.window-top, .stream-head { display: flex; align-items: center; justify-content: space-between; }
.window-top { padding-bottom: 15px; border-bottom: 1px solid rgba(7, 17, 31, .12); }
.window-brand { font: 800 15px/1 var(--display); }
.live-pill { padding: 5px 9px; border-radius: 999px; background: rgba(29, 92, 255, .1); color: var(--blue); font-size: 11px; font-weight: 700; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.mini-kpis div { padding: 13px; border: 1px solid rgba(7, 17, 31, .11); border-radius: 11px; background: var(--white); }
.mini-kpis span, .mini-kpis small { display: block; color: rgba(7, 17, 31, .55); font-size: 10px; }
.mini-kpis strong { display: block; margin: 6px 0 4px; font: 800 19px/1 var(--display); }
.lead-stream { overflow: hidden; border: 1px solid rgba(7, 17, 31, .11); border-radius: 12px; background: var(--white); }
.stream-head { padding: 12px 14px; font-size: 12px; border-bottom: 1px solid rgba(7, 17, 31, .1); }
.stream-head span { color: var(--blue); }
.lead-stream article { display: grid; grid-template-columns: 10px 1fr auto auto; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid rgba(7, 17, 31, .08); }
.lead-stream article:last-child { border: 0; }
.source-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.lead-stream b, .lead-stream small { display: block; }
.lead-stream b, .lead-stream strong { font-size: 12px; }
.lead-stream small { color: rgba(7, 17, 31, .54); font-size: 10px; }
.lead-stream em { padding: 4px 7px; border-radius: 99px; background: rgba(29, 92, 255, .1); color: var(--blue); font-style: normal; font-size: 9px; font-weight: 700; }
.automation-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 2px 0; color: rgba(7, 17, 31, .58); font-size: 9px; font-weight: 700; }
.automation-line i { flex: 1; height: 1px; background: rgba(29, 92, 255, .35); }
.floating-note { position: absolute; padding: 12px 15px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 11px; background: var(--ink); box-shadow: var(--shadow); }
.floating-note span, .floating-note b { display: block; }
.floating-note span { color: rgba(255, 255, 255, .55); font-size: 10px; }
.floating-note b { margin-top: 3px; font-size: 12px; }
.note-one { top: -44px; right: 22px; }
.note-two { bottom: -45px; left: -30px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 110px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.hero-stats > div { padding: 22px; background: rgba(7, 17, 31, .93); }
.hero-stats strong, .hero-stats span { display: block; }
.hero-stats strong { margin-bottom: 5px; font: 800 25px/1 var(--display); color: var(--white); }
.hero-stats span { color: rgba(255, 255, 255, .58); font-size: 12px; }
.data-note { margin-top: 10px; color: rgba(255, 255, 255, .43); font-size: 11px; }

.section { padding: 112px 0; }
.light-section, .pricing-section, .faq-section { background: var(--paper); }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading h2, .impact-copy h2, .final-card h2 { margin-bottom: 18px; font: 800 clamp(34px, 4.5vw, 54px)/1.08 var(--display); letter-spacing: -.045em; }
.section-heading > p:last-child, .split-heading > p, .impact-copy > p { color: rgba(7, 17, 31, .62); font-size: 17px; }
.split-heading { display: grid; grid-template-columns: 1.1fr .75fr; gap: 60px; max-width: none; align-items: end; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.workflow-card { min-height: 305px; padding: 28px; border: 1px solid rgba(7, 17, 31, .1); border-radius: var(--radius); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.workflow-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.workflow-card > span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; }
.workflow-card h3 { margin: 42px 0 12px; font: 800 24px/1.2 var(--display); }
.workflow-card p { color: rgba(7, 17, 31, .62); font-size: 14px; }
.workflow-card b { display: block; margin-top: 25px; color: var(--blue); font-size: 11px; line-height: 1.6; }

.product-section { background: var(--white); }
.screen-tabs { display: flex; gap: 8px; width: fit-content; margin-bottom: 18px; padding: 6px; border: 1px solid rgba(7, 17, 31, .1); border-radius: 12px; background: var(--paper); }
.screen-tab { padding: 10px 16px; border: 0; border-radius: 8px; color: rgba(7, 17, 31, .58); background: transparent; cursor: pointer; font-weight: 700; }
.screen-tab.active { background: var(--ink); color: var(--white); }
.screen-stage { position: relative; min-height: 575px; margin-bottom: 36px; padding: 11px; border-radius: 20px; background: var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.screen-panel { display: none; margin: 0; }
.screen-panel.active { display: block; animation: screenIn .4s ease; }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } }
.screen-panel img { width: 100%; max-height: 610px; object-fit: contain; border-radius: 12px; background: var(--white); }
.screen-panel figcaption { padding: 14px 8px 4px; color: rgba(255, 255, 255, .68); font-size: 13px; }

.impact-section { background: var(--ink); color: var(--white); }
.impact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.impact-copy > p { color: rgba(255, 255, 255, .62); }
.impact-assumption { margin-top: 28px; padding: 14px 16px; border-left: 3px solid var(--blue); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .58); font-size: 12px; }
.calculator { padding: 34px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 20px; background: rgba(255, 255, 255, .05); }
.calculator label { display: grid; grid-template-columns: 1fr auto; margin-bottom: 28px; font-weight: 700; }
.calculator output { color: var(--blue); }
input[type="range"] { grid-column: 1 / -1; width: 100%; margin-top: 13px; accent-color: var(--blue); }
.calculator-results { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); }
.calculator-results div { padding: 19px; border-radius: 13px; background: var(--white); color: var(--ink); }
.calculator-results span, .calculator-results small { display: block; color: rgba(7, 17, 31, .55); font-size: 11px; }
.calculator-results strong { display: block; margin: 8px 0 2px; font: 800 30px/1 var(--display); }

.proof-section { background: var(--white); }
.slider-controls { display: flex; gap: 8px; justify-content: flex-end; }
.slider-controls button { width: 46px; height: 46px; border: 1px solid rgba(7, 17, 31, .15); border-radius: 10px; background: var(--white); cursor: pointer; font-size: 19px; }
.slider-controls button:hover { background: var(--ink); color: var(--white); }
.story-viewport { overflow: hidden; }
.story-track { display: flex; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.story-card { flex: 0 0 calc(33.333% - 11px); margin-right: 16px; min-height: 390px; padding: 30px; border: 1px solid rgba(7, 17, 31, .11); border-radius: var(--radius); background: var(--paper); display: flex; flex-direction: column; }
.company-avatar { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--white); font: 800 15px/1 var(--display); }
.story-card blockquote { margin: 30px 0; font: 600 18px/1.6 var(--display); letter-spacing: -.015em; }
.story-card footer { display: grid; margin-top: auto; }
.story-card footer b { font-size: 14px; }
.story-card footer span { color: rgba(7, 17, 31, .55); font-size: 12px; }
.story-card footer strong { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(7, 17, 31, .1); color: var(--blue); font-size: 12px; }
.story-dots { display: flex; gap: 7px; justify-content: center; margin-top: 24px; }
.story-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(7, 17, 31, .18); cursor: pointer; }
.story-dots button.active { width: 25px; border-radius: 10px; background: var(--blue); }
.proof-note, .table-note { margin: 22px auto 0; color: rgba(7, 17, 31, .48); font-size: 11px; text-align: center; }

.compare-section { background: var(--ink); color: var(--white); }
.compare-section .section-heading > p:last-child { color: rgba(255, 255, 255, .6); }
.table-wrap { overflow-x: auto; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; }
.comparison-table { width: 100%; min-width: 1000px; border-collapse: collapse; background: rgba(255, 255, 255, .03); font-size: 13px; }
.comparison-table th, .comparison-table td { padding: 18px 16px; border-right: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.comparison-table th:first-child { width: 210px; text-align: left; }
.comparison-table thead th { font: 800 13px/1.3 var(--display); }
.comparison-table tbody th { color: rgba(255, 255, 255, .66); font-weight: 600; }
.comparison-table td { color: rgba(255, 255, 255, .7); }
.comparison-table .featured { background: rgba(29, 92, 255, .16); color: var(--white); font-weight: 700; }
.comparison-table a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.compare-section .table-note { color: rgba(255, 255, 255, .44); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 34px; border: 1px solid rgba(7, 17, 31, .11); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; }
.featured-price { border: 2px solid var(--blue); box-shadow: var(--shadow); transform: translateY(-10px); }
.popular { position: absolute; top: 0; right: 26px; padding: 8px 12px; border-radius: 0 0 8px 8px; background: var(--blue); color: var(--white); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-name { color: var(--blue); font-weight: 800; }
.price-card h3 { margin: 15px 0; font: 800 46px/1 var(--display); letter-spacing: -.05em; }
.price-card h3 span { font-size: 22px; }
.price-card h3 small { font: 600 12px/1 var(--font); letter-spacing: 0; color: rgba(7, 17, 31, .5); }
.price-card > p:not(.price-name) { color: rgba(7, 17, 31, .58); font-size: 14px; min-height: 46px; }
.price-card ul { flex: 1; padding: 20px 0 18px; margin: 20px 0 28px; border-top: 1px solid rgba(7, 17, 31, .1); list-style: none; }
.price-card li { padding: 7px 0; font-size: 14px; }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--blue); font-weight: 800; }

.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-grid .section-heading { position: sticky; top: 110px; align-self: start; }
.faq-list details { border-bottom: 1px solid rgba(7, 17, 31, .14); }
.faq-list summary { position: relative; padding: 23px 44px 23px 0; cursor: pointer; list-style: none; font: 700 17px/1.4 var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 19px; color: var(--blue); font-size: 24px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 45px; color: rgba(7, 17, 31, .62); }

.final-cta { padding: 32px 0 112px; background: var(--paper); }
.final-card { display: grid; grid-template-columns: 1.25fr .55fr; gap: 70px; align-items: center; padding: 58px; border-radius: 22px; background: var(--blue); color: var(--white); }
.final-card .eyebrow { color: var(--white); opacity: .72; }
.final-card h2 { max-width: 730px; }
.final-card p { margin-bottom: 0; color: rgba(255, 255, 255, .72); }
.final-actions { display: grid; gap: 16px; text-align: center; }
.final-actions > a:last-child { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

.site-footer { padding: 56px 0 20px; background: var(--ink); color: var(--white); }
.footer-main { display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; padding-bottom: 45px; }
.footer-main p { margin: 0; color: rgba(255, 255, 255, .52); font-size: 13px; }
.footer-main nav { display: flex; gap: 22px; color: rgba(255, 255, 255, .7); font-size: 13px; }
.footer-base { display: flex; justify-content: space-between; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .42); font-size: 11px; }

@media (max-width: 1020px) {
  .desktop-nav, .desktop-only { display: none; }
  .menu-button { display: block; }
  .hero { min-height: auto; }
  .hero-grid, .impact-grid { grid-template-columns: 1fr; }
  .hero-product { max-width: 680px; margin: 30px auto 0; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .screen-stage { min-height: auto; }
  .story-card { flex-basis: calc(50% - 8px); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .featured-price { transform: none; }
  .final-card { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .nav-row { height: 66px; }
  .nav-actions .button { display: none; }
  .hero { padding-top: 112px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero .button { width: 100%; }
  .product-window { padding: 12px; transform: none; }
  .mini-kpis { grid-template-columns: 1fr 1fr; }
  .mini-kpis div:last-child { grid-column: 1 / -1; }
  .lead-stream article { grid-template-columns: 8px 1fr auto; }
  .lead-stream article > em { display: none; }
  .note-one { right: 8px; }
  .note-two { left: 8px; }
  .hero-stats { grid-template-columns: 1fr 1fr; margin-top: 85px; }
  .section { padding: 78px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 12px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-card { min-height: auto; }
  .workflow-card h3 { margin-top: 28px; }
  .screen-tabs { width: 100%; overflow-x: auto; }
  .screen-tab { white-space: nowrap; }
  .impact-grid { gap: 42px; }
  .calculator { padding: 22px; }
  .calculator-results { grid-template-columns: 1fr; }
  .story-card { flex-basis: 100%; }
  .slider-controls { display: none; }
  .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .faq-grid .section-heading { position: static; }
  .final-card { padding: 34px 24px; gap: 32px; }
  .footer-main nav { flex-wrap: wrap; }
  .footer-base { display: grid; gap: 7px; }
}

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