:root {
  --paper: #ffffff;
  --ink: #1e2125;
  --soft: #6a7078;
  --rule: #e3e5e8;
  --pen: #2b54c8;
  --mark: #ffe45e;
  --note-bg: #f7f8f9;
  --serif: "Gowun Batang", "Nanum Myeongjo", serif;
  --sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16181b; --ink: #e9eaec; --soft: #9aa0a8; --rule: #2c3036;
    --pen: #8aa7ff; --mark: #8a7414; --note-bg: #1d2024;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.75 var(--sans); word-break: keep-all; -webkit-font-smoothing: antialiased;
}
a { color: var(--pen); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--pen); outline-offset: 3px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.col { max-width: 640px; }

/* 머리 */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 24px; font-size: 15px; }
.top nav a { color: var(--soft); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

/* 첫 화면 */
.hero { padding: 72px 0 56px; }
.hero h1 {
  font: 700 clamp(34px, 5.4vw, 54px)/1.28 var(--serif); letter-spacing: -0.01em; margin: 0 0 20px; max-width: 13em;
}
.hero .lead { font-size: 19px; color: var(--soft); margin: 0 0 32px; max-width: 30em; }
.actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; background: var(--pen); color: #fff; text-decoration: none; font-weight: 600;
  padding: 13px 22px; border-radius: 2px; font-size: 16px;
}
.btn[aria-disabled="true"] { background: var(--soft); pointer-events: none; }
.actions .sub { color: var(--soft); font-size: 15px; }

/* 원문 → 챙길 것 */
.demo { display: grid; grid-template-columns: 1.35fr auto 1fr; gap: 28px; align-items: center; margin-top: 64px; }
.notice {
  background: var(--note-bg); border-left: 3px solid var(--rule); padding: 26px 28px;
  font: 400 16px/1.95 var(--serif); color: var(--soft);
}
.notice b { color: var(--ink); font-weight: 700; }
.notice mark { background: linear-gradient(transparent 55%, var(--mark) 55%, var(--mark) 95%, transparent 95%); color: var(--ink); padding: 0 1px; }
.notice .from { display: block; font-family: var(--sans); font-size: 13px; color: var(--soft); margin-bottom: 10px; }
.arrow { font: 400 28px var(--serif); color: var(--soft); }
.result { border-top: 3px solid var(--ink); padding-top: 16px; }
.result h2 { font: 700 15px var(--sans); margin: 0 0 4px; }
.result .when { color: var(--soft); font-size: 14px; margin-bottom: 14px; }
.result ul { list-style: none; margin: 0; padding: 0; }
.result li { padding: 9px 0 9px 30px; border-bottom: 1px solid var(--rule); position: relative; }
.result li::before { content: ""; position: absolute; left: 0; top: 14px; width: 15px; height: 15px; border: 1.5px solid var(--ink); border-radius: 2px; }
.result .deadline { margin-top: 14px; font-size: 15px; }
.result .deadline b { color: var(--pen); }

/* 약속 */
.promise { padding: 56px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.promise p.big { font: 700 clamp(24px, 3.4vw, 32px)/1.45 var(--serif); margin: 0 0 18px; max-width: 18em; }
.promise ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 32px; max-width: 560px; }
.promise li { padding-left: 18px; position: relative; }
.promise li::before { content: ""; position: absolute; left: 0; top: 0.8em; width: 8px; height: 2px; background: var(--ink); }
.promise .fine { color: var(--soft); font-size: 15px; margin: 0; max-width: 36em; }

/* 본문 섹션 */
section.part { padding: 64px 0 8px; }
section.part h2 { font: 700 28px/1.4 var(--serif); margin: 0 0 24px; }
dl.what { margin: 0; display: grid; grid-template-columns: 9em 1fr; gap: 18px 28px; }
dl.what dt { font-weight: 600; }
dl.what dd { margin: 0; color: var(--soft); }
ol.how { margin: 0; padding-left: 1.4em; }
ol.how li { padding: 4px 0 4px 6px; }
ol.how li::marker { font-family: var(--serif); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--soft); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--soft); }
.support p { color: var(--soft); max-width: 34em; }

footer.foot { margin-top: 80px; border-top: 1px solid var(--rule); padding: 28px 0 48px; color: var(--soft); font-size: 14px; }
footer.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 10px; }
footer.foot p { margin: 0; max-width: 46em; }

/* 개인정보처리방침 */
.doc { padding: 48px 0; }
.doc h1 { font: 700 34px/1.3 var(--serif); margin: 0 0 6px; }
.doc .date { color: var(--soft); margin: 0 0 28px; }
.doc .summary { border-left: 3px solid var(--pen); padding: 4px 0 4px 18px; margin: 0 0 8px; }
.doc h2 { font: 700 21px/1.4 var(--serif); margin: 40px 0 10px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.doc th, .doc td { border-bottom: 1px solid var(--rule); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.doc th { font-weight: 600; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top nav { display: none; }
  .hero { padding: 48px 0 40px; }
  .demo { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; }
  .arrow { transform: rotate(90deg); justify-self: start; padding-left: 8px; }
  .notice { padding: 20px; }
  .promise ul { grid-template-columns: 1fr; }
  dl.what { grid-template-columns: 1fr; gap: 4px; }
  dl.what dd { margin-bottom: 14px; }
  .doc table { font-size: 14px; }
}
