/* AX 교육 page */
.ax .h2 { white-space: pre-line; }
.ax-hero { background: #14121a; color: #fff; position: relative; overflow: hidden; }
.ax-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 80% at 90% 40%, color-mix(in oklch, var(--accent) 45%, transparent), transparent 70%); opacity: .55; pointer-events: none; }
.ax-hero .wrap { position: relative; }
.ax-hero .crumb { color: rgba(255,255,255,.55); }
.ax-hero .crumb a:hover, .ax-hero .crumb b { color: #fff; }
.ax-hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding: 56px 0 88px; }
.ax-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); }
.ax-hero h1 { font-size: 54px; letter-spacing: -0.045em; line-height: 1.2; margin-top: 20px; }
.ax-lead { font-size: 17px; color: rgba(255,255,255,.72); margin-top: 24px; max-width: 560px; line-height: 1.75; text-wrap: pretty; }
.ax-hero .btns { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.ax-hero-stats { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); padding: 8px 28px; }
.ax-hero-stats .hd { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.55); padding: 18px 0 6px; }
.ax-hero-stats .st { display: grid; grid-template-columns: 128px 1fr; gap: 18px; align-items: center; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.ax-hero-stats .st:first-of-type { border-top: 0; }
.ax-hero-stats .st > b { font-size: 46px; letter-spacing: -0.04em; font-weight: 800; color: var(--accent-light); line-height: 1; }
.ax-hero-stats p { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,.88); text-wrap: pretty; }
.ax-hero-stats small { display: block; margin-top: 6px; font-size: 11.5px; color: rgba(255,255,255,.45); font-family: 'JetBrains Mono', monospace; }

/* why */
.ax-why { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.ax-why-l p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-top: 20px; text-wrap: pretty; }
.ax-cmp { border-top: 1px solid var(--fg); }
.ax-cmp > div { display: grid; grid-template-columns: 1fr 32px 1.15fr; align-items: center; border-bottom: 1px solid var(--line); }
.ax-cmp .hd span { padding: 16px 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.ax-cmp .hd span:last-child { grid-column: 3; color: var(--accent); }
.ax-cmp .a { padding: 18px 0; font-size: 15px; color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in oklch, var(--muted) 40%, transparent); }
.ax-cmp i { font-style: normal; color: var(--accent); font-weight: 700; }
.ax-cmp .b { padding: 18px 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }

/* market */
.ax-mkt { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ax-mkt > div { background: var(--surface); border-radius: var(--radius); padding: 36px; }
.ax-mkt .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ax-mkt .top b { font-size: 26px; letter-spacing: -0.03em; }
.ax-mkt .top em { font-style: normal; font-size: 15px; font-weight: 800; color: var(--accent); }
.ax-mkt p { font-size: 15px; line-height: 1.75; color: var(--muted); margin: 18px 0; text-wrap: pretty; }
.ax-mkt ul { list-style: none; display: grid; gap: 8px; }
.ax-mkt li { font-size: 14.5px; font-weight: 600; padding-left: 16px; position: relative; }
.ax-mkt li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* levels */
.ax-lv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ax-lv button { text-align: left; padding: 26px 26px 24px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: .2s; }
.ax-lv button:hover { border-color: var(--fg); }
.ax-lv small { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700; color: var(--accent); }
.ax-lv b { font-size: 22px; letter-spacing: -0.03em; }
.ax-lv .who { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.ax-lv ul { list-style: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.ax-lv li { font-size: 14px; line-height: 1.5; }
.ax-lv li::before { content: '— '; color: var(--muted); }
.ax-lv button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ax-lv button.on small { color: var(--accent-light); }
.ax-lv button.on .who { color: color-mix(in oklch, var(--bg) 65%, transparent); }
.ax-lv button.on ul { border-color: rgba(255,255,255,.16); }

.ax-trk-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 48px 0 16px; border-bottom: 1px solid var(--line); }
.ax-trk-tabs button { position: relative; text-align: left; padding: 16px 18px 18px 0; display: flex; flex-direction: column; gap: 4px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); transition: .2s; }
.ax-trk-tabs small { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.ax-trk-tabs b { font-size: 18px; letter-spacing: -0.03em; }
.ax-trk-tabs i { position: absolute; top: 14px; right: 14px; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in oklch, var(--accent) 12%, var(--bg)); color: var(--accent); }
.ax-trk-tabs button.rec { color: var(--fg); }
.ax-trk-tabs button.on { color: var(--fg); border-bottom-color: var(--accent); }
.ax-trk-tabs button.on small { color: var(--accent); }

.ax-trk { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; animation: aUp .45s both; }
.ax-trk-l { background: var(--surface); border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; }
.ax-trk-l .org { font-size: 13px; font-weight: 700; color: var(--accent); font-family: 'JetBrains Mono', monospace; }
.ax-trk-l h3 { font-size: 30px; letter-spacing: -0.04em; margin: 12px 0 24px; }
.ax-trk-l dl { display: grid; gap: 0; margin-bottom: 32px; }
.ax-trk-l dl > div { display: grid; grid-template-columns: 88px 1fr; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ax-trk-l dt { color: var(--muted); font-weight: 600; font-size: 14px; }
.ax-trk-l dd { font-weight: 700; }
.ax-trk-l .btn { margin-top: auto; align-self: flex-start; }
.ax-trk-r { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 36px; }
.ax-trk-r li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ax-trk-r li:last-child { border-bottom: 0; }
.ax-trk-r em { font-style: normal; font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); padding-top: 3px; }
.ax-trk-r b { font-size: 17px; letter-spacing: -0.02em; }
.ax-trk-r p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-top: 4px; }

