/* Hallmark · macrostructure: custom (브랜드 스토리 원페이지) · design-system: design.md · genre: playful · pre-emit critique: P4 H4 E4 S4 R3 V4 */
/* 청춘가게 홈페이지 3차 시안 — 사양: docs/homepage-spec-v3.md
   색·글자·간격·움직임 값은 :root 에 모여 있습니다. 새 값이 필요하면 :root 에 이름을 붙여 추가합니다. */

/* fonts:start — tools/subset_fonts.py 가 만든 부분 (직접 고치지 말고 스크립트를 다시 실행) */
/* 제목 글꼴: NAVER 「나눔스퀘어 네오」에서 사이트에 쓰인 글자만 남겨 이름을 바꾼 파일 (SIL OFL 1.1 — assets/fonts/CCGGDisplay-OFL.txt?v=7126e3ec) */
@font-face {
  font-family: 'CCGG Display';
  src: url('../assets/fonts/CCGGDisplay-used.woff2?v=b10fdec5') format('woff2-variations'), url('../assets/fonts/CCGGDisplay-used.woff2?v=b10fdec5') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
/* 본문 글꼴: Pretendard Variable (SIL OFL 1.1 — assets/fonts/Pretendard-OFL.txt?v=6feee3d8)
   ① 자주 쓰는 한글 2,350자 판: 사이트에 없는 글자(문의 칸에 치는 글자 등)가 나올 때만 받음 */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('../assets/fonts/PretendardVariable.subset.woff2?v=c77b82c3') format('woff2-variations'), url('../assets/fonts/PretendardVariable.subset.woff2?v=c77b82c3') format('woff2');
  font-weight: 45 920;
  font-display: swap;
}
/* ② 사이트에 쓰인 글자만: 나중에 적은 규칙이 먼저 쓰이므로 이 글자들은 이 파일로 그림 */
@font-face {
  font-family: 'Pretendard Variable';
  src: url('../assets/fonts/Pretendard-used.woff2?v=2defdd1c') format('woff2-variations'), url('../assets/fonts/Pretendard-used.woff2?v=2defdd1c') format('woff2');
  font-weight: 45 920;
  font-display: swap;
  unicode-range: U+20-7E, U+A9, U+B7, U+D7, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2030, U+203A, U+2190-2193, U+2460-2462, U+25BC, U+300C-300F, U+AC00-AC01, U+AC04, U+AC08, U+AC11-AC12, U+AC15-AC16, U+AC19, U+AC1C, U+AC70, U+AC74, U+AC77-AC78, U+AC80, U+AC83, U+AC8C, U+ACA0, U+ACA8, U+ACAC, U+ACB0, U+ACBD, U+ACC1, U+ACC4, U+ACE0, U+ACE4, U+ACE7-ACE8, U+ACF1, U+ACF3, U+ACF5, U+ACFC, U+AD00, U+AD11, U+AD1C, U+AD50, U+AD6C-AD6D, U+AD74, U+AD81, U+AD8C, U+ADC0, U+ADF8, U+ADFC, U+AE00, U+AE08-AE09, U+AE30, U+AE34, U+AE38, U+AE40-AE41, U+AE4C, U+AE5C, U+AE65, U+AEBC, U+AED8, U+AF2D, U+AF34, U+AF43, U+AFB8, U+AFC8-AFC9, U+B00C, U+B014, U+B01C, U+B044, U+B055, U+B05D, U+B07C, U+B098, U+B09C, U+B0A0, U+B0A8-B0A9, U+B0AC, U+B0AE, U+B0B4, U+B0B8, U+B0BC, U+B0C5, U+B108, U+B110, U+B113, U+B118, U+B123-B124, U+B137, U+B144, U+B192-B193, U+B1CC, U+B204, U+B20C, U+B274, U+B290, U+B294, U+B298, U+B2A5, U+B2C8, U+B2D8-B2D9, U+B2E4-B2E5, U+B2E8, U+B2EB-B2EC, U+B2F4-B2F5, U+B2F9, U+B300, U+B354, U+B358, U+B370, U+B378, U+B3C4, U+B3CC, U+B3D5, U+B3D9, U+B418, U+B41C, U+B429, U+B450, U+B458, U+B460-B461, U+B4A4, U+B4DC-B4DD, U+B4E0, U+B4E3-B4E4, U+B4F1, U+B514, U+B529, U+B530, U+B54C, U+B5A4, U+B5BB, U+B610, U+B72C, U+B760, U+B77C-B77D, U+B78C, U+B791, U+B798, U+B79C, U+B7A8, U+B7B5, U+B7EC, U+B7F0, U+B7FC, U+B808, U+B824, U+B839, U+B840, U+B85C-B85D, U+B864, U+B86C, U+B8CC, U+B8E8, U+B8F9, U+B958, U+B974, U+B978, U+B97C, U+B984-B985, U+B9AC, U+B9B0, U+B9B4, U+B9BC-B9BD, U+B9C1, U+B9C8-B9C9, U+B9CC, U+B9CE, U+B9D0, U+B9DD-B9DE, U+B9E1, U+B9E4, U+B9E8, U+B9F9, U+BA38, U+BA3C, U+BA40, U+BA48, U+BA54, U+BA70, U+BA74, U+BA85, U+BAA8-BAA9, U+BAB0, U+BABB, U+BB34, U+BB38, U+BB3B-BB3C, U+BBC0, U+BBF8, U+BBFC, U+BBFF, U+BC09, U+BC0F, U+BC14, U+BC16, U+BC18, U+BC1B-BC1D, U+BC29, U+BC30, U+BC84, U+BC88, U+BC8C, U+BC94-BC95, U+BC9A, U+BCA4, U+BCBD, U+BCC0, U+BCC4, U+BCD1, U+BCF4-BCF5, U+BCF8, U+BCFC, U+BD04-BD05, U+BD09, U+BD80-BD81, U+BD84, U+BD88, U+BD99, U+BE0C, U+BE14, U+BE44, U+BE4C, U+BE60-BE61, U+BE68, U+C0AC, U+C0B0, U+C0B4, U+C0C1, U+C0C8, U+C0DD, U+C11C-C11D, U+C120, U+C124, U+C12F, U+C131, U+C138, U+C13C, U+C140, U+C154, U+C168, U+C18C-C18D, U+C190, U+C1A1, U+C1C4, U+C218, U+C21C, U+C228, U+C22B, U+C26C, U+C2A4, U+C2B5, U+C2DC-C2DD, U+C2E0, U+C2E4, U+C2EC, U+C2F1, U+C2F6, U+C313, U+C37C, U+C4F0, U+C500-C501, U+C544-C545, U+C548, U+C54A, U+C54C, U+C554, U+C558, U+C55E, U+C560-C561, U+C571, U+C57C-C57D, U+C591, U+C5B4, U+C5B8, U+C5BB-C5BC, U+C5C5-C5C6, U+C5C8, U+C5D0, U+C5E3, U+C5EC-C5ED, U+C5F0, U+C5F4, U+C5F6, U+C5FD, U+C601, U+C606, U+C608, U+C624, U+C628, U+C62C, U+C62E, U+C634, U+C640, U+C644, U+C65C, U+C678, U+C67C, U+C694, U+C6A9, U+C6B0, U+C6B4, U+C6B8, U+C6C0-C6C1, U+C6C3, U+C6CC, U+C6D0, U+C6D4, U+C6F9, U+C704, U+C720-C721, U+C728, U+C73C, U+C740, U+C744, U+C74C, U+C751, U+C758, U+C774-C775, U+C778, U+C77C-C77D, U+C784-C785, U+C788, U+C790-C791, U+C794, U+C7A0-C7A1, U+C7A5, U+C7AC, U+C800-C801, U+C804, U+C808, U+C810-C811, U+C815, U+C81C, U+C838, U+C870, U+C881, U+C885, U+C8FC, U+C900, U+C904, U+C911, U+C918, U+C988, U+C990, U+C99D, U+C9C0-C9C1, U+C9C4, U+C9C8, U+C9D1, U+C9DA, U+C9DC, U+C9E7, U+C9F1, U+C9F8, U+CABD, U+CB64, U+CC28-CC29, U+CC2E, U+CC3D-CC3E, U+CC44-CC45, U+CC98-CC99, U+CCA0, U+CCAB, U+CCAD, U+CCB4, U+CD08, U+CD5C, U+CD94, U+CD98, U+CD9C, U+CDA4, U+CDA9, U+CDB0, U+CE21, U+CE35, U+CE58, U+CE5C, U+CE68, U+CE74, U+CE78, U+CEE4, U+CEEC, U+CFE0, U+D018, U+D06C, U+D070, U+D07C, U+D0A4, U+D0C0, U+D0DC-D0DD, U+D0ED, U+D130, U+D14C, U+D1A0-D1A1, U+D1B5, U+D1F4, U+D22C, U+D2B8, U+D2BC, U+D2C0, U+D2F0-D2F1, U+D305, U+D30C, U+D310, U+D314, U+D321, U+D329, U+D338, U+D398, U+D3B4, U+D3B8, U+D3C9, U+D3EC-D3ED, U+D3F0, U+D45C, U+D488, U+D48D, U+D504, U+D508, U+D53C-D53D, U+D540, U+D544, U+D54D, U+D558, U+D55C, U+D560, U+D568-D569, U+D56D, U+D574, U+D588-D589, U+D5C8, U+D5D8, U+D604, U+D611, U+D615, U+D638, U+D648, U+D64D, U+D654-D655, U+D658, U+D65C, U+D669, U+D68C, U+D6A8, U+D6C4, U+D734, U+D754, U+D76C, U+D770, U+D788, U+D799;
}
/* fonts:end */

