:root {
  --ink: #11151b;
  --muted: #5e6978;
  --line: #dfe4ea;
  --paper: #f5f7fa;
  --white: #ffffff;
  --steel: #111827;
  --slate: #253044;
  --ember: #c84f2b;
  --flame: #d97706;
  --copper: #8a4a2a;
  --cool: #1f7a8c;
  --green: #3d7a5b;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 5vw;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 2px rgba(17, 24, 39, 0.18));
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  color: #4b5563;
  font-size: 14px;
}

.nav a,
.text-link {
  text-decoration: none;
}

.nav a:hover,
.text-link:hover {
  color: var(--cool);
}

.nav-cta {
  padding: 9px 13px;
  color: var(--white) !important;
  background: var(--steel);
  border-radius: 6px;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: min(640px, calc(82svh - 72px));
  display: grid;
  align-items: center;
  padding: 76px 5vw 88px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.9) 42%, rgba(17, 24, 39, 0.54) 74%, rgba(17, 24, 39, 0.42) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.78)),
    url("assets/lfmsecurity-hero.png") center / cover no-repeat,
    var(--steel);
  color: var(--white);
}

.subpage-hero {
  padding: 88px 5vw 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 11, 17, 0.98), rgba(18, 28, 40, 0.92)),
    #0b1017;
}

.subpage-hero h1 {
  max-width: 860px;
}

.subpage-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 20px;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 20%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.78));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cool);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9bd8e2;
  max-width: 100%;
}

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

h1 {
  margin: 0;
  width: 100%;
  max-width: 780px;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--cool);
  border-color: var(--cool);
  box-shadow: 0 12px 30px rgba(31, 122, 140, 0.22);
}

.button.primary:hover {
  background: #256f7f;
  border-color: #256f7f;
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.section .button.secondary,
.contact .button.primary {
  color: var(--white);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 680px;
  margin: 32px 0 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 138, 42, 0.28);
  border: 1px solid rgba(255, 174, 100, 0.24);
  border-radius: 8px;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(11, 16, 23, 0.72);
  backdrop-filter: blur(12px);
}

.hero-metrics dt {
  color: #ffae64;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 680;
}

.section {
  padding: 74px 5vw;
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  gap: 36px;
  align-items: end;
  max-width: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-width: 0;
  padding: 22px 5vw;
  background: var(--white);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--steel);
  font-size: 14px;
  text-transform: uppercase;
}

.proof-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.featured-service {
  border-top: 4px solid var(--cool);
}

.service-card p {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.service-fit {
  color: var(--cool) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card .text-link {
  margin-top: auto;
}

.process {
  background: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  min-height: 128px;
  padding: 22px;
  background: var(--white);
  font-weight: 700;
}

.steps span {
  display: block;
  margin-bottom: 14px;
  color: var(--cool);
  font-size: 13px;
}

.report-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(31, 45, 62, 0.96)),
    var(--steel);
  color: var(--white);
}

.report-preview p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 620px;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
}

.text-link {
  display: inline-flex;
  color: var(--cool);
  font-weight: 760;
}

.light-link {
  align-items: center;
  color: #9bd8e2;
}

.light-link:hover {
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.report-image-frame {
  margin: 0;
}

.report-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 8.5 / 11;
  object-fit: contain;
  object-position: top center;
  background: #fbfcfd;
  border: 1px solid rgba(255, 138, 42, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.report-image-frame figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.pricing {
  background: var(--white);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pricing-grid article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pricing-grid strong {
  display: block;
  margin: 14px 0;
  color: var(--steel);
  font-size: 28px;
  line-height: 1;
}

.pricing-grid p {
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 760;
}

details p {
  color: var(--muted);
}

.intake {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(16, 27, 40, 0.96), rgba(45, 28, 21, 0.92)),
    var(--steel);
  color: var(--white);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 42px;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.98), rgba(36, 50, 64, 0.94)),
    var(--steel);
}

.contact p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.scope-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 24px;
}

.scope-form label,
.scope-form-note {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 760;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.scope-form input,
.scope-form select,
.scope-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  font: inherit;
  font-weight: 520;
}

.scope-form textarea {
  resize: vertical;
}

.wide-field {
  grid-column: 1 / -1;
}

.scope-form-note {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.scope-form-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 500;
}

.contact-panel {
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.contact-panel ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 22px;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.scope-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.scope-grid div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.scope-grid span {
  display: block;
  margin-bottom: 8px;
  color: #9bd8e2;
  font-size: 12px;
  font-weight: 800;
}

.scope-grid h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.scope-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.intake p {
  color: rgba(255, 255, 255, 0.78);
}

.local-note {
  padding: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.form-section {
  background: var(--paper);
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(23, 31, 44, 0.08);
}

.intake-form label,
.intake-form .form-warning {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-weight: 760;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
}

.intake-form textarea,
.intake-form .form-warning {
  grid-column: 1 / -1;
}

.form-warning {
  padding: 18px;
  background: #fff7f1;
  border: 1px solid rgba(229, 85, 34, 0.24);
  border-radius: 8px;
}

.form-warning p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.form-response {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 18px;
}

.form-response h1 {
  max-width: 780px;
  margin: 0;
}

.form-response p {
  max-width: 680px;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.payment-prototype {
  background: #ffffff;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-strip div {
  padding: 22px;
  background: var(--white);
  border-right: 1px solid var(--line);
}

.summary-strip div:last-child {
  border-right: 0;
}

.summary-strip strong,
.summary-strip span {
  display: block;
}

.summary-strip strong {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.summary-strip span {
  margin-top: 8px;
  color: var(--steel);
  font-size: 24px;
  font-weight: 800;
}

.report-list {
  display: grid;
  gap: 14px;
}

.report-list article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.severity {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.severity.medium {
  background: var(--flame);
}

.severity.low {
  background: var(--green);
}

.severity.info {
  background: var(--cool);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 5vw;
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }

  .nav-cta {
    padding: 8px 11px;
  }

  .hero {
    min-height: 650px;
    background-position: 58% center;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .service-grid,
  .pricing-grid,
  .split-heading,
  .summary-strip,
  .scope-form,
  .intake-form,
  .steps,
  .report-preview,
  .intake,
  .contact {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    width: 100%;
    max-width: 100vw;
    padding: 20px 22px;
  }

  .steps {
    gap: 12px;
    background: transparent;
    border: 0;
  }
}

@media (max-width: 560px) {
  .section,
  .hero {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero {
    min-height: 610px;
    background-position: 62% center;
  }

  .hero .eyebrow {
    max-width: 310px;
    font-size: 12px;
  }

  h1 {
    font-size: 31px;
    line-height: 1.04;
    overflow-wrap: normal;
    word-break: normal;
    max-width: 100%;
  }

  h2 {
    font-size: 30px;
  }

  .hero-copy {
    max-width: calc(100vw - 44px);
    font-size: 18px;
  }

  h1,
  h2,
  h3,
  p,
  .proof-strip span {
    overflow-wrap: normal;
    word-break: normal;
  }

  .nav a {
    font-size: 13px;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    column-gap: 14px;
    row-gap: 10px;
  }

  .nav-cta {
    width: auto;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
