:root {
  --bg: #f7f9fc;
  --bg-dark: #1b4f8a;
  --bg-card: #ffffff;
  --bg-subtle: #ebf2fa;
  --text: #1a1a1a;
  --text-muted: #555555;
  --text-light: #ffffff;
  --navy: #1b4f8a;
  --navy-deep: #0a2f56;
  --signal: #d6e4f0;
  --border: #d0dce8;
  --cta: #1b4f8a;
  --cta-hover: #0a2f56;
  --shadow: 0 4px 24px rgba(27, 79, 138, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 3.5rem);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0;
}

h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.4vw, 2.4rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: 0;
}

h3 {
  color: var(--text);
  font-size: clamp(1.2rem, 2vw, 1.38rem);
  line-height: 1.24;
  font-weight: 500;
  letter-spacing: 0;
}

p,
li {
  color: var(--text-muted);
}

.site-shell {
  min-height: 100vh;
  background: var(--bg);
}

.container,
.topbar,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark--text {
  display: grid;
  gap: 0;
}

.brand-mark__name {
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.brand-mark__sub,
.brand-mark__line {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__links a,
.footer__nav a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
}

.topbar__links a:hover,
.footer__nav a:hover {
  color: var(--navy);
}

.mobile-menu {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
}

.button--primary {
  background: var(--cta);
  color: #ffffff;
}

.button--primary:hover {
  background: var(--cta-hover);
}

.button--secondary {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.button--secondary:hover {
  background: var(--signal);
}

.button--light {
  background: #ffffff;
  color: var(--navy);
}

.button--full {
  width: 100%;
}

.topbar__cta {
  min-height: 40px;
  padding: 11px 18px;
}

.section--dark .button--secondary,
.hero .button--secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.66);
}

.section--dark .button--secondary:hover,
.hero .button--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: 96px 0;
  background:
    linear-gradient(rgba(27, 79, 138, 0.82), rgba(10, 47, 86, 0.88)),
    url("./assets/full-boom-hero-scrubbed.png") center / cover no-repeat;
  color: var(--text-light);
}

.hero--simple {
  min-height: 480px;
  background: var(--bg-dark);
}

.hero--terms {
  min-height: 440px;
  background: var(--bg-dark);
}

.hero__content {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

.hero > .topbar {
  align-self: start;
}

.hero > .hero__content {
  align-self: center;
}

.hero__copy {
  max-width: 760px;
}

.hero h1,
.hero h2,
.section--dark h2,
.section--dark h3,
.section--dark p,
.hero .eyebrow {
  color: #ffffff;
}

.hero__lede {
  margin-top: 22px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  line-height: 1.65;
}

.tagline,
.brand-definition,
.footer__tagline {
  color: var(--text-muted);
  font-size: 1.06rem;
  font-style: italic;
  line-height: 1.4;
}

.hero .tagline,
.hero .brand-definition {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
}

.brand-definition strong {
  color: inherit;
  font-weight: 500;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.section {
  padding: 80px 0;
  background: #ffffff;
}

.section--subtle {
  background: var(--bg-subtle);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-heading {
  max-width: 820px;
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  line-height: 1.35;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid,
.terms-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.terms-stack {
  grid-template-columns: 1fr;
}

.card,
.feature-card,
.problem-card,
.node-card,
.team-card,
.post-card,
.contact-card,
.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.card:hover,
.feature-card:hover,
.problem-card:hover,
.node-card:hover,
.post-card:hover {
  border-color: var(--navy);
}

.problem-card {
  border-left: 4px solid var(--navy);
}

.problem-card__icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--signal);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 500;
}

.node-label,
.metric-card__label,
.preview-card__label {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.node-card p,
.problem-card p,
.feature-card p,
.team-card p,
.post-card p,
.contact-card p {
  margin-top: 12px;
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.story-block {
  display: grid;
  gap: 16px;
}

.learn-link,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.learn-link:hover,
.text-link:hover {
  color: var(--navy-deep);
}

.flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.flow-step {
  position: relative;
  padding: 28px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.flow-step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -20px;
  width: 20px;
  height: 1.5px;
  background: var(--border);
}

.flow-step:last-child::after {
  display: none;
}

.flow-step__eyebrow {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 500;
}

.boundary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.boundary-card {
  padding: 32px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.boundary-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--signal);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.boundary-card__label strong {
  margin-left: 0.35em;
}

.boundary-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-left: 0;
  list-style: none;
}

.boundary-list li {
  color: var(--text);
}

.boundary-list--is li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--navy);
  font-weight: 500;
}

.boundary-list--not li::before {
  content: "×";
  margin-right: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.proof-layout,
.split-layout,
.contact-layout,
.node-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 48px;
  align-items: center;
}

.proof-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.quote {
  color: var(--navy);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-style: italic;
  line-height: 1.25;
}

.attribution {
  margin-top: 20px;
  color: var(--text);
  font-weight: 500;
}

.brand-photo,
.hero-visual,
.dashboard-shot,
.image-band__item,
.platform-hardware,
.hero-story__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--signal);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand-photo img,
.hero-visual img,
.dashboard-shot img,
.image-band__item img,
.platform-hardware img,
.hero-story__visual img,
.workflow-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-layout .brand-photo img,
.team-card img {
  aspect-ratio: 4 / 5;
}