:root {
  /* 바탕·면 */
  --bg: #FFFDF8;
  --surface: #FFFFFF;
  --mint: #D6EEDF;
  --apricot: #FFE1C4;
  --butter: #FFF0C9;
  --sky: #DDEBF3;
  --forest: #0F3A2B;
  --forest-2: #164A37;
  /* 글자 */
  --ink: #15342A;
  --ink-2: #4A5B53;
  --brand: #0B6B47;
  --brand-press: #08573A;
  --orange-text: #A84F0C;      /* 밝은 바탕에서만 */
  --on-forest: #FFFDF8;
  --on-forest-2: #B9D3C4;
  /* 포인트: 선·도형·짙은 바탕 위 글자 */
  --orange: #F28A1F;
  --orange-soft: #FFC48A;
  --leaf: #5BAE45;
  --mint-deep: #9FD6B4;
  /* 카카오톡 채널 버튼 (카카오 디자인 가이드 색) */
  --kakao: #FEE500;
  --kakao-press: #F2D900;
  --kakao-ink: rgba(0, 0, 0, .85);
  /* 선·그림자 */
  --line: rgba(21, 52, 42, .12);
  --line-strong: rgba(21, 52, 42, .24);
  --line-forest: rgba(255, 253, 248, .16);
  --shadow: rgba(21, 52, 42, .16);
  --glass: rgba(255, 253, 248, .82);
  --scrim: rgba(15, 58, 43, .72);
  --dim-word: rgba(21, 52, 42, .22);
  /* 상태 */
  --live: #2FA36B;
  --live-halo: rgba(47, 163, 107, .22);
  --ok: #2F8A5B;
  --ok-line: #7DB496;
  --danger: #B42318;
  --danger-bg: #FDECEA;
  --danger-line: #F4B8B0;

  --f-display: 'CCGG Display', 'Pretendard Variable', Pretendard, sans-serif;
  --f-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

  --fs-body: 1.0625rem;                                   /* 17px */
  --fs-small: .9375rem;                                   /* 15px */
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.25rem);     /* 17 → 20px */
  --fs-h1: clamp(3rem, min(1.2rem + 5.6vw, 11.5vh), 6.5rem); /* 48 → 104px, 세로가 짧으면 작게 */
  --fs-h2: clamp(2.25rem, 1.45rem + 3.4vw, 4.5rem);       /* 36 → 72px */
  --fs-h3: clamp(1.375rem, 1.2rem + .7vw, 1.875rem);      /* 22 → 30px */
  --fs-statement: clamp(1.625rem, 1.1rem + 1.9vw, 2.75rem); /* 26 → 44px */

  /* 간격: 4px 단위 */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px;
  --s-10: 40px; --s-12: 48px; --s-14: 56px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

  --gutter: var(--s-5);
  --maxw: 1240px;
  --sec: var(--s-24);
  --inset: var(--s-2);          /* 색 상자와 화면 가장자리 사이 */
  --r-panel: 32px;
  --r-card: 24px;
  --r-control: 14px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --dur-press: 150ms;
  --dur-ui: 250ms;
  --dur-scene: 600ms;

  --focus: var(--brand);
  --placeholder: #66706A;
  --head-h: 64px;
}
@media (min-width: 720px) { :root { --gutter: var(--s-10); --sec: 120px; --inset: var(--s-3); --r-panel: 40px; } }
@media (min-width: 1100px) { :root { --gutter: var(--s-16); --sec: 160px; --inset: var(--s-4); --head-h: 72px; } }

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--fs-body); line-height: 1.65; letter-spacing: -.01em; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
h1, h2, h3 { text-wrap: balance; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
a, button, label, summary { touch-action: manipulation; }
button, input, textarea, select { font: inherit; letter-spacing: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.tone-forest, .footer, .store-body { --focus: var(--orange-soft); }
.tone-forest .plan-figure, .tone-forest .plan-info { --focus: var(--brand); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-3); top: -80px; z-index: 100; padding: var(--s-3) var(--s-5); border-radius: var(--s-2); background: var(--ink); color: var(--bg); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s-3); }
.sprite { display: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec); }
.section.flush-top { padding-top: 0; }
#partner, #process { padding-bottom: clamp(var(--s-16), 7vw, var(--s-24)); }
/* 화면 가장자리에서 띄운 큰 색 상자 */
.panel { margin-inline: var(--inset); border-radius: var(--r-panel); }
.tone-mint { background: var(--mint); }
.tone-apricot { background: var(--apricot); }
.tone-butter { background: var(--butter); }
.tone-forest { background: var(--forest); color: var(--on-forest); }

.nw { white-space: nowrap; }
p, li, dd { text-wrap: pretty; }
.tap { display: inline-flex; align-items: center; min-height: 44px; }
.todo { padding: 0 var(--s-2); border-radius: var(--s-1); background: var(--butter); color: var(--orange-text); border-bottom: 2px dotted var(--orange-text); font-weight: 600; font-size: .9em; }
.tone-forest .todo { background: var(--forest-2); color: var(--orange-soft); border-color: var(--orange-soft); }

/* ---------- 글자 ---------- */
.display { font-family: var(--f-display); font-weight: 900; letter-spacing: -.032em; word-spacing: .04em; line-height: 1.1; }
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-family: var(--f-display); font-weight: 800; line-height: 1.3; letter-spacing: -.025em; word-spacing: .03em; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-2); max-width: 36rem; }
.tone-forest .lead { color: var(--on-forest-2); }
.head { display: grid; gap: var(--s-5); max-width: 52rem; }
.head + * { margin-top: var(--s-12); }
@media (min-width: 1100px) { .head + * { margin-top: var(--s-16); } }

