:root {
  --ink: #111827;
  --muted: #5b6472;
  --paper: #f6f7f4;
  --white: #ffffff;
  --line: #dfe4dd;
  --dark: #101820;
  --dark-soft: #172433;
  --accent: #0f9f8f;
  --accent-dark: #09786d;
  --orange: #f47b35;
  --gold: #d8a835;
  --soft-accent: #e8fbf8;
  --danger-soft: #fff1ed;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(223, 228, 221, 0.9);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.site-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 24px;
}

.header-cta,
.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-primary {
  background: var(--orange);
  box-shadow: 0 14px 30px rgba(244, 123, 53, 0.24);
  color: var(--white);
}

.header-cta:hover,
.button-primary:hover {
  background: #df6827;
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.section {
  padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 910px;
  text-align: center;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 12px auto 0;
  max-width: 720px;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.9rem, 7vw, 6.5rem);
  max-width: 880px;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
}

h3 {
  font-size: 1.2rem;
}

.hero {
  color: var(--white);
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 48%, rgba(16, 24, 32, 0.58), rgba(16, 24, 32, 0.82) 58%, rgba(16, 24, 32, 0.92)),
    linear-gradient(180deg, rgba(16, 24, 32, 0.58), rgba(16, 24, 32, 0.9));
  inset: 0;
  position: absolute;
}

.hero-content {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px) clamp(76px, 9vw, 120px);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.hero h1 {
  margin: 0 auto;
  text-shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
}

.hero-subhead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.35rem, 2.8vw, 2.15rem);
  font-weight: 850;
  line-height: 1.2;
  margin: 18px auto 0;
  max-width: 860px;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  margin: 18px auto 0;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.microcopy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 800;
  margin: 14px 0 0;
}

.card-grid,
.includes-grid,
.qualification-grid,
.process-list {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 1180px;
}

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

.feature-card,
.includes-grid article,
.fit-card,
.process-list li,
.contact-form,
.contact-note {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(17, 24, 39, 0.06);
}

.feature-card,
.includes-grid article {
  padding: 24px;
}

.feature-card span,
.includes-grid span,
.process-list span {
  align-items: center;
  background: var(--soft-accent);
  border-radius: 8px;
  color: var(--accent-dark);
  display: inline-flex;
  font-weight: 950;
  height: 40px;
  justify-content: center;
  margin-bottom: 18px;
  width: 42px;
}

.feature-card p,
.includes-grid p,
.fit-card li,
.process-list p,
.system-layout p,
.system-panel span,
.contact-copy p {
  color: var(--muted);
}

.closing-line {
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 900;
  margin: 26px auto 0;
  max-width: 1180px;
  padding: 22px;
  text-align: center;
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--gold);
}

.system-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  margin: 0 auto;
  max-width: 1180px;
}

.system-layout p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
  margin: 20px 0 0;
  max-width: 720px;
}

.system-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
}

.system-panel div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px;
}

.system-panel strong,
.system-panel span {
  display: block;
}

.system-panel strong {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.system-panel span {
  color: rgba(255, 255, 255, 0.7);
}

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

.blueprint-showcase {
  background: #ffffff;
}

.blueprint-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  margin: 0 auto;
  max-width: 1180px;
}

.blueprint-card {
  background: var(--dark);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  min-height: 100%;
  overflow: hidden;
}

.blueprint-card-large {
  grid-row: span 2;
}

.blueprint-card img {
  aspect-ratio: 1376 / 732;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.blueprint-card-large img {
  min-height: 420px;
}

.blueprint-card div {
  background: linear-gradient(180deg, rgba(16, 24, 32, 0.88), #101820);
  padding: 20px;
}

.blueprint-card span {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.blueprint-card h3 {
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.18;
}

.qualification {
  background: #fff;
}

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

.fit-card {
  padding: clamp(22px, 3vw, 34px);
}

.fit-card h3 {
  margin-bottom: 18px;
}

.fit-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.good-fit {
  background: linear-gradient(180deg, var(--soft-accent), var(--white));
  border-color: rgba(15, 159, 143, 0.24);
}

.bad-fit {
  background: linear-gradient(180deg, var(--danger-soft), var(--white));
  border-color: rgba(244, 123, 53, 0.24);
}

.process-list {
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
}

.process-list li {
  padding: 24px;
}

.process-list p {
  margin-bottom: 0;
}

.final-cta {
  padding-top: 0;
}

.final-cta-inner {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(26px, 5vw, 58px);
}

.final-cta-inner p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.application {
  padding-top: 0;
}

.contact-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  margin: 0 auto;
  max-width: 1180px;
}

.contact-copy {
  position: sticky;
  top: 96px;
}

.contact-copy p {
  font-size: 1.05rem;
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  padding: 18px;
}

.contact-note span {
  color: var(--accent-dark);
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  padding: clamp(20px, 4vw, 34px);
}

label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 850;
  gap: 8px;
}

input,
select,
textarea {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(15, 159, 143, 0.14);
  outline: none;
}

.full-field,
.form-status {
  grid-column: 1 / -1;
}

.form-status {
  color: var(--accent-dark);
  font-weight: 850;
  margin: 0;
  min-height: 1.3em;
}

.site-footer {
  align-items: center;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer a {
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .site-nav {
    background: var(--white);
    border-top: 1px solid var(--line);
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
    justify-content: stretch;
    padding-top: 16px;
  }

  .site-header.nav-open .header-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .card-grid,
  .includes-grid,
  .blueprint-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .blueprint-card-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .system-layout,
  .contact-layout,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 16px;
  }

  .brand span:last-child {
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.8));
  }

  .hero-content {
    padding: 42px 16px 58px;
  }

  .hero-actions,
  .final-cta .button {
    display: grid;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .section {
    padding-inline: 16px;
  }

  .section-heading {
    text-align: left;
  }

  .card-grid,
  .includes-grid,
  .blueprint-grid,
  .qualification-grid,
  .process-list,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .blueprint-card-large img {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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