/* 이음보 — styles.css
   DESIGN.md 토큰을 그대로 옮긴다. 대비 계산: README.md "대비 결과" 표 참고. */

:root {
  --bg: #fbf8f2;
  --surface: #ffffff;
  --surface-2: #f3ece1;
  --line: #e4dacb;
  --ink: #26211d;
  --ink-2: #5a524a;
  --primary: #b0353f;
  --primary-ink: #ffffff;
  --primary-soft: #f6dedc;
  --accent: #e3a23b;
  --blue: #2e4f6b;
  --green: #3f6b4a;
  --focus: #2e4f6b;

  --shadow: 0 1px 2px rgba(38, 33, 29, 0.06), 0 8px 24px rgba(38, 33, 29, 0.06);

  --radius-control: 12px;
  --radius-panel: 16px;
  --radius-frame: 24px;

  --space-section-mobile: 72px;
  --space-section-desktop: 120px;

  --font-body: "Pretendard Variable", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-display: "MaruBuriBold", "MaruBuri", "Pretendard Variable", serif;
  --font-display-semibold: "MaruBuriSemiBold", "MaruBuri", "Pretendard Variable", serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* 한글은 단어 중간에서 줄을 넘기지 않는다 */
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

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

::selection {
  background: var(--primary-soft);
  color: var(--ink);
}

/* 종이 질감: 아주 옅은 노이즈. 흐림 아님. */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.15  0 0 0 0 0.13  0 0 0 0 0.11  0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- 머리말 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-nav {
  display: none;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
}
.site-nav a:hover {
  color: var(--primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 22px;
  height: 22px;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.mobile-nav.is-open {
  display: flex;
}
.mobile-nav a {
  padding: 16px 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border-bottom: none;
}

@media (min-width: 880px) {
  .site-nav {
    display: block;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-control);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary:hover {
  background: #99222b;
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ---------- 섹션 공통 ---------- */
section {
  padding: var(--space-section-mobile) 0;
}
@media (min-width: 880px) {
  section {
    padding: var(--space-section-desktop) 0;
  }
}
.kicker {
  display: inline-block;
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 12px;
  font-weight: 600;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 34px;
  line-height: 1.28;
}
h2 {
  font-size: 26px;
  line-height: 1.32;
  margin-bottom: 16px;
}
h3 {
  font-size: 20px;
  font-family: var(--font-display-semibold);
}
@media (min-width: 880px) {
  h1 {
    font-size: 52px;
  }
  h2 {
    font-size: 36px;
  }
}
p {
  margin: 0 0 16px;
  max-width: 38em;
}
.lede {
  font-size: 19px;
  color: var(--ink-2);
}

/* ---------- 첫 화면 ---------- */
.hero {
  padding-top: 48px;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 56px;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-art {
  position: relative;
  min-height: 260px;
}
.hero-art .char {
  position: absolute;
  width: 54%;
}
.hero-art .char-tiger {
  left: 50%;
  top: 8%;
  transform: translateX(-50%);
  width: 62%;
  z-index: 2;
}
.hero-art .char-dragon {
  display: none;
}
.hero-art-base {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-frame);
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
@media (max-width: 879px) {
  .hero-art {
    min-height: 0;
  }
  .hero-art-base {
    aspect-ratio: 16 / 11;
  }
}

/* 첫 화면: "이름 한 글자를 넣어 보세요" (채널톡형 바로 해보기) */
.hero-try {
  margin-top: 28px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  max-width: 440px;
}
.hero-try-label {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}
.hero-try-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
@media (min-width: 480px) {
  .hero-try-form {
    flex-direction: row;
  }
}
.hero-try-form input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0 18px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  box-sizing: border-box;
}
.hero-try-form .btn-pill {
  width: 100%;
}
@media (min-width: 480px) {
  .hero-try-form .btn-pill {
    width: auto;
    flex: 0 0 auto;
  }
}
.hero-try-form input:focus {
  border-color: var(--focus);
}
.btn-pill {
  border-radius: 999px;
  min-height: 48px;
}
.hero-try-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0 16px;
  min-height: 40px;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
}
.chip:hover,
.chip:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}
.hero-try-note {
  font-size: 13px;
  color: var(--ink-2);
  margin: 10px 0 0;
}

/* ---------- 문중에 드리는 것 (v3: 이득 제목 짝 + 큰 판) ---------- */
.benefits-head {
  max-width: 44em;
}
.benefit-pairs {
  display: grid;
  gap: 0;
  margin: 8px 0 48px;
}
@media (min-width: 720px) {
  .benefit-pairs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
.benefit-pair-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.benefit-pair-item:last-child {
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .benefit-pair-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .benefit-pair-item:nth-child(odd) {
    padding-right: 32px;
  }
  .benefit-pair-item:nth-child(even) {
    padding-left: 32px;
    border-left: 1px solid var(--line);
  }
}
.benefit-pair-item h3 {
  font-family: var(--font-display-semibold);
  font-size: 19px;
  line-height: 1.4;
  margin-bottom: 8px;
}
.benefit-pair-item p {
  margin-bottom: 0;
  color: var(--ink-2);
}

.benefit-panel {
  background: var(--surface-2);
  border-radius: var(--radius-frame);
  padding: 32px 24px;
}
@media (min-width: 880px) {
  .benefit-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
    padding: 56px;
  }
}
.benefit-panel-visual {
  position: relative;
  margin-bottom: 28px;
}
@media (min-width: 880px) {
  .benefit-panel-visual {
    margin-bottom: 0;
  }
}
.benefit-panel-zodiac {
  position: absolute;
  top: -10px;
  right: 12px;
  width: 52px;
  height: 52px;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(38, 33, 29, 0.12));
}
@media (min-width: 880px) {
  .benefit-panel-zodiac {
    right: -4px;
  }
}
.mini-phone-frame {
  width: 240px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 28px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.mini-phone-screen {
  background: var(--bg);
  border-radius: 18px;
  padding: 18px 16px;
  min-height: 220px;
  display: flex;
  align-items: center;
}
.approval-card {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 16px;
}
.approval-label {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 6px;
}
.approval-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}
.approval-detail {
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 14px;
  font-variant-numeric: tabular-nums;
}
.approval-btn {
  width: 100%;
  min-height: 44px;
  font-size: 16px;
}
.approval-btn.is-done {
  background: var(--green);
}
.approval-status {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--green);
  min-height: 20px;
}
.panel-title {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.32;
  margin-bottom: 14px;
}
@media (min-width: 880px) {
  .panel-title {
    font-size: 38px;
  }
}
.benefit-panel-copy p {
  color: var(--ink-2);
}
.panel-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- 3-2. 그 밖에 맡기실 수 있는 일 ---------- */
.homepage-extra-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 880px) {
  .homepage-extra-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
  }
}
.line-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.line-list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.line-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.line-list strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}
.line-list span {
  display: block;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- 예시 화면 ---------- */
.example-section {
  background: var(--surface-2);
  border-radius: var(--radius-frame);
  margin: 0 20px;
  padding: var(--space-section-mobile) 24px;
}
@media (min-width: 880px) {
  .example-section {
    margin: 0 auto;
    max-width: 1120px;
    padding: var(--space-section-desktop) 56px;
  }
}
.example-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 880px) {
  .example-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 56px;
    align-items: start;
  }
}
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.demo-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.phone-screen {
  background: var(--bg);
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
}
.phone-topbar {
  background: var(--surface);
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.phone-topbar .demo-badge {
  margin-bottom: 10px;
}
.phone-search {
  display: flex;
  gap: 8px;
}
.phone-search input {
  flex: 1;
  min-height: 44px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
}
.phone-search input:focus {
  border-color: var(--focus);
}
.phone-body {
  flex: 1;
  padding: 10px 14px 16px;
  overflow-y: auto;
}
.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result-item {
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
}
.result-item:hover,
.result-item:focus-visible {
  border-color: var(--primary);
}
.result-item .gen {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}
.result-empty {
  color: var(--ink-2);
  font-size: 15px;
  padding: 16px 4px;
}
.chain-view {
  display: none;
  flex-direction: column;
  gap: 0;
}
.chain-view.is-open {
  display: flex;
}
.chain-back {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--blue);
  font-size: 15px;
  padding: 6px 0 10px;
  cursor: pointer;
  font-family: var(--font-body);
}
.chain-item {
  position: relative;
  padding: 10px 0 10px 28px;
  border-left: 2px solid var(--line);
  margin-left: 10px;
}
.chain-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--primary);
}
.chain-item:last-child {
  border-left-color: transparent;
}
.chain-item.is-self {
  font-weight: 700;
}
.chain-item .chain-gen {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
}
.chain-actions {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chain-actions button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
}
.chain-actions button:hover {
  border-color: var(--primary);
}
.original-page {
  margin-top: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-control);
  background: var(--surface);
  padding: 16px;
  display: none;
}
.original-page.is-open {
  display: block;
}
.original-page svg {
  width: 100%;
}
.original-page figcaption {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 8px;
  text-align: center;
}

