/* 워드고 이야기 페이지 (wordgo.html) */
.wg-page{--wg-forest:#0d241f;--wg-forest2:#14332b;--wg-paper:#f4f2eb;--wg-paper2:#ebe8dc;--wg-ink:#1f3a31;--wg-muted:#5f6b60;--wg-gold:#d6b77a;--wg-gold2:#b8955a;--wg-l1:#5d8f6e;--wg-l2:#3f7fa6;--wg-wk:#b8873e;--wg-l3:#8a6bb8;background:var(--wg-paper);font-family:'Noto Sans KR','Malgun Gothic',sans-serif}
.wg-page h1,.wg-page h2,.wg-page h3{font-family:'Noto Sans KR','Malgun Gothic',sans-serif}
.wg-page .header nav a[aria-current=page]{color:#f3d79c;box-shadow:inset 0 -2px 0 #d6b77a}
.wg-page p{color:var(--wg-muted)}

/* 표지 */
.wg-hero{position:relative;min-height:max(760px,100vh);background:radial-gradient(ellipse at 72% 45%,#1f4a3d 0%,#0d241f 58%,#081814 100%);color:#f6efdc;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:4%;padding:140px 6% 120px;overflow:hidden}
.wg-hero:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,#ffffff05 0 1px,transparent 1px 64px),repeating-linear-gradient(0deg,#ffffff05 0 1px,transparent 1px 64px);pointer-events:none}
.wg-hero-copy{position:relative;z-index:1}
.wg-over,.wg-chap{font-size:11px;letter-spacing:2.6px;font-weight:500;color:var(--wg-gold);text-transform:uppercase}
.wg-hero h1{font-size:clamp(64px,8vw,128px);font-weight:900;line-height:1.05;letter-spacing:-4px;margin:22px 0 10px;color:#fff6e2}
.wg-hero h1 span{display:block;font-size:.32em;font-weight:300;letter-spacing:10px;color:var(--wg-gold);margin-top:10px}
.wg-hero-lead{font-size:clamp(22px,2.2vw,32px);color:#f3ead2!important;font-weight:300;margin:26px 0 18px}
.wg-hero-lead em{font-style:normal;font-weight:700;color:#f3d79c;border-bottom:2px solid #d6b77a88}
.wg-hero-text{font-size:15px;line-height:2;color:#e5ddc6b8!important;max-width:560px}
.wg-hero-actions{display:flex;flex-wrap:wrap;gap:18px 26px;align-items:center;margin-top:36px}
.wg-hero-actions.center{justify-content:center}
.wg-ghost{font-size:13px;color:#f0dfb7;border-bottom:1px solid #d6b77a66;padding-bottom:4px}
.wg-ghost:hover{color:#fff}
.wg-hero-board{position:relative;z-index:1;margin:0;justify-self:center;width:min(560px,100%)}
.wg-hero-board canvas{width:100%;height:auto;display:block;border-radius:10px;box-shadow:0 30px 80px #0009,0 0 0 1px #d6b77a33}
.wg-hero-board figcaption{position:absolute;left:50%;bottom:-26px;transform:translateX(-50%);min-width:72%;max-width:96%;background:#0b1f1aee;border:1px solid #d6b77a55;border-radius:999px;padding:12px 22px;display:flex;gap:12px;align-items:center;font-size:14px;color:#f3ead2;backdrop-filter:blur(6px);box-shadow:0 10px 30px #0006}
.wg-hero-board figcaption b{color:#0d241f;background:var(--wg-gold);border-radius:999px;padding:2px 10px;font-size:12px;white-space:nowrap}
.wg-hero-board figcaption span{transition:opacity .35s}
.wg-hero-chapters{position:absolute;left:6%;right:6%;bottom:26px;display:flex;flex-wrap:wrap;gap:6px 26px;border-top:1px solid #d6b77a33;padding-top:16px;z-index:1}
.wg-hero-chapters a{font-size:12px;color:#e8dfc5b0}
.wg-hero-chapters a:hover{color:#fff}
.wg-hero-chapters i{font-style:normal;color:var(--wg-gold);margin-right:8px;font-size:11px}

/* 공통 */
.wg-section{max-width:1240px;margin:0 auto;padding:110px 6%}
.wg-narrow{max-width:760px;margin:0 auto}
.wg-head{max-width:820px;margin-bottom:46px}
.wg-head.small{margin-bottom:20px}
.wg-head h2,.wg-narrow h2{font-size:clamp(30px,3.4vw,46px);font-weight:700;line-height:1.35;letter-spacing:-1.5px;margin:14px 0 22px;color:var(--wg-ink)}
.wg-head h2 em,.wg-narrow h2 em{font-style:normal;color:var(--wg-gold2)}
.wg-head p,.wg-section p,.wg-narrow p{font-size:16px;line-height:2.05}
.wg-page strong{color:var(--wg-ink);font-weight:700}
.wg-sub{font-size:22px!important;font-weight:700;letter-spacing:-.5px;margin:0 0 16px!important;color:var(--wg-ink)}
.wg-note{font-size:14px!important;color:#7a826f!important;margin-top:18px}
.wg-note.center{border:0;padding:0;text-align:center;margin:18px auto 0;max-width:760px}
.wg-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:center;margin:80px 0}
.wg-split p+p{margin-top:16px}
.wg-card-fig{margin:0;background:#fff;border:1px solid #dcdccf;border-radius:18px;padding:22px;box-shadow:0 18px 40px #20352b12}
.wg-card-fig.dark{background:var(--wg-forest);border-color:#d6b77a33}
.wg-card-fig canvas,.wg-card-fig svg{width:100%;height:auto;display:block}
.wg-card-fig figcaption{font-size:13px;line-height:1.8;color:#6f776b;margin-top:14px}
.wg-card-fig.dark figcaption{color:#d9d0b8b0}

/* 프롤로그 */
.wg-prologue{background:var(--wg-paper2);padding:130px 6% 120px}
.wg-drop:first-letter{float:left;font-size:64px;line-height:.9;font-weight:900;color:var(--wg-gold2);margin:8px 12px 0 0}
.wg-prologue p{font-size:17px!important;line-height:2.15!important;margin-top:20px;color:#4f5b51!important}
.wg-say-line{margin:34px 0;padding:22px 26px;background:var(--wg-forest);color:#f3e7c8;border-radius:12px;font-size:16px;line-height:1.8;border:1px solid var(--wg-gold);box-shadow:0 14px 30px #0d241f33}

/* 1장 연표 */
.wg-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;position:relative;padding-top:34px}
.wg-timeline:before{content:'';position:absolute;top:14px;left:0;right:0;height:2px;background:linear-gradient(90deg,#c9c3ad,var(--wg-gold))}
.wg-timeline article{position:relative;padding:22px 20px 0 0;opacity:0;transform:translateY(18px);transition:opacity .7s,transform .7s}
.wg-timeline article.in{opacity:1;transform:none}
.wg-timeline article:before{content:'';position:absolute;top:-28px;left:0;width:14px;height:14px;border-radius:50%;background:radial-gradient(at 30% 25%,#7c867f,#0c1d18 65%);box-shadow:0 2px 5px #0005}
.wg-timeline article:nth-child(even):before{background:radial-gradient(at 30% 25%,#fff,#d8d6c8);border:1px solid #bdb9a8}
.wg-timeline article.now:before{width:20px;height:20px;top:-31px;box-shadow:0 0 0 6px #d6b77a44}
.wg-timeline time{font-size:13px;font-weight:700;color:var(--wg-gold2)}
.wg-timeline h3{font-size:19px!important;font-weight:700;margin:6px 0 10px!important;line-height:1.5;letter-spacing:-.5px;color:var(--wg-ink)}
.wg-timeline p{font-size:14px!important;line-height:1.9!important}

/* 2장 */
.wg-why{background:#fff;max-width:none;padding-left:max(6%,calc((100% - 1240px)/2 + 6%));padding-right:max(6%,calc((100% - 1240px)/2 + 6%))}
.wg-why-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:60px;align-items:start}
.wg-why-story p+p{margin-top:20px}
.wg-why-story em{font-style:normal;color:var(--wg-ink);font-weight:500;background:linear-gradient(transparent 62%,#f0dcae 62%)}
.wg-promises{display:grid;gap:16px}
.wg-promises article{display:grid;grid-template-columns:56px 1fr;gap:4px 18px;padding:22px;border:1px solid #e1dfd2;border-radius:16px;background:var(--wg-paper)}
.wg-promises h3{font-size:18px!important;font-weight:700;margin:0!important;color:var(--wg-ink);letter-spacing:-.3px}
.wg-promises p{grid-column:2;font-size:14px!important;line-height:1.85!important}
.wg-ico{grid-row:span 2;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;font-size:20px;font-weight:900;color:#f6efdc;background:radial-gradient(at 30% 25%,#5d6a62,#0c1d18 70%);box-shadow:0 4px 10px #0003}
.wg-promises article:nth-child(2) .wg-ico{color:#1f3a31;background:radial-gradient(at 30% 25%,#fff,#d8d6c8);border:1px solid #c9c6b4}

/* 3장 */
.wg-ladder-fig{margin:0 0 30px;background:linear-gradient(180deg,#fbfaf5,#efece0);border:1px solid #dddacb;border-radius:20px;padding:20px 10px 6px;overflow:hidden}
.wg-ladder-fig svg{width:100%;height:auto;display:block}
.wg-family-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.wg-family-cards article{background:#fff;border:1px solid #dfddd0;border-radius:16px;padding:22px}
.wg-family-cards .l1{--c:var(--wg-l1)}.wg-family-cards .l2{--c:var(--wg-l2)}.wg-family-cards .wk{--c:var(--wg-wk)}.wg-family-cards .l3{--c:var(--wg-l3)}
.wg-family-cards b{font-size:12px;color:var(--c);letter-spacing:1px}
.wg-family-cards h3{font-size:19px!important;font-weight:700;margin:6px 0 10px!important;line-height:1.45;color:var(--wg-ink)}
.wg-family-cards p{font-size:14px!important;line-height:1.85!important}
.wg-family-cards small{display:block;margin-top:12px;font-size:12px;color:var(--c);font-weight:500}
.wg-family-cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}

/* 4장 */
.wg-pipe{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;counter-reset:p}
.wg-pipe li{position:relative;background:#fff;border:1px solid #dcdacc;border-radius:14px;padding:18px 16px;display:grid;gap:4px;transition:background .4s,border-color .4s,transform .4s}
.wg-pipe li:not(:last-child):after{content:'→';position:absolute;right:-13px;top:50%;transform:translateY(-50%);color:#b9b29a;font-size:16px;z-index:1}
.wg-pipe i{font-style:normal;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:700;background:#ebe8db;color:#5f6b60;transition:background .4s,color .4s}
.wg-pipe b{font-size:16px;color:var(--wg-ink)}
.wg-pipe span{font-size:12.5px;color:#7a8276;line-height:1.6}
.wg-pipe li.on{background:var(--wg-forest);border-color:var(--wg-forest);transform:translateY(-4px)}
.wg-pipe li.on b{color:#fff3d6}.wg-pipe li.on span{color:#d6cfb8}.wg-pipe li.on i{background:var(--wg-gold);color:var(--wg-forest)}
.wg-split.rev>figure{order:0}
.wg-sym{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.wg-sym canvas{width:100%;height:auto;border-radius:6px;display:block}
.wg-chart-fig{margin:30px 0 0;background:#fff;border:1px solid #dcdccf;border-radius:18px;padding:22px 22px 10px}
.wg-chart-fig figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 20px;align-items:baseline;margin-bottom:6px}
.wg-chart-fig figcaption b{font-size:17px;color:var(--wg-ink)}
.wg-chart-fig figcaption small{font-size:12px;color:#848b7e}
.wg-chart-fig svg{width:100%;height:auto;display:block}
.wg-growth{margin-top:90px}

/* 5장 */
.wg-ai{background:var(--wg-paper2);max-width:none;padding-left:max(6%,calc((100% - 1240px)/2 + 6%));padding-right:max(6%,calc((100% - 1240px)/2 + 6%))}
.wg-loop-wrap{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:50px;align-items:center}
.wg-loop-wrap svg{width:100%;max-width:520px;height:auto;display:block;margin:0 auto}
.wg-loop-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.wg-loop-facts article{background:#fff;border:1px solid #dcdacc;border-radius:14px;padding:20px}
.wg-loop-facts b{font-size:16px;color:var(--wg-ink)}
.wg-loop-facts p{font-size:14px!important;line-height:1.85!important;margin-top:8px}

/* 어두운 장 (6·8장) */
.wg-dark{background:linear-gradient(180deg,#0d241f,#102c25);max-width:none;color:#efe6cf;padding-left:max(6%,calc((100% - 1240px)/2 + 6%));padding-right:max(6%,calc((100% - 1240px)/2 + 6%))}
.wg-dark h2,.wg-dark .wg-sub,.wg-dark h3{color:#fff3d6!important}
.wg-dark p{color:#d5cdb6c4!important}
.wg-dark strong{color:#f3d79c}
.wg-nn-fig{margin:0;background:#081a16;border:1px solid #d6b77a2e;border-radius:20px;padding:18px;overflow:hidden}
.wg-nn-fig canvas{width:100%;height:auto;display:block}
.wg-nn-labels{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:16px;text-align:center;margin-top:10px}
.wg-nn-labels span{font-size:14px;color:#f3e3bd;font-weight:500}
.wg-nn-labels small{display:block;font-size:12px;color:#c8bfa699;font-weight:400;margin-top:2px}
.wg-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.wg-stats div{border:1px solid #d6b77a33;border-radius:14px;padding:20px;background:#ffffff06}
.wg-stats b{display:block;font-size:30px;font-weight:900;color:var(--wg-gold);letter-spacing:-1px}
.wg-stats span{font-size:13px;color:#d5cdb6b0;line-height:1.6}
.wg-status{margin-top:40px!important;padding:18px 22px;border-radius:12px;background:#d6b77a14;border:1px solid #d6b77a40;font-size:15px!important}
.wg-section:not(.wg-dark) .wg-status{background:#fff;border-color:#dcd6bf;color:#4f5b51!important}

/* 6장: 레벨 2 순서 (어두운 바탕) */
.wg-pipe.dark{margin:0 0 30px}
.wg-pipe.dark li{background:#ffffff08;border-color:#d6b77a33}
.wg-pipe.dark li:not(:last-child):after{color:#d6b77a88}
.wg-pipe.dark i{background:var(--wg-gold);color:var(--wg-forest)}
.wg-pipe.dark b{color:#fff3d6}
.wg-pipe.dark span{color:#d5cdb6b0}
.wg-pipe.dark li:nth-child(-n+2) i{background:var(--wg-l1);color:#fff}
.wg-pipe.dark li:nth-child(3) i{background:var(--wg-l2);color:#fff}

/* 7장: 해설 */
.wg-explain-card{display:grid;gap:12px}
.wg-ex-row{display:grid;grid-template-columns:62px 1fr;gap:16px;align-items:start;background:#fff;border:1px solid #dcdacc;border-radius:14px;padding:16px 18px;opacity:0;transform:translateX(16px);transition:opacity .6s,transform .6s}
.wg-ex-row.on{opacity:1;transform:none}
.wg-ex-row i{font-style:normal;display:grid;place-items:center;height:30px;border-radius:999px;background:var(--wg-forest);color:#f3d79c;font-size:12.5px;font-weight:700}
.wg-ex-row p{font-size:14.5px!important;line-height:1.85!important;margin:0}
.wg-ex-row.l2{border-color:#3f7fa655;background:#f3f8fb}
.wg-ex-row.l2 i{background:var(--wg-l2);color:#fff}
.wg-explain .wg-family-cards{margin-top:10px}

/* 8장 */
.wg-l3{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.wg-l3 article{border:1px solid #b9a3dd44;border-radius:16px;padding:22px;background:#8a6bb812}
.wg-l3 i{font-style:normal;display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--wg-l3);color:#fff;font-weight:700;font-size:13px}
.wg-l3 h3{font-size:17px!important;font-weight:700;margin:12px 0 8px!important}
.wg-l3 p{font-size:14px!important;line-height:1.85!important}

/* 9장 */
.wg-two-sec{background:#fff;border:1px solid #dcdccf;border-radius:20px;padding:34px}
.wg-bar{height:10px;border-radius:99px;background:#ebe8dc;overflow:hidden;margin-bottom:28px}
.wg-bar i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--wg-l1),var(--wg-gold));border-radius:99px}
.wg-two-sec ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.wg-two-sec li{opacity:.28;transition:opacity .4s,transform .4s;border-top:1px solid #d8d4c2;padding-top:14px}
.wg-two-sec li.on{opacity:1;border-color:var(--wg-gold2);transform:translateY(-3px)}
.wg-two-sec time{font-size:12px;font-weight:700;color:var(--wg-gold2)}
.wg-two-sec b{display:block;font-size:16px;color:var(--wg-ink);margin:4px 0}
.wg-two-sec span{font-size:13px;color:#6f776b;line-height:1.7}

/* 에필로그 */
.wg-epilogue{background:radial-gradient(ellipse at 50% 0%,#1f4a3d,#0d241f 70%);color:#f3ead2;padding:120px 6%;text-align:center}
.wg-epilogue h2{color:#fff3d6!important}
.wg-epilogue p{color:#e0d7bfcc!important;font-size:17px!important;line-height:2.1!important}
.wg-epilogue .wg-fine{font-size:12px!important;color:#c8bfa680!important;margin-top:46px;line-height:1.9!important}
.wg-page footer{margin:0;padding:28px 5%;background:var(--wg-paper);border-top:1px solid #dcdacc}

@media (max-width:1050px){
  .wg-hero{grid-template-columns:1fr;padding:170px 6% 130px;gap:60px}
  .wg-hero-board{width:min(520px,100%)}
  .wg-timeline{grid-template-columns:1fr;padding:0 0 0 34px}
  .wg-timeline:before{top:0;bottom:0;left:13px;right:auto;width:2px;height:auto;background:linear-gradient(180deg,#c9c3ad,var(--wg-gold))}
  .wg-timeline article{padding:0 0 30px}
  .wg-timeline article:before{top:6px;left:-27px}
  .wg-timeline article.now:before{top:4px;left:-30px}
  .wg-why-grid,.wg-loop-wrap{grid-template-columns:1fr}
  .wg-family-cards,.wg-family-cards.three,.wg-l3{grid-template-columns:1fr 1fr}
  .wg-pipe{grid-template-columns:repeat(3,minmax(0,1fr))}
  .wg-pipe li:after{display:none}
  .wg-two-sec ol{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:24px}
}
@media (max-width:760px){
  .wg-hero{padding:190px 16px 140px}
  .wg-hero h1{letter-spacing:-2px}
  .wg-hero-board figcaption{font-size:12.5px;padding:10px 14px;min-width:90%}
  .wg-hero-chapters{left:16px;right:16px;gap:4px 16px}
  .wg-section,.wg-why,.wg-ai,.wg-dark{padding:72px 16px}
  .wg-prologue,.wg-epilogue{padding:80px 16px}
  .wg-split{grid-template-columns:1fr;gap:28px;margin:56px 0}
  .wg-split.rev>figure{order:2}
  .wg-family-cards,.wg-family-cards.three,.wg-l3,.wg-loop-facts,.wg-stats{grid-template-columns:1fr}
  .wg-ex-row{grid-template-columns:1fr;gap:8px}
  .wg-ex-row i{width:62px}
  .wg-pipe{grid-template-columns:1fr 1fr}
  .wg-sym{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .wg-nn-labels{grid-template-columns:1fr;gap:8px}
  .wg-two-sec{padding:22px 18px}
  .wg-two-sec ol{grid-template-columns:1fr 1fr}
  .wg-head p,.wg-section p,.wg-narrow p{font-size:15px}
  .wg-ladder-fig{padding:10px 4px 0;overflow-x:auto}
  .wg-ladder-fig svg{min-width:720px}
  .wg-chart-fig{padding:16px 12px 8px;overflow-x:auto}
  .wg-chart-fig svg{min-width:640px}
  .wg-nn-fig{overflow-x:auto}
  .wg-nn-fig canvas{min-width:660px}
}
@media (prefers-reduced-motion:reduce){.wg-timeline article,.wg-ex-row{opacity:1;transform:none;transition:none}}

/* ───── 2026-10-28 다시 쓴 소개: 용어 창 · 역사 패널 · AI 연표 · 임베딩 비교 ───── */
.wg-term{all:unset;cursor:pointer;color:#2f6a8f;border-bottom:2px dotted #3f7fa6aa;padding-bottom:1px;font-weight:500;transition:background .2s,color .2s}
.wg-term:hover,.wg-term:focus-visible{background:#3f7fa61a;color:#1f4f6e;outline:none}
.wg-dark .wg-term,.wg-hero .wg-term,.wg-epilogue .wg-term{color:#9fd0f0;border-bottom-color:#9fd0f088}
.wg-dark .wg-term:hover,.wg-hero .wg-term:hover{background:#9fd0f01f;color:#fff}
.wg-ghost-btn{all:unset;cursor:pointer;font-size:13px;color:#f0dfb7;border-bottom:1px solid #d6b77a66;padding-bottom:4px;font-family:inherit}
.wg-ghost-btn:hover{color:#fff}
.wg-section .wg-ghost-btn{color:#2f6a8f;border-bottom-color:#3f7fa666}
.wg-section .wg-ghost-btn:hover{color:#1f4f6e}
.wg-history-btn{margin-top:26px;cursor:pointer;font-family:inherit;border:0}
.wg-strong-fig svg{width:100%;height:auto;display:block}

/* 역사 패널 */
.wg-history{margin:46px 0 60px;background:#fff;border:1px solid #d9d5c3;border-radius:22px;box-shadow:0 24px 60px #20352b1a;opacity:0;transform:translateY(14px);transition:opacity .6s,transform .6s}
.wg-history.open{opacity:1;transform:none}
.wg-history-inner{padding:34px 36px 30px}
.wg-history-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}
.wg-history-head h3{font-size:clamp(20px,2.2vw,28px)!important;font-weight:700;margin:8px 0 0!important;letter-spacing:-.8px;color:var(--wg-ink);line-height:1.4}
.wg-close{all:unset;cursor:pointer;font-size:13px;color:#6f776b;border:1px solid #d6d2c0;border-radius:999px;padding:8px 14px;white-space:nowrap;font-family:inherit}
.wg-close:hover{background:#f0eee5;color:var(--wg-ink)}
.wg-history-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:36px;align-items:start}
.wg-capture{margin:0;position:sticky;top:90px}
.wg-capture img{width:100%;height:auto;display:block;border:1px solid #cfcab6;border-radius:8px;box-shadow:0 18px 40px #0002}
.wg-capture figcaption{font-size:13px;line-height:1.8;color:#6f776b;margin-top:12px}
.wg-history-text article{padding:18px 0;border-top:1px solid #ebe8dc}
.wg-history-text article:first-child{border-top:0;padding-top:0}
.wg-history-text time{font-size:12.5px;font-weight:700;color:var(--wg-gold2);letter-spacing:.5px}
.wg-history-text h4{font-size:18px;font-weight:700;margin:6px 0 8px;color:var(--wg-ink);letter-spacing:-.4px;line-height:1.45}
.wg-history-text p{font-size:14.5px!important;line-height:1.95!important}
.wg-history-text em{font-style:normal;color:var(--wg-ink);font-weight:500}
.wg-source{font-size:12.5px!important;color:#7a826f!important;line-height:1.9!important;margin-top:16px;padding-top:14px;border-top:1px dashed #d6d2c0}
.wg-source a{color:#2f6a8f;border-bottom:1px solid #3f7fa655}

/* AI 연표 */
.wg-ai-hist{margin:0 0 50px}
.wg-ai-hist svg{cursor:default}
.wg-ai-hist a{cursor:pointer}
.wg-promises .wg-fact{display:block;background:#fff;border-color:#d6b77a88}
.wg-promises .wg-fact b{font-size:13px;color:var(--wg-gold2);letter-spacing:.5px}
.wg-promises .wg-fact p{grid-column:auto;margin-top:6px}
.wg-why-story .wg-sub{margin-top:30px!important}
.wg-why-story .wg-sub:first-child{margin-top:0!important}

/* 임베딩 비교 */
.wg-embed-fig{margin-top:40px}
.wg-nn-labels.two{grid-template-columns:1fr 1fr}
.wg-embed-fig figcaption{font-size:13px;color:#d9d0b8b0;text-align:center;margin-top:12px;line-height:1.8}
.wg-l3.two{grid-template-columns:1fr 1fr;margin-top:0}

/* 용어 사전 */
.wg-term-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.wg-term-card{all:unset;cursor:pointer;display:block;background:#fff;border:1px solid #dfddd0;border-radius:16px;padding:18px 20px;transition:transform .25s,box-shadow .25s,border-color .25s;font-family:inherit}
.wg-term-card:hover,.wg-term-card:focus-visible{transform:translateY(-3px);box-shadow:0 14px 30px #20352b14;border-color:#3f7fa6aa;outline:none}
.wg-term-card small{display:block;font-size:11px;letter-spacing:1.5px;color:var(--wg-gold2);font-weight:500}
.wg-term-card b{display:block;font-size:17px;color:var(--wg-ink);margin:4px 0 2px;letter-spacing:-.3px}
.wg-term-card i{display:block;font-style:normal;font-size:12px;color:#8a9184}
.wg-term-card span{display:block;font-size:13px;line-height:1.7;color:#5f6b60;margin-top:8px}

/* 용어 창 */
.wg-dialog{width:min(760px,92vw);max-height:88vh;border:0;border-radius:22px;padding:0;background:#fffdf8;color:var(--wg-ink);box-shadow:0 40px 100px #0008;font-family:'Noto Sans KR','Malgun Gothic',sans-serif;overflow:hidden}
.wg-dialog::backdrop{background:#071511c9;backdrop-filter:blur(4px)}
.wg-dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:28px 32px 18px;background:linear-gradient(180deg,#f4f2eb,#fffdf8);border-bottom:1px solid #e6e2d3}
.wg-dialog-head h3{font-size:26px;font-weight:900;letter-spacing:-.8px;margin:8px 0 2px;line-height:1.3}
.wg-dialog-head p{font-size:13px;color:#8a9184;margin:0}
.wg-dialog-body{padding:10px 32px 18px;overflow:auto;max-height:calc(88vh - 170px)}
.wg-dialog-body section{padding:14px 0;border-bottom:1px solid #ebe8dc}
.wg-dialog-body section:last-child{border-bottom:0}
.wg-dialog-body h4{font-size:12px;letter-spacing:2px;color:var(--wg-gold2);font-weight:500;margin:0 0 8px;text-transform:uppercase}
.wg-dialog-body p{font-size:15px;line-height:1.95;margin:0;color:#3f4b43}
.wg-dialog-body ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.wg-dialog-body li{font-size:13.5px;line-height:1.7;color:#4f5b51;padding-left:18px;position:relative}
.wg-dialog-body li:before{content:'';position:absolute;left:2px;top:10px;width:7px;height:7px;border-radius:50%;background:var(--wg-gold)}
.wg-dialog-body li a{color:#2f6a8f;border-bottom:1px solid #3f7fa655;word-break:break-all}
.wg-dialog-body li a:hover{color:#1f4f6e}
.wg-dialog-foot{display:flex;justify-content:space-between;padding:14px 32px 20px;border-top:1px solid #e6e2d3;background:#f4f2eb}

@media (max-width:1050px){
  .wg-history-grid{grid-template-columns:1fr}
  .wg-capture{position:static}
  .wg-term-grid{grid-template-columns:1fr 1fr}
  .wg-l3.two{grid-template-columns:1fr 1fr}
}
@media (max-width:760px){
  .wg-history-inner{padding:22px 18px}
  .wg-history-head{flex-direction:column}
  .wg-term-grid,.wg-l3.two{grid-template-columns:1fr}
  .wg-nn-labels.two{grid-template-columns:1fr}
  .wg-embed-fig canvas{min-width:720px}
  .wg-ai-hist{overflow-x:auto}
  .wg-ai-hist svg{min-width:860px}
  .wg-dialog{width:100vw;max-height:100vh;border-radius:0}
  .wg-dialog-head,.wg-dialog-body,.wg-dialog-foot{padding-left:18px;padding-right:18px}
  .wg-dialog-body{max-height:calc(100vh - 190px)}
}
@media (prefers-reduced-motion:reduce){.wg-history{opacity:1;transform:none;transition:none}}

/* 11-08 · 스스로 왜 두었는지 말하는 워드고(9장 꼭지) */
.wg-self{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;margin:40px 0 28px}
.wg-self article{border-radius:18px;padding:26px 28px}
.wg-self-story{background:#1d2a25;color:#e8ece3}.wg-self-story h3{color:#fff!important;font-size:22px!important;margin:8px 0 12px!important}.wg-self-story p{color:#d8ddd2!important;font-size:15.5px!important;line-height:1.85!important;margin:0 0 10px!important}
.wg-self-date{display:inline-block;font-size:12.5px;letter-spacing:.5px;color:var(--wg-gold);border:1px solid #c9a96144;border-radius:20px;padding:3px 12px}
.wg-self-why{background:#fff;border:1px solid #dfddd0}.wg-self-why b{font-size:12px;color:var(--wg-gold);letter-spacing:1px}.wg-self-why h3{font-size:21px!important;margin:6px 0 12px!important;color:var(--wg-ink)}.wg-self-why p{font-size:15px!important;line-height:1.85!important}
.wg-self-title{font-size:22px!important;margin:36px 0 16px!important;color:var(--wg-ink);text-align:center}
.wg-self-path{margin-bottom:18px}
.wg-self-honest{display:flex;gap:18px;align-items:flex-start;background:#f6f1e2;border-radius:16px;padding:20px 24px;margin:0 0 18px}.wg-self-honest b{flex:none;font-size:15px;color:#7a5a1c;padding-top:2px}.wg-self-honest p{margin:0!important;font-size:15px!important;line-height:1.85!important}
.wg-self-now{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wg-self-now section{background:#fff;border:1px solid #dfddd0;border-radius:16px;padding:20px 24px}.wg-self-now b{display:block;font-size:13px;color:var(--wg-l1);letter-spacing:.5px;margin-bottom:8px}.wg-self-now section+section b{color:var(--wg-l2)}.wg-self-now p{font-size:14.5px!important;line-height:1.8!important;margin:6px 0!important}
.wg-self-quote{background:#f3f6ef;border:1px solid var(--wg-l1);padding:8px 12px!important;border-radius:6px}
.wg-self-end{text-align:center;max-width:760px;margin:26px auto 56px!important;font-size:16px!important;line-height:1.85!important}
@media(max-width:860px){.wg-self,.wg-self-now{grid-template-columns:1fr}.wg-self-honest{flex-direction:column;gap:6px}}
