:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #52605b;
  --paper: #ffffff;
  --soft: #f3f6f4;
  --line: #d7dfdb;
  --green: #16734a;
  --green-dark: #0d4f34;
  --blue: #245d89;
  --amber: #9b5d0a;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

a {
  color: var(--green-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner,
.content,
.hero-inner,
.footer-inner {
  width: min(100% - 40px, 1040px);
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 750;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: 44px;
}

h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.flow {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

.flow-title {
  margin: 0;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.flow-step {
  min-height: 58px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.flow-step:last-child {
  border-bottom: 0;
}

.flow-number {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--green);
  font-size: 13px;
  font-weight: 750;
}

.flow-step strong,
.flow-step span {
  display: block;
}

.flow-step span {
  color: var(--muted);
  font-size: 13px;
}

.content {
  padding: 64px 0 72px;
}

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

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

.feature {
  padding-top: 16px;
  border-top: 3px solid var(--green);
}

.feature:nth-child(2) {
  border-color: var(--blue);
}

.feature:nth-child(3) {
  border-color: var(--amber);
}

.feature p,
.section p,
.section li {
  color: var(--muted);
}

.notice {
  padding: 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--soft);
}

.notice p {
  margin: 0;
}

.legal-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.legal-header p {
  margin: 8px 0 0;
  color: var(--muted);
}

.legal-heading-inner {
  padding: 0;
}

.legal {
  width: min(100% - 40px, 800px);
  margin: 0 auto;
  padding: 52px 0 72px;
}

.legal section + section {
  margin-top: 40px;
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 18px;
    padding-bottom: 18px;
  }

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

  .hero-inner {
    padding: 52px 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  h1 {
    font-size: 36px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .header-inner,
  .content,
  .hero-inner,
  .footer-inner,
  .legal {
    width: min(100% - 28px, 1040px);
  }

  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 32px;
  }
}
