/* ==========================================================
   이길소프트 홈페이지
   테마: html[data-theme="light" | "dark"] (js/theme.js 가 설정)
   ========================================================== */

/* ---------- 디자인 토큰 : 라이트 ---------- */
:root,
:root[data-theme="light"] {
  --bg: #FFFFFF;
  --surface: #F4F6F7;
  --surface-2: #E7EBED;
  --text: #2F3A40;          /* 브랜드 메인 (진회색) */
  --muted: #5A646A;
  --border: #E1E5E7;
  --accent: #0B7A71;        /* 틸 — 텍스트용 (명도 대비 확보) */
  --accent-deco: #0F8C82;   /* 틸 — 장식/라인용 (로고 색) */
  --accent-soft: #E3F3F1;
  --btn-bg: #2F3A40;
  --btn-text: #FFFFFF;

  --cta-bg: #2F3A40;
  --cta-text: #FFFFFF;
  --cta-muted: #C9D0D3;
  --cta-eyebrow: #3CCBB6;
  --cta-btn-bg: #FFFFFF;
  --cta-btn-text: #2F3A40;

  /* 푸터: 라이트 모드에서도 어두운 배경 */
  --footer-bg: #2F3A40;
  --footer-text: #FFFFFF;
  --footer-muted: #B7C1C6;
  --footer-border: #45525A;

  --field-bg: #FFFFFF;
  --field-border: #C9D0D3;
  --error: #B3261E;
  --menu-shadow: 0 12px 32px rgba(20, 28, 32, 0.16);

  color-scheme: light;
}

/* ---------- 디자인 토큰 : 다크 ---------- */
:root[data-theme="dark"] {
  --bg: #2F3A40;
  --surface: #374349;
  --surface-2: #42505A;
  --text: #FFFFFF;
  --muted: #C9D0D3;
  --border: #4A5760;
  --accent: #3CCBB6;
  --accent-deco: #3CCBB6;
  --accent-soft: #33504F;
  --btn-bg: #3CCBB6;
  --btn-text: #14302C;

  --cta-bg: #3CCBB6;
  --cta-text: #14302C;
  --cta-muted: #1F4842;
  --cta-eyebrow: #14302C;
  --cta-btn-bg: #2F3A40;
  --cta-btn-text: #FFFFFF;

  /* 푸터: 본문보다 한 단계 더 어둡게 (반전 X) */
  --footer-bg: #242D32;
  --footer-text: #FFFFFF;
  --footer-muted: #B7C1C6;
  --footer-border: #3A464D;

  --field-bg: #283238;
  --field-border: #5A6870;
  --error: #FF9B8A;
  --menu-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);

  color-scheme: dark;
}

/* ---------- 기본 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', system-ui, -apple-system, sans-serif;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
html[lang="ja"] body { font-family: 'Noto Sans JP', 'Noto Sans KR', system-ui, -apple-system, sans-serif; word-break: normal; line-break: strict; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
[hidden] { display: none !important; } /* SVG 요소에도 hidden 적용 */
:focus-visible { outline: 2px solid var(--accent-deco); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--accent);
}
.section-title { font-size: 38px; line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; }
.icon { width: 20px; height: 20px; flex: none; }

/* 테마별로 다른 이미지(로고/히어로) 표시 */
:root[data-theme="dark"] .only-light,
:root:not([data-theme="dark"]) .only-dark { display: none; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  font-size: 16px; font-weight: 700; border: 1px solid transparent; cursor: pointer;
  transition: filter .15s, border-color .15s;
}
.btn-primary { background: var(--btn-bg); color: var(--btn-text); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: var(--text); }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .symbol { height: 40px; width: auto; }
.brand .wordmark { height: 20px; width: auto; }
.header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-size: 15px; font-weight: 500; }
.main-nav a { padding: 10px 0; transition: color .15s; }
.main-nav a:hover { color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 4px; padding-left: 16px; border-left: 1px solid var(--border); }

/* 햄버거 메뉴: 폭이 좁으면 메뉴를 헤더 아래 패널로 접는다 (항상 접으려면 이 미디어쿼리 조건만 없애면 된다) */
.header-tools .nav-toggle { display: none; } /* .icon-btn 의 display:flex 보다 우선 */
.nav-toggle[aria-expanded="true"] .i-open,
.nav-toggle:not([aria-expanded="true"]) .i-close { display: none; }
@media (max-width: 960px) {
  .header-tools .nav-toggle { display: flex; }
  .header-inner { flex-wrap: nowrap; }
  .header-tools { padding-left: 0; border-left: 0; }
  /* 열고 닫을 때 0.2초 동안 살짝 내려오며(올라가며) 페이드. visibility 로 닫힌 메뉴는 포커스·스크린리더에서도 빠진다 */
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 12px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--menu-shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .main-nav a { padding: 14px 0; font-size: 16px; }
  .main-nav a + a { border-top: 1px solid var(--border); }
}