/* ---------- 버튼 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; padding: 0 var(--s-6); border: 1.5px solid transparent; border-radius: var(--r-pill); font-size: 1.0625rem; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-press) var(--ease-out), color var(--dur-press) var(--ease-out), border-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--bg); }
.btn-primary:hover { background: var(--brand-press); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--bg); color: var(--forest); }
.btn-light:hover { background: var(--mint); }
.btn-block { width: 100%; }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-kakao:hover { background: var(--kakao-press); }

/* ---------- 사진 ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--mint); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo picture { display: contents; }
.photo-note { position: absolute; right: var(--s-3); bottom: var(--s-3); padding: 0 var(--s-3); border-radius: var(--r-pill); background: var(--scrim); color: var(--bg); font-size: .75rem; font-weight: 600; line-height: 1.9; letter-spacing: 0; }

/* ---------- 머리글: 떠 있는 알약, 내리면 숨고 올리면 돌아옴 ---------- */
/* Lucian UX/UI Prompt #212 의 동작을 옮겨 씀 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#212 */
.header { --pill-pad: var(--s-3); position: fixed; z-index: 50; top: calc(env(safe-area-inset-top, 0px) + var(--s-3)); left: max(var(--s-2), calc(var(--gutter) - var(--pill-pad))); right: max(var(--s-2), calc(var(--gutter) - var(--pill-pad))); transition: transform var(--dur-ui) var(--ease-out); }
@media (min-width: 720px) { .header { --pill-pad: var(--s-5); } }
.header.is-hidden { transform: translateY(calc(-100% - 24px)); }
.header-in { display: flex; align-items: center; gap: var(--s-3); max-width: calc(var(--maxw) + var(--pill-pad) * 2); min-height: var(--head-h); margin-inline: auto; padding: 0 var(--pill-pad); border-radius: var(--r-pill); background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 0 0 1px var(--line), 0 12px 32px -20px var(--shadow); }
.brand { display: inline-flex; flex: none; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.nav ul { display: flex; gap: var(--s-1); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-pill); font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: var(--ink-2); transition: color var(--dur-press) var(--ease-out), background-color var(--dur-press) var(--ease-out); }
.nav a:hover { color: var(--ink); background: var(--mint); }
.head-actions { display: flex; align-items: center; gap: var(--s-2); }
.mall { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0 var(--s-3); border-radius: var(--r-pill); font-size: .9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--ink); transition: background-color var(--dur-press) var(--ease-out); }
.mall:hover { background: var(--butter); }
.mall .icon { width: 1em; height: 1em; }
.head-cta { min-height: 48px; padding: 0 var(--s-5); font-size: .9375rem; }

/* 모바일 메뉴 — Lucian UX/UI Prompt #286 의 햄버거→X·펼침 동작을 옮겨 씀 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#286 */
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--mint); place-items: center; cursor: pointer; transition: transform var(--dur-press) var(--ease-out); }
.menu-btn:active { transform: scale(.95); }
.menu-btn span { position: relative; width: 18px; height: 12px; }
.menu-btn i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--dur-ui) var(--ease-out), opacity var(--dur-ui) var(--ease-out), top var(--dur-ui) var(--ease-out); }
.menu-btn i:nth-child(1) { top: 0; } .menu-btn i:nth-child(2) { top: 5px; } .menu-btn i:nth-child(3) { top: 10px; }
.header.is-open .menu-btn i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.header.is-open .menu-btn i:nth-child(2) { opacity: 0; }
.header.is-open .menu-btn i:nth-child(3) { top: 5px; transform: rotate(-45deg); }
@media (max-width: 1099px) {
  .menu-btn { display: grid; }
  .head-actions .mall { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: calc(100% + var(--s-2)); padding: var(--s-3); border-radius: var(--r-card); background: var(--bg); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px var(--shadow);
    opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right; visibility: hidden; transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui); }
  .header.is-open .nav { opacity: 1; transform: none; visibility: visible; transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
  .nav ul { flex-direction: column; }
  .nav a { width: 100%; min-height: 52px; padding: 0 var(--s-4); font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); border-radius: var(--r-control); }
  .nav .mall { display: flex; width: 100%; min-height: 52px; margin-top: var(--s-2); padding: 0 var(--s-4); border-radius: var(--r-control); background: var(--butter); font-size: 1.0625rem; }
}
@media (max-width: 380px) { .head-cta { display: none; } }
@media (min-width: 1100px) { .nav .mall { display: none; } .nav { margin-right: var(--s-2); } }

