/* 웹메이드 랜딩 — 옐로/오렌지 + 잉크 블랙
   색 비율: 크림 배경 60 · 잉크(텍스트·다크 섹션) 30 · 옐로/오렌지 포인트 10 */

:root {
  --bg: #fffbf0;
  --bg-soft: #fff3d1;
  --surface: #ffffff;
  --ink: #211a0f;
  --ink-2: #574e3f;
  --field-line: #8f8260;
  --line: #ebdfc4;
  --yellow: #ffc61a;
  --yellow-hover: #ffb800;
  --orange: #e8590c;
  --orange-ink: #b84508;
  --danger: #b42318;
  --ok: #1b7f4b;

  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
    'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;

  --header-h: 64px;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  z-index: 100;
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* ---------- 타이포 ---------- */
.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--orange-ink);
  margin-bottom: 16px;
}
.h-display {
  text-wrap: balance;
  font-size: clamp(32px, 6.4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.h-section {
  text-wrap: balance;
  font-size: clamp(26px, 4.6vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.h-card { font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--ink-2); }
.mark {
  background: linear-gradient(transparent 62%, var(--yellow) 62%);
  padding-inline: 2px;
}
.on-dark .mark { background: none; color: var(--yellow); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--bg-soft); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn[aria-busy='true'] { opacity: 0.7; cursor: progress; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 251, 240, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo svg { width: 30px; height: 30px; }
.nav { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--orange-ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* ---------- 섹션 공통 ---------- */
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 112px; } }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff6dd; }
.section--dark .muted { color: #d8cdb2; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .lead { margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- 히어로 ---------- */
.hero { padding-block: 48px 72px; }
@media (min-width: 900px) { .hero { padding-block: 80px 112px; } }
.hero__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } }
.hero .lead { margin-top: 24px; max-width: 560px; }
.hero .lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--orange-ink); }

/* 히어로 목업 (순수 CSS) */
.mock-wrap { display: grid; justify-items: center; gap: 16px; }
.mock-caption { font-size: 13px; color: var(--ink-2); }
.phone {
  width: min(300px, 80vw);
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 14px 14px 0 var(--yellow);
}
.phone__screen { background: #fff; border-radius: 30px; overflow: hidden; }
.m-bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: 14px; border-bottom: 1px solid #f0e8d4; }
.m-bar b { font-weight: 800; }
.m-bar span { color: var(--ink-2); font-size: 12px; }
.m-hero { background: #c2410c; color: #fff; padding: 28px 18px 24px; display: grid; gap: 8px; }
.m-hero small { font-size: 13px; }
.m-hero strong { font-size: 21px; line-height: 1.35; font-weight: 800; }
.m-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 18px 8px; }
.m-actions span { text-align: center; font-size: 13px; font-weight: 700; padding: 10px 0; border: 1.5px solid var(--ink); border-radius: 999px; }
.m-actions .is-main { background: var(--yellow); }
.m-list { padding: 8px 18px 22px; font-size: 14px; }
.m-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed #e6dcc3; }
.m-list li:last-child { border-bottom: 0; }
.m-list b { font-weight: 700; }

/* ---------- 문제 공감 ---------- */
.pain-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.pain {
  align-content: start;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  display: grid;
  gap: 8px;
}
.pain__q { font-size: 18px; font-weight: 800; line-height: 1.45; }
.pain__q::before { content: '“'; color: var(--orange); margin-right: 2px; }
.pain__q::after { content: '”'; color: var(--orange); margin-left: 2px; }
.agitate { margin-top: 48px; padding: 32px 24px; border-radius: var(--r-lg); background: var(--ink); color: #fff6dd; }
@media (min-width: 768px) { .agitate { padding: 48px; } }
.agitate p { font-size: clamp(18px, 2.8vw, 24px); line-height: 1.6; font-weight: 600; max-width: 760px; }
.agitate em { font-style: normal; color: var(--yellow); }

/* ---------- 해결/혜택 ---------- */
.benefit-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.benefit__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); display: grid; place-items: center; }
.benefit__icon svg { width: 26px; height: 26px; }
.benefit p { color: var(--ink-2); font-size: 16px; }

/* ---------- 비교 ---------- */
.compare { display: grid; gap: 16px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; gap: 24px; } }
.compare__col { border-radius: var(--r-lg); padding: 28px 24px; }
@media (min-width: 768px) { .compare__col { padding: 36px; } }
.compare__col h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.compare__col--before { background: var(--surface); border: 1.5px dashed #c9bb98; }
.compare__col--after { background: var(--yellow); border: 2px solid var(--ink); }
.compare__col li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(33, 26, 15, 0.14); font-size: 16px; }
.compare__col li:first-child { border-top: 0; padding-top: 0; }
.compare__col li svg { width: 20px; height: 20px; margin-top: 4px; }
.compare__col--before li { color: var(--ink-2); }