/* 드롭다운 (언어) */
.dropdown { position: relative; }
.icon-btn {
  height: 44px; min-width: 44px; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer;
}
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--surface); }
.menu {
  position: absolute; right: 0; top: 52px; min-width: 160px; padding: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--menu-shadow);
  display: flex; flex-direction: column; gap: 2px;
  /* 햄버거 메뉴와 같은 열기/닫기 애니메이션 (.open, main.js) */
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.menu-item {
  display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px;
  border-radius: 8px; color: var(--text); font-size: 14px;
}
.menu-item:hover { background: var(--surface); }
.menu-item[aria-current="page"] { background: var(--surface); font-weight: 700; }
.menu-item .label { flex: 1; }

/* ---------- 히어로 ---------- */
.hero { position: relative; background: var(--surface); }
/* height:auto — img의 height 속성(254/277)이 aspect-ratio를 덮어써 테마별 높이가 달라지는 것을 막는다 */
.hero img { width: 100%; height: auto; aspect-ratio: 1536 / 254; min-height: 180px; object-fit: cover; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent-deco); }

/* ---------- 섹션 공통 ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 760px; }
.closing { margin-top: 48px; font-size: 20px; line-height: 1.6; font-weight: 700; max-width: 760px; }
.closing em { font-style: normal; color: var(--accent); }

/* 1. 도입부 — 고민 체크리스트 */
.intro h1 { font-size: 46px; line-height: 1.25; font-weight: 900; letter-spacing: -0.02em; }
.worries { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.worry {
  display: flex; align-items: flex-start; gap: 14px; height: 100%;
  padding: 20px 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg);
  font-size: 16px; line-height: 1.6; transition: border-color .15s, background .15s;
}
.worry .ico { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--accent-deco); }
.worry .go { width: 18px; height: 18px; flex: none; margin: 3px 0 0 auto; color: var(--muted); opacity: .45; transition: opacity .15s, transform .15s; }
.worry:hover { border-color: var(--accent-deco); background: var(--accent-soft); }
.worry:hover .go, .worry:focus-visible .go { opacity: 1; transform: translateX(2px); }
.answer { margin-top: 56px; display: flex; flex-direction: column; gap: 12px; }
.answer p { font-size: 20px; line-height: 1.6; color: var(--muted); }
.answer strong { color: var(--text); }
.answer .big { font-size: 30px; line-height: 1.4; font-weight: 900; letter-spacing: -0.02em; color: var(--text); }
.answer .big span { color: var(--accent); }