/* ---------- 1. 첫 화면 ---------- */
.hero { padding-top: calc(var(--head-h) + clamp(var(--s-8), 7vh, var(--s-16))); padding-bottom: var(--s-16); }
.hero-grid { display: grid; gap: var(--s-8); align-items: center; }
.hero-visual { margin-top: var(--s-4); }
.status { display: inline-flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-4) var(--s-2) var(--s-3); border-radius: var(--r-pill); background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: var(--fs-small); font-weight: 700; color: var(--brand); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-halo); }
.hero-title { position: relative; margin-top: clamp(var(--s-4), 3vh, var(--s-6)); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .ln > span { display: inline-block; position: relative; }
.hero-title .ln-smile { padding-bottom: .36em; margin-bottom: -.36em; }
.hero-title .accent { color: var(--brand); }
/* 로고의 주황 미소 곡선 */
.smile { position: absolute; left: -1%; bottom: -.3em; width: 102%; height: auto; overflow: visible; }
.smile path { fill: none; stroke: var(--orange); stroke-width: 8; stroke-linecap: round; }
.hero-copy .lead { color: var(--ink); }
.hero-copy { padding-top: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.hero-visual { position: relative; padding: var(--s-6) var(--s-2) var(--s-10); }
.hero-visual::before { content: ""; position: absolute; inset: 0 6% 12% 6%; border-radius: 50% 50% var(--r-panel) var(--r-panel); background: var(--mint); }
.hero-photo { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-panel); box-shadow: 0 32px 64px -40px var(--shadow); }
.hero-photo img { object-position: 42% 50%; }
/* 첫 화면 반복 영상: 사진 위에 겹쳐 두고 재생이 시작되면 나타남 (움직임 줄이기·데이터 절약이면 사진만) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-scene) var(--ease-out); }
.hero-video.is-playing { opacity: 1; }
.photo .photo-note { z-index: 1; }
.video-toggle { position: absolute; z-index: 2; right: var(--s-3); top: var(--s-3); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--scrim); color: var(--bg); cursor: pointer; display: grid; place-items: center; transition: transform var(--dur-press) var(--ease-out); }
.video-toggle:active { transform: scale(.94); }
.video-toggle::before, .video-toggle::after { content: ""; width: 4px; height: 14px; border-radius: 2px; background: currentColor; grid-area: 1 / 1; }
.video-toggle::before { transform: translateX(-4px); } .video-toggle::after { transform: translateX(4px); }
.video-toggle.is-paused::before { width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent currentColor; transform: translateX(2px); }
.video-toggle.is-paused::after { display: none; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-4) var(--s-3) var(--s-3); border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px var(--shadow); font-size: var(--fs-small); font-weight: 700; line-height: 1.35; white-space: nowrap; }
.chip .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.chip .ic .icon { width: 20px; height: 20px; }
.chip small { display: block; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.chip-1 { left: -2%; top: 14%; } .chip-1 .ic { background: var(--apricot); color: var(--orange-text); }
.chip-2 { right: -3%; top: 46%; } .chip-2 .ic { background: var(--mint); color: var(--brand); }
.chip-3 { left: 8%; bottom: 0; } .chip-3 .ic { background: var(--butter); color: var(--orange-text); }
@media (max-width: 719px) {
  .chip { font-size: .8125rem; padding: var(--s-2) var(--s-3) var(--s-2) var(--s-2); }
  .chip .ic { width: 30px; height: 30px; }
  .chip small { display: none; }
  .chip-1 { left: 0; top: 4%; } .chip-2 { right: 0; top: 50%; } .chip-3 { left: 4%; bottom: var(--s-2); }
}
@media (max-width: 719px) and (max-height: 700px) { .hero { padding-top: calc(var(--head-h) + var(--s-10)); } }
@media (min-width: 1100px) {
  .hero { padding-top: calc(var(--head-h) + clamp(var(--s-6), 6vh, var(--s-16))); padding-bottom: var(--s-20); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) clamp(340px, 32vw, 460px); grid-template-areas: "head visual" "copy visual"; column-gap: var(--s-16); row-gap: clamp(var(--s-4), 3.5vh, var(--s-8)); align-items: start; }
  .hero-head { grid-area: head; }
  .hero-copy { grid-area: copy; padding-top: var(--s-4); }
  .hero-visual { grid-area: visual; margin-top: 0; padding-inline: 0; }
  .hero-photo { aspect-ratio: auto; height: min(36rem, calc(100vh - var(--head-h) - 140px)); min-height: 400px; }
  .hero-photo img { object-position: 50% 50%; }
  .chip-1 { left: -14%; top: 12%; } .chip-2 { right: -8%; top: 52%; } .chip-3 { left: -10%; bottom: 2%; }
}

/* ---------- 3. 왜 지금 ---------- */
/* Lucian UX/UI Prompt #260 의 동작을 옮겨 씀(스크롤만큼 단어가 채워짐) · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#260 */
.why-run { position: relative; }
.why-stick { position: sticky; top: 18vh; }
.statement { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-statement); line-height: 1.55; letter-spacing: -.02em; word-spacing: .06em; max-width: 25em; }
.js .statement .w { color: var(--dim-word); transition: color 200ms var(--ease-out); }
.js .statement .w.on { color: var(--ink); }
.js .statement .w.hl.on { color: var(--brand); }
.stats { display: grid; gap: var(--s-3); margin-top: var(--s-16); }
.stat { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.stat b { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.5rem, 1.9rem + 2.2vw, 3.75rem); letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .45em; letter-spacing: -.02em; margin-left: 2px; }
.stat span { color: var(--ink-2); font-size: var(--fs-small); }
.stat:nth-child(1) { background: var(--mint); box-shadow: none; }
.source { margin-top: var(--s-4); color: var(--ink-2); font-size: .8125rem; }
/* 동네 사진 띠: 스크롤한 만큼만 옆으로 움직임 (저절로 흐르지 않음). 움직임 줄이기면 손으로 옆으로 넘김 */
.ribbon { position: relative; margin-top: var(--s-16); overflow: hidden; }
.ribbon-track { display: flex; align-items: flex-start; gap: var(--s-3); width: max-content; padding-inline: var(--gutter); will-change: transform; }
.ribbon .photo { flex: none; width: clamp(180px, 21vw, 300px); aspect-ratio: 4 / 5; }
.ribbon .photo:nth-child(even) { margin-top: var(--s-12); }
.ribbon-note { position: absolute; right: var(--gutter); bottom: 0; }
@media (min-width: 720px) { .ribbon-track { gap: var(--s-4); } }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- 4. 청춘가게의 하루 ---------- */
/* Lucian UX/UI Prompt #377(붙어 있는 화면이 글을 따라 바뀜), #329(섹션마다 물드는 배경색)를 옮겨 씀 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#377 */
.day { --day-bg: var(--apricot); background: var(--day-bg); transition: background-color var(--dur-scene) var(--ease-out); }
.day[data-scene="1"] { --day-bg: var(--apricot); }
.day[data-scene="2"] { --day-bg: var(--sky); }
.day[data-scene="3"] { --day-bg: var(--mint); }
.day[data-scene="4"] { --day-bg: var(--butter); }
.day-grid { display: grid; gap: var(--s-10); }
.day-stage { display: none; }
.scene { display: grid; gap: var(--s-5); }
.scene + .scene { margin-top: var(--s-16); }
.scene .photo { aspect-ratio: 4 / 3; }
.when { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: var(--surface); font-size: var(--fs-small); font-weight: 800; color: var(--brand); }
.when .icon { width: 18px; height: 18px; }
.scene h3 { font-size: clamp(1.75rem, 1.3rem + 2vw, 3rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.15; }
.scene p { color: var(--ink-2); max-width: 30rem; }
@media (min-width: 1100px) {
  .day-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--s-20); align-items: start; }
  .day-stage { display: block; position: sticky; top: calc(50vh - 33vh); height: 66vh; min-height: 460px; }
  .day-stage .photo { position: absolute; inset: 0; border-radius: var(--r-panel); opacity: 0; transform: scale(1.04); transition: opacity var(--dur-scene) var(--ease-out), transform 900ms var(--ease-out); }
  .day-stage .photo.is-on { opacity: 1; transform: none; }
  .scene { min-height: 66vh; align-content: center; }
  .scene + .scene { margin-top: 0; }
  .scene .photo { display: none; }
  .js .scene { opacity: .7; transition: opacity var(--dur-ui) var(--ease-out); }
  .js .scene.is-on { opacity: 1; }
}

/* ---------- 4-2. 작은 가게, 큰 살림 ---------- */
/* 사진 카드 위에 진열대 가격표 모양 라벨로 상품 수. 휴대폰은 가로형(사진 왼쪽) 카드 */
.stock { display: grid; gap: var(--s-3); }
.sc { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: var(--s-2) var(--s-4); align-items: start; align-content: start; padding: var(--s-3); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sc .photo { grid-row: 1 / span 3; aspect-ratio: 1; border-radius: 16px; }
.sc .photo-note { right: 6px; bottom: 6px; padding: 0 6px; font-size: .625rem; }
.tag { position: relative; display: inline-flex; align-items: baseline; gap: 2px; justify-self: start; padding: var(--s-1) var(--s-4) var(--s-1) var(--s-6); border-radius: 10px var(--r-pill) var(--r-pill) 10px; background: var(--butter); box-shadow: inset 0 0 0 1.5px rgba(168, 79, 12, .18); }
.tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px rgba(168, 79, 12, .3); }
.tag b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 3rem); letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.tag span { font-family: var(--f-display); font-weight: 800; font-size: 1rem; }
.sc-big .tag { background: var(--orange-soft); }
.sc h3 { font-family: var(--f-body); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
.sc p:not(.tag) { color: var(--ink-2); font-size: var(--fs-small); }
.flow { display: grid; gap: var(--s-2); margin-top: var(--s-8); counter-reset: flow; }
.flow li { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2); border-radius: var(--r-pill); background: var(--mint); font-weight: 700; font-size: var(--fs-small); counter-increment: flow; }
.flow li::before { content: counter(flow); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--bg); font-size: .75rem; font-weight: 800; }
@media (min-width: 900px) {
  .stock { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: var(--s-5); align-items: end; }
  .sc { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding: 0 0 var(--s-6); overflow: hidden; }
  .sc .photo { grid-row: auto; aspect-ratio: 4 / 3; border-radius: var(--r-card) var(--r-card) 0 0; }
  .sc .photo-note { top: var(--s-3); right: var(--s-3); bottom: auto; padding: 0 var(--s-3); font-size: .75rem; }
  .sc-big .photo { aspect-ratio: 5 / 4; }
  .sc > :not(.photo) { margin-inline: var(--s-6); }
  .sc .tag { position: relative; z-index: 1; margin-top: calc(-1 * var(--s-10)); box-shadow: inset 0 0 0 1.5px rgba(168, 79, 12, .18), 0 10px 20px -12px var(--shadow); }
  /* 주문 흐름: 한 줄, 사이에 화살표 */
  .flow { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-8); }
  .flow li { position: relative; }
  .flow li + li::after { content: ""; position: absolute; left: calc(-1 * var(--s-6)); top: 50%; width: 10px; height: 10px; margin-top: -5px; border: solid var(--ink-2); border-width: 2px 2px 0 0; transform: rotate(45deg); }
}

