/* Antation 랜딩 — 앱과 같은 종이색 · 먹 · 금빛 달. 글꼴은 Pretendard. */
:root {
  --bg: #f7f4ed; --card: #fdfcf9; --ink: #1c1a17; --sub: #5d564a; --faint: #9a917f;
  --line: rgba(52, 42, 20, .10); --line2: rgba(52, 42, 20, .16); --gold: #c9962b; --hover: rgba(52, 42, 20, .05);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.7 "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(247, 244, 237, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 22px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
header.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
header.top nav a { text-decoration: none; font-size: 14px; color: var(--sub); padding: 7px 11px; border-radius: 8px; }
header.top nav a:hover { background: var(--hover); color: var(--ink); }
header.top nav a.lang { border: 1px solid var(--line2); margin-left: 6px; color: var(--ink); }

.hero { padding: 84px 0 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.16; letter-spacing: -.035em; font-weight: 800; margin: 0 auto; max-width: 16em; }
.lead { font-size: clamp(16px, 2.1vw, 19px); color: var(--sub); max-width: 34em; margin: 22px auto 0; line-height: 1.75; }
.cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; background: var(--ink); color: #fbf8f1; font-weight: 600; font-size: 15px; text-decoration: none; }
.pill.ghost { background: none; color: var(--ink); border: 1px solid var(--line2); font-weight: 500; }
.pill.ghost:hover { background: var(--hover); }
.fine { margin-top: 14px; font-size: 13px; color: var(--faint); }

.shot { margin: 46px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: var(--card); box-shadow: 0 1px 2px rgba(40, 30, 10, .05), 0 24px 70px rgba(40, 30, 10, .13); }
.shot.small { max-width: 860px; }

section { padding: 84px 0 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.25; letter-spacing: -.03em; font-weight: 750; margin: 0; }
.sechead { max-width: 30em; }
.sechead p { color: var(--sub); margin: 12px 0 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 24px; }
.card h3 { font-size: 17px; letter-spacing: -.02em; margin: 0 0 8px; font-weight: 700; }
.card p { margin: 0; color: var(--sub); font-size: 15px; line-height: 1.7; }
.card .k { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--gold); margin-bottom: 10px; display: block; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; counter-reset: s; }
.step { padding: 4px 0 0; border-top: 2px solid var(--ink); }
.step::before { counter-increment: s; content: counter(s); display: block; font-size: 13px; font-weight: 700; color: var(--gold); margin: 12px 0 6px; }
.step h3 { font-size: 17px; margin: 0 0 6px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--sub); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; margin-top: 8px; }
.split ul { margin: 18px 0 0; padding: 0; list-style: none; }
.split li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--sub); font-size: 15.5px; }
.split li b { color: var(--ink); font-weight: 650; }

.faq { max-width: 760px; margin-top: 26px; }
.faq details { border-top: 1px solid var(--line2); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 650; font-size: 16.5px; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 20px; font-weight: 400; color: var(--faint); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--sub); font-size: 15.5px; max-width: 40em; }

footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 30px 0 46px; color: var(--faint); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
footer .note { flex-basis: 100%; max-width: 52em; line-height: 1.65; }

@media (max-width: 860px) {
  .grid, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 22px; }
  .hero { padding-top: 56px; }
  section { padding-top: 64px; }
  header.top nav a.hide-s { display: none; }
}

