:root {
  color-scheme: light;
  --ink: #10201f;
  --muted: #586765;
  --paper: #f7faf8;
  --surface: #ffffff;
  --surface-alt: #eef5f2;
  --line: #d7e4df;
  --header: #071312;
  --header-soft: #0e2422;
  --cyan: #1fbfd0;
  --green: #23c483;
  --warm: #c89448;
  --shadow: 0 18px 42px rgba(11, 31, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

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

body::selection {
  background: rgba(35, 196, 131, 0.24);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 19, 18, 0.96);
  border-bottom: 1px solid rgba(120, 219, 207, 0.16);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: #f4fffb;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
}

.brand::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  display: inline-block;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 22px rgba(31, 191, 208, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(244, 255, 251, 0.78);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: #ffffff;
  background: rgba(31, 191, 208, 0.12);
  outline: none;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(148, 230, 218, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f4fffb;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 15, 15, 0.94) 0%, rgba(5, 15, 15, 0.76) 48%, rgba(5, 15, 15, 0.3) 100%),
    url("https://images.unsplash.com/photo-1639322537228-f710d846310a?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  color: #f4fffb;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35, 196, 131, 0.7), transparent);
}

.hero-content,
.page-hero,
.section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 104px 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(2.55rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(244, 255, 251, 0.78);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button {
  min-height: 48px;
  margin-top: 30px;
  padding: 13px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 196, 131, 0.55);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #041210;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(18, 168, 154, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: 2px solid rgba(200, 148, 72, 0.45);
  outline-offset: 3px;
}

.page-hero {
  padding: 96px 0 72px;
  color: #f4fffb;
}

main {
  background: var(--paper);
}

main > .page-hero:first-child {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background:
    linear-gradient(90deg, rgba(5, 15, 15, 0.95), rgba(8, 31, 29, 0.88)),
    url("https://images.unsplash.com/photo-1639322537504-6427a16b0a28?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
}

.section {
  padding: 84px 0;
}

.section-muted {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: var(--surface-alt);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: #152927;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  color: #10201f;
  font-size: 1.12rem;
  line-height: 1.25;
}

.section-heading p,
.split-layout > p,
.card p,
.process-list span,
address,
.site-footer p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card::before {
  content: "";
  width: 44px;
  height: 3px;
  margin-bottom: 22px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--warm));
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 26px;
  color: #087a74;
  font-weight: 760;
  text-decoration-color: rgba(8, 122, 116, 0.34);
  text-underline-offset: 5px;
}

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.process-list li {
  padding: 22px;
  border-left: 3px solid var(--green);
  border-radius: 8px;
  background: #ffffff;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 8px;
}

address {
  font-style: normal;
}

address a {
  color: #087a74;
  font-weight: 700;
}

.site-footer {
  padding: 38px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(244, 255, 251, 0.76);
}

body > .site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  background: var(--header);
}

.site-footer strong {
  color: #ffffff;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer a {
  color: rgba(244, 255, 251, 0.78);
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a[aria-current="page"] {
  color: #ffffff;
}

[data-reveal] {
  opacity: 0.001;
  transform: translateY(12px);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .card-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 760px) {
  .site-nav {
    width: min(100% - 32px, 1120px);
    min-height: 64px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .site-header[data-enhanced-nav="true"] .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    display: grid;
    gap: 6px;
    padding: 8px 0 4px;
  }

  .site-header[data-enhanced-nav="true"] .nav-links {
    display: none;
  }

  .site-header[data-enhanced-nav="true"] .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero {
    min-height: calc(100vh - 64px);
  }

  .hero-content,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding: 76px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 14vw, 4.3rem);
    line-height: 1;
  }

  main > .page-hero:first-child,
  .section-muted,
  body > .site-footer {
    padding-inline: 16px;
  }

  .page-hero,
  main > .page-hero:first-child {
    padding-block: 72px 56px;
  }

  .section {
    padding-block: 58px;
  }

  .card-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