/* ---------- 4-3. 청춘 든든 서비스 ---------- */
#care { margin-top: var(--s-4); }
#care + .panel { margin-top: var(--s-4); }
.care-top { display: grid; gap: var(--s-8); }
.care-name { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--surface); color: var(--brand); font-family: var(--f-display); font-weight: 900; font-size: 1.125rem; letter-spacing: -.02em; }
.care-name .icon { width: 22px; height: 22px; }
.care-steps { display: grid; gap: var(--s-2); align-content: start; counter-reset: care; }
.care-steps li { position: relative; display: grid; gap: 2px; padding: var(--s-3) var(--s-4) var(--s-3) calc(var(--s-4) + 44px); border-radius: 18px; background: var(--surface); counter-increment: care; }
.care-steps li::before { content: counter(care); position: absolute; left: var(--s-4); top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--forest); color: var(--bg); font-family: var(--f-display); font-weight: 900; }
.care-steps b { font-weight: 800; }
.care-steps span { color: var(--ink-2); font-size: var(--fs-small); }
/* 휴대폰: 옆으로 넘기는 카드 (다음 카드가 살짝 보임) */
.care-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--s-3); margin: var(--s-10) calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) var(--s-2); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.cc { scroll-snap-align: start; display: grid; align-content: start; gap: var(--s-2); padding-bottom: var(--s-5); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.cc .photo { aspect-ratio: 4 / 3; margin-bottom: var(--s-2); border-radius: 0; }
.cc .photo-note { top: var(--s-3); bottom: auto; }
.cc > :not(.photo) { margin-inline: var(--s-5); }
.cc h3 { font-size: 1.5rem; font-weight: 900; }
.cc p { color: var(--ink-2); font-size: var(--fs-small); }
.care-note { margin-top: var(--s-6); }
.care-partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--forest); color: var(--on-forest); --focus: var(--orange-soft); }
.care-partner b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.care-partner p { color: var(--on-forest-2); font-size: var(--fs-small); }
@media (min-width: 900px) {
  .care-top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-16); align-items: end; }
  .care-cards { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: 0; padding: 0; overflow: visible; }
}
/* 맺음: 청년 · 어르신 두 칸 (든든 서비스 패널 끝 흰 카드) */
.pledge { display: grid; gap: var(--s-6); margin-top: var(--s-12); padding: var(--s-8) var(--s-6); border-radius: var(--r-panel); background: var(--surface); }
.pledge p { display: grid; gap: var(--s-1); }
.pledge span { font-weight: 800; color: var(--brand); }
.pledge b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.875rem, 1.2rem + 2.6vw, 3.5rem); letter-spacing: -.045em; line-height: 1.12; }
.pledge-go { display: inline-flex; align-items: center; gap: var(--s-2); justify-self: start; min-height: 44px; font-weight: 800; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.pledge-go .icon { width: 18px; height: 18px; transition: transform var(--dur-press) var(--ease-out); }
.pledge-go:hover .icon { transform: translateX(3px); }
@media (min-width: 900px) {
  .pledge { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-12); padding: var(--s-14) var(--s-12); }
  .pledge p + p { padding-left: var(--s-12); border-left: 1px solid var(--line-strong); }
  .pledge-go { grid-column: 1 / -1; justify-self: end; }
}

/* ---------- 5. 매장 모델 ---------- */
.model-grid { display: grid; gap: var(--s-12); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); margin-top: var(--s-10); }
.fact { display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); border-radius: var(--r-card); background: var(--forest-2); }
.fact b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem); letter-spacing: -.045em; line-height: 1.05; color: var(--mint-deep); }
.fact:nth-child(2) b { color: var(--orange-soft); }
.fact span { color: var(--on-forest-2); font-size: var(--fs-small); }
/* 매장 구성도 주석 핀 — Lucian UX/UI Prompt #203 의 동작을 옮겨 씀(점을 누르면 설명이 이어져 뜸) · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#203 */
.plan { display: grid; gap: var(--s-4); }
.plan-figure { position: relative; margin: 0; padding: var(--s-4); border-radius: var(--r-card); background: var(--bg); }
.plan-img { position: relative; }
.plan-figure img { border-radius: var(--s-3); }
.plan-figure .photo-note { right: var(--s-6); bottom: var(--s-6); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; display: grid; place-items: center; }
.pin::before { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); opacity: .35; animation: pulse 2.4s var(--ease-out) 3; }
.pin::after { content: ""; position: relative; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 5px var(--orange), 0 4px 10px -2px var(--shadow); transition: transform var(--dur-press) var(--ease-out), box-shadow var(--dur-press) var(--ease-out); }
.pin:hover::after { transform: scale(1.15); }
.pin[aria-pressed="true"]::after { box-shadow: inset 0 0 0 5px var(--brand), 0 4px 10px -2px var(--shadow); transform: scale(1.2); }
.pin[aria-pressed="true"]::before { background: var(--brand); }
@keyframes pulse { 0% { transform: scale(.6); opacity: .45; } 100% { transform: scale(1.6); opacity: 0; } }
.plan-info { scroll-margin: 96px 0 104px; display: grid; gap: var(--s-2); min-height: 132px; padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--bg); color: var(--ink); }
.plan-info b { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.035em; }
.plan-info p { color: var(--ink-2); }
.plan-info .count { color: var(--ink-2); font-size: .8125rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-shot { aspect-ratio: 4 / 3; margin-bottom: var(--s-2); border-radius: var(--s-4); }
@media (min-width: 1100px) { .plan-shot { aspect-ratio: 4 / 5; } }
.plan-info > * { transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
.plan-info.is-swap > * { opacity: 0; transform: translateY(4px); }
@media (min-width: 1100px) {
  .model-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-20); align-items: center; }
  .plan { grid-template-columns: minmax(0, 1fr) minmax(0, 15rem); align-items: end; }
}

/* ---------- 6. 1호점 ---------- */
.store { position: relative; overflow: hidden; border-radius: var(--r-panel); }
.store-photo { position: relative; aspect-ratio: 4 / 3; }
.store-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.store-photo .store-inset { object-position: 50% 80%; position: absolute; left: var(--s-4); bottom: var(--s-4); width: 30%; height: auto; aspect-ratio: 4 / 5; border-radius: var(--s-4); box-shadow: 0 0 0 4px var(--bg), 0 18px 40px -18px var(--shadow); }
.store-body { display: grid; gap: var(--s-6); padding: var(--s-8) var(--s-6); background: var(--forest); color: var(--on-forest); }
.dday { display: flex; align-items: baseline; gap: var(--s-3); }
.dday b { font-family: var(--f-display); font-weight: 900; font-size: clamp(3.5rem, 2.4rem + 4.5vw, 7rem); line-height: .9; letter-spacing: -.05em; color: var(--orange-soft); font-variant-numeric: tabular-nums; }
.dday span { color: var(--on-forest-2); font-weight: 700; }
.store-body h2 { color: var(--on-forest); font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.store-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.store-info { display: grid; gap: var(--s-2); }
.store-info div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: var(--s-3); padding-top: var(--s-2); border-top: 1px solid var(--line-forest); }
.store-info dt { color: var(--on-forest-2); }
.store-info dd { font-weight: 600; }
.store-info a { color: var(--on-forest); text-underline-offset: 3px; }
.store-body .lead { color: var(--on-forest-2); }
@media (min-width: 900px) {
  .store { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--forest); }
  .store-photo { aspect-ratio: auto; height: 100%; min-height: 520px; }
  .store-photo img { object-position: 46% 50%; }
  .store-photo .store-inset { left: var(--s-6); bottom: var(--s-6); width: 26%; }
  .store-body { align-content: center; padding: var(--s-12) var(--s-10); }
}
@media (min-width: 1100px) { .store-body { padding: var(--s-14) var(--s-12); } }

/* ---------- 7. 가맹 안내 ---------- */
.types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.type { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-3); min-height: 184px; padding: var(--s-5); border: 0; border-radius: var(--r-card); text-align: left; cursor: pointer;
  transition: transform var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.type:hover { transform: translateY(-4px); box-shadow: 0 20px 36px -24px var(--shadow); }
