:root {
  --background: #ffffff;
  --surface: #f7fbfa;
  --text: #1d2428;
  --muted: #536365;
  --line: #dbe8e5;
  --teal: #005b53;
  --teal-dark: #00433d;
  --teal-soft: #e7f2ef;
  --amber: #b8873d;
  --shadow: 0 20px 50px rgba(0, 45, 41, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
  min-height: 84px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 232, 229, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--teal-dark);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: #111a1d;
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a,
.site-footer a {
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

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

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.header-action,
.button-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 24px rgba(0, 91, 83, 0.18);
}

.header-action:hover,
.button-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--teal);
  background: #ffffff;
  border: 1.5px solid var(--teal);
}

.button-secondary:hover {
  color: #ffffff;
  background: var(--teal);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--teal);
}

.section {
  padding: clamp(72px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding-top: clamp(42px, 6vw, 72px);
  padding-right: 0;
  gap: clamp(36px, 5vw, 72px);
  overflow: hidden;
}

.hero-copy {
  max-width: 640px;
}

.hero h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(3rem, 6.2vw, 5.35rem);
  font-weight: 780;
  line-height: 1.08;
}

.hero p {
  max-width: 600px;
  margin: 34px 0 0;
  color: #2f3b3e;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 42px;
}

.hero-media {
  position: relative;
  align-self: stretch;
  min-height: 540px;
}

.hero-media::before {
  position: absolute;
  inset: 0 auto 0 -1px;
  z-index: 1;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 42%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.section-heading {
  max-width: 730px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 760;
  line-height: 1.16;
}

.section-heading h2::after,
.contact-copy h2::after {
  display: block;
  width: 70px;
  height: 3px;
  margin: 22px auto 0;
  content: "";
  background: var(--teal);
}

.section-heading p {
  margin: 28px auto 0;
  color: #3e4c4e;
  font-size: 1.1rem;
  line-height: 1.7;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
}

.feature {
  min-height: 216px;
  padding: 0 clamp(24px, 3vw, 44px);
  border-left: 1px solid var(--line);
}

.feature:first-child {
  border-left: 0;
}

.icon-wrap {
  width: 62px;
  height: 62px;
  color: var(--teal);
}

.icon-wrap svg,
.large-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature h3,
.market-side h3,
.process h3 {
  margin: 26px 0 8px;
  color: #111a1d;
  font-size: 1.38rem;
  line-height: 1.2;
}

.feature p,
.market-side p,
.process p,
.contact-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.market-sides {
  background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%);
}

.side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 6vw, 84px);
  max-width: 960px;
  margin: 0 auto;
}

.market-side {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 28px;
  align-items: start;
  min-height: 260px;
}

.market-side + .market-side {
  padding-left: clamp(30px, 5vw, 72px);
  border-left: 1px solid var(--line);
}

.large-icon {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  padding: 23px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: 50%;
}

.market-side h3 {
  margin-top: 0;
  color: var(--teal);
  font-size: 1.7rem;
}

.market-side p + p {
  margin-top: 22px;
}

.process {
  padding-top: clamp(64px, 7vw, 92px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: var(--max);
  margin: 0 auto;
}

.process article {
  position: relative;
  padding: 0 clamp(18px, 3vw, 44px);
  text-align: center;
  border-left: 1px solid var(--line);
}

.process article:first-child {
  border-left: 0;
}

.process span {
  display: inline-grid;
  width: 50px;
  height: 50px;
  place-items: center;
  color: #ffffff;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 9px 22px rgba(0, 91, 83, 0.22);
  font-size: 1.05rem;
  font-weight: 800;
}

.process h3 {
  margin: 22px 0 9px;
  color: var(--teal);
  font-size: 1.16rem;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
  align-items: center;
  min-height: 360px;
  overflow: hidden;
  background: #f8fbfa;
}

.contact-copy {
  position: relative;
  z-index: 1;
  max-width: 480px;
  padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.contact-copy h2::after {
  margin-left: 0;
}

.contact-copy p {
  margin: 26px 0 30px;
  font-size: 1.08rem;
}

.contact-band img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center right;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(2, minmax(160px, 1fr));
  gap: 42px;
  padding: 42px clamp(20px, 5vw, 72px) 24px;
  border-top: 1px solid var(--line);
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #1d2428;
  font-size: 0.98rem;
  font-weight: 800;
}

.site-footer a {
  display: block;
  margin-top: 7px;
  color: #304043;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 22px;
  padding-top: 22px;
  color: #536365;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 32px;
}

.legal-links a {
  margin: 0;
}

.legal-page {
  min-height: calc(100vh - 84px);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfa 100%);
}

.legal-page article {
  max-width: 820px;
  margin: 0 auto;
}

.legal-page h1 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.legal-page h2 {
  margin: 42px 0 12px;
  color: var(--teal);
  font-size: 1.35rem;
}

.legal-page p {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--muted);
}

.legal-page a {
  color: var(--teal);
  font-weight: 750;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav:not(.legal-nav),
  .header-action {
    display: none;
  }

  .legal-nav {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-bottom: 16px;
  }

  .site-header.is-open {
    align-items: start;
  }

  .site-header.is-open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    gap: 4px;
    padding: 6px 0 18px;
  }

  .site-header.is-open .site-nav a {
    padding: 10px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-right: clamp(20px, 5vw, 72px);
  }

  .hero-media {
    min-height: 420px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .hero-media::before {
    display: none;
  }

  .feature-row,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 0;
  }

  .feature:nth-child(3),
  .process article:nth-child(3) {
    border-left: 0;
  }

  .side-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .market-side + .market-side {
    padding: 38px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .contact-band img {
    order: -1;
    min-height: 300px;
  }
}

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

  .hero {
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: clamp(2.08rem, 10.5vw, 3.05rem);
    line-height: 1.12;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .section {
    padding-inline: 18px;
  }

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

  .feature,
  .feature:nth-child(3),
  .process article,
  .process article:nth-child(3) {
    padding: 0;
    border-left: 0;
  }

  .feature,
  .process article {
    padding-top: 30px;
    border-top: 1px solid var(--line);
  }

  .feature:first-child,
  .process article:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .market-side {
    grid-template-columns: 1fr;
  }

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

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

  .legal-links {
    flex-wrap: wrap;
    gap: 18px;
  }
}
