@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/plusjakartasans-semibold-600.woff2") format("woff2"),
       url("fonts/plusjakartasans-semibold-600.ttf") format("truetype");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/plusjakartasans-bold-700.woff2") format("woff2"),
       url("fonts/plusjakartasans-bold-700.ttf") format("truetype");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/plusjakartasans-extrabold-800.woff2") format("woff2"),
       url("fonts/plusjakartasans-extrabold-800.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-regular-400.woff2") format("woff2"),
       url("fonts/inter-regular-400.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-medium-500.woff2") format("woff2"),
       url("fonts/inter-medium-500.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-semibold-600.woff2") format("woff2"),
       url("fonts/inter-semibold-600.ttf") format("truetype");
}

:root {
  --nw-blue: #003D79;
  --nw-blue-dark: #08213f;
  --nw-red: #C8102E;
  --nw-red-dark: #A80D26;
  --ink: #1A1A2E;
  --body: #41506a;
  --muted: #6a768c;
  --line: #D7DEE8;
  --wash: #F5F7FA;
  --white: #fff;
  --green: #DCF2E8;
  --amber: #F7E7C3;
  --max: 1180px;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--white);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.lp-wrap { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.hidden { display: none; }
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--white);
  color: var(--nw-blue);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}
.skip-link:focus { transform: translateY(0); outline: 3px solid var(--nw-red); outline-offset: 2px; }
:focus-visible { outline: 3px solid rgba(200,16,46,0.42); outline-offset: 3px; }

.lp-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 4px solid transparent;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}
.lp-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--nw-red);
  pointer-events: none;
  z-index: 2;
}
.lp-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.lp-bar__logo { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; }
.lp-bar__logo img { width: clamp(210px, 26vw, 300px); height: auto; image-rendering: -webkit-optimize-contrast; }
.lp-bar__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--nw-red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  white-space: nowrap;
}
.lp-bar__cta:hover { background: var(--nw-red-dark); color: var(--white); }
.lp-bar__phone-label {
  display: block;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8,33,63,0.95) 0%, rgba(0,61,121,0.78) 46%, rgba(8,33,63,0.34) 100%),
    url("assets/nw-automation-controls-hero.webp") center / cover no-repeat;
}
.hero--request {
  background:
    linear-gradient(90deg, rgba(8,33,63,0.95), rgba(0,61,121,0.82)),
    url("assets/nw-automation-controls-hero.webp") center / cover no-repeat;
}
.hero__inner {
  min-height: calc(100vh - 92px);
  padding: 86px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.44fr);
  gap: 42px;
  align-items: end;
}
.hero__inner--request { min-height: 520px; align-items: center; }
.eyebrow {
  margin: 0 0 15px;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--red { color: var(--nw-red); }
.hero h1 {
  margin: 0;
  max-width: 880px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.03;
  letter-spacing: 0;
}
.hero__lead {
  margin: 22px 0 0;
  max-width: 780px;
  color: rgba(255,255,255,0.94);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.52;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}
.hero__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.95);
  font-size: 13px;
  font-weight: 800;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  transition: background 120ms ease-out, color 120ms ease-out, border-color 120ms ease-out;
}
.btn--red { background: var(--nw-red); color: var(--white); }
.btn--red:hover { background: var(--nw-red-dark); color: var(--white); }
.btn--light { background: var(--white); color: var(--nw-blue); border-color: var(--line); }
.btn--light:hover { color: var(--nw-red); border-color: var(--nw-red); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,0.48); color: var(--white); }
.btn--outline:hover { background: rgba(255,255,255,0.10); color: var(--white); }

.hero-card {
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  background: rgba(5,30,58,0.75);
  box-shadow: 0 18px 42px rgba(0,0,0,0.24);
  padding: 24px;
}
.hero-card h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.14;
}
.check-list, .plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.check-list li, .plain-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}
.check-list li { color: rgba(255,255,255,0.91); }
.check-list li::before, .plain-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--nw-red);
}
.plain-list--dark li { color: var(--body); }

.trust-strip {
  background: var(--nw-blue-dark);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}
.trust-item {
  padding: 20px 22px;
  background: rgba(255,255,255,0.05);
}
.trust-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.2;
}
.trust-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.76);
  font-size: 14px;
}

