/* chatela.ai: 밖에서 불러오는 글꼴·스크립트·추적 없음 */
:root {
  --bg: #F7F8FB; --surface: #FFFFFF; --ink: #141A2E; --muted: #55607A; --line: #E2E6EF;
  --blue: #3B4FD0; --teal: #1E9A8C; --gold: #E9A92A; --accent: #2F55C4; --soft: #EEF1FB;
  --radius: 18px; --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Pretendard", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #0D1120; --surface: #151B2E; --ink: #EEF1F8; --muted: #9AA4BD; --line: #262E45; --accent: #8EA2FF; --soft: #1B2340; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0D1120; --surface: #151B2E; --ink: #EEF1F8; --muted: #9AA4BD; --line: #262E45; --accent: #8EA2FF; --soft: #1B2340; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.01em; }
.brand img { width: 30px; height: 30px; }
.brand:hover { text-decoration: none; }
nav.links { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--ink); text-decoration: none; }
.hero { padding: 88px 0 72px; text-align: center; }
.hero .mark { width: 112px; height: 112px; filter: drop-shadow(0 18px 36px rgba(47, 85, 196, .28)); }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -.03em; margin: 28px auto 18px; max-width: 14em; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--blue), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 36em; margin: 0 auto; text-wrap: pretty; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.pill.solid { background: var(--ink); color: var(--bg); }
.pill.line { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.pill:hover { text-decoration: none; opacity: .92; }
.soon { margin-top: 14px; font-size: 14px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 6px; vertical-align: 1px; }
section { padding: 64px 0; }
section h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -.02em; line-height: 1.2; margin: 0 0 10px; text-wrap: balance; }
section .sub { color: var(--muted); margin: 0 0 36px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--soft); color: var(--accent); }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.node { text-align: center; min-width: 0; }
.node b { display: block; font-size: 16px; }
.node span { display: block; font-size: 14px; color: var(--muted); }
.node .ico { margin: 0 auto 10px; }
.node.home .ico { background: linear-gradient(135deg, var(--blue), var(--teal)); color: #fff; }
.arrow { color: var(--muted); font-size: 22px; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.note { border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; color: var(--muted); font-size: 16px; }
.note b { color: var(--ink); }
footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer .grow { flex: 1; }
.doc { max-width: 46em; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); text-align: left; margin: 0 0 8px; max-width: none; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  nav.links { display: none; }
  .flow { grid-template-columns: 1fr; text-align: center; }
  .arrow { transform: rotate(90deg); }
  .hero { padding: 64px 0 48px; }
}
:lang(ko) body, :lang(ko) .lead, :lang(ko) .card p, :lang(ko) .note { word-break: keep-all; overflow-wrap: anywhere; }
section h2.gap { margin-top: 56px; }