/* 2. 서비스 카드 */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  padding: 28px 26px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  display: flex; flex-direction: column; gap: 14px; transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--accent-deco); }
.card:target { border-color: var(--accent-deco); box-shadow: 0 0 0 3px var(--accent-soft); }
.card .badge { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.card .badge svg { width: 24px; height: 24px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.75; color: var(--muted); }

/* 3-1. 왜 외주 개발인가 */
.honest { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.honest .section-head { flex: 1 1 320px; margin-bottom: 0; }
.honest-body { flex: 999 1 520px; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.85; color: var(--muted); }
.honest-body .pull { padding: 24px 28px; border-left: 4px solid var(--accent-deco); background: var(--surface); border-radius: 0 12px 12px 0; color: var(--text); font-weight: 500; }

/* 아코디언 (왜 이길소프트 · FAQ 공통) — 네이티브 <details> */
.accordion { border-top: 2px solid var(--text); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary {
  display: flex; align-items: center; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none;
  font-size: 19px; line-height: 1.5; font-weight: 700;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--accent); }
.accordion .num { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--accent); flex: none; min-width: 28px; }
/* 제목 옆의 희미한 chevron: 펼치면 아래로 돈다 */
.accordion .toggle { width: 18px; height: 18px; flex: none; margin-left: -8px; color: var(--muted); opacity: .45; display: flex; transition: transform .2s, opacity .15s; }
.accordion .toggle svg { width: 18px; height: 18px; }
.accordion summary:hover .toggle { opacity: 1; color: var(--accent); }
.accordion details[open] > summary .toggle { transform: rotate(90deg); opacity: 1; color: var(--accent); }
.accordion .panel { padding: 0 4px 32px 52px; font-size: 16px; line-height: 1.8; color: var(--muted); display: flex; flex-direction: column; gap: 16px; }
/* 펼침/접힘 0.2초 + 내용 페이드 인 0.2초. 지원하지 않는 브라우저(Safari·Firefox 일부)는 애니메이션 없이 바로 열린다 */
.accordion details { interpolate-size: allow-keywords; }
.accordion details::details-content { block-size: 0; overflow: hidden; transition: block-size .2s ease, content-visibility .2s allow-discrete; }
.accordion details[open]::details-content { block-size: auto; }
.accordion details .panel { opacity: 0; transition: opacity .2s ease; }
.accordion details[open] .panel { opacity: 1; transition-delay: .1s; }
@starting-style { .accordion details[open] .panel { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .accordion details::details-content, .accordion details .panel { transition: none; } }

.bullets { display: flex; flex-direction: column; gap: 10px; }
.bullets li { position: relative; padding-left: 18px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-deco); }
.bullets strong { color: var(--text); }

/* 분야별 경험 */
.domains { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.domain { padding: 18px 20px; border-radius: 12px; background: var(--surface); font-size: 14px; line-height: 1.7; }
.section.alt .domain { background: var(--bg); }
.domain h4 { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.domain li + li { margin-top: 4px; }

/* 기술 분야 */
.tech { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; font-size: 15px; }
.tech dt { font-weight: 700; color: var(--text); }
.tech dd { color: var(--muted); }

/* 4. 팀 */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.team li { padding: 28px 24px; border-top: 3px solid var(--accent-deco); background: var(--surface); border-radius: 0 0 14px 14px; font-size: 16px; line-height: 1.75; }
.value { margin-top: 48px; padding: 40px; border-radius: 20px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 12px; }
.value p:last-child { font-size: 26px; line-height: 1.5; font-weight: 900; letter-spacing: -0.02em; }

/* 5. 진행 방식 — 탭 */
/* 좁은 화면에서는 줄바꿈 대신 가로 스크롤 (스크롤바는 숨기고 화면 끝까지 밀어 쓴다) */
.tabs-wrap { position: relative; margin-bottom: 32px; }
.tabs { display: flex; gap: 8px; margin: 0 -24px; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
/* 양옆에 가려진 탭이 있으면(.more-left / .more-right, main.js) 그쪽 끝을 흐리게 하고 희미한 chevron 을 보여 준다 */
.tabs-wrap.more-right .tabs { mask-image: linear-gradient(to left, transparent, black 72px); }
.tabs-wrap.more-left .tabs { mask-image: linear-gradient(to right, transparent, black 72px); }
.tabs-wrap.more-left.more-right .tabs { mask-image: linear-gradient(to right, transparent, black 72px, black calc(100% - 72px), transparent); }
.tabs-wrap::before, .tabs-wrap::after {
  content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--muted); pointer-events: none; opacity: 0; transition: opacity .2s;
}
.tabs-wrap::before { left: -18px; mask: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.tabs-wrap::after { right: -18px; mask: 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.tabs-wrap.more-left::before, .tabs-wrap.more-right::after { opacity: .6; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; white-space: nowrap; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px;
  background: transparent; color: var(--text); font-size: 15px; font-weight: 500; cursor: pointer;
}
.tab:hover { border-color: var(--text); }
.tab[aria-selected="true"] { background: var(--btn-bg); color: var(--btn-text); border-color: var(--btn-bg); font-weight: 700; }
.flow-desc { font-size: 16px; line-height: 1.75; color: var(--muted); margin-bottom: 28px; }
/* 넓은 화면: 탭 패널을 한 칸에 겹쳐 가장 긴 패널 높이로 고정 — 탭을 바꿔도 아래 섹션 위치가 움직이지 않는다.
   햄버거 메뉴 폭 이하에서는 단계가 세로로 쌓여 패널 높이 차이가 커지므로 가변 높이로 둔다. */
@media (min-width: 961px) {
  .flows { display: grid; }
  .flows > [role="tabpanel"] { grid-area: 1 / 1; }
  .flows > [role="tabpanel"][hidden] { display: block !important; visibility: hidden; }
}
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(136px, 1fr)); border-top: 1px solid var(--border); }
.process li { padding: 24px 20px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.process li:first-child { border-top: 3px solid var(--accent-deco); margin-top: -2px; }
.process .num { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--accent); }
.process h3 { font-size: 18px; font-weight: 700; }
.process p { font-size: 14px; line-height: 1.7; color: var(--muted); }
.process-note { margin-top: 16px; text-align: right; font-size: 13px; color: var(--muted); }

/* 6. 문의 CTA */
.cta-wrap { padding: 96px 0; }
.cta {
  padding: 72px 56px; border-radius: 24px; background: var(--cta-bg); color: var(--cta-text);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px;
}
.cta .copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.cta .eyebrow { color: var(--cta-eyebrow); }
.cta p.sub { font-size: 17px; line-height: 1.7; color: var(--cta-muted); }
.cta p.point { color: var(--cta-eyebrow); font-weight: 600; }
.cta .btn { min-height: 60px; padding: 0 34px; border-radius: 12px; font-size: 18px; background: var(--cta-btn-bg); color: var(--cta-btn-text); }
.cta .btn:hover { filter: brightness(1.08); }
.cta .mail { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--cta-muted); }
.cta .side { display: flex; flex-direction: column; align-items: center; gap: 12px; }

/* 스크롤 등장 효과: 섹션 배경은 바로 보이고, 내용만 처음 보일 때 한 번 페이드 인 (main.js 가 .reveal 을 붙인다) */
.reveal { --reveal-delay: .1s; opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--reveal-delay), transform .6s ease var(--reveal-delay); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .main-nav, .menu { transition: none !important; } }

/* ---------- 푸터 ---------- */
.site-footer {
  --text: var(--footer-text); --muted: var(--footer-muted); --border: var(--footer-border);
  background: var(--footer-bg); color: var(--text); border-top: 1px solid var(--border);
  padding: 56px 0 40px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 32px; }
.footer-logo { width: 240px; height: auto; }
.biz-info { padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.8; color: var(--muted); }
.biz-info p { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.biz-info a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; font-size: 13px; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--text); }
.legal a.strong { color: var(--text); font-weight: 700; }
.copyright { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; padding: 48px 24px; text-align: center;
}
.error-page img { width: min(240px, 60vw); height: auto; }
.error-page h1 { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }

/* ---------- 법적 고지 (개인정보처리방침 · 이용약관 · 이메일무단수집거부) ---------- */
.legal-doc { padding: 72px 0 96px; font-size: 16px; line-height: 1.8; }
.legal-doc .container { max-width: 860px; }
.legal-doc h1 { font-size: 36px; line-height: 1.3; font-weight: 900; letter-spacing: -0.02em; }
.legal-doc .meta { margin: 12px 0 40px; color: var(--muted); font-size: 15px; }
.legal-doc h2 { margin: 48px 0 14px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 20px; font-weight: 700; }
.legal-doc h3 { margin: 28px 0 10px; font-size: 17px; font-weight: 700; }
.legal-doc p + p, .legal-doc p + ol, .legal-doc p + ul, .legal-doc p + table, .legal-doc table + p { margin-top: 14px; }
.legal-doc ol { padding-left: 1.6em; list-style: decimal; }
.legal-doc ul { padding-left: 1.4em; list-style: disc; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc .lead { font-size: 18px; font-weight: 700; }
.legal-doc .note { margin-top: 48px; color: var(--muted); font-size: 14px; }
.legal-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-doc table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.legal-doc th, .legal-doc td { padding: 12px 14px; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-doc th { background: var(--surface); font-weight: 700; white-space: nowrap; }

/* ---------- 반응형 ---------- */
@media (max-width: 720px) {
  .intro h1 { font-size: 32px; }
  .section-title { font-size: 28px; }
  .section { padding: 64px 0; }
  .legal-doc { padding: 48px 0 64px; }
  .legal-doc h1 { font-size: 28px; }
  .legal-doc th { white-space: normal; }
  .cta-wrap { padding: 64px 0; }
  .cta { padding: 48px 28px; }
  .cta .side { align-items: flex-start; }
  .worries, .cards { grid-template-columns: 1fr; }
  .answer .big { font-size: 24px; }
  .brand { gap: 10px; }
  .brand .symbol { height: 34px; }
  .brand .wordmark { height: 17px; }
  .icon-btn { min-width: 40px; padding: 0 8px; }
  .accordion summary { font-size: 17px; gap: 14px; }
  .accordion .panel { padding-left: 4px; }
  .tech { grid-template-columns: 1fr; gap: 2px; }
  .tech dd { margin-bottom: 10px; }
  .value { padding: 28px 24px; }
  .value p:last-child { font-size: 21px; }
}
