:root {
  color-scheme: light;
  --ink: #172a23;
  --quiet: #465a51;
  --forest: #23463b;
  --green: #e1ede5;
  --paper: #f9f8f3;
  --edge: #dce4db;
  --white: #fff;
  font-family: system-ui, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #8d4a2b; outline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.25; word-break: keep-all; }
p, li { line-height: 1.85; }
p { margin: 0; }
.wrap { max-width: 1220px; padding-inline: clamp(1rem, 4vw, 2.6rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: -5rem; padding: .6rem; background: var(--white); }
.skip:focus { top: 1rem; }
.site-header { background: var(--white); border-bottom: 1px solid var(--edge); }
.header-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; width: 158px; flex: 0 0 158px; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.5rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 650; white-space: nowrap; padding-block: .65rem; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; color: #8d4a2b; }
.menu-toggle { display: none; }
.hero { background: var(--green); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .94fr); gap: clamp(1.8rem, 5vw, 4.2rem); align-items: center; padding-block: clamp(2.6rem, 6.7vw, 5rem); }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4.2rem); font-weight: 820; letter-spacing: -.064em; line-height: 1.16; }
.hero h1 span { display: block; font-size: .52em; letter-spacing: -.045em; margin-bottom: .55rem; }
.hero-copy > p { max-width: 36rem; margin-block: 1.25rem 1.65rem; color: var(--quiet); font-size: clamp(1rem, 1.2vw, 1.12rem); }
.actions { display: flex; flex-wrap: wrap; gap: .68rem; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1rem; border-radius: .45rem; font-size: .9rem; font-weight: 740; text-decoration: none; background: var(--forest); color: var(--white); border: 1px solid var(--forest); }
.button:hover { background: #172f27; }
.button.secondary { background: var(--white); color: var(--ink); border-color: #b7cbbd; }
.button.secondary:hover { background: #f1f6f2; }
.hero-image { margin: 0; position: relative; min-width: 0; }
.hero-image img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 73% center; border-radius: 1rem; box-shadow: 0 18px 45px #1c342629; }
.section { padding-block: clamp(2.65rem, 7vw, 5.3rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .65rem 1rem; margin-bottom: 1.5rem; }
.section-head h2, .feature h2, .questions h2 { font-size: clamp(1.65rem, 3.2vw, 2.48rem); letter-spacing: -.045em; }
.section-head p { color: var(--quiet); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.card { border: 1px solid var(--edge); border-radius: .8rem; background: var(--white); padding: 1.35rem; min-width: 0; }
.card-link { display: flex; flex-direction: column; text-decoration: none; }
.card-link:hover { box-shadow: 0 6px 22px #23463b18; border-color: #a9c5b2; }
.card h3 { font-size: 1.23rem; letter-spacing: -.03em; }
.card p { margin-block: .55rem .8rem; color: var(--quiet); }
.card strong { margin-top: auto; color: var(--forest); font-size: .9rem; text-decoration: underline; text-underline-offset: .22em; }
.card-kind { width: fit-content; margin-bottom: .9rem; padding: .23rem .58rem; border-radius: .33rem; background: #e6f1e8; color: #254636; font-size: .88rem; font-weight: 650; }
.card-kind.daily { background: #f5e5d7; color: #713e24; }
.card-kind.finished { background: #ece9f2; color: #49396a; }
.band { background: #edf2ea; }
.feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.feature p { margin-block: .9rem; color: var(--quiet); }
.feature a, .text-link { color: #254f3f; font-size: .94rem; font-weight: 720; }
.note-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.3rem; }
.note-list article { padding-block: 1rem; border-top: 1px solid #bacac0; }
.note-list h3 { font-size: 1.08rem; }
.note-list p { color: var(--quiet); margin-top: .45rem; }
.guide-grid { display: grid; grid-template-columns: minmax(12rem, .32fr) minmax(0, 1fr); align-items: start; gap: clamp(1.6rem, 5vw, 4rem); }
.guide-toc { position: sticky; top: 1rem; padding: 1rem; border-left: 2px solid #abc2b3; background: #edf2ea; border-radius: .35rem; }
.guide-toc p { font-weight: 750; }
.guide-toc ul { display: grid; gap: .45rem; list-style: none; padding: 0; margin: .65rem 0 0; }
.guide-toc li { font-size: .9rem; line-height: 1.55; }
.guide-toc a { display: block; padding-block: .2rem; color: var(--forest); }
.guide-chapters { max-width: 790px; }
.guide-chapters section { padding-block: 1.5rem; border-top: 1px solid var(--edge); scroll-margin-top: 1rem; }
.guide-chapters h3 { font-size: clamp(1.28rem, 2.8vw, 1.75rem); letter-spacing: -.03em; }
.guide-chapters p { margin-top: .75rem; color: var(--quiet); }
.guide-chapters .text-link { display: inline-block; margin-top: .8rem; }
.questions { background: var(--white); }
.questions h2 { margin-bottom: 1.2rem; }
details { border-bottom: 1px solid var(--edge); padding-block: .8rem; }
summary { cursor: pointer; font-weight: 700; padding: .22rem 0; }
details p { margin: .55rem 0 .25rem; color: var(--quiet); }
.more { margin-top: 1rem; }
.crumb { padding-block: 1.2rem .7rem; color: var(--quiet); font-size: .9rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0; padding: 0; }
.crumb li + li::before { content: "/"; margin-right: .45rem; color: #64756c; }
.page-head { background: var(--green); padding-block: clamp(1.6rem, 5vw, 3.7rem); }
.page-head h1 { font-size: clamp(2rem, 4.8vw, 3.4rem); letter-spacing: -.05em; }
.page-head p { color: var(--quiet); margin-top: .6rem; max-width: 46rem; }
.reading { max-width: 840px; }
.prose { display: grid; gap: 1.6rem; }
.prose h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); letter-spacing: -.03em; }
.prose p, .prose ol { margin-top: .6rem; }
.prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .4rem; }
.aside { background: #e9f0e8; padding: 1rem 1.1rem; border-radius: .5rem; }
.related { border-top: 1px solid var(--edge); margin-top: 2rem; padding-top: 1.25rem; }
.related h2 { font-size: 1.2rem; }
.related ul { margin: .45rem 0 0; padding-left: 1.2rem; }
.week { background: var(--white); border: 1px solid var(--edge); border-radius: .7rem; padding: .2rem 1rem; }
.week details:last-child { border-bottom: 0; }
.letter { font-weight: 700; }
.site-footer { background: #203b31; color: #f0f4ed; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .65rem 1.25rem; padding-block: 1.55rem; }
.footer-row p, .footer-row a { font-size: .9rem; }
.footer-row div { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.footer-brand { width: 136px; flex-basis: 136px; background: var(--white); border-radius: .35rem; padding: .15rem .38rem; }
@media (max-width: 880px) {
  .header-row { min-height: 68px; flex-wrap: wrap; }
  .menu-toggle { display: inline-flex; align-items: center; min-height: 42px; padding: .35rem .65rem; border: 1px solid var(--edge); border-radius: .4rem; color: var(--ink); background: var(--white); font: inherit; font-size: .9rem; font-weight: 700; }
  .nav { display: none; flex-basis: 100%; flex-wrap: wrap; padding-bottom: .6rem; }
  .nav.open { display: flex; }
  .hero-grid, .feature { grid-template-columns: 1fr; }
  .hero-image img { aspect-ratio: 16 / 9; }
  .hero-grid { gap: 1.55rem; }
}
@media (max-width: 640px) {
  .cards, .note-list { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .section-head { gap: .4rem; }
  .hero h1 { font-size: clamp(2rem, 7.4vw, 2.75rem); }
}