/* timetable */
.ax-tt { margin-top: 16px; border-radius: var(--radius); background: #14121a; color: #fff; padding: 40px; }
.ax-tt-h { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 28px; }
.ax-tt-h small { font-size: 12.5px; font-family: 'JetBrains Mono', monospace; color: var(--accent-light); letter-spacing: .04em; }
.ax-tt-h h4 { font-size: 24px; letter-spacing: -0.03em; margin-top: 8px; }
.ax-tt-h p { max-width: 440px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.62); }
.ax-tt-g { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ax-tt-g > div { border-radius: 12px; background: rgba(255,255,255,.05); padding: 8px 22px 12px; }
.ax-tt .dh { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.ax-tt .dh b { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--accent-light); }
.ax-tt .dh span { font-size: 14px; font-weight: 600; }
.ax-tt .r { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.ax-tt .r:last-child { border-bottom: 0; }
.ax-tt time { font-family: 'JetBrains Mono', monospace; font-size: 12.5px; color: rgba(255,255,255,.5); }
.ax-tt .r b { font-size: 15px; font-weight: 600; }
.ax-tt .r span { font-size: 12.5px; color: rgba(255,255,255,.55); text-align: right; }

/* formats */
.ax-fmt { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--fg); }
.ax-fmt > div { padding: 24px 22px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.ax-fmt > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.ax-fmt small { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--accent); }
.ax-fmt h4 { font-size: 19px; letter-spacing: -0.03em; margin: 28px 0 6px; }
.ax-fmt .who { font-size: 13px; font-weight: 700; color: var(--muted); }
.ax-fmt p { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin: 14px 0 20px; text-wrap: pretty; }
.ax-fmt em { margin-top: auto; align-self: flex-start; font-style: normal; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklch, var(--accent) 8%, var(--bg)); color: var(--accent); }

