:root {
  color-scheme: light;
  --bg: #f4f2eb;
  --ink: #101514;
  --muted: #5b625f;
  --line: #d8d4c8;
  --panel: #ffffff;
  --dark: #101817;
  --dark-muted: #aab8b3;
  --accent: #0b7b68;
  --accent-strong: #075849;
  --gold: #c3922e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(16, 21, 20, 0.12);
  background: rgba(244, 242, 235, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.brand__mark {
  width: 18px;
  height: 18px;
  border: 5px solid var(--accent);
  border-radius: 50%;
  box-shadow: 12px 0 0 -4px var(--gold);
}

nav {
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

nav a {
  text-decoration: none;
}

main {
  min-height: 100vh;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 68px);
  padding: clamp(34px, 6vw, 84px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.hero__copy {
  max-width: 780px;
}

.hero__visual {
  margin: 0;
  min-width: 0;
}

.hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(16, 21, 20, 0.16);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(16, 21, 20, 0.22);
}

.eyebrow,
.label,
.card__index {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(3.25rem, 7vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  max-width: 880px;
  font-size: clamp(2.15rem, 5.5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.lede {
  max-width: 720px;
  color: #33423e;
  font-size: clamp(1.2rem, 2.4vw, 1.85rem);
  line-height: 1.22;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

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

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

.section__intro {
  max-width: 920px;
  margin-bottom: 34px;
}

.section p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

article,
.contact {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(22px, 3vw, 32px);
}

.cards article {
  min-height: 240px;
}

.card__index {
  color: var(--gold);
}

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

.section--dark .eyebrow {
  color: #7bd5c4;
}

.section--dark h2 {
  max-width: 980px;
}

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

.steps li {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.steps span {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 850;
}

.steps p {
  color: var(--dark-muted);
}

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}

.contact a {
  display: block;
  margin: 0 0 22px;
  color: var(--accent-strong);
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.contact a:last-child {
  margin-bottom: 0;
}

@media (max-width: 1240px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .hero,
  .cards,
  .steps,
  .section--split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .steps li {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 94px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

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

  h1 {
    font-size: 3.05rem;
  }
}
