:root {
  color-scheme: light;
  --paper: #fffcfa;
  --ink: #2e1830;
  --deep: #3c2141;
  --muted: #694f67;
  --plum: #812660;
  --border: #e9d9e6;
  --blush: #fbe9ef;
  --lavender: #f2e6f7;
  --header: 66px;
  --footer: 65px;
  font: 15px/1.55 "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 280px; padding-bottom: var(--footer); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid #ad397f; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
h1, h2, h3 { word-break: keep-all; }
h3 { font-size: 19px; letter-spacing: -.035em; }
.masthead { min-height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: clamp(17px, 5vw, 75px); border-bottom: 1px solid var(--border); }
.wordmark { font: bold clamp(17px, 2vw, 22px)/1.05 Georgia, "Noto Serif KR", serif; letter-spacing: -.04em; text-decoration: none; }
.wordmark span, .cover h1 span { color: var(--plum); }
.quick-nav { display: flex; gap: clamp(12px, 3vw, 36px); }
.quick-nav a { font-size: 13px; font-weight: 750; text-decoration: none; }
.quick-nav a:hover, .quick-nav a[aria-current] { color: var(--plum); }
.chapter { min-height: calc(100svh - var(--header) - var(--footer)); }
.standard { padding: clamp(27px, 5.5vw, 70px) clamp(17px, 5vw, 75px) 42px; }
.standard > * { max-width: 1360px; margin-inline: auto; }
.warm { background: #fff6f8; }
.eyebrow { color: var(--plum); font-size: 12px; font-weight: 800; letter-spacing: .055em; }
.cover { display: grid; grid-template-columns: .8fr 1.2fr; min-height: calc(100svh - var(--header) - var(--footer)); background: #fcf0f5; }
.cover-copy { grid-column: 1; grid-row: 1; padding: clamp(30px, 6vw, 86px) 24px 28px clamp(17px, 5vw, 75px); align-self: center; }
.cover h1 { margin-block: 13px 15px; font-size: clamp(53px, 8.5vw, 122px); line-height: .96; letter-spacing: -.085em; font-weight: 900; }
.cover-subtitle { font-size: clamp(16px, 2vw, 25px); line-height: 1.3; font-weight: 750; letter-spacing: -.045em; word-break: keep-all; }
.cover-art { grid-column: 2; grid-row: 1; min-height: 370px; }
.cover-art img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: 51% 48%; display: block; }
.hero-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 25px; }
.button { display: inline-flex; align-items: center; gap: 11px; border: 1px solid transparent; min-height: 42px; padding: 9px 14px; text-decoration: none; border-radius: 6px; font-size: 13px; font-weight: 750; }
.primary { background: var(--deep); color: white; }
.primary:hover { background: var(--plum); }
.ghost { border-color: #b48da8; }
.ghost:hover { background: #f6dfeb; }
.cover-kpis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3,1fr); padding: 16px clamp(17px, 5vw, 75px) 24px; background: var(--paper); border-top: 1px solid var(--border); align-items: center; }
.cover-kpis > div { padding: 0 clamp(10px, 3vw, 36px); border-inline-start: 1px solid var(--border); }
.cover-kpis > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.cover-kpis dt { font-size: 12px; font-weight: 750; color: var(--muted); }
.cover-kpis dd { font-size: clamp(26px, 4vw, 51px); font-weight: 850; color: var(--plum); letter-spacing: -.065em; line-height: 1.23; }
.cover-kpis small { color: var(--muted); font-size: 12px; }
.section-head { margin-bottom: clamp(20px, 3vw, 37px); }
.section-head h2 { margin: 4px 0 6px; font-size: clamp(34px, 5.6vw, 70px); line-height: 1.1; letter-spacing: -.075em; font-weight: 900; }
.section-head > p:last-child { color: var(--muted); font-size: clamp(13px, 1.5vw, 17px); word-break: keep-all; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(15px, 4vw, 58px); align-items: start; }
.process, .timeline { list-style: none; padding: 0; border-top: 1px solid var(--border); }
.process { counter-reset: process; }
.process li, .timeline li { border-bottom: 1px solid var(--border); padding-block: 11px; display: grid; column-gap: 12px; }
.process li { grid-template-columns: 37px minmax(0, 1fr); counter-increment: process; }
.process li::before { content: counter(process, decimal-leading-zero); color: var(--plum); font-weight: 850; grid-row: 1 / span 2; }
.process strong { font-size: 16px; }
.process span { grid-column: 2; color: var(--muted); font-size: 13px; }
.detail-panel { background: var(--lavender); padding: clamp(15px, 2.8vw, 29px); border-radius: 12px; }
.detail-panel p + p { margin-top: 8px; }
.metric-list { margin-top: 8px; }
.metric-list > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.metric-list dd { font-weight: 850; color: var(--plum); white-space: nowrap; }
.fine { margin-block: 10px; color: var(--muted); font-size: 12px; word-break: keep-all; }
.text-link, .text-button { color: var(--plum); font-size: 13px; font-weight: 750; text-underline-offset: 3px; }
.text-button { border: 0; background: none; text-decoration: underline; padding: 3px; }
.table-wrap { overflow: auto; width: 100%; border: 1px solid var(--border); background: var(--paper); }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--border); padding: 7px 9px; text-align: center; white-space: nowrap; }
thead th { font-size: 13px; background: var(--deep); color: white; }
tbody tr:nth-child(even) { background: #fcf1f7; }
tbody tr:last-child > *, tfoot tr:last-child > * { border-bottom: 0; }
.data-table { font-size: 13px; }
.data-table :is(th,td):first-child { text-align: left; }
.target-list { border-top: 1px solid var(--border); }
.target-list > div { display: grid; grid-template-columns: minmax(118px, .75fr) minmax(0, 1.25fr); gap: 11px; border-bottom: 1px solid var(--border); padding: 11px 0; }
.target-list dt { font-weight: 850; color: var(--plum); word-break: keep-all; }
.target-list dd { font-size: 14px; word-break: keep-all; }
.target-list small { color: var(--muted); }
.flow-title { margin-top: 25px; }
.funnel { padding: 0; list-style: none; margin-top: 8px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.funnel li { background: var(--lavender); border-radius: 8px; text-align: center; font-size: 12px; font-weight: 750; padding: 8px 3px; white-space: nowrap; }
.funnel :is(:nth-child(4),:last-child) { background: var(--blush); }
.funnel b { display: block; line-height: 1.2; color: var(--plum); font-size: clamp(21px, 3vw, 36px); }
.timeline li { grid-template-columns: minmax(93px, .32fr) minmax(0, 1fr); align-items: baseline; }
.timeline time { color: var(--plum); font-weight: 850; font-variant-numeric: tabular-nums; }
.timeline span { font-size: 14px; word-break: keep-all; }
.goals-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(14px, 3vw, 36px); align-items: start; }
.chart-panel { background: #fbf4fa; border: 1px solid var(--border); border-radius: 12px; padding: clamp(12px, 2vw, 21px); }
.chart-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 9px; }
.chart-heading label { font-weight: 750; font-size: 12px; }
select, input { border: 1px solid #cdb0c5; border-radius: 6px; background: var(--paper); padding: 6px 8px; min-height: 33px; }
.chart-scroll { overflow-x: auto; margin-top: 9px; }
.month-chart { display: grid; grid-template-columns: repeat(12, minmax(23px, 1fr)); height: 167px; min-width: 315px; gap: 2px; border-bottom: 1px solid var(--border); }
.month-bar { border: 0; padding: 0 2px 4px; min-width: 0; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; font-size: 11px; }
.month-bar span { font-weight: 750; order: -1; }
.month-bar i { width: min(85%, 26px); height: var(--height); background: #dbafd0; border-radius: 4px 4px 0 0; }
.month-bar[aria-pressed="true"] { color: var(--plum); font-weight: 850; }
.month-bar[aria-pressed="true"] i, .month-bar:hover i { background: var(--plum); }
.month-detail { margin-top: 10px; }
.month-detail dl { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 7px; }
.month-detail dt { font-size: 10px; color: var(--muted); white-space: nowrap; }
.month-detail dd { color: var(--plum); font-weight: 850; font-size: 16px; white-space: nowrap; }
.monthly-table :is(th,td) { padding: 3px 7px; }
.monthly-table tbody tr.selected, .monthly-table tfoot { background: var(--blush); font-weight: 850; }
.monthly-table button { background: transparent; border: 0; padding: 1px 0; min-width: 31px; text-align: left; font-weight: 750; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
details { font-size: 12px; color: var(--muted); }
details summary { cursor: pointer; font-weight: 750; }
details p { margin-top: 7px; }
.closing { background: var(--deep); color: white; --border: #68486b; --muted: #e9cfe2; --plum: #ffc0dd; }
.closing .detail-panel { background: #54345b; }
.closing .primary { background: #ffe2f0; color: #54234a; }
.closing .ghost:hover { background: #6e4b74; }
.chapter-bar { position: fixed; z-index: 5; inset: auto 0 0; min-height: var(--footer); display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 8px clamp(14px, 5vw, 75px) max(8px, env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--border); }
.chapter-position { display: flex; flex-direction: column; min-width: 72px; font-size: 11px; line-height: 1.3; color: var(--muted); font-weight: 700; white-space: nowrap; }
.chapter-position strong { color: var(--plum); font-size: 14px; }
#chapter-nav { display: flex; align-items: center; justify-content: center; gap: 5px; }
#chapter-nav a { display: grid; place-items: center; width: 31px; min-height: 30px; border: 1px solid var(--border); border-radius: 5px; text-decoration: none; font-size: 11px; font-weight: 750; }
#chapter-nav a[aria-current="step"] { color: white; background: var(--deep); border-color: var(--deep); }
.chapter-controls { display: flex; gap: 5px; }
.arrow { width: 40px; height: 36px; border: 1px solid var(--border); border-radius: 6px; background: var(--blush); font-size: 19px; }
.arrow:disabled { opacity: .38; }
@media (max-width: 760px) {
  :root { --header: 56px; --footer: 59px; }
  .quick-nav { display: none; }
  .header-download { font-size: 11px; }
  .cover { display: flex; flex-direction: column; }
  .cover-copy { padding-block: 27px 23px; width: 100%; }
  .cover h1 br { display: none; }
  .cover h1 { font-size: clamp(45px, 9vw, 68px); margin: 10px 0; }
  .cover-art { min-height: auto; }
  .cover-art img { max-height: 285px; aspect-ratio: 2 / 1; }
  .cover-kpis { flex: 1; align-items: start; padding-block: 11px 16px; }
  .cover-kpis small { font-size: 10px; }
  .cover-kpis dd { font-size: clamp(19px, 4.8vw, 32px); }
  .split, .goals-layout { grid-template-columns: 1fr; }
  .funnel { grid-template-columns: repeat(4,1fr); }
  .chapter-bar { gap: 5px; }
  #chapter-nav { gap: 3px; }
  #chapter-nav a { width: 24px; min-height: 27px; }
  .arrow { width: 34px; height: 34px; }
}
@media (max-width: 390px) {
  #chapter-nav a { width: 20px; font-size: 10px; }
  .chapter-position { min-width: 52px; }
  .chapter-position span { display: none; }
  .hero-actions { margin-top: 15px; }
}

/* Education copy and the embedded estimate lesson */
.masthead { justify-content: space-between; }
.cover h1 { font-size: clamp(42px, 4.9vw, 76px); line-height: 1.13; letter-spacing: -.065em; }
.demo-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; }
.demo-tools p { color: var(--muted); word-break: keep-all; }
.estimate-frame { display: block; width: 100%; height: max(650px, 70svh); border: 1px solid var(--border); border-radius: 12px; background: var(--paper); }
.closing-steps { width: min(100%, 920px); margin-inline: 0 auto; }
@media (max-width: 760px) {
  .cover h1 { font-size: clamp(33px, 8vw, 56px); }
  .cover h1 br { display: initial; }
  .estimate-frame { height: 820px; }
  .demo-tools { align-items: start; }
  .demo-tools .button { white-space: nowrap; }
}
