:root {
  color-scheme: light;
  --ink: #102033;
  --muted: #536173;
  --line: #dfe6ee;
  --surface: #ffffff;
  --wash: #f6f8fb;
  --mint: #eef3f8;
  --teal: #102033;
  --teal-dark: #071321;
  --forest: #0e2031;
  --coral: #d6a83a;
  --gold: #d6a83a;
  --blue: #285c7a;
  --shadow: 0 20px 60px rgba(16, 32, 51, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(223, 230, 238, 0.95);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(190px, 18vw, 270px);
  height: auto;
}

.footer-logo {
  width: 230px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: white;
  background: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  gap: clamp(13px, 2vw, 24px);
  align-items: center;
  color: #344642;
  font-size: 0.92rem;
  font-weight: 700;
}

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

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--teal);
}

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

.header-action,
.button.primary,
.form-button {
  color: white;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(16, 32, 51, 0.20);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button.secondary-dark {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.contact-button {
  color: white;
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(230, 108, 82, 0.18);
}

.header-action:hover,
.button:hover,
.mobile-cta:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(600px, 84svh, 820px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(80px, 12vw, 138px) clamp(20px, 7vw, 96px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 22, 20, 0.84) 0%, rgba(6, 32, 29, 0.68) 38%, rgba(6, 32, 29, 0.12) 76%),
    linear-gradient(0deg, rgba(5, 18, 16, 0.34), rgba(5, 18, 16, 0.02) 46%);
}

.hero-content {
  width: min(760px, 100%);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6be;
}

.hero h1,
.section h2,
.band h2,
.contact-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4.25rem, 10vw, 9.4rem);
}

.hero-copy {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.2vw, 1.44rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.stats-strip div {
  min-height: 124px;
  padding: 24px clamp(18px, 4vw, 48px);
  background: var(--surface);
}

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

.stats-strip strong {
  color: var(--teal);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1;
}

.stats-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 116px) 0;
}

.intro-grid,
.quote-section,
.faq-section,
.contact-inner,
.portal-inner,
.careers-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 8vw, 96px);
  align-items: start;
}

.intro-grid h2,
.section-heading h2,
.quote-copy h2,
.band h2,
.reviews-section h2,
.faq-section h2,
.contact-section h2 {
  font-size: clamp(2.2rem, 5.4vw, 4.45rem);
}

.intro-grid p,
.quote-copy p,
.portal-inner p,
.careers-inner p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
}

.service-grid,
.feature-grid,
.industry-grid,
.compliance-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card,
.feature-card,
.industry-grid article,
.compliance-grid article,
.review-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 270px;
  padding: 24px;
}

.service-card.featured {
  color: white;
  background: var(--teal-dark);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 30px;
  border-radius: 999px;
  color: var(--teal);
  background: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
}

.service-card.featured .service-index {
  color: var(--teal-dark);
  background: #bdebd1;
}

.service-card h3,
.feature-card h3,
.industry-grid h3,
.compliance-grid h3,
.review-card blockquote {
  margin: 0;
}

.service-card h3,
.feature-card h3,
.industry-grid h3,
.compliance-grid h3 {
  font-size: 1.22rem;
}

.service-card p,
.feature-card p,
.industry-grid p,
.compliance-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

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

.band .section-kicker,
.contact-section .section-kicker {
  color: #ffd6be;
}

.band .section-heading {
  margin-bottom: 34px;
}

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

.feature-card {
  min-height: 248px;
  padding: 26px;
  color: var(--ink);
}

.feature-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--mint);
}

.feature-icon::before,
.feature-icon::after {
  position: absolute;
  content: "";
}

.feature-icon.shield::before {
  width: 21px;
  height: 25px;
  border: 3px solid var(--teal);
  border-radius: 12px 12px 8px 8px;
}

.feature-icon.clipboard::before,
.feature-icon.file::before {
  width: 22px;
  height: 28px;
  border: 3px solid var(--teal);
  border-radius: 4px;
}

.feature-icon.clipboard::after {
  top: 10px;
  width: 16px;
  height: 4px;
  border-radius: 99px;
  background: var(--teal);
}

.feature-icon.file::after {
  width: 14px;
  height: 3px;
  background: var(--teal);
  box-shadow: 0 8px 0 var(--teal);
}

.feature-icon.drop::before {
  width: 20px;
  height: 26px;
  border-radius: 15px 15px 15px 4px;
  background: var(--teal);
  transform: rotate(45deg);
}

.feature-icon.calendar::before {
  width: 26px;
  height: 24px;
  border: 3px solid var(--teal);
  border-radius: 4px;
}

.feature-icon.calendar::after {
  top: 16px;
  width: 24px;
  height: 3px;
  background: var(--teal);
}

.feature-icon.alert::before {
  width: 26px;
  height: 26px;
  border: 3px solid var(--teal);
  border-radius: 50%;
}

.feature-icon.alert::after {
  width: 4px;
  height: 15px;
  background: var(--teal);
  box-shadow: 0 18px 0 -1px var(--teal);
}

.industry-grid article,
.compliance-grid article {
  min-height: 190px;
  padding: 22px;
}

.industry-grid article {
  background: #fbfffd;
}

