/* 오냐 웹 (8단계). 색·글자는 디자인 시스템 v4 값: 먹 #1A1C20 단계, 제비꽃 #5B3FD9, 도장 #D2462D(도장에만). */
:root {
  --ink: #1A1C20;
  --ink-70: #4A4D53;
  --ink-60: #6B6E75;
  --ink-50: #8B8E95;
  --ink-30: #C9CBD0;
  --ink-20: #E1E3E7;
  --line: #EEEFF1;
  --bg: #F2F3F5;
  --white: #FFFFFF;
  --violet: #5B3FD9;
  --violet-soft: #EBE8FA;
  --violet-dark: #4329B0;
  --violet-light: #BDB2F0;
  --violet-pale: #DCD5F8;
  --ink-90: #2A2D33;
  --stamp-red: #D2462D;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); font-family: Pretendard, system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand img { width: 28px; height: 28px; border-radius: 7px; object-fit: cover; display: block; }
.brand span { font-size: 16px; font-weight: 800; }
.badge { flex: none; align-self: flex-start; font-size: 12px; font-weight: 700; height: 24px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; }
.badge-announcement { background: var(--violet-soft); color: var(--violet); box-shadow: inset 0 0 0 1.5px var(--violet); }
.badge-notice { background: var(--ink); color: var(--white); }
.badge-petition { background: var(--violet); color: var(--white); }
[hidden] { display: none !important; }

/* 공유 페이지 (v5 18): 모바일 한 화면 */
.share { min-height: 100vh; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; }
.share-bar { flex: none; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.share-bar .open-app { font-size: 14px; font-weight: 700; color: var(--violet); }
.share-bar .close { font-size: 20px; line-height: 1; }
.share-body { flex: 1; padding: 4px 16px; display: flex; flex-direction: column; gap: 12px; }
.share-foot { flex: none; padding: 12px 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.card { background: var(--white); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; color: var(--ink-50); }
.doc-title { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; white-space: pre-line; }
.rows { display: flex; flex-direction: column; font-size: 15px; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--ink-60); flex: none; }
.rows dd { margin: 0; font-weight: 600; text-align: right; }
.rows .strong { font-weight: 700; color: var(--violet); }
.rows .muted { color: var(--ink-50); }
.list-card { background: var(--white); border-radius: 20px; padding: 4px 20px; }
.list-card .rows > div { padding: 13px 0; border-top: none; border-bottom: 1px solid var(--line); align-items: center; }
.list-card .rows > div:last-child { border-bottom: none; }
.tip { display: flex; gap: 10px; align-items: flex-start; background: var(--white); border-radius: 14px; padding: 12px 14px; }
.tip-mark { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tip-text { font-size: 14px; line-height: 1.5; color: var(--ink-70); }
.button { height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.button-primary { background: var(--violet); color: var(--white); }
.button-white { background: var(--white); }
.button-grey { background: var(--ink-20); }
.button-text { height: 44px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; color: var(--ink-60); }
.parody { font-size: 11px; color: var(--ink-50); text-align: center; padding-top: 4px; }
.small-note { font-size: 13px; color: var(--ink-60); line-height: 1.5; padding: 0 4px; }
.answer-row { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 8px; }
.answer-row .button { font-size: 16px; }
.answer-row .button-primary { font-size: 19px; font-weight: 800; }
.kicker { font-size: 14px; font-weight: 600; color: var(--ink-60); }
.page-title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.35; white-space: pre-line; }
.center-body { flex: 1; padding: 0 24px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.icon-box { width: 64px; height: 64px; border-radius: 20px; background: var(--violet-soft); display: flex; align-items: center; justify-content: center; }
.lead { font-size: 16px; color: var(--ink-70); line-height: 1.6; white-space: pre-line; margin: 0; }
.grey-box { background: var(--bg); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.grey-box .label { font-size: 13px; color: var(--ink-60); }
.grey-box .value { font-size: 16px; font-weight: 700; }
.white-page { background: var(--white); }
.permit { border-radius: 24px; padding: 22px; gap: 16px; box-shadow: 0 8px 24px rgba(26, 28, 32, 0.08); }
.permit .doc-title { letter-spacing: -0.04em; line-height: 1.2; }
.permit-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.permit-sentence { font-size: 15px; font-weight: 600; line-height: 1.55; white-space: pre-line; }
.stamp { flex: none; transform: rotate(-8deg); border: 3px solid var(--stamp-red); border-radius: 6px; padding: 7px 12px; color: var(--stamp-red); font-weight: 800; font-size: 26px; letter-spacing: -0.05em; box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3px var(--stamp-red); opacity: 0.92; white-space: nowrap; }
.loading { flex: 1; display: flex; align-items: center; justify-content: center; color: var(--ink-50); font-size: 15px; }

/* 정책 페이지 (정책 페이지 v2) */
.top { position: sticky; top: 0; z-index: 5; background: rgba(242, 243, 245, 0.72); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); }
.top-inner { max-width: 960px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.top .brand img { width: 32px; height: 32px; border-radius: 9px; }
.top .brand span { font-size: 19px; letter-spacing: -0.03em; }
.tabs { display: flex; gap: 2px; background: var(--ink-20); border-radius: 12px; padding: 3px; font-size: 14px; font-weight: 600; }
.tabs a { padding: 8px 12px; border-radius: 9px; color: var(--ink-60); }
.tabs a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(26, 28, 32, 0.12); }
.policy { max-width: 960px; width: 100%; margin: 0 auto; padding: 40px 24px 96px; display: flex; flex-direction: column; gap: 16px; }
.policy-head { display: flex; flex-direction: column; gap: 8px; padding: 0 4px 12px; }
.policy-head h1 { margin: 0; font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -0.04em; }
.policy-head span { font-size: 14px; color: var(--ink-60); }
.policy section { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.policy h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.policy p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-70); text-wrap: pretty; }
.policy-note { border-radius: 20px; padding: 18px 24px; font-size: 14px; line-height: 1.6; color: var(--ink-60); }

/* 랜딩 (랜딩 v5) */
.landing { display: flex; flex-direction: column; min-height: 100vh; }
.landing a:hover { color: var(--violet); }
.wrap { max-width: 1120px; width: 100%; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.landing .top { background: rgba(255, 255, 255, 0.6); }
.landing .top-inner { max-width: 1120px; }
.landing .top .brand img { width: 34px; height: 34px; }
.landing .top .brand span { font-size: 20px; }
.nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; align-items: center; flex-wrap: wrap; }
.hero { padding-top: 56px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.pill { font-size: 14px; font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: 999px; padding: 6px 12px; }
.hero h1 { margin: 0; font-size: clamp(42px, 6.4vw, 72px); line-height: 1.1; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.violet { color: var(--violet); }
.hero p { margin: 0; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; color: var(--ink-70); max-width: 500px; text-wrap: pretty; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { height: 56px; padding: 0 20px 0 16px; border-radius: 12px; background: var(--ink); border: 1px solid var(--ink-50); color: var(--white) !important; display: flex; align-items: center; gap: 10px; }
.store svg { flex: none; }
.store-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-text small { font-size: 11px; font-weight: 500; }
.store-text b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.hero-stack { position: relative; height: 540px; max-width: 440px; width: 100%; justify-self: center; }
.float { position: absolute; background: var(--white); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(26, 28, 32, 0.14); }
.float-title { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.25; }
.float .card-head { font-size: 12px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.avatar-grey { background: var(--ink-20); color: var(--ink-60); }
.avatar-violet { background: var(--violet-soft); color: var(--violet); }
.section { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 32px; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--violet); }
.section h2, .dark-grid h2 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; text-wrap: balance; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.lede { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-70); text-wrap: pretty; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 12px; }
.case { background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.case-no { font-size: 12px; font-weight: 600; color: var(--ink-50); }
.case-quote { font-size: clamp(22px, 2.4vw, 26px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.case-body { display: flex; flex-direction: column; gap: 6px; }
.case-body b { font-size: 17px; }
.case-body span { font-size: 15px; line-height: 1.65; color: var(--ink-70); text-wrap: pretty; }
.case-fix { display: flex; gap: 12px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); }
.case-fix > b { flex: none; font-size: 13px; color: var(--violet); line-height: 24px; }
.case-fix > span:last-child { font-size: 15px; line-height: 1.6; font-weight: 600; text-wrap: pretty; }
.badge-calendar { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-30); }
.badge-title { background: var(--violet-soft); color: var(--violet); }
.who { background: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.who-head { display: flex; flex-direction: column; gap: 4px; }
.who-role { font-size: 13px; font-weight: 700; color: var(--violet); }
.who-name { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tags span { font-size: 13px; font-weight: 600; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--white); display: flex; align-items: center; }
.titles { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; padding: 20px 24px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--ink-20); }
.titles > b { font-size: 14px; }
.titles > span { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.kind { background: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.kind-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.kind .badge { font-size: 13px; height: 28px; padding: 0 10px; }
.mini { background: var(--bg); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; font-size: 14px; }
.mini > div { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--ink-20); }
.mini > div:last-child { border-bottom: none; padding: 10px 0 2px; }
.mini dt { color: var(--ink-60); }
.mini dd { margin: 0; font-weight: 600; }
.chips { display: flex; gap: 6px; }
.chip { font-size: 12px; font-weight: 700; height: 26px; padding: 0 9px; border-radius: 8px; display: flex; align-items: center; }
.desc { font-size: 15px; line-height: 1.65; color: var(--ink-70); }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 20px; justify-items: center; }
.phone-wrap { display: flex; flex-direction: column; gap: 14px; align-items: center; width: 100%; max-width: 260px; }
.phone { width: 100%; aspect-ratio: 9/18; border-radius: 36px; border: 7px solid var(--ink); background: var(--bg); overflow: hidden; display: flex; flex-direction: column; padding: 28px 12px 12px; gap: 10px; }
.phone-kicker { font-size: 11px; font-weight: 600; color: var(--ink-60); }
.phone-title { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.phone-rows { background: var(--white); border-radius: 16px; padding: 4px 14px; display: flex; flex-direction: column; }
.phone-rows > div { display: flex; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.phone-rows dt { color: var(--ink-60); flex: none; }
.phone-rows dd { margin: 0; font-weight: 600; text-align: right; }
.phone-buttons { margin-top: auto; display: grid; gap: 6px; }
.phone-buttons span { height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.b-violet { background: var(--violet); color: var(--white); }
.b-white { background: var(--white); }
.b-grey { background: var(--ink-20); }
.caption { font-size: 15px; font-weight: 700; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.steps { display: flex; flex-direction: column; font-size: 16px; line-height: 1.6; }
.steps > div { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--ink-20); }
.steps > div:last-child { border-bottom: 1px solid var(--ink-20); }
.steps b { flex: none; width: 44px; font-size: 13px; }
.calendar { background: var(--white); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 10px 30px rgba(26, 28, 32, 0.14); }
.cal-week, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal-week { font-size: 12px; font-weight: 600; color: var(--ink-50); }
.cal-days { row-gap: 4px; }
.cal-day { height: 40px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cal-day > span { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; }
.cal-day.today > span { background: var(--violet); color: var(--white); font-weight: 700; }
.dots { display: flex; gap: 2px; }
.dots i { width: 4px; height: 4px; border-radius: 50%; }
.d-violet { background: var(--violet); } .d-ink { background: var(--ink); } .d-light { background: var(--violet-light); }
.cal-events { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-top: 6px; }
.cal-events > div { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.cal-events .badge { font-size: 11px; height: 22px; padding: 0 7px; border-radius: 7px; }
.cal-events b { flex: 1; font-size: 14px; font-weight: 600; }
.cal-events span:last-child { font-size: 13px; color: var(--ink-60); }
.dark-grid { padding-top: 96px; padding-bottom: 96px; }
.dark-grid .eyebrow { color: var(--violet-light); }
.dark-grid p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-30); max-width: 460px; }
.records { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.record { background: var(--white); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.record .card-head { font-size: 11px; }
.record-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding-top: 10px; border-top: 1px solid var(--line); }
.stamp-sm { transform: rotate(-8deg); border: 2.5px solid var(--stamp-red); border-radius: 5px; padding: 4px 8px; color: var(--stamp-red); font-weight: 800; font-size: 18px; letter-spacing: -0.05em; box-shadow: inset 0 0 0 1.5px var(--white), inset 0 0 0 2.5px var(--stamp-red); }
.rule { background: var(--bg); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rule b { font-size: 19px; }
.faq { max-width: 820px; }
.faq-list { background: var(--white); border-radius: 24px; padding: 8px 28px; }
.faq-list > div { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-list > div:last-child { border-bottom: none; }
.faq-list b { font-size: 17px; line-height: 1.45; }
.faq-list span { font-size: 15px; line-height: 1.7; color: var(--ink-70); }
.cta { background: var(--violet); color: var(--white); border-radius: 32px; padding: clamp(36px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.cta-title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.cta-stamp { width: 132px; height: 132px; border: 4px solid var(--white); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 48px; font-weight: 800; letter-spacing: -0.06em; transform: rotate(-8deg); box-shadow: inset 0 0 0 4px var(--violet), inset 0 0 0 6px var(--white); }
.footer { background: var(--ink); color: var(--ink-20); margin-top: auto; }
.footer-inner { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.footer-notice { background: var(--ink-90); border-radius: 16px; padding: 16px 18px; font-size: 15px; line-height: 1.6; color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
