:root {
  --ink: #152238;
  --muted: #617087;
  --line: #d8e2ea;
  --paper: #ffffff;
  --soft: #f3f7f9;
  --navy: #0b3850;
  --navy-deep: #062736;
  --blue: #0c6d99;
  --green: #11ad77;
  --green-dark: #087552;
  --amber: #e7a930;
  --shadow: 0 18px 50px rgba(13, 41, 56, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand img { width: 108px; height: 48px; object-fit: contain; }
.topbar nav { display: none; gap: 24px; align-items: center; font-size: 14px; font-weight: 700; color: #45546a; }
.topbar nav a:hover { color: var(--blue); }
.header-actions { display: flex; gap: 8px; }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--green-dark); }
.button-primary:hover { background: #065f43; }
.button-quiet { color: var(--ink); background: #fff; border-color: var(--line); }
.button-glass { color: #fff; background: rgba(7, 34, 47, 0.52); border-color: rgba(255, 255, 255, 0.54); }

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 68px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../assets/motion/construction-aerial-poster.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero-shade { position: absolute; inset: 0; background: rgba(2, 28, 41, 0.72); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 100px 0 74px;
  color: #fff;
}
.eyebrow { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(60px, 11vw, 122px); line-height: 0.92; letter-spacing: 0; }
.hero-offer { max-width: 780px; margin: 24px 0 0; font-size: clamp(24px, 4vw, 42px); line-height: 1.08; font-weight: 800; }
.hero-copy { max-width: 680px; margin: 20px 0 0; color: #d7e6ed; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; color: #d8e8ee; font-size: 13px; font-weight: 700; }
.proof-row span::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); }

.product-section, .workflow, .faq { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 76px 0; }
.section-heading { display: grid; gap: 16px; margin-bottom: 34px; }
.section-heading h2, .audience-copy h2, .final-cta h2 { max-width: 820px; margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: 1.08; }
.section-heading > p { max-width: 560px; margin: 0; color: var(--muted); }
.demo-shell { overflow: hidden; border: 1px solid #becdd7; border-radius: 8px; background: #eaf1f4; box-shadow: var(--shadow); }
.demo-bar { height: 48px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid #c8d5dd; background: #fff; font-size: 13px; }
.demo-bar strong { text-align: center; }
.demo-bar a { justify-self: end; color: var(--blue); font-weight: 800; }
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: #b9c7d0; }
.window-dots span:first-child { background: #de6c63; }
.window-dots span:nth-child(2) { background: var(--amber); }
.window-dots span:last-child { background: var(--green); }
.demo-preview { position: relative; display: block; overflow: hidden; background: #f4f7f9; }
.demo-preview img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 220ms ease; }
.demo-preview span { position: absolute; right: 20px; bottom: 20px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 6px; color: #fff; background: var(--blue); box-shadow: 0 10px 24px rgba(5, 40, 62, 0.24); font-weight: 800; }
.demo-preview:hover img { transform: scale(1.012); }
.demo-preview:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }

.decision-band { padding: 76px max(18px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--navy-deep); }
.section-heading.light > p { color: #c8dce5; }
.feature-grid { display: grid; gap: 1px; overflow: hidden; border: 1px solid #315665; border-radius: 8px; background: #315665; }
.feature-grid article { min-height: 220px; padding: 26px; background: var(--navy); }
.feature-grid article > span { color: var(--green); font-size: 13px; font-weight: 900; }
.feature-grid h3 { margin: 34px 0 8px; font-size: 22px; }
.feature-grid p { margin: 0; color: #c8dce5; }

.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font-weight: 900; }
.steps h3 { margin: 0 0 4px; font-size: 22px; }
.steps p { margin: 0; color: var(--muted); }

.audience-band { display: grid; gap: 30px; padding: 70px max(18px, calc((100vw - 1180px) / 2)); background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-copy p:last-child { max-width: 650px; color: var(--muted); }
.audience-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.audience-list span { min-height: 82px; display: grid; place-items: center; padding: 12px; background: #fff; font-weight: 900; }

.faq-grid { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 6px; background: #fff; }
summary { cursor: pointer; padding: 18px; font-weight: 800; }
details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.final-cta { width: min(1180px, calc(100% - 36px)); display: grid; gap: 28px; margin: 0 auto 76px; padding: 38px; color: #fff; border-radius: 8px; background: var(--navy); }
.final-cta p:not(.eyebrow) { max-width: 680px; color: #cfe0e7; }
.final-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

footer { display: grid; gap: 14px; align-items: center; padding: 34px max(18px, calc((100vw - 1180px) / 2)) 92px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
footer .brand img { width: 96px; }
footer a:last-child { color: var(--blue); font-weight: 800; }
.mobile-cta { position: fixed; z-index: 40; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, 0.97); }

@media (min-width: 760px) {
  .section-heading { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: end; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--line); }
  .steps li { grid-template-columns: 44px 1fr; padding-right: 26px; }
  .audience-band { grid-template-columns: 1.2fr 0.8fr; align-items: center; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta { grid-template-columns: 1fr auto; align-items: end; }
  footer { grid-template-columns: auto 1fr auto; padding-bottom: 34px; }
  .mobile-cta { display: none; }
}

@media (min-width: 980px) {
  .topbar nav { display: flex; }
}

@media (min-width: 1060px) {
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 759px) {
  .header-actions .button-quiet { display: none; }
  .header-actions .button { min-height: 40px; padding: 0 12px; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 72px; }
  .hero-copy { font-size: 15px; }
  .hero-actions .button { width: 100%; }
  .demo-bar { grid-template-columns: 1fr auto; }
  .window-dots { display: none; }
  .demo-bar strong { text-align: left; }
  .demo-preview img { aspect-ratio: 4 / 3; object-position: top left; }
  .demo-preview span { right: 12px; bottom: 12px; left: 12px; justify-content: center; }
  .final-cta { padding: 28px 22px; }
  .final-actions .button { width: 100%; }
}

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