:root {
  --cream: #f7f4ec;
  --paper: #fffefb;
  --navy: #111a2d;
  --navy-soft: #19243a;
  --ink: #182138;
  --muted: #657086;
  --line: rgba(24, 33, 56, .14);
  --orange: #f56b1f;
  --cyan: #1ca7c4;
  --amber: #f59e2c;
  --red: #b91c1c;
  --green: #18794e;
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Sora", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --shell: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }
.skip-link { position: fixed; top: -60px; left: 18px; z-index: 200; padding: 10px 16px; background: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 244, 236, .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand img { width: 38px; height: 38px; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 400 23px/1 var(--display); letter-spacing: .06em; }
.brand-copy small { margin-top: 4px; color: var(--muted); font: 600 8px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 23px; color: #38435a; font-size: 13px; font-weight: 600; }
.desktop-nav > a, .industry-menu > summary { padding: 26px 0; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .industry-menu summary:hover { color: var(--orange); }
.industry-menu { position: relative; }
.industry-menu summary { cursor: pointer; list-style: none; }
.industry-menu summary::-webkit-details-marker { display: none; }
.industry-menu summary::after { content: "⌄"; margin-left: 6px; color: var(--muted); }
.industry-menu[open] .industry-popover { display: grid; }
.industry-popover { display: none; position: absolute; top: 60px; left: 50%; transform: translateX(-50%); width: 220px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 22px 55px rgba(17, 26, 45, .16); }
.industry-popover a { padding: 11px 12px; border-radius: 8px; }
.industry-popover a:hover { background: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.login-link { color: #38435a; font-size: 13px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; background: var(--orange); color: white; border: 1px solid var(--orange); border-radius: 8px; font-weight: 700; box-shadow: 0 10px 28px rgba(245, 107, 31, .2); transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-2px); background: #df5d17; box-shadow: 0 14px 34px rgba(245, 107, 31, .28); }
.button-small { min-height: 42px; padding: 0 17px; font-size: 12px; }
.button-ghost { background: transparent; color: white; border-color: rgba(255,255,255,.34); box-shadow: none; }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.text-link { color: var(--ink); border-bottom: 1px solid currentColor; font-weight: 700; }
.nav-toggle { display: none; width: 42px; height: 42px; margin-left: auto; background: transparent; border: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }
.mobile-nav { display: none; }

.hero { position: relative; overflow: hidden; padding: 96px 0 88px; color: white; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 83% 18%, rgba(28,167,196,.17), transparent 30%), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 18px; color: var(--cyan); font: 700 11px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hero h1, .section-head h2, .vertical-hero h1, .cta-band h2 { margin: 0; font: 400 clamp(54px, 7vw, 92px)/.94 var(--display); letter-spacing: -.025em; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero .lede { max-width: 710px; margin: 27px 0 0; color: #b8c2d4; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 31px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 21px; color: #8793a8; font: 500 10px/1.5 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.command-card { width: 100%; margin: 0; background: #fdfcf8; color: var(--ink); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: 0 36px 80px rgba(0,0,0,.3); overflow: hidden; }
.command-card-head { display: flex; justify-content: space-between; gap: 16px; padding: 16px 19px; background: #0b1220; color: #8f9bb0; font: 600 9px/1 var(--mono); letter-spacing: .1em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(28,167,196,.12); }
.three-answers { display: grid; grid-template-columns: repeat(3, 1fr); }
.answer { padding: 21px 18px; border-bottom: 1px solid var(--line); }
.answer + .answer { border-left: 1px solid var(--line); }
.answer small { display: block; color: var(--muted); font: 700 8px/1.4 var(--mono); letter-spacing: .12em; }
.answer strong { display: block; margin-top: 11px; font: 600 25px/1 var(--mono); }
.answer b { display: inline-block; margin-top: 10px; padding: 3px 7px; color: var(--red); background: rgba(185,28,28,.08); border-radius: 99px; font-size: 8px; }
.queue-list { padding: 13px 18px 18px; }
.queue-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.queue-row:last-child { border: 0; }
.queue-row small { display: block; color: var(--muted); font-size: 10px; }
.queue-row strong { font-size: 12px; }
.queue-row b { font: 600 13px var(--mono); }
.demo-label { margin: 0; padding: 10px 18px; color: #768197; background: #eeece5; font: 600 9px/1.4 var(--mono); }

.industry-router { padding: 72px 0; }
.router-head, .section-head { max-width: 800px; margin-bottom: 38px; }
.router-head h2, .section-head h2 { color: var(--ink); font-size: clamp(45px, 6vw, 74px); }
.router-head p, .section-head > p:not(.eyebrow) { color: var(--muted); font-size: 17px; }
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.industry-card { position: relative; min-height: 335px; padding: 38px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; box-shadow: 0 16px 55px rgba(17,26,45,.07); }
.industry-card::after { content: attr(data-index); position: absolute; right: 24px; bottom: -33px; color: rgba(24,33,56,.045); font: 400 150px/1 var(--display); }
.industry-card.restoration { background: var(--navy); color: white; border-color: var(--navy); }
.industry-card.restoration::after { color: rgba(255,255,255,.045); }
.industry-card small { color: var(--orange); font: 700 10px var(--mono); letter-spacing: .14em; }
.industry-card h3 { max-width: 500px; margin: 29px 0 16px; font: 400 42px/1 var(--display); letter-spacing: -.01em; }
.industry-card p { max-width: 520px; color: var(--muted); }
.industry-card.restoration p { color: #aeb9cb; }
.industry-card a { position: relative; z-index: 1; display: inline-block; margin-top: 26px; font-weight: 700; border-bottom: 1px solid currentColor; }

.platform-section { padding: 94px 0; background: #fffefb; }
.view-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.view-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.view-card .view-name { color: var(--orange); font: 400 34px/1 var(--display); letter-spacing: .04em; }
.view-card h3 { margin: 25px 0 14px; font-size: 23px; line-height: 1.3; }
.view-card p { color: var(--muted); font-size: 14px; }
.view-card ul, .category-list { display: grid; gap: 8px; margin: 21px 0 0; padding: 0; list-style: none; }
.view-card li { padding-top: 8px; border-top: 1px solid var(--line); color: #45516a; font-size: 12px; }

.trust-section { padding: 92px 0; color: white; background: #0b1220; }
.trust-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 75px; align-items: center; }
.trust-copy h2 { margin: 0; font: 400 clamp(48px, 6vw, 72px)/.98 var(--display); }
.trust-copy p { max-width: 650px; color: #aab4c6; }
.trust-score { padding: 31px; background: #121d31; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.score-top { display: flex; justify-content: space-between; color: #8290a7; font: 600 9px var(--mono); letter-spacing: .12em; }
.score-value { display: flex; align-items: baseline; gap: 10px; margin: 34px 0; }
.score-value strong { color: var(--amber); font: 600 72px/1 var(--mono); }
.score-value span { color: var(--amber); font: 700 11px var(--mono); }
.score-row { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.09); color: #aab4c6; font-size: 12px; }
.score-row b { color: white; font-family: var(--mono); }

.process-section, .vertical-section { padding: 92px 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.process-step { min-height: 260px; padding: 28px; }
.process-step + .process-step { border-left: 1px solid var(--line); }
.process-step > span { color: var(--orange); font: 600 12px var(--mono); }
.process-step h3 { margin: 42px 0 14px; font-size: 18px; line-height: 1.4; }
.process-step p { color: var(--muted); font-size: 13px; }

.vertical-hero { padding: 88px 0 76px; background: var(--navy); color: white; }
.vertical-hero .hero-grid { grid-template-columns: 1fr .92fr; }
.vertical-hero h1 { font-size: clamp(55px, 7vw, 88px); }
.vertical-hero .lede { color: #b7c1d2; font-size: 17px; }
.proof-ribbon { padding: 26px 0; color: white; background: var(--orange); }
.proof-ribbon .shell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proof-ribbon strong { display: block; font: 600 27px var(--mono); }
.proof-ribbon span { font-size: 11px; font-weight: 700; }
.section-alt { background: #fffefb; }
.queue-example { border: 1px solid var(--line); border-radius: 13px; background: white; overflow: hidden; box-shadow: 0 22px 65px rgba(17,26,45,.08); }
.queue-example-head, .queue-example-row { display: grid; grid-template-columns: 1.25fr .9fr .65fr .7fr 1.45fr; gap: 18px; align-items: center; padding: 17px 21px; }
.queue-example-head { color: var(--muted); background: #eeece5; font: 700 9px var(--mono); letter-spacing: .09em; }
.queue-example-row + .queue-example-row { border-top: 1px solid var(--line); }
.queue-example-row span { font-size: 12px; }
.queue-example-row strong { font: 600 14px var(--mono); }
.queue-example-row .action { color: var(--muted); font-size: 11px; }
.priority { display: inline-block; width: max-content; padding: 4px 8px; border-radius: 99px; color: var(--red); background: rgba(185,28,28,.08); font: 700 9px var(--mono); }
.category-cloud { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.category-cloud span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: #45516a; font-size: 11px; }
.job-grid, .forecast-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.job-card, .forecast-card { padding: 29px; background: var(--navy); color: white; border-radius: 14px; box-shadow: 0 25px 70px rgba(17,26,45,.2); }
.job-card header, .forecast-card header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 19px; border-bottom: 1px solid rgba(255,255,255,.12); }
.job-card small, .forecast-card small { color: #8f9bb0; font: 600 9px var(--mono); letter-spacing: .1em; }
.job-card h3, .forecast-card h3 { margin: 6px 0 0; font-size: 18px; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; }
.metric-grid div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.metric-grid div:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.1); }
.metric-grid span, .cash-row span { display: block; color: #8f9bb0; font-size: 10px; }
.metric-grid strong, .cash-row strong { font: 600 17px var(--mono); }
.risk-breakdown { margin-top: 18px; padding: 16px; color: #d8dfeb; background: rgba(245,107,31,.12); border-left: 3px solid var(--orange); font-size: 11px; }
.cash-row { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.cash-row strong { font-size: 14px; }
.cash-movement { margin-top: 20px; padding: 17px; color: var(--cyan); background: rgba(28,167,196,.11); border-radius: 8px; }
.cash-movement strong { display: block; font: 600 24px var(--mono); }
.illustrative { display: inline-block; margin-bottom: 14px; padding: 5px 8px; color: #76510c; background: #fff2cf; border-radius: 4px; font: 700 9px var(--mono); letter-spacing: .1em; }
.operator-line { padding: 72px 0; background: #e9e5da; }
.operator-line blockquote { max-width: 980px; margin: 0; font: 400 clamp(32px, 5vw, 56px)/1.1 var(--display); }
.operator-line blockquote span { color: var(--orange); }

.cta-band { padding: 82px 0; color: white; text-align: center; background: var(--navy); }
.cta-band h2 { max-width: 850px; margin: 0 auto; font-size: clamp(48px, 6vw, 76px); }
.cta-band p { max-width: 680px; margin: 20px auto 28px; color: #aeb8ca; }
.site-footer { padding: 58px 0 24px; background: #0b1220; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 44px; }
.footer-grid p { max-width: 360px; color: #8995aa; font-size: 12px; }
.footer-grid b { display: block; margin-bottom: 12px; color: #6f7d94; font: 700 9px var(--mono); letter-spacing: .12em; }
.footer-grid > div:not(:first-child) a { display: block; margin: 8px 0; color: #bbc4d3; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #6f7d94; font-size: 10px; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 15px; }
  .desktop-nav > a:nth-last-of-type(2) { display: none; }
  .hero-grid, .vertical-hero .hero-grid { gap: 38px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(3) { border-left: 0; }
  .process-step:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .desktop-nav, .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .mobile-nav.open { display: grid; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: var(--cream); }
  .mobile-nav a { padding: 11px 4px; font-size: 13px; font-weight: 600; }
  .mobile-nav .button { margin-top: 8px; color: white; }
  .hero, .vertical-hero { padding: 70px 0; }
  .hero-grid, .vertical-hero .hero-grid, .trust-grid, .job-grid, .forecast-grid { grid-template-columns: minmax(0, 1fr); }
  .industry-grid, .view-grid { grid-template-columns: 1fr; }
  .command-card { max-width: 650px; }
  .proof-ribbon .shell { grid-template-columns: 1fr; }
  .queue-example { overflow-x: auto; }
  .queue-example-head, .queue-example-row { min-width: 820px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .hero h1, .vertical-hero h1 { font-size: 44px; }
  .hero .lede, .vertical-hero .lede { font-size: 15px; }
  .three-answers { grid-template-columns: 1fr; }
  .answer + .answer { border-left: 0; }
  .industry-card { min-height: 310px; padding: 27px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step + .process-step { border-left: 0; border-top: 1px solid var(--line); }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid div:nth-child(even) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

