:root {
  --bg: #f8f6ef;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --line: #d8d0bf;
  --text: #1d2433;
  --muted: #50596e;
  --brand: #135c5b;
  --brand-2: #c7912c;
  --brand-3: #e8dcc4;
  --danger: #b54837;
  --shadow: 0 18px 45px rgba(21, 32, 51, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(231, 220, 194, 0.95), transparent 28%),
    linear-gradient(180deg, #f7f2e7, #f8f6ef 38%, #f5f7f8);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 72px 0; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(248, 246, 239, 0.86);
  border-bottom: 1px solid rgba(216, 208, 191, 0.7);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 78px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; }
.brand img { width: 46px; height: 46px; }
.brand small { display: block; color: var(--muted); font-weight: 600; }
.nav-toggle {
  display: none; border: 1px solid var(--line); background: white; border-radius: 999px;
  padding: 10px 14px; font-weight: 700;
}
.nav-menu { display: flex; align-items: center; gap: 20px; }
.nav-menu a { color: var(--muted); font-weight: 600; }
.nav-menu a:hover, .nav-menu a.active { color: var(--brand); }
.hero { padding: 84px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: stretch; }
.hero-grid-single { grid-template-columns: 1fr; }
.hero-copy, .panel {
  background: var(--panel);
  border: 1px solid rgba(216, 208, 191, 0.7);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-copy { padding: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(19, 92, 91, 0.08); color: var(--brand); font-size: 14px; font-weight: 800;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 12px; color: var(--muted); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button, button, .button-link {
  cursor: pointer; border: 0; border-radius: 999px; padding: 14px 20px;
  font: inherit; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button.primary, button.primary, .button-link.primary {
  background: linear-gradient(135deg, var(--brand), #0f7876);
  color: white; box-shadow: 0 14px 26px rgba(19, 92, 91, 0.22);
}
.button.secondary, button.secondary, .button-link.secondary {
  background: white; color: var(--text); border: 1px solid var(--line);
}
.button:hover, button:hover, .button-link:hover { transform: translateY(-1px); }
.hero-card { padding: 28px; display: grid; gap: 18px; }
.stat-grid, .card-grid, .mini-grid, .timeline-grid, .footer-grid { display: grid; gap: 16px; }
.stat-grid { grid-template-columns: repeat(3, 1fr); }
.stat-card, .tool-card, .result-card, .faq-card, .timeline-card {
  background: white; border-radius: var(--radius-md); border: 1px solid rgba(216, 208, 191, 0.9); padding: 20px;
}
.stat-card strong { display: block; font-size: 1.65rem; color: var(--brand); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-card { display: flex; flex-direction: column; gap: 10px; }
.tool-card .icon {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(199, 145, 44, 0.12); color: var(--brand-2); font-weight: 900;
}
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; }
.form-card, .content-card {
  background: var(--panel-strong); border-radius: var(--radius-lg); padding: 28px;
  border: 1px solid rgba(216, 208, 191, 0.8); box-shadow: var(--shadow);
}
label { display: block; font-weight: 700; margin-bottom: 8px; }
fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; font: inherit; color: var(--text); margin-bottom: 16px;
}
textarea { min-height: 140px; resize: vertical; }
.checkbox-row, .radio-row { display: grid; gap: 10px; margin: 10px 0 16px; }
.checkline, .radioline { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.checkline input, .radioline input { width: auto; margin: 0; inline-size: 20px; block-size: 20px; accent-color: var(--brand); flex: 0 0 auto; }
.result-stack { display: grid; gap: 14px; }
.result-card.hero-result { text-align: center; }
.meta-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0 0; list-style: none; }
.meta-list li {
  background: rgba(19, 92, 91, 0.07); color: var(--brand); border-radius: 999px; padding: 8px 12px; font-size: 14px; font-weight: 700;
}
.calendar {
  background: var(--panel-strong); border-radius: var(--radius-lg); padding: 20px;
  border: 1px solid rgba(216, 208, 191, 0.8); box-shadow: var(--shadow);
}
.calendar-head, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.calendar-head span { text-align: center; font-size: 14px; color: var(--muted); font-weight: 700; }
.calendar-cell {
  min-height: 90px; background: #fff; border-radius: 18px; border: 1px solid rgba(216, 208, 191, 0.85); padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.calendar-cell.weekend { background: #fff9f2; }
.calendar-cell.sonday { border-color: rgba(19, 92, 91, 0.45); box-shadow: inset 0 0 0 2px rgba(19, 92, 91, 0.08); }
.calendar-cell.holiday .cell-day { color: var(--danger); }
.calendar-cell.empty { background: rgba(255,255,255,0.3); border-style: dashed; min-height: 50px; opacity: 0.55; }
.cell-day { font-weight: 800; }
.cell-badge {
  display: inline-flex; align-self: flex-start; padding: 6px 8px; border-radius: 999px; background: rgba(19, 92, 91, 0.1);
  color: var(--brand); font-size: 13px; font-weight: 800;
}
.cell-sub { color: var(--muted); font-size: 12px; }
.list-card ul { margin: 0; padding-left: 20px; color: var(--muted); }
.list-card li { margin-bottom: 10px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.timeline-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.timeline-card.active { border-color: rgba(19, 92, 91, 0.55); background: #f4fbfa; }
.note {
  background: rgba(199, 145, 44, 0.12); border: 1px solid rgba(199, 145, 44, 0.28); color: #705112;
  padding: 16px 18px; border-radius: var(--radius-md); margin-top: 16px;
}
.site-footer { padding: 34px 0 56px; border-top: 1px solid rgba(216, 208, 191, 0.7); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-grid a { color: var(--muted); display: block; margin-bottom: 8px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px; }
.kicker { color: var(--brand-2); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 920px) {
  .hero-grid, .split-grid, .card-grid, .faq-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat-grid, .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; left: 16px; right: 16px; top: 76px; padding: 18px; background: rgba(255,255,255,0.98);
    border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); display: none; flex-direction: column; align-items: flex-start;
  }
  .nav-menu[data-open="true"] { display: flex; }
}
@media (max-width: 640px) {
  body { line-height: 1.55; }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 28px; }
  .hero-copy, .hero-card, .form-card, .content-card, .calendar { padding: 22px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { font-size: 12px; }
  .header-inner { min-height: 70px; }
  .nav-menu { top: 68px; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.45rem, 7vw, 2rem); }
  h3 { font-size: 1.1rem; }
  input, select, textarea, button, .button-link { font-size: 16px; }
  .button, button, .button-link { min-height: 52px; justify-content: center; }
  .hero-actions, .button-row { flex-direction: column; }
  .hero-actions > *, .button-row > * { width: 100%; text-align: center; }
  .stat-card, .tool-card, .result-card, .faq-card, .timeline-card { padding: 18px; }
  .meta-list { gap: 8px; }
  .meta-list li { width: 100%; text-align: center; }
  .checkbox-row, .radio-row { gap: 12px; }
  .checkline, .radioline { padding: 12px 14px; border: 1px solid rgba(216, 208, 191, 0.9); border-radius: 14px; background: #fff; }
  .calendar { overflow-x: auto; }
  .calendar-head, .calendar-grid { min-width: 420px; }
  .stat-grid, .timeline-grid { grid-template-columns: 1fr; }
  .calendar-head, .calendar-grid { gap: 6px; }
  .calendar-cell { min-height: 78px; padding: 10px; border-radius: 14px; }
}
