:root {
  --ink: #172018;
  --muted: #5d675f;
  --line: #dfe6df;
  --paper: #fbfbf7;
  --wash: #eff5ef;
  --green: #2f7a4f;
  --green-strong: #1f5f3b;
  --coral: #e76f51;
  --blue: #557c9f;
  --gold: #b4873d;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(23, 32, 24, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(223, 230, 223, 0.85);
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--coral));
  font-size: 14px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
}

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

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 750;
  text-decoration: none;
  line-height: 1.2;
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 251, 247, 0.95) 0%, rgba(251, 251, 247, 0.82) 38%, rgba(251, 251, 247, 0.3) 72%, rgba(251, 251, 247, 0.18) 100%),
    linear-gradient(180deg, rgba(251, 251, 247, 0.08), rgba(251, 251, 247, 0.55));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 116px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-strong);
  font-weight: 800;
  font-size: 14px;
}

h1,
h2,
h3 {
  line-height: 1.16;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(44px, 7vw, 88px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 48px);
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #364139;
  font-size: clamp(18px, 2.1vw, 22px);
}

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

.section {
  padding: 84px 0;
}

.section.tint {
  background: var(--wash);
}

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

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

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p,
.page-lead {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(23, 32, 24, 0.04);
}

.card strong {
  color: var(--green-strong);
}

.card p,
.article p,
.policy p,
.policy li {
  color: var(--muted);
}

.metric {
  display: grid;
  align-content: start;
  gap: 8px;
}

.metric b {
  color: var(--coral);
  font-size: 34px;
  line-height: 1;
}

.service-link,
.article-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  color: var(--green-strong);
  font-weight: 800;
  text-decoration: none;
}

.article {
  display: grid;
  gap: 14px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

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

.article h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.meta {
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
}

.note {
  border-left: 4px solid var(--green);
  padding: 16px 18px;
  background: var(--wash);
  color: #334037;
}

.page-hero {
  padding: 80px 0 52px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--wash), var(--paper));
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(38px, 5vw, 68px);
}

.policy h2 {
  margin-top: 42px;
  font-size: 30px;
}

.policy ul {
  padding-left: 20px;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #182019;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(251, 251, 247, 0.96) 0%, rgba(251, 251, 247, 0.86) 48%, rgba(251, 251, 247, 0.4) 100%);
  }

  .hero-media img {
    object-position: center bottom;
  }

  .hero-inner {
    padding: 58px 0 260px;
  }

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

  .footer-inner {
    flex-direction: column;
  }
}