/* ---------- 진행 과정 ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px; border: 1.5px solid rgba(255, 246, 221, 0.28); border-radius: var(--r-md); display: grid; gap: 8px; align-content: start; }
.step__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 800; margin-bottom: 8px; }
.step h3 { font-size: 20px; font-weight: 800; color: #fff; }
.step p { color: #d8cdb2; font-size: 16px; }
.step__n--done svg { width: 22px; height: 22px; }
.note { font-size: 14px; }
.nw { white-space: nowrap; }
.step__time { font-size: 13px; font-weight: 700; color: var(--yellow); }

/* ---------- 업종 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 18px; border-radius: 12px; background: var(--bg-soft); font-weight: 600; font-size: 16px; }

/* ---------- 가격 ---------- */
.price-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 32px 24px; }
.plan--featured { background: #fffdf5; border-width: 3px; box-shadow: 8px 8px 0 var(--yellow); }
.plan__badge { position: absolute; top: -15px; left: 24px; background: var(--ink); color: var(--yellow); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 999px; }
.plan__name { font-size: 22px; font-weight: 800; }
.plan__for { font-size: 15px; color: var(--ink-2); margin-top: 4px; }
@media (min-width: 900px) { .plan__for { min-height: 3.4em; } }
.plan__price { margin: 20px 0 4px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan__price b { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
.plan__price span { font-size: 18px; font-weight: 700; }
.plan__vat { font-size: 13px; color: var(--ink-2); margin-bottom: 20px; }
.plan ul { display: grid; gap: 10px; margin-bottom: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 16px; line-height: 1.55; }
.plan li svg { width: 20px; height: 20px; margin-top: 3px; color: var(--orange-ink); }
.price-note { margin-top: 32px; padding: 20px 24px; border-radius: var(--r-md); border: 1.5px dashed #c9bb98; font-size: 15px; color: var(--ink-2); }
.price-note b { color: var(--ink); }

/* ---------- 약속 ---------- */
.promise-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise { padding: 28px 24px; border-radius: var(--r-md); background: var(--surface); border: 1.5px solid var(--ink); display: grid; gap: 8px; align-content: start; }
.promise__n { font-size: 14px; font-weight: 700; color: var(--orange-ink); }
.promise p { font-size: 16px; color: var(--ink-2); }
.promise-foot { margin-top: 20px; font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); font-size: 22px; line-height: 1; font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq__a { padding: 0 4px 24px; color: var(--ink-2); font-size: 16px; }

/* ---------- 신청 ---------- */
.apply { background: var(--yellow); }
.apply__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .apply__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.apply__copy .lead { color: var(--ink); margin-top: 16px; }
.next-list { margin-top: 32px; display: grid; gap: 16px; }
.next-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; font-size: 16px; }
.next-list li > span { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.contact-alt { margin-top: 28px; font-size: 15px; font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.contact-alt a { text-underline-offset: 3px; }

.form-card { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg); padding: 24px 20px; box-shadow: 8px 8px 0 var(--ink); }
@media (min-width: 768px) { .form-card { padding: 36px; } }
.form-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.form-card .sub { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; }

.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field > label, .field > legend, .legend { font-size: 15px; font-weight: 700; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); font-size: 14px; margin-left: 4px; }
.req { color: var(--danger); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid var(--field-line);
  border-radius: var(--r-sm);
  font-size: 17px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.textarea { min-height: 112px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23211a0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow); }
.input::placeholder, .textarea::placeholder { color: #6f6552; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { font-size: 13px; color: var(--ink-2); }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radios { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.radio { position: relative; }
.radio input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio span { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border: 1.5px solid var(--field-line); border-radius: var(--r-sm); font-size: 16px; font-weight: 600; background: #fff; }
.radio input:checked + span { background: var(--yellow); border-color: var(--ink); }
.radio input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

.field > label.consent { font-weight: 400; }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-size: 15px; margin-bottom: 8px; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.consent a { font-weight: 600; text-underline-offset: 3px; display: inline-block; padding: 12px 4px; margin: -12px 0; }
.form-error { margin-bottom: 16px; padding: 14px 16px; border-radius: var(--r-sm); background: #fdecea; color: var(--danger); font-weight: 600; font-size: 15px; }
.form-error:empty { display: none; }
.form-foot { margin-top: 14px; text-align: center; font-size: 13px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; padding: 16px 0; display: grid; gap: 12px; justify-items: center; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; border: 2px solid var(--ink); }
.success__icon svg { width: 32px; height: 32px; }
.success h3 { font-size: 24px; }
.success p { color: var(--ink-2); }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--ink); color: #d8cdb2; padding-block: 48px 40px; font-size: 14px; line-height: 1.8; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.footer-meta { display: grid; gap: 2px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 12px; }
.footer-links a { display: inline-block; padding: 10px 0; }
.site-footer :focus-visible { outline-color: #fff; }
.copy { margin-top: 24px; font-size: 13px; opacity: 0.8; }

/* ---------- 모바일 하단 고정 CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 251, 240, 0.97);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.2s ease, visibility 0s linear 0.2s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.2s ease; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
body.has-sticky { padding-bottom: 0; }

[hidden] { display: none !important; }

/* ---------- 개인정보/404 등 본문 페이지 ---------- */
.doc { padding-block: 48px 96px; max-width: 760px; }
.doc h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; }
.doc p, .doc li { font-size: 16px; color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.notfound { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 40px 20px; justify-items: center; }
.notfound b { font-size: 72px; line-height: 1; font-weight: 800; color: var(--orange); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* 인라인 style 속성 대체 (CSP) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--ink { color: var(--ink); }
.field--tight { margin-bottom: 8px; }

/* ---------- 제작 사례 ---------- */
.works { display: grid; gap: 28px 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .works { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .works { grid-template-columns: repeat(3, 1fr); gap: 36px 24px; } }
.work__img { aspect-ratio: 4 / 3; border: 1.5px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); display: grid; place-items: center; }
.work__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.work__ph { display: grid; justify-items: center; gap: 6px; padding: 16px; text-align: center; color: var(--ink-2); font-size: 14px; }
.work__ph svg { width: 36px; height: 36px; color: var(--orange-ink); }
.work__ph b { font-size: 16px; color: var(--ink); }
.work__img:not(.has-img) { border-style: dashed; }
.work__t { font-size: 18px; font-weight: 800; margin-top: 14px; }
.work__d { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.works-note { font-size: 14px; color: var(--ink-2); margin: -24px 0 24px; }
