@font-face {
  font-family: Pretendard;
  src: url("/fonts/PretendardStdVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}

:root {
  color: #232520;
  background: #f7f8f4;
  font-family: Pretendard, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --paper: #f7f8f4;
  --ink: #232520;
  --muted: #646b5b;
  --line: #dddfd7;
  --sage: #dce6cf;
  --gutter: clamp(22px, 4.4vw, 64px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(#dde1d8 1px, transparent 1px),
    linear-gradient(90deg, #dde1d8 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  background-position: -1px -1px;
  font-weight: 450;
}

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

a:focus-visible {
  outline: 2px solid #697f50;
  outline-offset: 5px;
}

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

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.container {
  width: min(calc(100% - var(--gutter) * 2), 1180px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 13px 18px;
  color: white;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  background: #f7f8f4eb;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.wordmark img {
  display: block;
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 560;
}

.nav-links a:hover,
.footer-links a:hover,
.inline-link:hover {
  color: #617252;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--ink);
  color: #fafbf7;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  background: #41473a;
  transform: translateY(-2px);
}

.eyebrow {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
}

.hero {
  padding-block: clamp(74px, 10vw, 138px) clamp(70px, 9vw, 118px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(45px, 8vw, 115px);
  align-items: end;
}

h1 {
  max-width: 900px;
  font-size: clamp(49px, 7.2vw, 88px);
  font-weight: 620;
  line-height: 1.01;
  letter-spacing: -0.06em;
}

.hero-copy > p {
  margin-top: 32px;
  max-width: 760px;
  font-size: clamp(17px, 1.5vw, 20px);
  color: #555c4e;
}

.hero-aside {
  padding: 25px;
  border: 1px solid #ccd3c3;
  border-radius: 9px;
  background: #eef3e7;
}

.hero-aside strong {
  display: block;
  margin-top: 17px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.hero-aside p {
  margin-top: 12px;
  font-size: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.inline-link {
  font-size: 14px;
  font-weight: 600;
}

.content-band {
  padding-block: clamp(75px, 9vw, 112px);
  background: #f7f8f4f2;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  margin-bottom: 52px;
}

.section-heading h2,
.cta h2 {
  font-size: clamp(36px, 4.6vw, 57px);
  font-weight: 610;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-heading > p {
  max-width: 620px;
  padding-top: 6px;
}

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

.cards.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 245px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fcfdf9;
}

.card-number {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  margin-bottom: 47px;
  border: 1px solid #d0d9c6;
  border-radius: 11px;
  color: #617252;
  background: #f1f4eb;
  font-size: 12px;
  font-weight: 650;
}

.card h3 {
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.card p {
  margin-top: 13px;
  font-size: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(45px, 8vw, 120px);
}

.detail-grid h2 {
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.detail-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.detail-item {
  padding-block: 25px;
  border-bottom: 1px solid var(--line);
}

.detail-item h3 {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.detail-item p {
  margin-top: 10px;
  max-width: 690px;
}

.related {
  padding-block: 56px;
  border-top: 1px solid var(--line);
  background: #f7f8f4f2;
}

.related-row {
  display: flex;
  gap: 15px 30px;
  flex-wrap: wrap;
  align-items: center;
}

.related-row .eyebrow {
  margin-right: auto;
}

.related-row a {
  font-size: 14px;
  font-weight: 570;
}

.cta-wrap {
  padding-block: clamp(76px, 10vw, 130px);
  color: #f5f7ef;
  background: #242820;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 45px;
  align-items: center;
}

.cta p {
  max-width: 680px;
  margin-top: 22px;
  color: #bfc6b7;
}

.cta .button {
  color: var(--ink);
  background: #e5ecd9;
}

.site-footer {
  padding-block: 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  gap: 30px;
  align-items: center;
}

.footer-row > p {
  margin-left: auto;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 560;
}

@media (max-width: 900px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .detail-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    max-width: 520px;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    gap: 24px;
  }

  .cta .button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 76px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links .button {
    min-height: 39px;
    padding-inline: 13px;
    font-size: 12px;
  }

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

  .card {
    min-height: 0;
  }

  .card-number {
    margin-bottom: 34px;
  }

  .related-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-row .eyebrow {
    margin-bottom: 8px;
  }

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

  .footer-row > p {
    margin-left: 0;
  }
}
