:root {
  color-scheme: light;
  --ink: #0b1424;
  --muted: #526174;
  --soft: #eef3f8;
  --line: #d8e1eb;
  --panel: #ffffff;
  --orange: #d95700;
  --orange-dark: #aa3f00;
  --green: #0f8a5f;
  --blue: #2457c5;
  --steel: #2d3a4a;
  --dark: #111827;
  --charcoal: #161c24;
  --shadow: 0 18px 48px rgba(16, 24, 40, 0.14);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f7fafc;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: 0; }
.brand img { width: 126px; height: auto; }
.brand small { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  padding: 9px 9px;
  border-radius: 6px;
  color: #324256;
  font-weight: 750;
  font-size: 12px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { background: var(--soft); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}
.button.primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.button.dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.button:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(16,24,40,.12); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 10px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 4px; }

.hero {
  padding: 72px 0 48px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.home-hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  background-image: url("roof-landmark.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: inset 0 0 0 1000px rgba(8, 12, 18, 0.62);
}
.home-hero .hero-grid {
  grid-template-columns: 1fr;
  gap: 28px;
}
.home-hero h1 {
  max-width: 980px;
  text-wrap: balance;
}
.home-hero .lead {
  color: #edf3f9;
}
.home-hero .proof {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(10px);
}
.home-hero .product-frame {
  max-width: 820px;
}
.demo-frame-wrap {
  background: #101722;
  border: 1px solid #263244;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  min-height: 520px;
}
.demo-frame-wrap iframe {
  display: block;
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 6px;
  background: #eef3f8;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; }
.eyebrow {
  color: var(--orange);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(42px, 6vw, 76px); max-width: 920px; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: 23px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); margin: 20px 0 0; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.proof {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 850;
  color: #39485a;
}

.product-frame {
  background: #101722;
  border: 1px solid #263244;
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.app-shell {
  background: #edf3f9;
  border-radius: 6px;
  overflow: hidden;
  min-height: 420px;
}
.app-top {
  height: 56px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
  font-weight: 900;
}
.app-top .pill { background: rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
.app-layout { display: grid; grid-template-columns: 160px 1fr; min-height: 364px; }
.app-side { background: #dfe8f2; padding: 18px 14px; display: grid; gap: 9px; align-content: start; }
.app-side span { padding: 9px 10px; border-radius: 6px; font-size: 13px; font-weight: 800; color: #415169; }
.app-side span.active { background: #fff; color: var(--orange-dark); box-shadow: 0 4px 10px rgba(16,24,40,.08); }
.app-main { padding: 20px; }
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.metric strong { display: block; font-size: 26px; color: var(--ink); }
.metric span { color: var(--muted); font-weight: 750; }
.pipeline { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.pipeline-row { display: grid; grid-template-columns: 110px 1fr 42px; align-items: center; gap: 10px; margin: 11px 0; font-size: 13px; font-weight: 850; }
.bar { height: 10px; border-radius: 999px; background: #dfe7f0; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--orange); }

.section { padding: 72px 0; }
.section.white { background: #fff; }
.section.dark { background: var(--charcoal); color: #fff; }
.section.dark .muted, .section.dark .lead { color: #b9c4d1; }
.section-head { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; font-size: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(16,24,40,.06);
}
.section.dark .card { background: #1e2632; border-color: #303b4b; color: #fff; box-shadow: none; }
.card .icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: #fff1e8;
  color: var(--orange);
  display: grid;
  place-items: center;
  font-weight: 950;
  margin-bottom: 18px;
}
.card p, .muted { color: var(--muted); }
.section.dark .card p { color: #bdc7d3; }
.feature-list { padding: 0; margin: 18px 0 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; color: #354357; font-weight: 720; }
.section.dark .feature-list li { color: #d6dee8; }
.feature-list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--orange); }

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.step b { color: var(--orange-dark); font-size: 13px; text-transform: uppercase; }
.step span { display: block; font-weight: 900; margin-top: 4px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; }
.visual-board {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-row img { border-radius: 6px; height: 110px; width: 100%; object-fit: cover; border: 1px solid var(--line); }
.evidence {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.evidence div {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 850;
  color: #334155;
}
.tag { border-radius: 999px; padding: 5px 9px; background: #eaf7f0; color: var(--green); font-size: 12px; font-weight: 950; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price.featured { border-color: var(--orange); box-shadow: var(--shadow); }
.price h3 { margin-bottom: 10px; }
.price .amount { font-size: 42px; font-weight: 950; margin: 8px 0; }
.price small { color: var(--muted); font-weight: 800; }
.pricing-title .hero-actions { margin-top: 24px; }
.plan-pricing {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.plan-card .feature-list { flex: 1; }
.plan-card .button { margin-top: 22px; }
.plan-kicker {
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.comparison-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(16,24,40,.08);
}
.comparison-table {
  min-width: 1060px;
  box-shadow: none;
}
.comparison-table th {
  color: #172033;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.comparison-table td:first-child {
  width: 34%;
  color: #263348;
  font-weight: 850;
}
.comparison-table td:not(:first-child) {
  color: #314256;
  font-weight: 780;
}
.comparison-table td:not(:first-child):not(:empty) {
  text-align: center;
}
.comparison-table .compare-group td {
  background: #fff3eb;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.footer {
  background: #0f1722;
  color: #d8e1eb;
  padding: 46px 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer h4 { color: #fff; margin: 0 0 12px; }
.footer a { display: block; color: #b9c4d1; margin: 8px 0; font-weight: 650; }
.footer a:hover { color: #fff; }
.legal { border-top: 1px solid #273244; margin-top: 34px; padding-top: 20px; color: #94a3b8; font-size: 13px; }

.page-title { background: #fff; border-bottom: 1px solid var(--line); padding: 58px 0; }
.page-title h1 { font-size: clamp(40px, 5vw, 64px); }
.page-title p { max-width: 820px; }
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { border-bottom: 1px solid var(--line); padding: 16px; text-align: left; vertical-align: top; }
.compare th { background: #f0f5fa; }
.compare tr:last-child td { border-bottom: 0; }
.sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 25;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav { height: auto; min-height: 72px; flex-wrap: wrap; padding: 10px 0; }
  .nav-links, .nav-cta {
    display: none;
    width: 100%;
  }
  .site-header.open .nav-links, .site-header.open .nav-cta { display: grid; }
  .nav-links a, .nav-cta a { width: 100%; }
  .hero-grid, .split, .grid-2, .grid-3, .pricing, .footer-grid { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head { display: block; }
  .app-layout { grid-template-columns: 1fr; }
  .app-side { grid-template-columns: repeat(2, 1fr); }
  .demo-frame-wrap,
  .demo-frame-wrap iframe { min-height: 620px; }
}

@media (max-width: 560px) {
  .workflow { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .section { padding: 52px 0; }
  .sticky-cta { left: 16px; right: 16px; }
  .sticky-cta .button { width: 100%; }
}