.status-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-bottom: 22px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(232, 180, 79, 0.16);
}

.quote-section {
  align-items: center;
}

.quote-points {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.quote-points li {
  position: relative;
  padding-left: 24px;
  color: #354540;
}

.quote-points li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--gold);
  content: "";
}

.quote-form {
  display: grid;
  gap: 22px;
  padding: clamp(22px, 3vw, 34px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
label {
  color: #2b3734;
  font-size: 0.9rem;
  font-weight: 760;
}

.segment-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--wash);
}

.segment-group label,
.toggle-list label {
  cursor: pointer;
}

.segment-group input,
.toggle-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segment-group span {
  display: grid;
  place-items: center;
  min-height: 42px;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.segment-group input:checked + span {
  color: white;
  background: var(--teal);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-row label {
  display: grid;
  gap: 8px;
}

input[type="number"],
input[type="text"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: #fbfffd;
  font: inherit;
}

input:focus-visible,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(230, 108, 82, 0.38);
  outline-offset: 3px;
}

.toggle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.toggle-list span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 13px 0 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfffd;
  color: var(--muted);
  font-size: 0.9rem;
}

.toggle-list span::before {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 18px;
  border: 2px solid #a4b8ae;
  border-radius: 5px;
  content: "";
}

.toggle-list input:checked + span {
  color: var(--ink);
  border-color: rgba(13, 91, 86, 0.4);
  background: var(--mint);
}

.toggle-list input:checked + span::before {
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.form-button {
  width: 100%;
}

.estimate {
  min-height: 92px;
  padding: 16px;
  border: 1px dashed rgba(13, 91, 86, 0.36);
  border-radius: 8px;
  color: #34453f;
  background: var(--wash);
  font-weight: 650;
}

.estimate span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 560;
}

.form-note {
  min-height: 22px;
  margin: -6px 0 0;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 720;
}

.portal-band {
  background:
    linear-gradient(135deg, rgba(40, 92, 122, 0.26), rgba(13, 91, 86, 0)),
    var(--teal-dark);
}

.portal-inner,
.careers-inner {
  align-items: center;
}

.portal-inner p,
.careers-inner p,
.contact-section p {
  color: rgba(255, 255, 255, 0.78);
}

.portal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.reviews-section {
  padding-top: 34px;
}

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

.review-card {
  min-height: 260px;
  margin: 0;
  padding: 26px;
}

.review-card blockquote {
  color: #24312e;
  font-size: 1.14rem;
  line-height: 1.45;
}

.review-card figcaption {
  margin-top: 32px;
  color: var(--teal);
  font-weight: 800;
}

.careers-band {
  background:
    linear-gradient(135deg, rgba(230, 108, 82, 0.18), rgba(13, 91, 86, 0)),
    var(--forest);
}

.careers-inner .contact-button {
  justify-self: end;
}

.faq-section {
  align-items: start;
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfffd;
}

summary {
  cursor: pointer;
  padding: 20px;
  color: #24312e;
  font-weight: 800;
}

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

.contact-section {
  color: white;
  background: #102723;
}

.contact-inner {
  align-items: center;
}

.contact-button {
  justify-self: end;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(34px, 5vw, 58px) clamp(20px, 5vw, 64px) 26px;
  color: var(--muted);
  background: #f7fbf8;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 360px;
  margin: 18px 0 0;
}

.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
  font-weight: 740;
}

.footer-meta {
  display: grid;
  gap: 12px;
  margin: 0;
}

.footer-meta div {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) 1fr;
  gap: 10px;
}

.footer-meta dt {
  color: #344642;
  font-weight: 800;
}

.footer-meta dd {
  margin: 0;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.mobile-cta {
  display: none;
}

@media (max-width: 1100px) {
  .service-grid,
  .industry-grid,
  .compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-meta,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 940px) {
  .site-header {
    min-height: auto;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding-top: 8px;
    gap: 16px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 76svh;
    padding-top: 76px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(4rem, 18vw, 7rem);
  }

  .stats-strip,
  .review-grid {
    grid-template-columns: 1fr 1fr;
  }

  .intro-grid,
  .quote-section,
  .faq-section,
  .contact-inner,
  .portal-inner,
  .careers-inner {
    grid-template-columns: 1fr;
  }

  .contact-button,
  .careers-inner .contact-button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .service-grid,
  .feature-grid,
  .industry-grid,
  .compliance-grid,
  .review-grid,
  .portal-actions {
    grid-template-columns: 1fr;
  }

  .footer-meta div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

  .brand-logo {
    width: 188px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 79svh;
    padding-inline: 18px;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 24, 22, 0.84), rgba(6, 24, 22, 0.52)),
      linear-gradient(0deg, rgba(5, 18, 16, 0.42), rgba(5, 18, 16, 0.08));
  }

  .hero h1 {
    max-width: 8ch;
  }

  .hero-actions,
  .form-row,
  .toggle-list,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .stats-strip div,
  .service-card,
  .feature-card,
  .industry-grid article,
  .compliance-grid article,
  .review-card {
    min-height: auto;
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 64px 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .segment-group {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 92px;
  }

  .footer-meta,
  .footer-bottom {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 30;
    display: flex;
    color: white;
    background: var(--teal);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.26);
  }
}