.example-copy .demo-explainer {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--surface);
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}

/* 열두 띠 판 */
.zodiac-panel {
  margin-top: 56px;
}
.zodiac-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}
.zodiac-form label {
  display: block;
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.zodiac-form input {
  width: 160px;
  min-height: 52px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  padding: 0 14px;
  font-size: 18px;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.zodiac-form input:focus {
  border-color: var(--focus);
}
.zodiac-result {
  min-height: 24px;
  font-size: 16px;
  margin-bottom: 20px;
}
.zodiac-result strong {
  color: var(--primary);
}
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 560px) {
  .zodiac-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.zodiac-badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 10px 6px 8px;
  text-align: center;
  transition: none;
}
.zodiac-badge img {
  width: 44px;
  height: 44px;
  margin: 0 auto 6px;
}
.zodiac-badge .z-name {
  font-size: 13px;
  color: var(--ink-2);
}
.zodiac-badge.is-active {
  border-color: var(--primary);
  border-width: 2px;
  background: var(--primary-soft);
}
.zodiac-badge.is-active .z-name {
  color: var(--ink);
  font-weight: 700;
}
.zodiac-note {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- 책족보 ---------- */
.book-section .wrap {
  display: grid;
  gap: 32px;
}
@media (min-width: 880px) {
  .book-section .wrap {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
  }
}
.book-visual {
  background: var(--surface-2);
  border-radius: var(--radius-frame);
  padding: 28px;
}
.book-visual blockquote {
  font-family: var(--font-display-semibold);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
  line-height: 1.5;
  border-left: none;
}

/* ---------- 진행 순서 ---------- */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.process-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
}
.process-item:not(:last-child) {
  border-bottom: 1px dashed var(--line);
}
.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.process-item h3 {
  margin-bottom: 4px;
}
.process-item p {
  margin-bottom: 0;
  color: var(--ink-2);
}

/* ---------- 첫 협력 문중 ---------- */
.callout {
  background: var(--primary);
  color: var(--primary-ink);
  border-radius: var(--radius-frame);
  padding: 44px 28px;
  margin: 0 20px;
}
@media (min-width: 880px) {
  .callout {
    margin: 0 auto;
    max-width: 1120px;
    padding: 64px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 32px;
  }
}
.callout h2 {
  color: var(--primary-ink);
}
.callout p {
  color: var(--primary-ink);
  opacity: 0.92;
  max-width: 42em;
}
.callout .btn-secondary {
  background: var(--primary-ink);
  color: var(--primary);
  border-color: transparent;
}
.callout .btn-secondary:hover {
  background: var(--primary-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  font-family: var(--font-display-semibold);
  font-size: 19px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .plus {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faq-item summary .plus::before,
.faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.faq-item summary .plus::before {
  width: 12px;
  height: 2px;
}
.faq-item summary .plus::after {
  width: 2px;
  height: 12px;
}
.faq-item[open] summary .plus::after {
  display: none;
}
.faq-item .faq-answer {
  padding: 0 4px 22px;
  color: var(--ink-2);
  max-width: 42em;
}

/* ---------- 상담 신청 폼 ---------- */
.consult-section {
  background: var(--surface-2);
}
.consult-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 880px) {
  .consult-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  }
}
.consult-form {
  background: var(--surface);
  border-radius: var(--radius-panel);
  padding: 28px;
  box-shadow: var(--shadow);
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.field .hint {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: var(--radius-control);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 17px;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--focus);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--primary);
}
.field-error {
  display: none;
  color: var(--primary);
  font-size: 14px;
  margin-top: 6px;
}
.field.has-error .field-error {
  display: block;
}
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-pill {
  position: relative;
}
.radio-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.radio-pill span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 15px;
  background: var(--surface);
  cursor: pointer;
}
.radio-pill input:checked + span {
  border-color: var(--primary);
  background: var(--primary-soft);
  font-weight: 600;
}
.radio-pill input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius-control);
  margin-bottom: 20px;
}
.consent-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}
.consent-row label {
  font-size: 15px;
  color: var(--ink-2);
}
.consent-row a {
  color: var(--blue);
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-slot {
  margin-bottom: 20px;
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-control);
  color: var(--ink-2);
  font-size: 14px;
  background: var(--surface);
}
.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  font-size: 15px;
  display: none;
}
.form-status.is-success {
  display: block;
  background: #e9f1ea;
  color: var(--green);
  border: 1px solid var(--green);
}
.form-status.is-error {
  display: block;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.consult-info {
  padding-top: 8px;
}
.consult-info ul {
  padding-left: 20px;
  color: var(--ink-2);
}

/* ---------- 바닥글 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--ink-2);
  font-size: 15px;
}
.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: underline;
}
@media (min-width: 880px) {
  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ---------- 개인정보 처리방침 ---------- */
.legal-body h2 {
  margin-top: 40px;
}
.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal-body th,
.legal-body td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  font-size: 16px;
  vertical-align: top;
}
.legal-body th {
  background: var(--surface-2);
}
