:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1f2823;
  --text-muted: #5b6660;
  --border: #e6e2da;
  --brand: #2f6b4f;
  --brand-dark: #234f3b;
  --brand-tint: #eaf3ee;
  --accent: #e8734a;
  --radius: 14px;
  --max-width: 1040px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic",
    "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

nav.main-nav a:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 88px 0 64px;
}

.hero .eyebrow {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.35;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

/* Sections */
section {
  padding: 56px 0;
}

section.alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 620px;
  margin-bottom: 36px;
}

.section-head .tag {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: block;
}

.section-head h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-services {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 700px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-tint);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

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

.card {
  display: flex;
  flex-direction: column;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.92rem;
}

.card-ghost {
  border-style: dashed;
  background: transparent;
  opacity: 0.7;
}

.card-ghost .icon {
  background: transparent;
  border: 1px dashed var(--border);
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-links {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.plan-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
}

.plan-card.pro {
  border-color: var(--brand);
  background: var(--brand-tint);
}

.plan-card h3 {
  margin: 0 0 6px;
}

.plan-card .price {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.plan-card li {
  margin-bottom: 6px;
}

.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-block h2 {
  font-size: 1.5rem;
  margin: 0 0 16px;
}

.about-block p {
  color: var(--text-muted);
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.fact-list li {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.fact-list li span:first-child {
  color: var(--text);
  font-weight: 600;
}

.cta {
  text-align: center;
  padding: 72px 0;
}

.cta h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
}

.cta p {
  color: var(--text-muted);
  margin: 0 0 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--surface);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 20px;
  line-height: 1.8;
}

/* Legal / policy pages */
.legal {
  padding: 64px 0 88px;
}

.legal .page-title {
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 40px 0 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal h3 {
  font-size: 1.02rem;
  margin: 20px 0 8px;
}

.legal p, .legal li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.92rem;
}

.legal th, .legal td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  color: var(--text-muted);
}

.legal th {
  background: var(--surface);
  color: var(--text);
}

.callout {
  background: var(--brand-tint);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  color: var(--text);
}

.placeholder {
  background: #fff4e8;
  color: #8a4b12;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.steps {
  padding-left: 20px;
}

.steps li {
  margin-bottom: 10px;
}

@media (max-width: 760px) {
  nav.main-nav {
    display: none;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .plan-row {
    grid-template-columns: 1fr;
  }
  .about-block {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
  }
}