.type:active { transform: scale(.98); }
.type:nth-child(1) { background: var(--apricot); } .type:nth-child(2) { background: var(--mint); } .type:nth-child(3) { background: var(--butter); } .type:nth-child(4) { background: var(--sky); }
.type b { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); letter-spacing: -.04em; line-height: 1.15; }
.type span { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.type .go { margin-top: auto; display: inline-flex; align-items: center; gap: var(--s-1); color: var(--ink); font-weight: 700; font-size: .875rem; }
.type .go .icon { width: 16px; height: 16px; }
.type .type-img { position: relative; display: block; align-self: stretch; aspect-ratio: 4 / 3; margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-1); overflow: hidden; border-radius: var(--r-card) var(--r-card) 0 0; background: rgba(255, 255, 255, .4); }
.type .type-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-scene) var(--ease-out); }
.type:hover .type-img img { transform: scale(1.04); }
.type .photo-note { color: var(--bg); font-size: .75rem; }
.types-note { margin-top: var(--s-5); color: var(--ink-2); }
.types-note b { color: var(--ink); }
.support { margin-top: var(--s-12); padding: var(--s-6) var(--s-5); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.support h3 { font-size: 1.25rem; }
.support dl { display: grid; margin-top: var(--s-3); }
.support dl > div { display: grid; gap: var(--s-1); padding-block: var(--s-4); border-top: 1px solid var(--line); }
.support dl > div:first-child { border-top: 0; }
.support dt { font-weight: 800; }
.support dd { color: var(--ink-2); }
@media (min-width: 900px) { .types { grid-template-columns: repeat(4, minmax(0, 1fr)); } .type { min-height: 240px; padding: var(--s-6); } .type .type-img { margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-1); } .support { padding: var(--s-8) var(--s-10); } .support dl > div { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s-6); } }

/* 개설 절차 — Lucian UX/UI Prompt #370 의 동작을 옮겨 씀(스크롤만큼 세로선이 차오름, 끝에 새싹) · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#370 */
.steps-grid { display: grid; gap: var(--s-10); }
.steps { --p: 0; position: relative; padding-left: var(--s-14); }
.steps ol { display: grid; gap: var(--s-2); }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: var(--y0, 22px); bottom: var(--yb, 22px); width: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--brand); transform-origin: top; transform: scaleY(var(--p)); }
.sprout-tip { position: absolute; left: 6px; top: 0; transform: translateY(calc(var(--y0, 22px) + (var(--y1, 22px) - var(--y0, 22px)) * var(--p))); z-index: 1; pointer-events: none; width: 32px; height: 32px; margin-top: -16px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px var(--brand); }
.sprout-tip svg { width: 20px; height: 20px; }
.steps li { position: relative; display: grid; gap: var(--s-1); padding: var(--s-4) var(--s-5); border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: background-color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.steps li::before { content: attr(data-n); position: absolute; z-index: 2; left: calc(-1 * var(--s-14)); top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--line-strong); font-family: var(--f-display); font-weight: 900; color: var(--ink-2); transition: background-color var(--dur-ui) var(--ease-out), color var(--dur-ui) var(--ease-out), box-shadow var(--dur-ui) var(--ease-out); }
.steps li.is-past::before { background: var(--brand); color: var(--bg); box-shadow: none; }
.steps li.is-past { background: var(--mint); box-shadow: none; }
.steps b { font-weight: 800; font-size: 1.125rem; }
.steps span { color: var(--ink-2); font-size: var(--fs-small); }
.steps-note { display: grid; gap: var(--s-1); margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border-radius: var(--r-card); background: var(--butter); }
.steps-note b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.steps-note span { color: var(--ink-2); }
@media (min-width: 1100px) { .steps-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s-20); align-items: start; } .steps-side { position: sticky; top: 140px; } }

/* ---------- 8. 자주 묻는 질문 — Lucian UX/UI Prompt #044 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#044 ---------- */
.faq-grid { display: grid; gap: var(--s-10); }
.faq { display: grid; gap: var(--s-2); }
.faq-it { border-radius: 20px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow var(--dur-ui) var(--ease-out); }
.faq-it.open { box-shadow: 0 0 0 2px var(--brand); }
.faq-q { display: flex; align-items: center; gap: var(--s-4); width: 100%; min-height: 72px; padding: var(--s-4) var(--s-4) var(--s-4) var(--s-6); border: 0; background: none; font-size: 1.125rem; font-weight: 700; line-height: 1.4; text-align: left; cursor: pointer; }
.faq-t { flex: 1; min-width: 0; }
.faq-pm { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--mint); transition: background-color var(--dur-ui) var(--ease-out); }
.faq-pm::before, .faq-pm::after { content: ""; position: absolute; inset: 0; width: 14px; height: 2px; margin: auto; border-radius: 2px; background: var(--ink); transition: transform var(--dur-ui) var(--ease-out), background-color var(--dur-ui) var(--ease-out); }
.faq-pm::after { transform: rotate(90deg); }
.faq-it.open .faq-pm { background: var(--brand); }
.faq-it.open .faq-pm::before, .faq-it.open .faq-pm::after { background: var(--bg); }
.faq-it.open .faq-pm::after { transform: rotate(180deg); }
.faq-body { display: grid; }
.js .faq-body { grid-template-rows: 0fr; }
.js .faq-it.open .faq-body { grid-template-rows: 1fr; }
.faq-body > div { overflow: hidden; min-height: 0; }
.faq-a { padding: 0 var(--s-16) var(--s-6) var(--s-6); color: var(--ink-2); }
.js .faq-a { opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
.js .faq-it.open .faq-a { opacity: 1; transform: none; }
.faq-side { display: grid; gap: var(--s-8); align-content: start; }
.faq-ask { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-6); border-radius: var(--r-card); background: var(--mint); }
.faq-ask p { color: var(--ink); }
.ask-actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tel-mid { font-family: var(--f-display); font-weight: 900; font-size: 2rem; letter-spacing: -.04em; line-height: 1; color: var(--brand); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 1100px) { .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: var(--s-20); } .faq-side { position: sticky; top: 140px; } }

/* ---------- 9. 문의 ---------- */
.contact-grid { display: grid; gap: var(--s-10); }
.contact-side { display: grid; gap: var(--s-6); align-content: start; }
.contact-side .lead { color: var(--ink); }
.tel-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.25rem, 1.8rem + 1.8vw, 3.25rem); letter-spacing: -.04em; line-height: 1; color: var(--brand); text-decoration: none; }
.contact-kakao { justify-self: start; }
.side-note { display: grid; gap: var(--s-1); padding: var(--s-5); border-radius: var(--r-card); background: var(--bg); }
.side-note b { font-weight: 800; }
.side-note p { color: var(--ink-2); font-size: var(--fs-small); }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s-16); } .contact-side { position: sticky; top: 140px; } }

/* 문의 종류 탭 — Lucian UX/UI Prompt #039 의 동작을 옮겨 씀(알약이 미끄러져 옮겨 감) · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#039 */
.kind { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: var(--s-1); border: 0; border-radius: var(--r-pill); background: var(--mint); }
.kind-pill { position: absolute; top: var(--s-1); bottom: var(--s-1); left: var(--s-1); width: calc((100% - 8px) / 3); border-radius: var(--r-pill); background: var(--forest); box-shadow: 0 8px 18px -10px var(--shadow); transform: translateX(calc(var(--k, 0) * 100%)); transition: transform var(--dur-ui) var(--ease-out); }
.kind label { position: relative; z-index: 1; display: grid; place-items: center; min-height: 48px; padding: 0 var(--s-2); border-radius: var(--r-pill); font-weight: 800; font-size: .9375rem; white-space: nowrap; cursor: pointer; color: var(--ink); transition: color var(--dur-ui) var(--ease-out); }
.kind input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.js .kind label:has(input:checked) { color: var(--bg); }
html:not(.js) .kind-pill { display: none; }
html:not(.js) .kind label:has(input:checked) { background: var(--forest); color: var(--bg); }
.kind label:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.kind-desc { margin-top: calc(-1 * var(--s-2)); color: var(--ink-2); font-size: var(--fs-small); }