.section { padding: 76px 0; }
.section--wash { background: var(--wash); }
.section--blue { background: var(--nw-blue); color: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.42fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}
.section-head h2, .split h2, .form-panel h2, .faq h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}
.section--blue .section-head h2, .section--blue .section-head p { color: var(--white); }
.section-head p, .lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}
.section--blue .section-head p { color: rgba(255,255,255,0.82); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0,61,121,0.08);
}
.card--accent { border-top: 5px solid var(--nw-red); }
.tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(200,16,46,0.10);
  color: var(--nw-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.tag--blue { background: rgba(0,61,121,0.10); color: var(--nw-blue); }
.tag--green { background: var(--green); color: #156247; }
.tag--amber { background: var(--amber); color: #7b5311; }
.card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}
.card p { margin: 0; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(300px, 0.42fr);
  gap: 42px;
  align-items: center;
}
.split .plain-list { margin-top: 26px; }
.quote-card {
  border-left: 5px solid var(--nw-red);
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0,61,121,0.08);
}
.quote-card p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.38;
}

.compare {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.compare-card {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.compare-card--best {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}
.compare-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
}
.compare-card p { margin: 0; color: rgba(255,255,255,0.82); }
.compare-card--best p { color: var(--body); }

.fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fit {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--nw-blue);
  font-weight: 800;
}

.standards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.standard {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.standard strong {
  display: block;
  color: var(--nw-red);
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}
.standard span {
  display: block;
  margin-top: 12px;
  color: var(--body);
  line-height: 1.5;
}
.source-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.source-note a { color: var(--nw-blue); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.faq-list { display: grid; gap: 12px; }
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(0,61,121,0.06);
}
summary {
  cursor: pointer;
  padding: 19px 22px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.3;
}
details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--body);
}

.form-section {
  padding: 76px 0;
  background: var(--nw-blue-dark);
}
.form-section--light { background: var(--wash); }
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(290px, 0.34fr);
  gap: 24px;
  align-items: start;
}
.form-panel, .form-aside {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}
.form-panel { padding: 30px; }
.form-aside { padding: 26px; display: grid; gap: 18px; }
.form-panel h2, .form-aside h2 { color: var(--ink); }
.form-panel .lead { margin: 12px 0 22px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
label {
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #C8D2DF;
  border-radius: 6px;
  padding: 12px 13px;
  background: var(--white);
  color: var(--ink);
}
textarea { min-height: 132px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(200,16,46,0.35); border-color: var(--nw-red); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.aside-callout {
  padding: 18px;
  border-radius: 8px;
  background: var(--wash);
}
.aside-callout strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 18px; }
.aside-callout span { display: block; margin-top: 4px; color: var(--body); }
.aside-callout a { color: var(--nw-red); font-weight: 800; }

.thanks-shell {
  min-height: calc(100vh - 96px);
  padding: 76px 0 86px;
  background: var(--wash);
}
.thanks-card {
  max-width: 780px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0,61,121,0.10);
}
.thanks-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(200,16,46,0.10);
}
.thanks-mark::before {
  content: "";
  width: 24px;
  height: 13px;
  border-left: 4px solid var(--nw-red);
  border-bottom: 4px solid var(--nw-red);
  transform: rotate(-45deg) translate(1px, -1px);
}
.thanks-card h1 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}
.thanks-card p {
  color: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
.thanks-card .plain-list { margin-top: 22px; }

.mobile-callbar { display: none; }

.lp-footer {
  padding: 28px 0;
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.lp-footer .lp-wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lp-footer a { color: var(--nw-blue); font-weight: 800; }

@media (max-width: 980px) {
  .hero__inner, .section-head, .split, .form-grid { grid-template-columns: 1fr; }
  .card-grid, .compare, .fit-grid, .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { padding-bottom: 74px; }
  .lp-wrap { width: min(100% - 28px, var(--max)); }
  .lp-bar__inner { padding: 10px 14px; gap: 10px; }
  .lp-bar__logo img { width: clamp(132px, 42vw, 190px); }
  .lp-bar__cta { min-height: 42px; padding: 10px 12px; font-size: 14px; }
  .lp-bar__phone-label { display: none; }
  .hero {
    background:
      linear-gradient(90deg, rgba(8,33,63,0.95), rgba(0,61,121,0.82)),
      url("assets/nw-automation-controls-hero-mobile.webp") center / cover no-repeat;
  }
  .hero__inner { min-height: auto; padding: 58px 0 42px; }
  .hero h1 { font-size: 42px; }
  .section, .form-section { padding: 54px 0; }
  .card-grid, .compare, .fit-grid, .standards, .field-grid { grid-template-columns: 1fr; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .form-panel { padding: 22px; }
  .form-actions, .btn { width: 100%; }
  .mobile-callbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 220;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--nw-red);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0,0,0,0.24);
  }
}
@media (max-width: 420px) {
  .lp-bar__inner { padding: 8px 12px; gap: 8px; }
  .lp-bar__logo img { width: clamp(118px, 40vw, 160px); }
  .lp-bar__cta { min-height: 40px; padding: 9px 10px; font-size: 13px; }
  .hero h1 { font-size: 34px; }
  .hero__lead { font-size: 17px; }
  .standard strong { font-size: 30px; }
}
