*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,"Noto Sans KR",sans-serif;color:#29241f}
a{color:inherit;text-decoration:none}

/* HOME */
.home-body{background:#fffaf2}
.site-header{position:relative;z-index:30;background:rgba(255,255,255,.94);border-bottom:1px solid #f1e5d4}
.header-inner{max-width:1180px;height:76px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between}
.site-logo{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:600;letter-spacing:-.04em}
.site-logo strong{color:#e77c37}
.logo-mark{width:40px;height:40px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#ffca69;color:#5d351d;font-family:serif;font-size:22px;font-weight:800;box-shadow:0 5px 12px rgba(169,103,44,.14)}
.main-nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:700;color:#6d6259}
.main-nav a:hover{color:#e77c37}

.main-visual{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff9ed 0%,#fff0cc 55%,#ffe4b8 100%);border-bottom:1px solid #f3dfbd}
.main-visual:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;background:rgba(255,255,255,.46);right:-120px;top:-180px}
.visual-inner{position:relative;max-width:1180px;min-height:560px;margin:0 auto;padding:62px 24px 32px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:30px}
.visual-copy{position:relative;z-index:3;padding:20px 0 60px}
.visual-badge{display:inline-flex;align-items:center;padding:9px 15px;border-radius:999px;background:#fff5dc;border:1px solid #f1d49d;color:#9a612d;font-size:13px;font-weight:800;box-shadow:0 5px 20px rgba(144,94,35,.05)}
.visual-copy h1{margin:23px 0 18px;font-size:51px;line-height:1.22;letter-spacing:-.055em;color:#3b2b20}
.visual-copy h1 strong{color:#e77731}
.visual-copy p{margin:0;color:#77695f;font-size:17px;line-height:1.85;letter-spacing:-.02em}
.visual-actions{display:flex;gap:10px;margin-top:30px}
.home-btn{height:50px;padding:0 22px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;transition:.18s ease}
.home-btn-primary{background:#4e3424;color:#fff;box-shadow:0 8px 20px rgba(70,44,29,.18)}
.home-btn-primary:hover{transform:translateY(-2px)}
.home-btn-light{background:rgba(255,255,255,.72);border:1px solid #ead5b7;color:#66472f}
.visual-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:26px}
.visual-tags span{padding:6px 11px;border-radius:99px;background:rgba(255,255,255,.62);font-size:12px;color:#8c6c54;font-weight:700}
.visual-character-wrap{position:relative;align-self:end;min-height:490px;display:flex;align-items:flex-end;justify-content:center}
.character-bg{position:absolute;width:390px;height:390px;border-radius:50%;background:#fff2c9;box-shadow:inset 0 0 0 18px rgba(255,255,255,.28);right:8px;bottom:42px}
.visual-character{position:relative;z-index:2;width:min(470px,100%);max-height:505px;object-fit:cover;object-position:center top;border-radius:46% 46% 18% 18% / 34% 34% 18% 18%;filter:drop-shadow(0 20px 28px rgba(110,67,30,.18));mix-blend-mode:multiply}
.character-caption{position:absolute;z-index:4;right:-2px;bottom:70px;background:#fff;padding:13px 17px;border:1px solid #f1d7aa;border-radius:18px 18px 18px 5px;font-size:13px;line-height:1.45;color:#8a5a36;box-shadow:0 10px 28px rgba(119,78,36,.12);transform:rotate(2deg)}
.character-caption b{font-size:16px;color:#e77731}
.visual-decoration{position:absolute;z-index:1;color:#fff;opacity:.9}
.deco-star{right:7%;top:18%;font-size:42px;transform:rotate(12deg);text-shadow:0 2px 0 #f1c563}
.deco-dot{left:4%;bottom:15%;font-size:18px;color:#ffc85f}

.study-section{max-width:1180px;margin:0 auto;padding:88px 24px}
.section-heading{text-align:center}
.section-heading>span{font-size:12px;letter-spacing:.18em;font-weight:900;color:#d78947}
.section-heading h2{margin:8px 0 11px;font-size:32px;letter-spacing:-.045em;color:#352b24}
.section-heading p{margin:0;color:#887970;font-size:15px;line-height:1.7}
.section-heading.align-left{text-align:left}
.study-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:37px}
.study-card{background:#fff;border:1px solid #f0e3d5;border-radius:20px;padding:25px 20px;box-shadow:0 10px 30px rgba(112,77,43,.045);transition:.18s ease}
.study-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(112,77,43,.09);border-color:#eccd9f}
.study-icon{width:48px;height:48px;border-radius:15px;background:#fff2d6;color:#b46628;display:flex;align-items:center;justify-content:center;font-size:23px;font-family:serif;font-weight:800;margin-bottom:17px}
.study-card strong{display:block;font-size:17px;margin-bottom:8px}
.study-card small{display:block;color:#887b72;font-size:13px;line-height:1.6}

.worksheet-section{max-width:1180px;margin:0 auto 88px;padding:42px 48px 48px;background:#fff;border:1px solid #eee1d0;border-radius:30px;box-shadow:0 16px 50px rgba(108,73,41,.065)}
.worksheet-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}
.worksheet-tip{max-width:350px;background:#fff7e6;border:1px solid #f0ddb8;border-radius:15px;padding:13px 15px;display:flex;gap:10px;color:#7c674f;font-size:13px;line-height:1.5}
.worksheet-tip b{color:#dc7d32}
.panel{background:#fff;padding:26px;border:1px solid #e9dfd4;border-radius:18px;box-shadow:0 8px 30px rgba(0,0,0,.035)}
.worksheet-panel{background:#fffdf9}
.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
label{display:block;font-size:14px;font-weight:700;margin-bottom:7px}
select{width:100%;height:48px;border:1px solid #ddcfbf;border-radius:11px;padding:0 12px;background:#fff;color:#3c342e;outline:none}
select:focus{border-color:#df9a57;box-shadow:0 0 0 3px rgba(223,154,87,.12)}
.hanja-modes{margin-top:20px;padding:16px;background:#fff5e5;border:1px solid #f0dfc5;border-radius:12px}
.hanja-modes label{display:inline-block;margin:8px 14px 0 0;font-weight:500}
.sub-title{font-weight:800;margin-bottom:4px;color:#6d4c34}
.check-row{margin-top:18px;font-weight:500}
.btn-primary{width:100%;height:54px;margin-top:18px;border:0;border-radius:13px;background:#4d3424;color:#fff;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(72,48,31,.14)}
.btn-primary:hover{background:#3f2b1e}

.about-strip{background:#f8ead5;border-top:1px solid #ecd8bd;border-bottom:1px solid #ecd8bd}
.about-inner{max-width:920px;margin:0 auto;padding:38px 24px;display:flex;align-items:center;gap:22px}
.about-mark{flex:none;width:64px;height:64px;border-radius:21px;background:#fff8e9;color:#b6682c;display:flex;align-items:center;justify-content:center;font-family:serif;font-size:31px;font-weight:800;box-shadow:0 8px 20px rgba(111,75,41,.08)}
.about-inner strong{font-size:20px;color:#513929}
.about-inner p{margin:7px 0 0;color:#806d5f;font-size:14px;line-height:1.7}

.site-footer{background:#312821;color:#cfc6bf;padding:48px 24px 24px}
.footer-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.5fr 1fr .7fr;gap:60px;padding-bottom:34px}
.footer-logo{font-size:21px;color:#fff;font-weight:600;margin-bottom:13px}
.footer-logo strong{color:#f4b268}
.footer-brand p,.footer-data p{margin:5px 0;color:#a99f97;font-size:13px;line-height:1.65}
.footer-data strong,.footer-links strong{display:block;color:#fff;font-size:14px;margin-bottom:12px}
.footer-links a{display:block;color:#aaa099;font-size:13px;margin:8px 0}
.footer-links a:hover{color:#fff}
.footer-notice{max-width:1180px;margin:0 auto;padding:18px 20px;border:1px solid #51463e;background:#2b231e;border-radius:13px}
.footer-notice b{display:block;font-size:12px;color:#e7c098;margin-bottom:6px}
.footer-notice p{margin:0;color:#9f958d;font-size:12px;line-height:1.7}
.footer-bottom{max-width:1180px;margin:18px auto 0;padding-top:18px;border-top:1px solid #463c35;display:flex;justify-content:space-between;gap:20px;color:#887e77;font-size:11px}

/* WORKSHEET */
.worksheet-body{background:#dfe3e8;color:#222}
.toolbar{position:sticky;top:0;z-index:20;background:#222;padding:12px;text-align:center}
.toolbar button{border:0;border-radius:8px;padding:10px 18px;margin:0 4px;cursor:pointer}
.sheet{width:210mm;min-height:297mm;margin:18px auto;background:#fff;padding:15mm 14mm;box-shadow:0 4px 25px rgba(0,0,0,.14)}
.sheet-header{display:flex;justify-content:space-between;align-items:flex-end;border-bottom:2px solid #222;padding-bottom:10px;margin-bottom:18px}
.sheet-header h1{margin:0;font-size:26px}
.sheet-kicker{font-size:10px;letter-spacing:.16em;color:#777;margin-bottom:4px}
.student-info{font-size:12px;white-space:nowrap}
.student-info span{display:inline-block;width:70px;border-bottom:1px solid #777;margin:0 12px 0 4px}
.question{break-inside:avoid;margin:0 0 20px}
.q-title{font-size:16px;line-height:1.55}
.options{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;margin:9px 0 0 23px;font-size:14px}
.answer-line{height:32px;border-bottom:1px solid #aaa;margin:8px 0 0 24px}
.copy-row{display:grid;grid-template-columns:repeat(6,1fr);margin:10px 0 0 24px;border-left:1px solid #aaa;border-top:1px solid #aaa}
.copy-cell{height:62px;display:flex;align-items:center;justify-content:center;font-size:39px;border-right:1px solid #aaa;border-bottom:1px solid #aaa}
.copy-cell.mid{color:#aaa}
.copy-cell.light{color:#ddd}
.copy-cell.dark{color:#333}
.answer-sheet{page-break-before:always}
.answer-item{font-size:15px;margin-bottom:12px}
.explain{color:#777;font-size:13px;margin-left:5px}

@media (max-width:900px){
  .main-nav{display:none}
  .visual-inner{min-height:auto;grid-template-columns:1fr .78fr;padding-top:45px}
  .visual-copy h1{font-size:42px}
  .study-cards{grid-template-columns:repeat(2,1fr)}
  .form-grid{grid-template-columns:repeat(2,1fr)}
  .worksheet-section{margin-left:20px;margin-right:20px}
  .footer-inner{grid-template-columns:1.3fr 1fr 1fr;gap:30px}
}

@media (max-width:700px){
  .header-inner{height:64px;padding:0 18px}
  .site-logo{font-size:18px}
  .logo-mark{width:36px;height:36px;border-radius:12px;font-size:20px}
  .visual-inner{display:flex;flex-direction:column;padding:34px 20px 0;gap:0;text-align:center}
  .visual-copy{padding:8px 0 5px}
  .visual-copy h1{font-size:37px;margin-top:18px}
  .visual-copy p{font-size:15px;line-height:1.75}
  .pc-br{display:none}
  .visual-actions{justify-content:center;flex-wrap:wrap}
  .visual-tags{justify-content:center}
  .visual-character-wrap{width:100%;min-height:340px;margin-top:8px}
  .character-bg{width:290px;height:290px;right:50%;transform:translateX(50%);bottom:20px}
  .visual-character{width:340px;max-height:350px}
  .character-caption{right:7%;bottom:34px}
  .study-section{padding:62px 18px}
  .section-heading h2{font-size:27px}
  .study-cards{grid-template-columns:1fr 1fr;gap:10px;margin-top:28px}
  .study-card{padding:20px 15px}
  .worksheet-section{margin:0 12px 60px;padding:28px 16px;border-radius:23px}
  .worksheet-intro{display:block}
  .worksheet-tip{margin-top:17px;max-width:none}
  .panel{padding:18px}
  .form-grid{grid-template-columns:1fr}
  .hanja-modes label{display:block;margin:10px 0 0}
  .about-inner{align-items:flex-start}
  .footer-inner{grid-template-columns:1fr;gap:27px}
  .footer-bottom{display:block;line-height:1.8}
}

@media (max-width:430px){
  .visual-copy h1{font-size:32px}
  .study-cards{grid-template-columns:1fr}
  .character-caption{font-size:11px}
}

@media print{
  @page{size:A4;margin:0}
  body{background:#fff}
  .no-print{display:none!important}
  .sheet{margin:0;box-shadow:none;page-break-after:always}
}