/* 상담 신청서 — Lucian UX/UI Prompt #244(오류 요약·틀린 칸 이동), #015(라디오 카드) · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#244 · #015 */
.form { position: relative; display: grid; gap: var(--s-5); padding: var(--s-6) var(--s-5); border-radius: var(--r-panel); background: var(--surface); box-shadow: 0 30px 60px -40px var(--shadow); }
@media (min-width: 720px) { .form { padding: var(--s-10); } }
.only[hidden] { display: none; }
.only { display: grid; gap: var(--s-5); }
.two { display: grid; gap: var(--s-5); }
@media (min-width: 720px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.summary { display: grid; grid-template-rows: 0fr; }
.summary > div { min-height: 0; overflow: hidden; }
.form.is-err .summary { grid-template-rows: 1fr; }
.summary-box { padding: var(--s-3) var(--s-4); border-radius: var(--r-control); background: var(--danger-bg); box-shadow: inset 0 0 0 1px var(--danger-line); }
.summary-box b { display: flex; align-items: center; gap: var(--s-2); color: var(--danger); }
.summary-box ul { margin-top: var(--s-2); padding-left: var(--s-6); list-style: disc; font-size: var(--fs-small); }
.summary-box li.is-fixed { opacity: .45; text-decoration: line-through; }
.summary-box a { color: var(--danger); font-weight: 700; }
.field { display: grid; gap: var(--s-2); min-width: 0; }
.field > label, .field legend { font-weight: 700; font-size: 1rem; padding: 0; }
.req { color: var(--orange-text); font-weight: 800; }
.opt { color: var(--ink-2); font-weight: 500; font-size: .875rem; }
.box { position: relative; }
.input { width: 100%; min-height: 54px; padding: var(--s-3) var(--s-12) var(--s-3) var(--s-4); border: 0; border-radius: var(--r-control); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 1rem; outline: none; transition: box-shadow var(--dur-press) var(--ease-out); }
.input::placeholder { color: var(--placeholder); }
textarea.input { min-height: 112px; resize: vertical; line-height: 1.6; }
.input:focus { box-shadow: inset 0 0 0 2.5px var(--brand); }
.input:disabled { opacity: .6; cursor: not-allowed; }
.field.is-bad .input { box-shadow: inset 0 0 0 2.5px var(--danger); }
.field.is-good .input { box-shadow: inset 0 0 0 1.5px var(--ok-line); }
.ok { position: absolute; right: 14px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); opacity: 0; transform: scale(.5); transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) var(--ease-out); }
.ok::after { content: ""; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid var(--surface); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.field.is-good .ok { opacity: 1; transform: none; }
.msg { display: grid; grid-template-rows: 0fr; }
.msg > span { min-height: 0; overflow: hidden; color: var(--danger); font-weight: 700; font-size: var(--fs-small); }
.field.is-bad .msg { grid-template-rows: 1fr; }
.field.is-shake .box, .field.is-shake .radios { animation: shake .3s var(--ease-out); }
@keyframes shake { 25%, 75% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.radios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2); }
.radio { position: relative; display: flex; align-items: center; gap: var(--s-3); min-height: 52px; padding: var(--s-3) var(--s-4); border-radius: var(--r-control); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--line-strong); cursor: pointer; font-weight: 600; line-height: 1.3; white-space: nowrap;
  transition: box-shadow var(--dur-press) var(--ease-out), background-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.radio:active { transform: scale(.98); }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dot { position: relative; width: 20px; height: 20px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line-strong); }
.dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--brand); opacity: 0; transform: scale(.5); transition: transform var(--dur-press) var(--ease-out), opacity var(--dur-press) var(--ease-out); }
.radio:has(input:checked) { background: var(--mint); box-shadow: inset 0 0 0 2px var(--brand); }
.radio:has(input:checked) .dot { box-shadow: inset 0 0 0 2px var(--brand); }
.radio:has(input:checked) .dot::after { opacity: 1; transform: none; }
.radio:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.field.is-bad .radio { box-shadow: inset 0 0 0 2px var(--danger); }
@media (max-width: 400px) { .radios { grid-template-columns: minmax(0, 1fr); } .form { padding: var(--s-5) var(--s-4); } }
.agree { font-weight: 500; display: grid; grid-template-columns: var(--s-6) minmax(0, 1fr); gap: var(--s-3); align-items: start; cursor: pointer; font-size: var(--fs-small); }
.agree input { width: 20px; height: 20px; margin: var(--s-1) 0 0; accent-color: var(--brand); }
.agree b { font-weight: 700; }
.agree details { margin-top: var(--s-1); color: var(--ink-2); font-size: .875rem; }
.agree summary { cursor: pointer; color: var(--brand); font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.field.is-bad .agree { color: var(--danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit { min-height: 58px; font-size: 1.125rem; }
.submit[disabled] { opacity: .7; cursor: progress; }
.send-err { color: var(--danger); font-weight: 700; font-size: var(--fs-small); }
.done:focus { outline: none; }
.done { display: none; text-align: center; padding: var(--s-8) var(--s-3); gap: var(--s-4); justify-items: center; }
.form.is-done > :not(.done) { display: none; }
.form.is-done .done { display: grid; }
.done-check { width: 72px; height: 72px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.done-check svg { width: 40px; height: 40px; color: var(--brand); }
.done-check path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw var(--dur-ui) 100ms var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { font-size: 1.75rem; }
.next-steps { display: grid; gap: var(--s-2); width: 100%; max-width: 26rem; margin-top: var(--s-2); text-align: left; counter-reset: ns; }
.next-steps li { display: grid; gap: 2px; padding: var(--s-3) var(--s-4) var(--s-3) var(--s-12); border-radius: var(--r-control); background: var(--bg); position: relative; counter-increment: ns; }
.next-steps li::before { content: counter(ns); position: absolute; left: var(--s-4); top: var(--s-3); width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--bg); display: grid; place-items: center; font-size: .8125rem; font-weight: 800; }
.next-steps span { color: var(--ink-2); font-size: var(--fs-small); }
.done .preview { font-size: var(--fs-small); color: var(--orange-text); background: var(--butter); border-radius: 10px; padding: var(--s-2) var(--s-3); }

/* ---------- 10. 바닥글: 본문이 걷히며 드러남 ---------- */
/* Lucian UX/UI Prompt #236 의 동작을 옮겨 씀 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#236 */
.main { position: relative; z-index: 1; background: var(--bg); border-radius: 0 0 var(--r-panel) var(--r-panel); padding-bottom: var(--s-16); box-shadow: 0 24px 48px -32px var(--shadow); }
.footer { position: relative; z-index: 0; background: var(--forest); color: var(--on-forest-2); font-size: var(--fs-small); }
@media (min-width: 900px) and (min-height: 700px) { .footer { position: sticky; bottom: 0; } }
.footer-in { display: grid; gap: var(--s-10); padding-block: var(--s-16) var(--s-10); }
.footer-mark { display: grid; gap: var(--s-6); }
.footer-mark .logo-motion { display: block; width: min(520px, 80%); height: auto; }
/* 로고 그려지기: 바닥글이 보이면 글자 네 개 → 위 미소 곡선 → 새싹 → 아래 곡선 (js/main.js가 .is-drawn을 붙임) */
.js .logo-motion .lm-c, .js .logo-motion .lm-arc { clip-path: inset(0 100% 0 0); transition: clip-path var(--dur-scene) var(--ease-out); }
.js .logo-motion .lm-sprout { clip-path: inset(100% 0 0 0); transform: scale(.82); transform-box: fill-box; transform-origin: 50% 100%; transition: clip-path var(--dur-scene) var(--ease-out), transform 800ms var(--ease-out); }
.js .logo-motion.is-drawn .lm-c, .js .logo-motion.is-drawn .lm-arc, .js .logo-motion.is-drawn .lm-sprout { clip-path: inset(0 0 0 0); transform: none; }
.js .logo-motion.is-drawn .lm-c2 { transition-delay: 120ms; } .js .logo-motion.is-drawn .lm-c3 { transition-delay: 240ms; } .js .logo-motion.is-drawn .lm-c4 { transition-delay: 360ms; }
.js .logo-motion.is-drawn .lm-arc1 { transition-delay: 560ms; } .js .logo-motion.is-drawn .lm-sprout { transition-delay: 820ms; } .js .logo-motion.is-drawn .lm-arc2 { transition-delay: 980ms; }
.footer-mark p { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); letter-spacing: -.04em; color: var(--on-forest); line-height: 1.2; }
.footer-cols { display: grid; gap: var(--s-8); }
.footer h2 { font-size: 1rem; font-weight: 800; color: var(--on-forest); margin-bottom: var(--s-3); }
.footer dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s-2) var(--s-4); }
.footer dd { color: var(--on-forest); }
.footer a { color: var(--on-forest); text-underline-offset: 3px; transition: color var(--dur-press) var(--ease-out); }
.footer a:hover { color: var(--orange-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.copy { padding-top: var(--s-6); border-top: 1px solid var(--line-forest); font-size: .8125rem; }
@media (min-width: 900px) { .footer-cols { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-12); } }
@media (min-width: 1100px) { .footer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: var(--s-16); align-items: end; } .copy { grid-column: 1 / -1; } }

