:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #64736b;
  --soft: #eef4f0;
  --line: #d9e2dc;
  --paper: #f8faf7;
  --surface: #ffffff;
  --surface-alt: #f1f6f2;
  --accent: #16745c;
  --accent-strong: #0f5f49;
  --accent-soft: #dceee7;
  --radius: 8px;
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(22, 116, 92, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(23, 33, 29, 0.1);
  background: rgba(248, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.nav a:hover,
.footer a:hover {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 390px);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
  min-height: calc(82dvh - 70px);
  padding: clamp(52px, 7vw, 86px) clamp(20px, 6vw, 92px);
}

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

.kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 760;
}

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

.legal-block a {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.9rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.lead {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 720;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
}

.button.secondary:hover {
  border-color: rgba(22, 116, 92, 0.38);
}

.identity-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--surface);
}

.identity-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
}

.identity-panel h2 {
  margin-bottom: 22px;
  font-size: 1.35rem;
}

.identity-panel dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.identity-panel dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.identity-panel dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.identity-panel dd {
  margin: 0;
  font-weight: 680;
}

.section,
.contact-band,
.legal-page {
  padding: clamp(56px, 8vw, 92px) clamp(20px, 6vw, 92px);
}

.section {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section-heading p,
.capability-list p,
.process-grid p,
.about-text p,
.contact-band p,
.legal-block p {
  color: var(--muted);
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 64px);
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.capability-list h3,
.capability-list p,
.process-grid p,
.about-text p,
.contact-band p,
.legal-block p {
  margin-bottom: 0;
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.process-grid article {
  padding: 26px;
  background: var(--surface);
}

.about {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 72px);
}

.about .section-heading {
  margin-bottom: 0;
}

.about-text {
  display: grid;
  gap: 18px;
  max-width: 780px;
  font-size: 1.08rem;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
  background: var(--accent-soft);
}

.contact-band > div {
  max-width: 780px;
}

.legal-page {
  max-width: 920px;
}

.legal-page h1 {
  margin-bottom: 34px;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;
  overflow-wrap: normal;
}

.legal-block h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  hyphens: auto;
  overflow-wrap: break-word;
}

.legal-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.legal-block a {
  color: var(--accent-strong);
  font-weight: 680;
  word-break: break-word;
}

.legal-note {
  display: inline-flex;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--muted);
  background: var(--surface);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--surface-alt);
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 18px;
  min-width: max-content;
}

@media (max-width: 880px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .about,
  .contact-band,
  .capability-list article,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .identity-panel {
    max-width: 520px;
  }

  .contact-band {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 15px 20px;
  }

  .brand {
    gap: 9px;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .hero,
  .section,
  .contact-band,
  .legal-page {
    padding: 42px 20px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.8rem);
  }

  .legal-page h1 {
    font-size: clamp(1.85rem, 8vw, 2.3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .button {
    width: 100%;
  }

  .identity-panel dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-links {
    flex-wrap: wrap;
    min-width: 0;
  }
}
