/* Shepherd's Desk 홈페이지 스타일 (1.0 공개판)
   방향: 흰 바탕, 깊은 숲색 한 가지, 산세리프 본문에 고운바탕을 인용·서명에만.
   제미나이 개선판(부드러운 등장, 그림자, 호버)을 바탕으로 다듬음:
   - 누를 수 있는 것만 떠오르게, 읽는 카드는 테두리만 반응
   - 그림 글자(이모지) 대신 선 아이콘, 안내 상자 줄바꿈 문제 수정
   - 움직임 줄이기 설정을 쓰는 분께는 모든 움직임을 끔 */
:root {
  --bg: #ffffff;
  --soft: #f6f8f5;
  --ink: #1a1c19;
  --ink2: #565c55;
  --ink3: #8b9189;
  --line: #e6e9e3;
  --brand: #2e5b3e;
  --brand-ink: #ffffff;
  --brand-soft: #ebf3ed;
  --accent: #a97a1c;
  --sans: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --serif: "Gowun Batang", "AppleMyungjo", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  
  /* 새로 추가된 세련된 그림자 및 전환 효과 변수 */
  --shadow-sm: 0 4px 12px rgba(46, 91, 62, 0.04);
  --shadow-md: 0 12px 32px rgba(46, 91, 62, 0.08);
  --shadow-lg: 0 24px 60px -12px rgba(30, 60, 40, 0.18);
  --trans-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --w: 1080px;
  --i-bulb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M8 12.5l2.7 2.7L16 9.8'/%3E%3C/svg%3E");
  --i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E");
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .btn:hover, .pill:hover, .dlbox:hover, .picker a:hover, .toc a:hover, .stage .desk:hover, .stage .phone:hover { transform: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); letter-spacing: -0.015em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 4px; transition: color 0.2s ease; }
a:hover { color: #1e452b; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
p, ol, ul { margin: 0; }
code, kbd { font-family: var(--mono); font-size: .88em; background: var(--soft); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* 애니메이션 정의 */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 위 메뉴 (글래스모피즘 강화) */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.75); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(230, 233, 227, 0.7); transition: var(--trans-smooth); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.top nav { display: flex; gap: 24px; font-size: 14.5px; font-weight: 500; }
.top nav a { color: var(--ink2); text-decoration: none; transition: color 0.2s; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
.top .dl { margin-left: auto; }
@media (max-width: 820px) { .top nav { display: none; } }

/* 단추 (호버 효과 추가) */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; height: 42px; border-radius: 10px; font: 600 14.5px/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; white-space: nowrap; transition: var(--trans-smooth); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.btn:hover { border-color: #cfd5cb; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn.primary:hover { background: #234730; box-shadow: 0 6px 16px rgba(46, 91, 62, 0.25); transform: translateY(-2px); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }

/* 첫 화면 (애니메이션 적용) */
.hero { padding: 80px 0 0; position: relative; }
.hero::before { content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: min(800px, 100vw); height: 400px; background: radial-gradient(ellipse at top, rgba(46, 91, 62, 0.06) 0%, rgba(255,255,255,0) 70%); z-index: -1; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink2); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 6px; background: rgba(255,255,255,0.8); backdrop-filter: blur(8px); transition: var(--trans-smooth); animation: fadeUp 0.6s ease-out both; }
.pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); border-color: #cfd5cb; }
.pill b { background: var(--brand-soft); color: var(--brand); border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 12px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 54px); line-height: 1.25; font-weight: 700; margin: 24px 0 18px; letter-spacing: -0.04em; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both; }
.hero .lead { font-size: 18px; color: var(--ink2); max-width: 38em; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both; line-height: 1.7; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both; }
.hero .status { margin-top: 16px; font-size: 13.5px; color: var(--ink3); animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; }
.hero .status b { color: var(--accent); font-weight: 600; }

/* 쇼케이스 이미지 입체감 극대화 */
.stage { margin-top: 60px; position: relative; animation: floatIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both; perspective: 1000px; }
.stage .desk { border-radius: 14px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-lg); transition: transform 0.5s ease; }

.stage .phone { position: absolute; right: 2%; bottom: -30px; width: 18%; min-width: 130px; border-radius: 26px; border: 6px solid #1a1c19; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.35); transition: transform 0.5s ease; }

@media (max-width: 640px) { .stage .phone { display: none; } }

/* 섹션 */
.sec { padding: 120px 0 0; }
.sec.tint { background: linear-gradient(to bottom, var(--soft) 0%, #ffffff 100%); margin-top: 120px; padding: 96px 0; border-top: 1px solid rgba(0,0,0,0.02); }
.sec.tint + .sec { padding-top: 96px; }
.label { font-size: 13.5px; font-weight: 700; color: var(--brand); letter-spacing: 0.01em; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 8px; }
.label::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); opacity: .6; }
.sec h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.35; font-weight: 700; margin: 0 0 16px; letter-spacing: -0.04em; }
.sec .intro { color: var(--ink2); max-width: 42em; font-size: 17px; line-height: 1.6; }