/* ---------- 빠른 상담: 휴대폰 아래 3칸 · PC 오른쪽 바 ----------
   첫 화면을 지나면 나오고, 문의 영역·바닥글이 보이면 숨음 (js/main.js가 .is-on). 숨어 있을 때는 키보드로도 닿지 않게 visibility */
.quick { position: fixed; z-index: 40; display: grid; visibility: hidden; transition: transform var(--dur-ui) var(--ease-out), visibility 0s linear var(--dur-ui); }
.quick.is-on { visibility: visible; transition: transform var(--dur-ui) var(--ease-out); }
.q { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--s-2); color: var(--ink); font-weight: 800; line-height: 1.2; text-decoration: none; transition: background-color var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out); }
.q:active { transform: scale(.97); }
.q .icon { width: 20px; height: 20px; }
.q-open { background: var(--brand); color: var(--bg); }
.q-open:hover { background: var(--brand-press); }
.q-kakao { background: var(--kakao); color: var(--kakao-ink); }
.q-kakao:hover { background: var(--kakao-press); }
@media (max-width: 1099px) {
  .quick { left: var(--s-3); right: var(--s-3); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--s-3)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--s-1); max-width: 34rem; margin-inline: auto; padding: var(--s-1); border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); box-shadow: 0 0 0 1px var(--line), 0 16px 32px -16px var(--shadow); transform: translateY(calc(100% + 40px)); }
  .quick.is-on { transform: none; }
  .q { min-height: 56px; border-radius: 18px; }
  .q-tel, .q-kakao { flex-direction: column; gap: 2px; font-size: .75rem; }
  .q-tel:hover { background: var(--mint); }
  .q-tel { order: 1; } .q-kakao { order: 2; } .q-open { order: 3; font-size: 1rem; }
  .q-open .icon, .q-open .q-short, .q-top { display: none; }
  .q-tel .q-long, .q-kakao .q-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1100px) {
  /* 1100~1439px: 화면 오른쪽 끝에 붙인 폭 56px 탭(본문 여백 64px 안). 1440px부터 떠 있는 64px 바(본문 여백 100px 이상) */
  .quick { right: 0; top: 50%; width: 56px; gap: var(--s-1); padding: var(--s-1); border-radius: 22px 0 0 22px; background: var(--surface); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -20px var(--shadow); transform: translate(calc(100% + 24px), -50%); }
  .quick.is-on { transform: translate(0, -50%); }
  .q { flex-direction: column; gap: 4px; min-height: 64px; padding: var(--s-2) 0; border-radius: 18px; font-size: .75rem; text-align: center; }
  .q-short { max-width: 2.6em; }
  .q-tel:hover, .q-top:hover { background: var(--mint); }
  .q-top { min-height: 48px; margin-top: var(--s-1); }
  .q-top::before { content: ""; position: absolute; top: calc(-1 * var(--s-1)); left: 12px; right: 12px; height: 1px; background: var(--line); }
  /* 마우스를 올리거나 키보드로 고르면 왼쪽에 전체 문구 */
  .q-long { position: absolute; right: calc(100% + var(--s-3)); top: 50%; padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--ink); color: var(--bg); font-size: .875rem; font-weight: 700; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(6px, -50%); transition: opacity var(--dur-press) var(--ease-out), transform var(--dur-press) var(--ease-out); }
  .q:hover .q-long, .q:focus-visible .q-long { opacity: 1; transform: translate(0, -50%); }
}
@media (min-width: 1440px) { .quick { right: var(--s-3); width: 64px; border-radius: 22px; } }
/* 잠깐 뜨는 안내 (카카오톡 링크를 받기 전 등) */
.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); max-width: min(92vw, 26rem); padding: var(--s-3) var(--s-5); border-radius: var(--r-control); background: var(--ink); color: var(--bg); font-size: var(--fs-small); font-weight: 600; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity var(--dur-ui) var(--ease-out), transform var(--dur-ui) var(--ease-out); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media print { .quick, .toast { display: none; } }

/* ---------- 개인정보처리방침 ---------- */
.doc { max-width: 52rem; padding-top: calc(var(--head-h) + var(--s-16)); padding-bottom: var(--s-16); }
.doc h1 { margin-bottom: var(--s-4); }
.doc-actions { margin-top: var(--s-8); }
.doc h2 { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -.03em; margin: var(--s-10) 0 var(--s-3); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.doc ul { list-style: disc; padding-left: 1.3em; display: grid; gap: var(--s-2); }
.doc table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); margin-top: var(--s-2); }
.doc th, .doc td { border-bottom: 1px solid var(--line); padding: var(--s-3) var(--s-3) var(--s-3) 0; text-align: left; vertical-align: top; }
.doc th { border-bottom: 2px solid var(--ink); font-weight: 700; }
.doc tbody th { border-bottom: 1px solid var(--line); white-space: nowrap; padding-right: var(--s-4); }
.table-scroll { overflow-x: auto; }

/* ---------- 첫 화면 등장 — Lucian UX/UI Prompt #216 의 동작을 옮겨 씀 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#216 ---------- */
.js .hero-title .ln > span { transform: translateY(105%); }
.js .is-loaded .hero-title .ln > span { transform: none; transition: transform 700ms var(--ease-out); }
.js .is-loaded .hero-title .ln:nth-child(2) > span { transition-delay: 90ms; }
.js .smile path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-loaded .smile path { stroke-dashoffset: 0; transition: stroke-dashoffset 800ms 500ms var(--ease-out); }
.js .hero .rise { opacity: 0; transform: translateY(16px); }
.js .is-loaded .hero .rise { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .is-loaded .hero .rise.d1 { transition-delay: 250ms; } .js .is-loaded .hero .rise.d2 { transition-delay: 350ms; } .js .is-loaded .hero .rise.d3 { transition-delay: 450ms; }
.js .chip { opacity: 0; scale: .9; }
.js .is-loaded .chip { opacity: 1; scale: 1; transition: opacity 500ms var(--ease-out), scale 500ms var(--ease-out); }
.js .is-loaded .chip-1 { transition-delay: 700ms; } .js .is-loaded .chip-2 { transition-delay: 820ms; } .js .is-loaded .chip-3 { transition-delay: 940ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .hero-title .ln > span, .js .hero .rise { opacity: 1; transform: none; }
  .js .chip { opacity: 1; scale: 1; }
  .js .smile path { stroke-dashoffset: 0; }
  .js .statement .w { color: var(--ink); }
  .pin::before { animation: none; }
  .js .logo-motion .lm-c, .js .logo-motion .lm-arc, .js .logo-motion .lm-sprout { clip-path: none; transform: none; }
  .ribbon { overflow-x: auto; }
}
