@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root{
  --ink:#171f26;
  --ink-2:#3d4c59;
  --ink-3:#77899b;
  --blue:#c8e0f4;
  --pink:#f5e0e8;
  --bg:#e6eef7;
  --sh:-6px -6px 16px rgba(255,255,255,.92), 7px 7px 18px rgba(23,31,38,.13);
  --sh-sm:-4px -4px 10px rgba(255,255,255,.9), 4px 4px 10px rgba(23,31,38,.11);
  --sh-in:inset -4px -4px 11px rgba(255,255,255,.85), inset 5px 5px 12px rgba(23,31,38,.13);
  --r:13px;
}

*,*::before,*::after{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:'Noto Sans KR', system-ui, -apple-system, 'Segoe UI', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size:17px;
  font-weight:400;
  line-height:1.85;
  color:var(--ink);
  background:
    radial-gradient(120% 70% at 8% 0%, #f2f7fc 0%, rgba(242,247,252,0) 60%),
    radial-gradient(120% 80% at 92% 100%, #f8eff3 0%, rgba(248,239,243,0) 55%),
    linear-gradient(160deg,#eef4fa 0%, var(--bg) 45%, #edf0f6 100%);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
}

::selection{background:var(--blue);color:var(--ink)}

a{color:inherit}

.announce{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:9px 16px;
  font-size:13px;
  letter-spacing:.32em;
  color:var(--ink-2);
  background:linear-gradient(90deg, rgba(200,224,244,.95), rgba(245,224,232,.95));
  box-shadow:0 2px 0 rgba(255,255,255,.7) inset;
}
.announce-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--ink-3);
  box-shadow:0 0 0 3px rgba(255,255,255,.55);
}
.announce-t{font-weight:500}

.masthead{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  gap:16px;
  padding:10px 20px;
  background:linear-gradient(180deg, rgba(240,246,252,.97), rgba(233,241,249,.91));
  backdrop-filter:blur(10px);
  box-shadow:0 10px 22px rgba(23,31,38,.09);
}

.mark{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:50%;
  text-decoration:none;
  font-size:18px;
  font-weight:700;
  letter-spacing:0;
  color:var(--ink);
  background:linear-gradient(145deg,#f3f8fd,#dde8f3);
  box-shadow:var(--sh-sm);
}
.mark:active{box-shadow:var(--sh-in);transform:scale(.97)}

.nav{
  flex:1 1 auto;
  min-width:0;
}

.nav-list{
  display:flex;
  align-items:center;
  gap:2px;
  margin:0;
  padding:2px;
  list-style:none;
  overflow-x:auto;
  scrollbar-width:none;
}
.nav-list::-webkit-scrollbar{display:none}

.nav-list a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:0 13px;
  border-radius:var(--r);
  font-size:16px;
  font-weight:500;
  color:var(--ink-2);
  text-decoration:none;
  white-space:nowrap;
  transition:box-shadow .15s ease, color .15s ease, transform .15s ease, background .15s ease;
}
.nav-list a:hover{
  color:var(--ink);
  background:linear-gradient(145deg,#f4f9fe,#e4edf6);
  box-shadow:var(--sh-sm);
}
.nav-list a:active{
  box-shadow:var(--sh-in);
  transform:scale(.97);
}

.stage{
  display:grid;
  grid-template-columns:minmax(0,232px) minmax(0,1fr);
  gap:26px;
  align-items:start;
  max-width:1180px;
  margin:0 auto;
  padding:26px 20px 0;
}

.rail{
  position:sticky;
  top:92px;
  padding:18px;
  border-radius:0;
  background:linear-gradient(145deg,#f1f7fc,#e3ecf5);
  box-shadow:var(--sh);
}

.rail-k,
.prose small,
.f-cta small{
  display:block;
  font-size:14px;
  font-weight:500;
  letter-spacing:.26em;
  color:var(--ink-3);
  margin:0 0 6px;
}

.rail-h{
  margin:0 0 12px;
  font-size:19px;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--ink);
}

.rail-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.rail-list a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:4px 12px;
  border-radius:var(--r);
  font-size:16px;
  line-height:1.4;
  color:var(--ink-2);
  text-decoration:none;
  transition:box-shadow .15s ease, color .15s ease, background .15s ease;
}
.rail-list a:hover{
  color:var(--ink);
  background:linear-gradient(145deg,#f4f9fe,#e5eef7);
  box-shadow:var(--sh-sm);
}
.rail-list a:active{box-shadow:var(--sh-in)}

.prose{min-width:0}

.hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:20px;
  min-height:45vh;
  padding:44px 30px;
  overflow:hidden;
  border-radius:0;
  background:linear-gradient(145deg,#f3f8fd 0%, #e4edf7 60%, #f7eef2 100%);
  box-shadow:var(--sh);
  margin-bottom:22px;
}

.hero-num{
  position:absolute;
  right:-6px;
  bottom:-42px;
  z-index:0;
  font-size:clamp(120px,22vw,260px);
  font-weight:700;
  line-height:.8;
  letter-spacing:-.06em;
  color:rgba(255,255,255,.72);
  text-shadow:-4px -4px 12px rgba(255,255,255,.85), 6px 8px 18px rgba(23,31,38,.13);
  pointer-events:none;
  will-change:transform;
}

.hero-h1{
  position:relative;
  z-index:1;
  margin:0;
  max-width:19em;
  font-size:clamp(30px,5.2vw,58px);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-.02em;
  color:var(--ink);
}

.hero-go{
  position:relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 30px;
  border-radius:999px;
  font-size:16px;
  font-weight:500;
  text-decoration:none;
  color:var(--ink);
  background:linear-gradient(145deg,#cfe4f6,#f5e0e8);
  box-shadow:var(--sh-sm);
  transition:box-shadow .15s ease, transform .15s ease;
}
.hero-go:hover{box-shadow:var(--sh)}
.hero-go:active{box-shadow:var(--sh-in);transform:scale(.97)}

.prose > div{
  scroll-margin-top:106px;
  padding:26px 26px 30px;
  margin:0 0 22px;
  border-radius:0;
  background:linear-gradient(145deg,#f2f8fd,#e6eef7);
  box-shadow:var(--sh);
}

.prose h2{
  margin:2px 0 14px;
  font-size:clamp(21px,2.6vw,29px);
  font-weight:700;
  line-height:1.38;
  letter-spacing:-.01em;
  color:var(--ink);
}

.prose h3{
  margin:22px 0 10px;
  font-size:19px;
  font-weight:700;
  line-height:1.5;
  color:var(--ink);
}

.prose p{
  margin:0 0 1.05em;
  color:var(--ink-2);
}

.prose ul,
.prose ol{
  margin:0 0 1.1em;
  padding-left:1.25em;
  color:var(--ink-2);
}

.prose li{margin-bottom:.45em}
.prose li::marker{color:var(--ink-3)}

.prose a{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:rgba(23,31,38,.28);
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.prose a:hover{text-decoration-color:var(--ink)}

.prose strong{color:var(--ink);font-weight:700}

.prose time{
  display:inline-block;
  font-size:14px;
  letter-spacing:.06em;
  color:var(--ink-3);
}

.prose blockquote{
  margin:0 0 1.1em;
  padding:16px 18px;
  border-radius:var(--r);
  background:linear-gradient(145deg,#f7f2f5,#e9eef7);
  box-shadow:var(--sh-in);
  color:var(--ink-2);
}

.prose img{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 0 1.1em;
  border-radius:var(--r);
  box-shadow:var(--sh-sm);
}

.prose > div > *:last-child{margin-bottom:0}

.foot{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.25fr;
  gap:28px 26px;
  margin-top:50px;
  padding:44px 24px 0;
  background:#171f26;
  color:#dbe7f1;
}

.foot h3{
  margin:0 0 10px;
  font-size:15px;
  font-weight:500;
  letter-spacing:.24em;
  color:#93a7b8;
}

.foot ul{
  list-style:none;
  margin:0;
  padding:0;
}

.foot li{margin:0}

.foot a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  font-size:16px;
  color:#dbe7f1;
  text-decoration:none;
  transition:color .15s ease, transform .15s ease;
}
.foot a:hover{color:#ffffff}
.foot a:active{transform:scale(.98)}

.f-brand{display:flex;flex-direction:column;gap:12px;align-items:flex-start}

.f-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:50%;
  font-size:17px;
  font-weight:700;
  color:#171f26;
  background:linear-gradient(145deg,#dceaf7,#f5e0e8);
  box-shadow:-3px -3px 9px rgba(255,255,255,.22), 4px 5px 14px rgba(0,0,0,.45);
}

.f-name{
  margin:0;
  font-size:17px;
  font-weight:500;
  letter-spacing:.16em;
  color:#eaf2f9;
}

.f-cta{
  padding:18px 18px 20px;
  border-radius:0;
  background:linear-gradient(145deg,#dbe9f6,#f4e2ea);
  color:#171f26;
  box-shadow:-4px -4px 12px rgba(255,255,255,.18), 6px 7px 18px rgba(0,0,0,.45);
}

.f-cta small{color:#5b6c7b}

.f-cta-h{
  margin:0;
  font-size:23px;
  line-height:1.35;
  font-weight:700;
}
.f-cta-h a{
  min-height:44px;
  color:#171f26;
  text-decoration:none;
}
.f-cta-h a:hover{color:#0d1418}

.f-base{
  grid-column:1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px 22px;
  margin-top:6px;
  padding:14px 0 22px;
  border-top:1px solid rgba(255,255,255,.12);
}

.f-copy{
  margin:0;
  font-size:14px;
  letter-spacing:.06em;
  color:#8fa3b4;
}

.f-links{
  display:flex;
  flex-wrap:wrap;
  gap:2px 16px;
}
.f-links a{font-size:14px;min-height:40px;color:#a8bccd}

.rv{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .6s cubic-bezier(.2,.72,.3,1);
}
.rv-in{
  opacity:1;
  transform:none;
}

@media (max-width:1000px){
  .stage{grid-template-columns:minmax(0,1fr);gap:16px;padding:16px 14px 0}
  .rail{position:static;padding:14px}
  .rail-h{display:none}
  .rail-k{margin:0 0 8px}
  .rail-list{flex-direction:row;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:none}
  .rail-list::-webkit-scrollbar{display:none}
  .rail-list li{flex:0 0 auto}
  .rail-list a{white-space:nowrap;padding:4px 14px}
  .hero{min-height:38vh;padding:34px 20px}
  .prose > div{padding:22px 18px 24px}
}

@media (max-width:760px){
  body{font-size:16px;line-height:1.8}
  .masthead{padding:8px 12px;gap:10px}
  .mark{width:42px;height:42px;font-size:16px}
  .nav-list a{font-size:15px;padding:0 11px}
  .foot{grid-template-columns:1fr 1fr;gap:24px 18px;padding:34px 16px 0}
  .f-brand{grid-column:1 / -1}
  .f-cta{grid-column:1 / -1}
  .hero-h1{font-size:clamp(27px,8vw,38px)}
  .hero-num{opacity:.8}
}

@media (max-width:420px){
  .announce{font-size:12px;letter-spacing:.24em}
  .prose > div{padding:20px 15px 22px}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .rv{opacity:1;transform:none;transition:none}
  .hero-num{transition:none}
  .nav-list a,.rail-list a,.hero-go,.foot a{transition:none}
}

button[aria-expanded]{min-width:44px;min-height:44px}
