:root {
  --ink: #142b35;
  --muted: #667980;
  --paper: #f5f6f2;
  --panel: #ffffff;
  --line: #dfe5e0;
  --deep: #123a43;
  --mint: #d4f3df;
  --lime: #c7ea57;
  --orange: #ff8b61;
  --shadow: 0 18px 50px rgba(20, 43, 53, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans KR", "DM Sans", sans-serif; line-height: 1.7; }
a { color: inherit; }
button, select { font: inherit; }
.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.ambient-one { width: 380px; height: 380px; right: -160px; top: 110px; background: var(--mint); }
.ambient-two { width: 220px; height: 220px; left: -100px; bottom: 160px; background: #ffe4cf; }
.site-header { height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 70px); background: rgba(245, 246, 242, .88); border-bottom: 1px solid rgba(20, 43, 53, .08); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: .04em; }
.wordmark-mark { width: 34px; height: 34px; border: 2px solid var(--ink); border-radius: 9px 3px 9px 3px; display: grid; place-items: center; font-weight: 800; font-size: 19px; background: var(--lime); }
.wordmark strong, .wordmark small { display: block; line-height: 1.15; }
.wordmark strong { font-family: "DM Sans", sans-serif; font-size: 14px; }
.wordmark small { font-family: "IBM Plex Mono", monospace; font-size: 9px; color: var(--muted); margin-top: 3px; letter-spacing: .12em; }
.header-meta { display: flex; align-items: center; gap: 15px; font: 500 11px "IBM Plex Mono", monospace; color: var(--muted); }
.status-dot { width: 7px; height: 7px; background: #51bf75; border-radius: 50%; box-shadow: 0 0 0 4px rgba(81, 191, 117, .14); }
.ghost-button { border: 1px solid var(--line); background: rgba(255, 255, 255, .72); border-radius: 999px; color: var(--muted); padding: 7px 12px; cursor: pointer; transition: .2s ease; font-size: 12px; }
.ghost-button:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.layout { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 48px; padding: 48px clamp(20px, 4vw, 70px) 70px; }
.sidebar { position: sticky; top: 126px; align-self: start; max-height: calc(100vh - 160px); overflow: auto; }
.sidebar-label, .eyebrow, .stat-label, .note-kicker { font: 600 10px/1.2 "IBM Plex Mono", monospace; letter-spacing: .13em; color: var(--muted); }
.toc { display: grid; gap: 4px; margin-top: 16px; }
.toc a { padding: 8px 10px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 12px; transition: .2s ease; }
.toc a:hover, .toc a.active { color: var(--ink); border-left-color: var(--orange); background: rgba(255, 255, 255, .65); }
.sidebar-note { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; color: var(--muted); font-size: 11px; }
.sidebar-note p { margin: 9px 0 0; line-height: 1.7; }
.content-column { min-width: 0; }
.hero-card { min-height: 390px; display: grid; grid-template-columns: minmax(0, 1fr) 215px; gap: 30px; align-items: center; background: var(--deep); color: white; border-radius: 7px; padding: clamp(30px, 5vw, 64px); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.hero-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -95px; top: -90px; border: 1px solid rgba(199, 234, 87, .25); border-radius: 50%; box-shadow: 0 0 0 32px rgba(199, 234, 87, .05), 0 0 0 64px rgba(199, 234, 87, .04); }
.hero-copy { position: relative; z-index: 1; }
.hero-card .eyebrow { color: var(--lime); }
.hero-card h1 { font: 700 clamp(34px, 5vw, 62px)/1.12 "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.045em; margin: 22px 0 22px; }
.hero-card h1 span { color: var(--lime); }
.hero-lede { max-width: 590px; margin: 0; color: rgba(255,255,255,.76); font-size: 14px; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.primary-button { background: var(--lime); color: var(--ink); border-radius: 999px; text-decoration: none; padding: 12px 17px; font-weight: 700; font-size: 12px; transition: .2s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(199, 234, 87, .22); }
.primary-button span { font-size: 18px; margin-left: 7px; vertical-align: -1px; }
.text-link { color: white; font-size: 12px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.hero-stamp { width: 160px; height: 160px; border: 1px solid rgba(199, 234, 87, .55); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(8deg); color: var(--lime); position: relative; z-index: 1; }
.hero-stamp strong { font: 700 21px/.88 "DM Sans", sans-serif; letter-spacing: -.05em; margin: 13px 0; }
.stamp-small { font: 600 8px "IBM Plex Mono", monospace; letter-spacing: .08em; }
.stamp-line { width: 33px; height: 1px; background: var(--lime); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 12px 0 42px; }
.stat-card { min-height: 122px; padding: 19px 20px; background: var(--panel); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.stat-card strong { font: 700 34px/1 "DM Sans", sans-serif; letter-spacing: -.05em; }
.stat-card > span:last-child { font-size: 11px; color: var(--muted); }
.stat-dark { background: var(--ink); color: white; border-color: var(--ink); }
.stat-dark .stat-label, .stat-dark > span:last-child { color: rgba(255,255,255,.58); }
.stat-accent { background: var(--lime); border-color: var(--lime); }
.progress-panel { background: #fffaf1; border: 1px solid #f0e6d2; padding: 24px 25px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px 30px; margin-bottom: 42px; }
.progress-copy h2 { margin: 8px 0 2px; font: 700 21px "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.03em; }
.progress-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.progress-metrics { display: flex; gap: 25px; justify-content: flex-end; align-items: center; }
.progress-metrics div { display: grid; gap: 1px; text-align: right; }
.progress-metrics strong { font: 700 20px "DM Sans", sans-serif; }
.progress-metrics span { color: var(--muted); font-size: 10px; }
.progress-bar { grid-column: 1 / -1; height: 7px; background: #ebe1cc; overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 0; background: var(--orange); transition: width .4s ease; }
.documents { display: grid; gap: 42px; }
.document, .practice-section { scroll-margin-top: 105px; }
.roadmap-section, .labs-section { border-top: 1px solid var(--ink); margin-top: 56px; padding-top: 36px; scroll-margin-top: 105px; }
.document { border-top: 1px solid var(--line); padding-top: 34px; }
.document-head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.document-head h2, .section-heading-row h2 { font: 700 30px/1.2 "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.04em; margin: 9px 0 5px; }
.document-summary, .section-heading-row p { margin: 0; color: var(--muted); font-size: 13px; }
.section-complete { white-space: nowrap; background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 8px 11px; font-size: 11px; border-radius: 999px; cursor: pointer; }
.section-complete.is-done { background: var(--mint); border-color: #9edab1; color: var(--deep); }
.document-body { max-width: 900px; font-size: 13px; }
.document-body h3 { margin: 32px 0 10px; font: 700 19px/1.35 "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.025em; }
.document-body h4 { margin: 24px 0 8px; font: 700 15px/1.35 "DM Sans", "Noto Sans KR", sans-serif; }
.document-body p { margin: 10px 0 14px; }
.document-body ul, .document-body ol { padding-left: 22px; margin: 11px 0 17px; }
.document-body li { margin: 5px 0; }
.document-body a { color: #12727e; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.document-body code { background: #edf0eb; padding: 2px 5px; border-radius: 3px; font: 12px "IBM Plex Mono", monospace; }
.document-body pre { overflow: auto; background: #132b32; color: #e6f1e9; padding: 16px; border-radius: 4px; font: 12px/1.6 "IBM Plex Mono", monospace; }
.document-body blockquote { border-left: 3px solid var(--orange); margin: 18px 0; padding: 8px 15px; background: #fff3ea; color: #6b4a3d; }
.table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); background: white; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 12px; }
th, td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
th { font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .05em; color: var(--muted); background: #f5f7f3; }
tr:last-child td { border-bottom: 0; }
.practice-section { border-top: 1px solid var(--ink); margin-top: 56px; padding-top: 36px; }
.library-section, .concept-section { border-top: 1px solid var(--ink); margin-top: 56px; padding-top: 36px; scroll-margin-top: 105px; }
.section-heading-row { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.practice-count { font: 600 11px "IBM Plex Mono", monospace; color: var(--muted); white-space: nowrap; }
.resource-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 26px 0 14px; padding: 11px 13px; background: white; border: 1px solid var(--line); }
.resource-toolbar label { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 11px; }
.resource-toolbar input { width: 190px; border: 0; border-bottom: 1px solid var(--line); outline: none; color: var(--ink); background: transparent; padding: 4px 2px; font-size: 11px; }
.resource-toolbar input:focus { border-bottom-color: var(--orange); }
.toolbar-search { margin-left: auto; }
.catalog-grid, .concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.catalog-card, .concept-card { background: white; border: 1px solid var(--line); padding: 20px; min-width: 0; }
.catalog-card { display: flex; flex-direction: column; }
.catalog-card-top, .concept-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.catalog-type { color: #12727e; font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .07em; }
.catalog-access { color: var(--muted); font-size: 10px; text-align: right; }
.catalog-card h3, .concept-card h3 { margin: 12px 0 5px; font: 700 18px/1.35 "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.025em; }
.catalog-card p, .concept-card p { margin: 8px 0; color: var(--muted); font-size: 12px; }
.catalog-provider { font: 10px "IBM Plex Mono", monospace; color: var(--muted); }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 10px 0 13px; }
.catalog-tags span { padding: 3px 7px; border-radius: 999px; background: #f1f4ef; color: var(--muted); font-size: 10px; }
.catalog-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: auto; padding-top: 11px; border-top: 1px solid var(--line); }
.catalog-actions a { color: #12727e; font-size: 11px; font-weight: 700; text-underline-offset: 3px; }
.queue-button { border: 1px solid var(--line); background: transparent; border-radius: 999px; color: var(--muted); padding: 6px 9px; cursor: pointer; font-size: 10px; }
.queue-button:hover, .queue-button.is-queued { border-color: #9edab1; color: var(--deep); background: var(--mint); }
.catalog-action { margin-top: 14px !important; padding: 10px 11px; background: #f7f8f4; font-size: 11px !important; }
.catalog-action strong { color: var(--ink); }
.concept-card h4 { margin: 18px 0 5px; font: 700 12px "DM Sans", "Noto Sans KR", sans-serif; }
.concept-card ul { margin: 6px 0 12px; padding-left: 17px; color: var(--muted); font-size: 12px; }
.concept-card li { margin: 4px 0; }
.concept-contrast { margin-top: 14px; padding: 11px 12px; background: #fffaf1; border-left: 3px solid var(--orange); }
.concept-contrast p { margin-bottom: 0; }
.concept-card details { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 10px; color: var(--muted); font-size: 11px; }
.concept-card summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.concept-card details a { color: #12727e; margin-right: 8px; }
.roadmap-grid, .lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.roadmap-card, .lab-card { background: white; border: 1px solid var(--line); padding: 21px; min-width: 0; }
.roadmap-card.is-done { border-color: #9edab1; background: #fbfffa; }
.roadmap-card-top, .lab-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.roadmap-check { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; cursor: pointer; }
.roadmap-check input, .lab-steps input { accent-color: var(--orange); }
.roadmap-card h3, .lab-card h3 { margin: 11px 0 6px; font: 700 19px/1.35 "DM Sans", "Noto Sans KR", sans-serif; letter-spacing: -.025em; }
.roadmap-card h4, .lab-card h4 { margin: 17px 0 7px; font: 700 12px "DM Sans", "Noto Sans KR", sans-serif; }
.roadmap-card p, .lab-card p { color: var(--muted); font-size: 12px; }
.roadmap-goal, .lab-goal { margin: 0 0 7px; }
.roadmap-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.roadmap-tags span, .lab-meta span { padding: 4px 7px; background: #f1f4ef; color: var(--muted); font-size: 10px; }
.roadmap-labs { margin: 0; }
.roadmap-labs a { color: #12727e; font-size: 11px; text-decoration: none; }
.roadmap-output, .lab-risk { margin-top: 15px; padding: 11px 12px; background: #fffaf1; border-left: 3px solid var(--orange); }
.roadmap-output p { margin: 3px 0 10px; }
.roadmap-output p:last-child { margin-bottom: 0; }
.lab-safety-note { display: flex; gap: 12px; align-items: baseline; margin: 18px 0 14px; padding: 12px 14px; background: #fff3ea; border: 1px solid #f3d7c4; color: #6b4a3d; font-size: 11px; }
.lab-safety-note strong { white-space: nowrap; color: var(--ink); }
.lab-goal { margin: 0; }
.lab-meta { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; color: var(--muted); font: 10px "IBM Plex Mono", monospace; }
.lab-risk { display: grid; gap: 2px; color: var(--muted); font-size: 11px; }
.lab-risk strong { color: var(--ink); }
.lab-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lab-actions a { color: #12727e; font-size: 11px; font-weight: 700; }
.lab-actions span { color: var(--muted); font-size: 10px; }
.lab-card ul { margin: 6px 0 12px; padding-left: 18px; color: var(--muted); font-size: 11px; }
.lab-card li { margin: 4px 0; }
.lab-steps { margin: 0; padding-left: 22px; color: var(--muted); font-size: 11px; }
.lab-steps li { padding-left: 3px; margin: 7px 0; }
.lab-steps label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.lab-steps label span { display: grid; gap: 2px; }
.lab-steps strong { color: var(--ink); font-size: 12px; }
.lab-card details { margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.lab-card summary { color: var(--ink); cursor: pointer; font-weight: 700; }
.lab-card details h4 { margin-top: 13px; }
.lab-card details a { color: #12727e; margin-right: 8px; }
.practice-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 14px; padding: 11px 13px; background: white; border: 1px solid var(--line); }
.practice-filters { display: flex; flex-wrap: wrap; gap: 22px; }
.practice-toolbar label { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--muted); }
select { border: 0; background: transparent; color: var(--ink); font-weight: 600; outline: none; cursor: pointer; }
.question-card { background: var(--deep); color: white; padding: clamp(22px, 4vw, 38px); min-height: 280px; }
.question-meta { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--lime); font: 600 10px "IBM Plex Mono", monospace; letter-spacing: .07em; }
.question-bookmark { background: transparent; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.7); border-radius: 999px; padding: 5px 10px; font-size: 11px; cursor: pointer; }
.question-bookmark.is-saved { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.question-prompt { margin: 21px 0; font-size: 16px; line-height: 1.7; font-weight: 600; }
.options { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.option-label { display: flex; gap: 11px; align-items: flex-start; border: 1px solid rgba(255,255,255,.18); padding: 11px 12px; cursor: pointer; transition: .2s ease; font-size: 12px; }
.option-label:hover { background: rgba(255,255,255,.08); border-color: rgba(199,234,87,.55); }
.option-label input { margin-top: 5px; accent-color: var(--lime); }
.option-label.is-correct { background: rgba(199,234,87,.16); border-color: var(--lime); }
.option-label.is-wrong { background: rgba(255,139,97,.14); border-color: var(--orange); }
.question-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.question-actions button { border: 0; background: var(--lime); color: var(--ink); border-radius: 999px; padding: 9px 14px; font-weight: 700; font-size: 11px; cursor: pointer; }
.question-actions button.secondary { background: transparent; color: white; border: 1px solid rgba(255,255,255,.3); }
.feedback { margin-top: 22px; padding: 14px 15px; background: rgba(255,255,255,.09); border-left: 3px solid var(--lime); font-size: 12px; }
.feedback strong { color: var(--lime); }
.feedback p { margin: 6px 0 0; color: rgba(255,255,255,.8); }
.site-footer { margin-top: 60px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font: 10px "IBM Plex Mono", monospace; letter-spacing: .04em; }
.noscript { padding: 25px; background: #fff3ea; color: var(--ink); }
.empty-state { padding: 30px 0; color: var(--muted); }
@media (max-width: 980px) { .layout { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; } .sidebar { position: static; max-height: none; } .toc { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 4px; } .toc a { white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; } .toc a:hover, .toc a.active { border-bottom-color: var(--orange); } .sidebar-note { display: none; } }
@media (max-width: 700px) { .site-header { height: 66px; padding: 0 16px; } .header-meta > span:not(.status-dot), .header-meta .ghost-button { display: none; } .layout { padding: 20px 16px 50px; } .hero-card { grid-template-columns: 1fr; min-height: auto; padding: 30px 24px 26px; } .hero-stamp { display: none; } .hero-card h1 { font-size: 37px; } .hero-lede { font-size: 13px; } .stats-grid { grid-template-columns: repeat(2, 1fr); margin-bottom: 30px; } .stat-card { min-height: 105px; padding: 15px; } .stat-card strong { font-size: 29px; } .progress-panel { grid-template-columns: 1fr; padding: 20px; } .progress-metrics { justify-content: space-between; gap: 12px; flex-wrap: wrap; } .progress-metrics div { text-align: left; min-width: 55px; } .document-head, .section-heading-row { display: block; } .section-complete { margin-top: 13px; } .practice-toolbar { align-items: flex-start; gap: 10px; flex-direction: column; } .practice-filters { gap: 10px 18px; } .resource-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; } .toolbar-search { margin-left: 0; width: 100%; } .resource-toolbar input { flex: 1; width: auto; min-width: 0; } .catalog-grid, .concept-grid, .roadmap-grid, .lab-grid { grid-template-columns: 1fr; } .lab-safety-note { display: block; } .lab-safety-note span { display: block; margin-top: 5px; } .site-footer { display: block; } .site-footer span { display: block; margin-top: 5px; } }
