:root {
  --ink: #172029;
  --muted: #5d6976;
  --paper: #f7f4ee;
  --surface: #ffffff;
  --line: rgba(23, 32, 41, 0.12);
  --teal: #126b68;
  --teal-dark: #0c4f4d;
  --amber: #c58b34;
  --graphite: #101820;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.16);
}

* {
  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.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.compact {
  background: rgba(16, 24, 32, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.site-header.compact {
  position: sticky;
}

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

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 42px;
}

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

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.84);
}

.nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

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

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 18, 24, 0.94) 0%, rgba(11, 18, 24, 0.72) 43%, rgba(11, 18, 24, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 24, 32, 0.34), rgba(16, 24, 32, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 132px 0 92px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #ead3a6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.55rem, 7vw, 5.6rem);
  font-weight: 360;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 340;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  font-weight: 430;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: var(--graphite);
  background: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.trust-band {
  background: var(--graphite);
  color: #fff;
}

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

.trust-grid div {
  padding: 26px;
  background: var(--graphite);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.section {
  padding: 96px 0;
}

.two-column,
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.services {
  background: #fff;
}

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

.service-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #fbfaf7);
}

.service-card.wide {
  grid-column: span 3;
  min-height: 190px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-content: center;
}

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

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--teal);
  background: rgba(18, 107, 104, 0.1);
}

.service-card.wide .icon {
  grid-row: span 2;
  margin-bottom: 0;
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-section {
  background: #eef3f1;
}

.feature {
  align-items: center;
}

.feature-media {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  background: var(--teal);
  clip-path: polygon(14% 48%, 38% 72%, 86% 18%, 100% 32%, 39% 96%, 0 58%);
}

.process {
  background: var(--paper);
}

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

.steps article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.steps span {
  display: block;
  margin-bottom: 44px;
  color: var(--amber);
  font-weight: 900;
}

.contact-section {
  background: var(--graphite);
  color: #fff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.5fr);
  gap: 64px;
  align-items: center;
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.contact-card strong {
  font-size: 1.15rem;
}

.contact-link {
  color: #fff;
  font-weight: 850;
  text-decoration-color: rgba(234, 211, 166, 0.6);
  text-underline-offset: 5px;
}

.muted {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.site-footer {
  padding: 32px 0;
  background: #0a0f14;
  color: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.58);
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

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

.legal-page {
  background: var(--paper);
}

.legal-content {
  max-width: 860px;
  padding: 76px 0 96px;
}

.legal-content h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content p {
  color: var(--muted);
}

.legal-note {
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  background: rgba(197, 139, 52, 0.1);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    padding: 14px 20px;
  }

  .nav:not(.static-nav) {
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(16, 24, 32, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav:not(.static-nav) a {
    padding: 14px;
  }

  .static-nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: 860px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(11, 18, 24, 0.92) 0%, rgba(11, 18, 24, 0.72) 100%),
      linear-gradient(0deg, rgba(16, 24, 32, 0.2), rgba(16, 24, 32, 0.2));
  }

  .trust-grid,
  .two-column,
  .feature,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .service-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: auto;
  }

  .brand small {
    display: none;
  }

  .static-nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding: 120px 0 70px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 70px 0;
  }

  .service-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: span 1;
    display: block;
  }

  .service-card.wide .icon {
    margin-bottom: 22px;
  }

  .footer-grid {
    display: grid;
  }
}