/* 항목 줄 (카드형 UI로 개선) */
.items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.items.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.items div { background: var(--bg); padding: 28px; border-radius: 16px; border: 1px solid var(--line); transition: var(--trans-smooth); box-shadow: 0 2px 8px rgba(0,0,0,0.01); }
.items div:hover { box-shadow: var(--shadow-sm); border-color: #d3e5d7; }
.items h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; color: var(--ink); }
.items p { font-size: 15px; color: var(--ink2); line-height: 1.6; }
@media (max-width: 820px) { .items, .items.two { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

/* 편지 (고운바탕 감성 극대화) */
.letter { margin-top: 40px; max-width: 44em; font-family: var(--serif); font-size: 18px; line-height: 2; color: #2a2c29; display: grid; gap: 20px; letter-spacing: -0.01em; padding: 32px 40px; background: #fafaf9; border-radius: 16px; border: 1px solid #f0f0ee; box-shadow: inset 0 2px 10px rgba(0,0,0,0.01); }
.letter .sign { font-family: var(--sans); font-size: 14.5px; color: var(--ink2); margin-top: 12px; border-top: 1px solid #eaeaea; padding-top: 16px; }
.letter .sign b { color: var(--ink); font-size: 16px; font-weight: 600; }

@media (max-width: 640px) { .letter { padding: 24px 20px; font-size: 16.5px; } }

/* 돌봄의 때 표 */
.when { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.when div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); transition: background 0.2s; }
.when div:hover { background: rgba(46,91,62,0.03); }
.when b { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 4px; }
.when span { font-size: 14.5px; color: var(--ink2); font-variant-numeric: tabular-nums; }
@media (max-width: 820px) { .when { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 기능 탭 */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; border-bottom: 1px solid var(--line); }
.tabs button { font: 500 15.5px/1 var(--sans); color: var(--ink3); background: none; border: 0; border-bottom: 2px solid transparent; padding: 14px 16px; margin-bottom: -1px; cursor: pointer; letter-spacing: -0.01em; transition: all 0.2s; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 700; }
.panel { display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); gap: 48px; padding-top: 40px; align-items: start; animation: fadeUp 0.5s ease-out; }
.panel[hidden] { display: none; }
.panel h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.03em; }
.panel p { color: var(--ink2); font-size: 15.5px; line-height: 1.6; }
.panel ul { margin-top: 20px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; color: var(--ink2); }
.panel li { padding-left: 20px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); opacity: .7; }
.panel img { border-radius: 12px; border: 1px solid rgba(0,0,0,0.05); box-shadow: var(--shadow-md); transition: transform 0.4s ease; }

@media (max-width: 820px) { .panel { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* 호칭 체험 */
.demo { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; border: 1px solid var(--line); border-radius: 16px; padding: 40px; background: #fafaf9; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.demo .k { font-size: 13.5px; font-weight: 600; color: var(--brand); margin-bottom: 12px; letter-spacing: 0.02em; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.seg button { font: 500 14px/1 var(--sans); padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink2); cursor: pointer; transition: all 0.2s; }
.seg button:hover { border-color: var(--ink); color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; box-shadow: 0 4px 10px rgba(46,91,62,0.2); }
.to { font-size: 14.5px; color: var(--ink2); margin-bottom: 12px; }
.to b { color: var(--ink); font-weight: 700; }
.bubble { background: #e9eaed; color: #1c1c1e; border-radius: 20px 20px 20px 6px; padding: 16px 20px; font-size: 15.5px; line-height: 1.6; white-space: pre-line; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.bubble mark { background: #fbe3a0; color: inherit; border-radius: 4px; padding: 2px 4px; font-weight: 600; }
.demo .note { position: relative; font-size: 13.5px; color: var(--ink3); margin-top: 14px; padding-left: 22px; }
.demo .note::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; background: var(--ink3); -webkit-mask: var(--i-info) center / contain no-repeat; mask: var(--i-info) center / contain no-repeat; }
@media (max-width: 820px) { .demo { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px; } }

/* 비교표 */
.tbl { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); background: var(--bg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 14px; color: var(--ink2); font-weight: 700; background: var(--soft); border-bottom: 2px solid var(--line); }
td:first-child { color: var(--ink); font-weight: 600; width: 24%; }
tbody tr { transition: background 0.2s; }
tbody tr:hover { background: #fafaf9; }

/* 설치 단계 (카드 인터랙션 추가) */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--bg); transition: var(--trans-smooth); }
.steps li:hover { box-shadow: var(--shadow-sm); border-color: #d3e5d7; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.steps h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.02em; }
.steps p { font-size: 15px; color: var(--ink2); line-height: 1.6; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; } }

.dlrow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.dlbox { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; text-decoration: none; color: var(--ink); background: var(--bg); transition: var(--trans-smooth); }
.dlbox:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.dlbox b { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.dlbox small { color: var(--ink3); font-size: 13.5px; }
.dlbox .go { font-size: 14.5px; font-weight: 600; color: var(--brand); white-space: nowrap; background: var(--brand-soft); padding: 6px 12px; border-radius: 8px; transition: 0.2s; }
.dlbox:hover .go { background: var(--brand); color: #fff; }
@media (max-width: 820px) { .dlrow { grid-template-columns: minmax(0, 1fr); } }

/* 막혔을 때 고르기 */
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.picker a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; text-decoration: none; color: var(--ink); background: var(--bg); transition: var(--trans-smooth); }
.picker a:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.picker b { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.picker q { display: block; font-size: 14px; color: var(--ink2); quotes: "“" "”"; line-height: 1.5; }
.picker small { display: inline-block; margin-top: 12px; font-size: 13.5px; color: var(--brand); font-weight: 600; }
.picker a:hover small { text-decoration: underline; }
@media (max-width: 820px) { .picker { grid-template-columns: minmax(0, 1fr); } }

/* 개인정보 */
.privacy { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.privacy div { border-top: 3px solid var(--brand); padding-top: 20px; transition: var(--trans-smooth); }

.privacy h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.privacy p { font-size: 15px; color: var(--ink2); line-height: 1.6; }
@media (max-width: 820px) { .privacy { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* 묻고 답하기 */
.faq { margin-top: 40px; max-width: 48em; }
details { border-bottom: 1px solid var(--line); transition: background 0.3s; }
details:first-child { border-top: 1px solid var(--line); }
summary:hover { color: var(--brand); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 16px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--ink3); border-bottom: 2px solid var(--ink3); transform: rotate(45deg); transition: transform 0.25s ease; }
details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; border-color: var(--brand); }
details p { color: var(--ink2); font-size: 15.5px; padding: 0 0 24px; line-height: 1.6; }

/* 맨 아래 */
footer { margin-top: 140px; border-top: 1px solid var(--line); background: var(--soft); padding: 56px 0 72px; font-size: 14.5px; color: var(--ink2); }
footer .wrap { display: grid; gap: 14px; }
footer .who b { color: var(--ink); font-weight: 600; }
footer .links { display: flex; flex-wrap: wrap; gap: 6px 20px; font-weight: 500; }
footer .links a { color: var(--ink2); text-decoration: none; }
footer .links a:hover { color: var(--ink); text-decoration: underline; }
footer .fine { color: var(--ink3); font-size: 13px; margin-top: 8px; }

/* 설치 도움말 페이지 (가독성 최적화) */
.doc { padding: 64px 0 0; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.3; margin: 12px 0 16px; letter-spacing: -0.04em; }
.doc .lead { color: var(--ink2); max-width: 42em; font-size: 17px; line-height: 1.6; }
.guide { padding-top: 96px; scroll-margin-top: 80px; }
.guide h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.4; margin: 8px 0 12px; letter-spacing: -0.03em; }
.guide .intro { color: var(--ink2); max-width: 44em; font-size: 16px; line-height: 1.65; }
.guide ol.num { margin-top: 24px; padding-left: 0; list-style: none; counter-reset: n; display: grid; gap: 18px; max-width: 46em; }
.guide ol.num > li { counter-increment: n; position: relative; padding-left: 44px; font-size: 16px; line-height: 1.6; }
.guide ol.num > li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(46,91,62,0.3); }
.guide ol.num small { display: block; color: var(--ink3); font-size: 14px; margin-top: 4px; }
.callout { position: relative; margin-top: 24px; max-width: 46em; border-radius: 12px; padding: 16px 20px 16px 50px; background: #fffcf0; border: 1px solid #f2e2b3; font-size: 15px; color: #695116; line-height: 1.6; }
.callout::before { content: ""; position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; background: #b8871c; -webkit-mask: var(--i-bulb) center / contain no-repeat; mask: var(--i-bulb) center / contain no-repeat; }
.callout.ok { background: var(--brand-soft); border-color: #c9e0d0; color: #20402b; }
.callout.ok::before { background: var(--brand); -webkit-mask-image: var(--i-check); mask-image: var(--i-check); }
.cmd { margin-top: 16px; display: flex; align-items: center; gap: 12px; max-width: 46em; background: #1a1c19; color: #f6f8f5; border-radius: 12px; padding: 16px 20px; font: 14.5px/1.5 var(--mono); overflow-x: auto; box-shadow: inset 0 2px 4px rgba(0,0,0,0.2); }
.cmd code { background: none; border: 0; padding: 0; color: inherit; white-space: pre; flex: 1; font-size: 14px; }
.cmd button { flex: none; font: 600 13px/1 var(--sans); background: #3c4239; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; cursor: pointer; transition: 0.2s; }
.cmd button:hover { background: #50564d; }
.next { margin-top: 24px; font-size: 15px; font-weight: 500; display: inline-block; padding: 12px 16px; background: var(--soft); border-radius: 10px; }

/* 화면 흉내 그림 */
.mock { margin-top: 24px; max-width: 480px; border-radius: 16px; background: #f2f2f2; border: 1px solid #d9d9d9; box-shadow: var(--shadow-lg); padding: 28px 24px 22px; font: 14px/1.6 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif; color: #1d1d1f; letter-spacing: -0.01em; }
.mock .ic { width: 52px; height: 52px; border-radius: 12px; background: linear-gradient(135deg, #cfe3d4, #8fb79a); margin-bottom: 16px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.mock b { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 8px; }
.mock p { color: #333; }
.mock .bt { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.mock .bt span { white-space: nowrap; padding: 6px 16px; border-radius: 8px; background: #fff; border: 1px solid #d1d1d6; font-size: 13.5px; font-weight: 500; cursor: default; }
.mock .bt span.hl { background: #007aff; color: #fff; border-color: #007aff; box-shadow: 0 0 0 3px rgba(224, 161, 12, .55); }
.mock.settings { background: #f5f5f7; max-width: 580px; }
.mock.settings .row { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid #e5e5ea; border-radius: 10px; padding: 14px 18px; margin-top: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.02); }
.mock.settings .row .bt { margin: 0; }
.mock.google { background: #fff; border-color: #dadce0; font-family: "Google Sans", Roboto, Arial, "Noto Sans KR", sans-serif; max-width: 460px; }
.mock.google .link { color: #1a73e8; font-weight: 500; }
.mock-note { margin-top: 12px; font-size: 13px; color: var(--ink3); }

.toc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 820px) { .toc { grid-template-columns: minmax(0, 1fr); } }
.toc a { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; text-decoration: none; color: var(--ink); background: var(--bg); transition: var(--trans-smooth); }
.toc a:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.toc b { display: block; font-size: 15.5px; font-weight: 700; margin: 4px 0 6px; }
.toc span { display: block; font-size: 14px; color: var(--ink2); line-height: 1.5; }
.toc em { font-style: normal; font-size: 12.5px; color: var(--accent); font-weight: 700; display: inline-block; background: #fdf6e7; padding: 2px 8px; border-radius: 6px; }

/* 설치 도움말: 큰 링크 단추, 실제 화면 그림, 앱스크립트 화면 흉내 */
.bigcopy { display: flex; width: fit-content; margin: 12px 0 6px; height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: 12px; box-shadow: 0 6px 18px rgba(46, 91, 62, .25); }
.gshot { margin: 14px 0 4px; max-width: 760px; }
.gshot img { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.gshot figcaption { margin-top: 8px; font-size: 13px; color: var(--ink3); }
.mock.gas { background: #fff; border-color: #dadce0; max-width: 560px; padding: 0; overflow: hidden; font-family: "Google Sans", Roboto, Arial, "Noto Sans KR", sans-serif; }
.mock.gas .gas-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid #e8eaed; }
.mock.gas .gas-top b { margin: 0; font-size: 15px; }
.mock.gas .gas-icons { display: flex; align-items: center; gap: 8px; }
.mock.gas .gas-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.mock.gas .gas-ic.hl, .mock.gas .gas-field.hl { box-shadow: 0 0 0 3px rgba(224, 161, 12, .7); }
.mock.gas .gas-tip { font-size: 12px; background: #3c4043; color: #fff; border-radius: 4px; padding: 3px 8px; }
.mock.gas .gas-body { padding: 16px 18px 18px; }
.mock.gas .dim { color: #5f6368; font-size: 13px; }
.mock.gas .gas-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid #f1f3f4; }
.mock.gas .gas-field { border: 1px solid #dadce0; border-radius: 6px; padding: 5px 10px; font-size: 13px; white-space: nowrap; }
.guide .sub-h { font-size: 17px; font-weight: 700; margin: 32px 0 6px; letter-spacing: -0.02em; }
.guide .cmd + .cmd { margin-top: 10px; }
.cmd { overflow: hidden; } .cmd code { min-width: 0; overflow-x: auto; scrollbar-width: thin; }
