@font-face { font-family: "Yeonam Heading"; src: url("./fonts/noto-kr-light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-raised: #f2f9f4;
  --text: #172c23;
  --muted: #576d60;
  --line: #d7e5db;
  --green: #00c968;
  --mint: #087740;
  --accent-text: #087740;
  --focus: #087740;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", "Noto Sans KR", system-ui, sans-serif;
  line-height: 1.5;
  font-size: 16px;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-top: 24px; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,p,dl,dd { margin: 0; }
button, input, textarea, select { color: inherit; font: inherit; }
button, a, summary, input, select, textarea { touch-action: manipulation; }
button { cursor: pointer; border: 0; background: none; }
button:disabled { cursor: default; opacity: .43; }
a { color: var(--mint); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
#app:focus { outline: 0; }
.symbol-bank { width: 0; height: 0; position: absolute; overflow: hidden; pointer-events: none; }
.icon { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; z-index: 5; top: 4px; left: 12px; padding: .65rem 1rem; background: var(--mint); color: var(--bg); border-radius: 7px; transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-header { border-bottom: 1px solid #e4eee7; }
.mast-inner { max-width: 1060px; width: calc(100% - 80px); min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; font-weight: 500; font-size: 1rem; letter-spacing: -.055em; }
.brand strong { font-weight: 730; }
.brand-icon { color: #fff; background: #07974f; width: 33px; height: 33px; padding: 5px; border-radius: 9px; transform: rotate(-4deg); }
.top-nav { display: flex; gap: 7px; }
.top-nav button { min-height: 42px; border-radius: 30px; padding: 6px 16px; font-size: .94rem; color: var(--muted); }
.top-nav button[aria-current="page"] { background: #eefbf3; color: var(--text); font-weight: 700; }
.top-nav button:hover { color: var(--mint); }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; line-height: 1.35; padding: .7rem 1.35rem; border-radius: 16px; font-weight: 710; }
.primary { color: #07391e; background: var(--green); border: 1.5px solid var(--green); }
.primary:hover { background: #39dd8e; border-color: #39dd8e; }
.secondary { color: var(--text); background: transparent; border: 1px solid #b6cdbd; }
.secondary:hover:not(:disabled) { border-color: var(--mint); color: var(--mint); }
.home-page { width: min(calc(100% - 40px), 680px); margin-inline: auto; padding: clamp(54px, 10vh, 110px) 0 clamp(42px, 8vh, 86px); }
.home-hero { text-align: center; }
.home-hero h1 { font-family: "Yeonam Heading", "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", system-ui, sans-serif; font-size: clamp(2.45rem, 5.1vw, 3.8rem); font-weight: 300; line-height: 1.22; letter-spacing: -.045em; }
.hero-question { max-width: 560px; margin: 17px auto 0; font-size: clamp(1rem, 2.2vw, 1.16rem); font-weight: 400; line-height: 1.65; text-wrap: balance; letter-spacing: -.025em; color: #405648; }
.mascot-stage { display: flex; align-items: center; justify-content: center; height: clamp(185px, 29vh, 280px); margin: 19px auto 14px; }
.library-robot { display: block; width: min(66%, 232px); height: 90%; object-fit: contain; animation: float-head 4.6s ease-in-out infinite; }
@keyframes float-head { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.start-diagnostic { max-width: 100%; background: var(--green); border: 1px solid var(--green); color: #07391e; font-size: 1.06rem; font-weight: 640; line-height: 1.4; min-height: 52px; padding: .8rem 1.7rem; border-radius: 15px; }
.start-diagnostic:hover { background: #2cdb84; border-color: #20c677; }
.noscript { text-align: center; margin: 40px auto; }
@media (max-width:640px) {
  .mast-inner { width: calc(100% - 36px); min-height: 62px; }
  .brand { font-size: .93rem; gap: 7px; }
  .brand-icon { width: 24px; height: 24px; }
  .top-nav { gap: 0; }
  .top-nav button { min-height: 36px; font-size: .87rem; padding: 6px 11px; }
  .home-page { padding-top: clamp(48px, 8vh, 70px); }
  .mascot-stage { height: clamp(172px,28vh,226px); margin-top: 17px; }
}
@media (max-width:365px) {
  .home-page { width: calc(100% - 30px); }
  .mast-inner { width: calc(100% - 24px); }
  .brand { font-size: .85rem; }
  .home-hero h1 { font-size: 2.3rem; }
}
@media (prefers-reduced-motion:reduce) {
  .library-robot { animation: none; }
  *,*::before,*::after { scroll-behavior: auto !important; transition: none !important; }
}