.hero-visual img {
  aspect-ratio: 4 / 5;
}

.hero-visual figcaption,
.dashboard-shot figcaption {
  padding: 14px 16px 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.image-band__item img,
.dashboard-shot img,
.platform-hardware img {
  aspect-ratio: 16 / 10;
}

.team-card {
  display: grid;
  gap: 16px;
  align-content: start;
}

.team-card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.facts-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.facts-table th,
.facts-table td {
  padding: 18px 22px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.facts-table th {
  width: 28%;
  background: var(--navy);
  color: #ffffff;
  font-weight: 500;
}

.facts-table td {
  background: #ffffff;
  color: var(--text);
}

.spec-strip {
  display: grid;
  gap: 12px;
}

.spec-strip span {
  display: block;
  padding: 14px 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.workflow-card__copy {
  padding: 28px;
}

.lead-form {
  display: grid;
  gap: 20px;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lead-form__full {
  grid-column: 1 / -1;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lead-form__check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  font-weight: 400;
}

.lead-form__check input {
  width: 18px;
  min-height: 18px;
  margin-top: 5px;
}

.lead-form__footer {
  display: grid;
  gap: 10px;
}

.lead-status {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--signal);
  color: var(--navy);
  font-weight: 500;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.post-list {
  display: grid;
  gap: 24px;
}

.article {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0;
}

.article h1 {
  color: var(--navy);
}

.article__subtitle,
.article__byline {
  margin-top: 16px;
}

.article__body {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.cta-card {
  margin-top: 42px;
  padding: 32px;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  padding: 42px 0;
  border-top: 1px solid var(--border);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 22px;
}

.footer__legal {
  grid-column: 1 / -1;
  max-width: 900px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .grid--4,
  .grid--3,
  .flow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-step::after {
    display: none;
  }

  .proof-layout,
  .split-layout,
  .contact-layout,
  .node-section__layout,
  .section--split,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .container,
  .topbar,
  .site-footer,
  .hero__content,
  .article {
    width: min(100% - 32px, 1200px);
  }

  .topbar__links {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    list-style: none;
    cursor: pointer;
    color: var(--navy);
    font-weight: 500;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu__links {
    position: absolute;
    right: 0;
    top: 38px;
    width: min(78vw, 300px);
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .mobile-menu__links a {
    text-decoration: none;
    font-weight: 500;
  }

  .hero {
    min-height: 560px;
    padding: 70px 0;
  }

  .section {
    padding: 48px 0;
  }

  .grid--4,
  .grid--3,
  .grid--2,
  .flow-strip,
  .boundary-grid,
  .lead-form__grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer__nav {
    justify-content: flex-start;
  }

  .hero__actions .button,
  .section--dark .button,
  .lead-form__footer .button {
    width: 100%;
  }
}
