:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #5f6c67;
  --line: #dce4e0;
  --paper: #f8faf9;
  --card: #ffffff;
  --accent: #2d6a5b;
  --accent-soft: #e3f0eb;
  --shadow: 0 20px 60px rgba(30, 54, 46, 0.08);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(119, 176, 155, 0.17), transparent 32rem),
    var(--paper);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-weight: 680;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #b9d1c7;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  max-width: 860px;
  padding: 112px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 26px;
  font-size: clamp(2.65rem, 6vw, 5.5rem);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lede {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.step {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.card h2,
.boundary h2 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.boundary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  margin-bottom: 100px;
  padding: 46px;
  border-radius: 24px;
  background: #17352e;
  color: #eef7f3;
}

.boundary .eyebrow {
  color: #a7d7c5;
}

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

.boundary li {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.document-shell {
  max-width: 920px;
}

.document {
  padding: 88px 0 110px;
}

.document h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.document .intro {
  max-width: 720px;
  margin-bottom: 60px;
  color: var(--muted);
  font-size: 1.18rem;
}

.document h2 {
  margin: 44px 0 12px;
  font-size: 1.24rem;
  letter-spacing: -0.02em;
}

.document p:not(.eyebrow):not(.intro) {
  max-width: 760px;
  color: #394742;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer a {
  color: inherit;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    padding: 76px 0 54px;
  }

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

  .grid {
    padding-bottom: 56px;
  }

  .card {
    min-height: 0;
  }

  .step {
    margin-bottom: 28px;
  }

  .boundary {
    gap: 20px;
    margin-bottom: 70px;
    padding: 30px;
  }

  .document {
    padding: 62px 0 80px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