/* ---------- 첫 화면: 왼쪽 제목 · 오른쪽 체험 창 (Claude Code 페이지처럼) ---------- */
.hero2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 64px 24px 24px; max-width: 1320px; }
.hero2 h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -.045em; margin: 0; max-width: none; text-align: left; }
.hero2 h1 .tag { display: block; font-size: .42em; line-height: 1.3; letter-spacing: -.03em; font-weight: 700; color: var(--sub); margin-top: 14px; }
.hero2 .lead { margin: 18px 0 0; text-align: left; }
.hero2 .cta { justify-content: flex-start; flex-direction: column; align-items: stretch; max-width: 340px; }
.hero2 .cta .pill { justify-content: center; }
.hero2 .fine { text-align: left; }
.tryhint { margin-top: 26px; font-size: 13.5px; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.tryhint b { color: var(--gold); font-weight: 600; }

/* 체험 창 — 앱과 같은 종이색 · 사이드바 유리 · 둥근 판 */
.mock { --m-ink: #1c1a17; --m-sub: #6b6252; --m-faint: #a2977f; --m-line: rgba(52, 42, 20, .10); --m-card: #fdfcf9; --m-paper: #f0ece3; --m-sel: rgba(52, 42, 20, .08); --m-gold: #c9962b; --m-red: #d4483b; }
.mwin { display: grid; grid-template-columns: 172px minmax(0, 1fr); height: 520px; border-radius: 14px; overflow: hidden; background: #ece7dc;
  border: 1px solid var(--line2); box-shadow: 0 1px 2px rgba(40, 30, 10, .05), 0 30px 80px rgba(40, 30, 10, .16); font-size: 13px; color: var(--m-ink); text-align: left; }
.mwin button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.mside { display: flex; flex-direction: column; padding: 12px 8px 10px; min-width: 0; }
.mlights { display: flex; gap: 6px; padding: 2px 6px 14px; }
.mlights i { width: 10px; height: 10px; border-radius: 50%; background: #e0574d; } .mlights i:nth-child(2) { background: #e8b53c; } .mlights i:nth-child(3) { background: #5dbb52; }
.mlabel { font-size: 11px; color: var(--m-faint); padding: 10px 8px 4px; }
.mrow { padding: 5px 8px; color: var(--m-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow.course { color: var(--m-ink); font-weight: 600; }
.mdeck { display: block; width: 100%; text-align: left; padding: 6px 8px 6px 22px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mdeck:hover { background: var(--m-sel); } .mdeck.on { background: var(--m-sel); font-weight: 600; }
.muser { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 8px; color: var(--m-sub); }
.muser span { width: 22px; height: 22px; border-radius: 50%; background: #e8b53c; color: #3a2a06; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mmain { background: #f7f4ed; border-radius: 10px 0 0 10px; box-shadow: 0 0 0 1px rgba(52, 42, 20, .10); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mbar { height: 42px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--m-line); }
.crumb { color: var(--m-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .crumb b { color: var(--m-ink); } .crumb i { font-style: normal; margin: 0 2px; }
.mtabs { margin-left: auto; display: flex; gap: 2px; flex: none; }
.mtabs button { padding: 5px 9px; border-radius: 7px; color: var(--m-faint); font-weight: 500; }
.mtabs button:hover { color: var(--m-ink); } .mtabs button.on { color: var(--m-ink); font-weight: 700; }
.mbody { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.mleft { background: var(--m-paper); display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--m-line); }
.mslidewrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px; min-height: 0; container-type: inline-size; }
.mslide { width: 100%; aspect-ratio: 16 / 9; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(40, 30, 10, .08), 0 8px 24px rgba(40, 30, 10, .08); padding: 5.5cqw 6cqw; overflow: hidden; }
.mslide.pulse { animation: mpulse .5s ease; }
@keyframes mpulse { 0% { box-shadow: 0 0 0 3px rgba(201, 150, 43, .55); } 100% { box-shadow: 0 1px 3px rgba(40, 30, 10, .08), 0 8px 24px rgba(40, 30, 10, .08); } }
.mslide .sk { font-size: 2.6cqw; color: var(--m-faint); letter-spacing: .05em; }
.mslide h5 { font-size: 6.4cqw; margin: .6cqw 0 2.6cqw; letter-spacing: -.02em; line-height: 1.2; }
.mslide h5 span { font-weight: 400; color: var(--m-faint); font-size: .7em; }
.mslide .sb { font-size: 3.5cqw; line-height: 1.7; }
.mslide ul, .mslide ol { margin: 0; padding-left: 1.2em; }
.mslide .dim { color: var(--m-sub); margin: 0; }
.mslide ol.steps5 { list-style: none; padding: 0; counter-reset: s; }
.mslide ol.steps5 li { counter-increment: s; display: grid; grid-template-columns: 4cqw 17cqw 1fr; font-size: .92em; }
.mslide ol.steps5 li::before { content: counter(s); color: var(--m-gold); font-weight: 700; }
.mpager { height: 38px; flex: none; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--m-sub); font-variant-numeric: tabular-nums; }
.mpager button { width: 26px; height: 26px; border-radius: 7px; font-size: 18px; line-height: 1; color: var(--m-sub); }
.mpager button:hover { background: var(--m-sel); }
.mpanel { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mscroll { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 18px 18px; }
.mpanel .h { font-size: 11.5px; color: var(--m-faint); font-weight: 600; margin: 16px 0 6px; }
.mcenter { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--m-sub); gap: 12px; }
.mcenter p { margin: 0; line-height: 1.7; } .mcenter p.small { font-size: 12px; color: var(--m-faint); max-width: 22em; }
.mbtn { height: 30px; padding: 0 12px; border-radius: 8px !important; border: 1px solid var(--m-line) !important; background: var(--m-card) !important; font-weight: 500; white-space: nowrap; }
.mbtn:hover { border-color: rgba(52, 42, 20, .25) !important; }
.mbtn.dark { background: var(--m-ink) !important; color: #fbf8f1 !important; border-color: var(--m-ink) !important; }
.mrowbtn { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* 대화 */
.mhint { color: var(--m-faint); line-height: 1.6; margin-bottom: 12px; }
.mq { margin: 0 0 12px auto; max-width: 86%; width: fit-content; background: #efe9dc; padding: 8px 12px; border-radius: 12px; line-height: 1.55; }
.ma { margin: 0 0 16px; line-height: 1.72; }
.caret { display: inline-block; width: 6px; height: 14px; background: var(--m-gold); vertical-align: -2px; margin-left: 2px; animation: blink .8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pref { display: inline-block; padding: 0 6px; margin: 0 1px; border-radius: 6px; background: rgba(201, 150, 43, .14) !important; color: #8a6413 !important; font-size: 11.5px; font-weight: 600; line-height: 18px; vertical-align: 1px; cursor: pointer; }
.pref:hover { background: rgba(201, 150, 43, .28) !important; }
.mchips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mchips span { font-size: 11.5px; color: var(--m-faint); }
.mchips button { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--m-line); background: var(--m-card); text-align: left; line-height: 1.4; }
.mchips button:hover { border-color: var(--m-gold); }
.minput { flex: none; margin: 0 12px 12px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 12px; background: var(--m-card); border: 1px solid var(--m-line); box-shadow: 0 2px 8px rgba(40, 30, 10, .05); }
.minput input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--m-ink); height: 28px; }
.mmodel { font-size: 11.5px; color: var(--m-faint); white-space: nowrap; }
.minput button { width: 28px; height: 28px; border-radius: 50%; background: #e8b53c !important; color: #3a2a06 !important; font-weight: 700; }
/* 정리본 */
.mnote h4 { font-size: 14px; margin: 14px 0 6px; } .mnote h4:first-child { margin-top: 0; }
.mnote ul { margin: 0; padding-left: 1.1em; line-height: 1.75; } .mnote p { margin: 0 0 6px; line-height: 1.7; }
.mnote .memo { background: rgba(201, 150, 43, .10); padding: 6px 10px; border-radius: 8px; }
.tagx { font-size: 10.5px; color: #8a6413; background: rgba(201, 150, 43, .14); padding: 1px 6px; border-radius: 5px; font-weight: 600; vertical-align: 2px; }
/* 카드 */
.mcards { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.mcount { font-size: 11.5px; color: var(--m-faint); text-align: center; }
.mcard { min-height: 210px; border-radius: 14px !important; background: var(--m-card) !important; border: 1px solid var(--m-line) !important; box-shadow: 0 6px 20px rgba(40, 30, 10, .07);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 18px !important; text-align: center; transition: transform .25s; }
.mcard:hover { transform: translateY(-2px); }
.mcard b { font-size: 15px; line-height: 1.5; }
.ctag { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--m-sel); color: var(--m-sub); }
.ctag.ex { background: rgba(212, 72, 59, .12); color: #b23b30; }
.cflip { font-size: 12px; color: var(--m-faint); }
.cans { font-size: 14.5px; color: #8a6413; font-weight: 600; animation: fadein .3s; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }
/* LIVE */
.mlivehead { display: flex; }
.mseg { display: inline-flex; background: var(--m-sel); border-radius: 8px; padding: 2px; }
.mseg button { padding: 3px 10px; border-radius: 6px; color: var(--m-sub); font-size: 12px; }
.mseg button.on { background: var(--m-card); color: var(--m-ink); font-weight: 600; box-shadow: 0 1px 2px rgba(40, 30, 10, .08); }
.msaid p { margin: 0; line-height: 1.65; animation: fadein .3s; } .msaid .faint { color: var(--m-faint); }
.ts { font: 11px ui-monospace, Menlo, monospace; color: var(--m-faint); margin-left: 4px; }
button.ts { margin: 0 8px 0 0; cursor: pointer; } button.ts:hover { color: var(--m-gold); }
.memph .e { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--m-line); line-height: 1.5; }
.memph .e .x { flex: 1 1 150px; min-width: 0; }
.memph .e:first-child { border-top: 0; }
.memph .k { font-size: 11px; font-weight: 600; color: var(--m-faint); flex-basis: 100%; } .memph .k.exam { color: var(--m-gold); }
.mflow { margin: 0; line-height: 1.7; color: var(--m-sub); }
.mtr p { margin: 10px 0 0; line-height: 1.65; }
.mdot { width: 12px; height: 12px; border-radius: 50%; background: var(--m-red); animation: blink 1.2s infinite; }
.mtime { font-size: 40px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--m-ink); line-height: 1; }
.mlvl { width: 160px; height: 4px; border-radius: 2px; background: var(--m-sel); overflow: hidden; } .mlvl b { display: block; height: 100%; background: var(--m-red); transition: width .12s; }
.mpend { border: 1px solid var(--m-line); background: var(--m-card); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; animation: fadein .3s; }
.mpend .h { margin: 0 !important; }
.mpend .prow { display: flex; font-weight: 500; } .mpend .prow i { margin-left: auto; font-style: normal; color: var(--m-faint); font-size: 12px; }
.mpend .mbtn { align-self: flex-start; }
.mbusy { display: flex; flex-wrap: wrap; gap: 8px; color: var(--m-sub); font-size: 12.5px; } .mbusy #mstp { margin-left: auto; font-variant-numeric: tabular-nums; }
.mbar2 { flex-basis: 100%; height: 4px; border-radius: 2px; background: var(--m-sel); overflow: hidden; } .mbar2 b { display: block; height: 100%; width: 0; background: var(--m-gold); transition: width .1s; }

/* 어떤 파일이든 PDF 로 — 체험 */
.conv { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; margin-top: 8px; }
.cbox { background: var(--card); border: 1px solid var(--line2); border-radius: 16px; padding: 18px; box-shadow: 0 18px 50px rgba(40, 30, 10, .08); }
.czone { border: 1.5px dashed var(--line2); border-radius: 12px; padding: 22px 16px; text-align: center; color: var(--faint); font-size: 14px; transition: background .15s, border-color .15s; }
.czone.over { background: rgba(201, 150, 43, .08); border-color: var(--gold); color: var(--ink); }
.cfiles { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.cfiles button { font: inherit; font-size: 13.5px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg); cursor: pointer; color: var(--ink); }
.cfiles button:hover:not(:disabled) { border-color: var(--gold); }
.cfiles button:disabled { opacity: .35; cursor: default; }
.clist { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; min-height: 40px; }
.crow { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg); font-size: 14px; animation: fadein .3s; }
.crow .cn { font-weight: 600; } .crow .cs { margin-left: auto; color: var(--faint); font-size: 12.5px; } .crow .cs b { color: var(--gold); font-weight: 600; }
.crow.ok { background: rgba(201, 150, 43, .08); }
.cnote { font-size: 12px; color: var(--faint); margin-top: 10px; text-align: center; }

@media (max-width: 1180px) {
  .hero2 { grid-template-columns: 1fr; gap: 28px; padding-top: 44px; }
  .tryhint { margin-top: 18px; }
  .hero2 .cta { max-width: none; flex-direction: row; }
  .conv { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .mwin { grid-template-columns: 1fr; height: auto; }
  .mside { display: none; }
  .mmain { border-radius: 0; }
  .mbody { grid-template-columns: 1fr; }
  .mleft { border-right: 0; border-bottom: 1px solid var(--m-line); }
  .mpanel { height: 380px; }
  .mtabs button { padding: 5px 6px; }
  .crumb { display: none; }
  .mtabs { margin-left: 0; }
}