/* roles */
.ax-roles .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.ax-roles .tabs button { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; transition: .15s; }
.ax-roles .tabs button:hover { border-color: var(--fg); }
.ax-roles .tabs button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.ax-flow { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 36px 0; animation: aUp .4s both; }
.ax-flow .row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ax-flow .lb { font-size: 15px; font-weight: 800; display: flex; flex-direction: column; gap: 2px; }
.ax-flow .lb small { font-size: 12px; font-weight: 600; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.ax-flow .steps { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; }
.ax-flow .steps span { padding: 12px 16px; border-radius: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.ax-flow .steps i { width: 22px; height: 1px; background: var(--line); position: relative; flex: none; }
.ax-flow .steps i::after { content: ''; position: absolute; right: 0; top: -3px; border: 3.5px solid transparent; border-left: 5px solid var(--muted); border-right: 0; }
.ax-flow .before .steps span { background: var(--surface); color: var(--muted); }
.ax-flow .after .lb { color: var(--accent); }
.ax-flow .after .steps span { background: var(--accent); color: #fff; padding: 14px 20px; }
.ax-flow .after .steps i { width: 32px; background: var(--accent); }
.ax-flow .after .steps i::after { border-left-color: var(--accent); }
.ax-flow .goal { display: flex; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.ax-flow .goal small { font-size: 12.5px; font-weight: 700; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface); }

/* process */
.ax-proc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; counter-reset: p; }
.ax-proc > div { padding: 28px 26px; border-radius: var(--radius); background: var(--surface); position: relative; }
.ax-proc > div:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 30px; width: 18px; text-align: center; color: var(--accent); font-weight: 700; z-index: 1; }
.ax-proc .n { display: flex; align-items: center; gap: 10px; }
.ax-proc .n em { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.ax-proc .n small { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.ax-proc h4 { font-size: 22px; letter-spacing: -0.03em; margin: 22px 0 14px; }
.ax-proc ul { list-style: none; display: grid; gap: 8px; }
.ax-proc li { font-size: 14.5px; line-height: 1.5; padding-left: 14px; position: relative; }
.ax-proc li::before { content: ''; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }

/* roadmap */
.ax-road { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: var(--radius); overflow: hidden; background: #14121a; color: #fff; }
.ax-road-l { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.ax-road-l .eyebrow { color: var(--accent-light); font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; }
.ax-road-l h3 { font-size: 34px; letter-spacing: -0.04em; line-height: 1.3; }
.ax-road-l p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.75; margin: 16px 0 32px; text-wrap: pretty; }
.ax-road-l .btn { margin-top: auto; }
.ax-road-r { list-style: none; padding: 32px 48px 32px 0; position: relative; }
.ax-road-r li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 18px 0; position: relative; }
.ax-road-r li:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 58px; bottom: -18px; width: 1px; background: rgba(255,255,255,.18); }
.ax-road-r em { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.ax-road-r li:last-child em { background: var(--accent); border-color: var(--accent); }
.ax-road-r b { font-size: 18px; letter-spacing: -0.02em; display: block; padding-top: 8px; }
.ax-road-r p { font-size: 14.5px; color: rgba(255,255,255,.66); line-height: 1.65; margin-top: 6px; }

@container site (max-width: 900px) {
  .ax-hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px 0 44px; }
  .ax-hero h1 { font-size: 32px; }
  .ax-lead { font-size: 15px; }
  .ax-hero-stats { padding: 4px 18px; }
  .ax-hero-stats .st { grid-template-columns: 88px 1fr; gap: 12px; padding: 16px 0; }
  .ax-hero-stats .st > b { font-size: 30px; }
  .ax-hero-stats p { font-size: 13.5px; }
  .ax-why { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ax-cmp > div { grid-template-columns: 1fr 22px 1.1fr; }
  .ax-cmp .a { font-size: 13.5px; }
  .ax-cmp .b { font-size: 14px; }
  .ax-mkt { grid-template-columns: minmax(0, 1fr); }
  .ax-mkt > div { padding: 24px; }
  .ax-lv { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .ax-lv button { flex: none; width: 78%; padding: 20px; }
  .ax-trk-tabs { display: flex; overflow-x: auto; scrollbar-width: none; margin: 32px -20px 16px; padding: 0 20px; }
  .ax-trk-tabs button { flex: none; padding-right: 64px; }
  .ax-trk-tabs b { font-size: 15.5px; }
  .ax-trk { grid-template-columns: minmax(0, 1fr); }
  .ax-trk-l { padding: 24px; }
  .ax-trk-l h3 { font-size: 23px; }
  .ax-trk-r { padding: 4px 20px; }
  .ax-tt { padding: 24px 20px; }
  .ax-tt-h { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ax-tt-g { grid-template-columns: minmax(0, 1fr); }
  .ax-tt-g > div { padding: 4px 14px 8px; }
  .ax-tt .r { grid-template-columns: 48px 1fr; }
  .ax-tt .r span { grid-column: 2; text-align: left; margin-top: -8px; }
  .ax-fmt { grid-template-columns: minmax(0, 1fr); }
  .ax-fmt > div, .ax-fmt > div + div { padding: 18px 0; border-left: 0; }
  .ax-fmt h4 { margin-top: 10px; }
  .ax-flow { padding: 4px 18px 0; }
  .ax-flow .row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 18px 0; }
  .ax-flow .lb { flex-direction: row; gap: 8px; align-items: baseline; }
  .ax-flow .steps { flex-direction: column; align-items: stretch; }
  .ax-flow .steps i, .ax-flow .after .steps i { width: 1px; height: 12px; margin-left: 20px; }
  .ax-flow .steps i::after { display: none; }
  .ax-flow .steps span { white-space: normal; padding: 10px 14px; font-size: 13.5px; }
  .ax-flow .after .steps span { padding: 12px 14px; }
  .ax-flow .goal { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 16px; }
  .ax-proc { grid-template-columns: minmax(0, 1fr); }
  .ax-proc > div:not(:last-child)::after { content: '↓'; right: auto; left: 50%; top: auto; bottom: -15px; }
  .ax-road { grid-template-columns: minmax(0, 1fr); }
  .ax-road-l { padding: 24px; }
  .ax-road-l h3 { font-size: 25px; }
  .ax-road-r { padding: 0 24px 24px; }
}
