:root {
  --ink: #111820;
  --muted: #66717d;
  --line: #dbe2e8;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --coal: #111820;
  --orange: #ff5a1f;
  --orange-dark: #d94210;
  --orange-soft: #fff0e9;
  --green: #173d34;
  --blue: #243f5a;
  --shadow: 0 18px 48px rgba(17, 24, 32, 0.1);
  --shadow-soft: 0 10px 30px rgba(17, 24, 32, 0.07);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafb 0, #fff 360vh, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(17, 24, 32, 0.05);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 50px;
  height: 38px;
  object-fit: contain;
}

.brand span {
  font-size: 1.05rem;
  line-height: 1;
  padding-bottom: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 800;
  padding: 9px 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(255, 90, 31, 0.24);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.88), rgba(9, 15, 22, 0.58) 48%, rgba(9, 15, 22, 0.18)),
    linear-gradient(0deg, rgba(9, 15, 22, 0.78), rgba(9, 15, 22, 0.06) 58%);
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 96px 0 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #ffcfbd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.5vw, 4.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

.hero p,
.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2.4vw, 1.38rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(255, 90, 31, 0.22);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: var(--orange-dark);
  box-shadow: 0 16px 30px rgba(255, 90, 31, 0.26);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.dark {
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(17, 24, 32, 0.16);
}

.button.dark:hover {
  background: #000;
}

.proof-strip {
  background: #0d141b;
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.proof-grid div {
  min-height: 96px;
  padding: 22px;
  background: #0d141b;
}

.proof-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.1;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.band {
  padding: 78px 0;
}

.band[id] {
  scroll-margin-top: 110px;
}

.band.soft {
  background:
    linear-gradient(180deg, #f4f7f8, #eef3f5);
}

.band.dark {
  background: var(--coal);
  color: #fff;
}

.band.green {
  background:
    linear-gradient(135deg, #14362e, #203f58);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  line-height: 1.05;
}

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

.dark .section-heading p,
.green .section-heading p,
.dark .muted,
.green .muted {
  color: rgba(255, 255, 255, 0.78);
}

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

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

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

.card,
.service-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.card,
.service-card {
  padding: 26px;
}

.service-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--orange);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 90, 31, 0.45);
  box-shadow: var(--shadow);
}

.service-card h3,
.card h3,
.panel h3 {
  margin-bottom: 9px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.service-card p,
.card p {
  color: var(--muted);
}

.compact-card {
  display: grid;
  min-height: 82px;
  align-items: center;
}

.compact-card h3 {
  margin-bottom: 0;
}

.link-arrow {
  color: var(--orange-dark);
  font-weight: 900;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 42px;
  align-items: center;
}

.media-block {
  min-height: 420px;
  border-radius: 8px;
  background: var(--image) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 14px;
  height: 2px;
  background: var(--orange);
}

.cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #111820, #1f374d);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-strip p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  position: relative;
  padding: 104px 0 72px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.quote-hero {
  padding: 76px 0 58px;
}

.quote-hero h1 {
  max-width: 760px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-image) center / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 15, 22, 0.86), rgba(9, 15, 22, 0.48)),
    linear-gradient(0deg, rgba(9, 15, 22, 0.5), rgba(9, 15, 22, 0.02));
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.35fr);
  gap: 30px;
  align-items: start;
}

.prose {
  font-size: 1.04rem;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.1;
}

.prose h3 {
  margin: 28px 0 10px;
}

.sidebar {
  position: sticky;
  top: 100px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.sidebar .button {
  width: 100%;
  margin-top: 8px;
}

.sidebar-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sidebar-note h3 {
  margin-bottom: 6px;
}

.sidebar-note p {
  margin-bottom: 8px;
  color: var(--muted);
}

.related-links {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.related-links a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.quote-details-band {
  padding-top: 54px;
}

.quote-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  gap: 28px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 30px;
  box-shadow: var(--shadow);
}

.quote-card-heading {
  position: sticky;
  top: 104px;
}

.quote-card-heading .eyebrow {
  color: var(--orange-dark);
}

.quote-card-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.quote-card-heading p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.quote-submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 2px;
}

.quote-submit-row p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-status {
  min-height: 1.35em;
  margin: -4px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #24734a;
}

.form-status[data-state="error"] {
  color: #b93a20;
}

.packet-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

.packet-callout h2 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.packet-callout p {
  margin-bottom: 0;
  color: var(--muted);
}

.packet-callout .button {
  min-height: 42px;
  padding: 11px 16px;
  white-space: nowrap;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd6df;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.14);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 12px;
  scroll-margin-top: 120px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
}

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

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.finder-band {
  scroll-margin-top: 120px;
  background:
    linear-gradient(180deg, #f8fafb, #eef3f5);
}

.quote-finder-band {
  padding: 58px 0 42px;
}

.finder-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.68fr);
  gap: 20px;
  align-items: stretch;
}

.quote-finder-shell {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
}

.finder-form,
.finder-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

.finder-form {
  display: grid;
  gap: 18px;
}

.quote-finder-shell .finder-form,
.quote-finder-shell .finder-result {
  padding: 24px;
}

.quote-finder-shell .finder-help {
  display: none;
}

.quote-finder-shell .finder-result h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.quote-finder-shell .finder-result [data-finder-next] {
  display: none;
}

.quote-finder-shell .finder-result .link-arrow {
  display: none;
}

.finder-help {
  margin-bottom: 0;
  color: var(--muted);
}

.finder-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 0;
  margin: 0;
  padding: 0;
}

.finder-fieldset span {
  flex: 1 0 100%;
  font-weight: 900;
}

.finder-fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.finder-fieldset input {
  width: auto;
  min-height: auto;
  margin: 0;
  accent-color: var(--orange);
}

.finder-result {
  display: grid;
  gap: 16px;
  align-content: start;
  background:
    linear-gradient(145deg, #0d141b, #1f354b);
  color: #fff;
}

.finder-result .eyebrow {
  margin-bottom: 0;
}

.finder-result h3 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.08;
}

.finder-result p,
.finder-result li {
  color: rgba(255, 255, 255, 0.78);
}

.finder-result .plain-list li::before {
  background: var(--orange);
}

.finder-result .link-arrow {
  color: #ffb092;
}

.finder-seo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.finder-seo article {
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.finder-seo h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.finder-seo p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  background: #0d141b;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(150px, 0.35fr));
  gap: 24px;
  padding: 36px 0;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 680px;
  }

  .section-heading,
  .split,
  .content-grid,
  .cta-strip,
  .quote-card,
  .footer-grid,
  .finder-shell,
  .finder-seo {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .grid.four,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .quote-card-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .section-inner,
  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  .site-nav a {
    padding: 7px 7px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 680px;
  }

  .band {
    padding: 58px 0;
  }

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

  .button {
    width: 100%;
  }

  .cta-strip {
    padding: 24px;
  }

  .quote-card,
  .quote-finder-shell .finder-form,
  .quote-finder-shell .finder-result {
    padding: 20px;
  }

  .quote-submit-row .button {
    width: 100%;
  }

  .packet-callout {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .packet-callout .button {
    width: 100%;
  }

  .footer-grid {
    gap: 18px;
    padding: 28px 0;
  }
}
