:root {
  --ink: #0b1626;
  --ink-2: #14233b;
  --navy: #1e3a5f;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --accent-light: #9ec5f0;
  --steel: #aeb8c4;
  --text: #1f2a3a;
  --muted: #5b6b80;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .06), 0 12px 32px rgba(11, 22, 38, .07);
  --container: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .94rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, .28);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(37, 99, 235, .36); }
.btn-ghost {
  background: transparent;
  color: #e8eefb;
  border-color: rgba(255, 255, 255, .28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 38px; height: 38px; display: block; }
.brand-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); }
.brand-sub { font-weight: 600; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-weight: 500; color: var(--muted); font-size: .96rem; }
.nav a:hover { color: var(--ink); }
.nav a.btn-primary { color: #fff; }
.nav-login { font-weight: 600; color: var(--ink); }
.nav-login:hover { color: var(--blue); }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 78% -8%, rgba(158, 197, 240, .16), transparent 60%),
    radial-gradient(900px 420px at 8% 0%, rgba(37, 99, 235, .28), transparent 58%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  color: #eaf1fb;
  overflow: hidden;
}
.hero-inner { padding: 92px 24px 104px; max-width: 880px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin: 0 0 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 22px;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #c2d2e8;
  max-width: 640px;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 28px;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stats span { font-size: .92rem; color: #9fb3cf; }

/* Sections */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--ink); text-align: center; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 14px auto 0; }

/* Grid + cards */
.grid { display: grid; gap: 22px; margin-top: 52px; }
.features { grid-template-columns: repeat(3, 1fr); }
.roles { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 22, 38, .06), 0 18px 40px rgba(11, 22, 38, .1); }
.card-icon { font-size: 1.6rem; margin-bottom: 14px; }
.card h3 { font-size: 1.18rem; margin-bottom: 8px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.role { text-align: left; }
.role h3 { font-size: 1.3rem; }

/* Split / AI spotlight */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split-text h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--ink); margin: 12px 0 18px; }
.split-text p { color: var(--muted); font-size: 1.08rem; }
.split-text .eyebrow { color: var(--blue); }
.checklist { list-style: none; padding: 0; margin: 22px 0 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #d4e4f7;
  box-shadow: inset 0 0 0 2px var(--blue);
}
.checklist li::after {
  content: "";
  position: absolute; left: 6px; top: 11px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(40deg);
}

/* Mock takeoff table */
.mock {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.mock-row:last-child { border-bottom: none; }
.mock-head { background: var(--bg-alt); font-weight: 700; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.pill { font-size: .8rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.pill-win { background: #e7f6ef; color: #0f7a52; }
.pill-opp { background: #fff2e0; color: #b56a08; }
.pill-other { background: #eef1f6; color: #6a7889; }

/* MCP query mock */
.mcp-q {
  padding: 18px 20px;
  font-style: italic;
  color: var(--ink);
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.mcp-a { padding: 16px 20px 18px; background: var(--bg-alt); }
.mcp-a p { margin: 0 0 7px; color: var(--muted); font-size: .95rem; }
.mcp-a p:last-child { margin-bottom: 0; }
.mcp-a strong { color: var(--ink); font-weight: 700; }
.mcp-who { display: flex; align-items: center; gap: 7px; }
.mcp-who::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
}

/* Manufacturer Intelligence mock */
.mi-ask {
  display: flex; align-items: center; gap: 9px;
  padding: 15px 18px;
  margin: 0;
  color: var(--ink);
  font-size: .98rem;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.mi-ask-icon { font-size: .9rem; }
.mi-feed { padding: 6px 0; }
.mi-item { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.mi-item:last-child { border-bottom: none; }
.mi-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.mi-mfr { font-weight: 700; color: var(--ink); font-size: .92rem; }
.mi-tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--blue);
  background: #e8f0fd;
  padding: 2px 8px; border-radius: 999px;
}
.mi-item p { margin: 0; color: var(--muted); font-size: .92rem; }

/* CTA */
.section-cta { background: linear-gradient(160deg, var(--ink), var(--ink-2)); color: #eaf1fb; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: #fff; font-weight: 800; }
.cta-copy p { color: #b7c7de; font-size: 1.1rem; margin-top: 12px; }
.demo-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 28px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: .88rem; font-weight: 500; color: #c2d2e8; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-family: inherit;
  font-size: .98rem;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-light); outline-offset: 1px; border-color: transparent; }
.demo-form .btn { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.site-footer { background: var(--ink); color: #9fb3cf; padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.footer-icon { width: 34px; height: 34px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #9fb3cf; }
.footer-note { margin: 4px 0 0; }
.footer-copy { margin: 4px 0 0; font-size: .86rem; color: #6f829c; }

/* Responsive */
@media (max-width: 900px) {
  .features, .roles { grid-template-columns: 1fr 1fr; }
  .split, .cta-inner { grid-template-columns: 1fr; gap: 36px; }

  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px; left: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 8px; font-size: 1rem; color: var(--ink); }
  .nav a:hover { background: var(--bg-alt); }
  .nav-login { order: -1; }                 /* Log in first in the mobile menu */
  .nav a.btn-primary { text-align: center; margin-top: 6px; }
}
@media (max-width: 600px) {
  .features, .roles { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 24px 72px; }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px; }
}
