:root {
  --ink: #15191e;
  --paper: #f6f1e8;
  --blue: #a9c7e8;
  --yellow: #ffdc55;
  --red: #ed6c5c;
  --pink: #f2c4ca;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Huninn", "Noto Sans TC", sans-serif;
}
html[lang="ko"] body {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
}
html[lang="ja"] body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
}
.site-header {
  min-height: 64px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.brand {
  color: inherit;
  text-decoration: none;
  font:
    500 11px "DM Mono",
    monospace;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.brand span {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  margin-right: 7px;
  border: 1px solid;
  border-radius: 50%;
  font-size: 8px;
}
.guide-menu {
  position: relative;
  margin-left: auto;
}
.guide-menu summary {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 800;
}
.guide-menu summary::-webkit-details-marker {
  display: none;
}
.guide-menu summary span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--ink);
  font:
    17px "Bodoni Moda",
    serif;
  transition: transform 0.18s;
}
.guide-menu[open] summary span {
  transform: rotate(45deg);
}
.guide-menu nav {
  position: absolute;
  z-index: 30;
  top: 38px;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(124px, 1fr));
  width: min(520px, 92vw);
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 6px 6px 0 var(--ink);
}
.guide-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
  padding: 10px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
}
.guide-menu nav a:hover {
  background: var(--yellow);
}
.guide-menu nav i {
  font:
    10px "DM Mono",
    monospace;
}
.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.hero-copy {
  padding: 9vw 6vw 6vw 9vw;
}
.eyebrow {
  margin: 0 0 16px;
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.12em;
}
.purpose {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding: 9px 11px;
  border: 1px solid var(--ink);
  font-size: 12px;
}
.purpose span {
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.06em;
}
.hero h1,
.section-heading h2,
.route h2,
.note h2 {
  margin: 0;
  font:
    600 clamp(42px, 5.4vw, 80px)/1.04 "Bodoni Moda",
    "Noto Sans TC",
    serif;
  letter-spacing: -0.045em;
}
.hero h1 em,
.route h2 em {
  font-style: italic;
}
.intro {
  max-width: 520px;
  margin: 28px 0;
  color: #40454b;
  line-height: 1.85;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 17px;
  border: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}
.button span {
  font-size: 18px;
}
.button.dark {
  background: var(--ink);
  color: var(--paper);
}
.button.light {
  background: var(--paper);
  color: var(--ink);
}
.statline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 46px;
  font:
    10px "DM Mono",
    monospace;
}
.statline i {
  width: 36px;
  border-top: 1px solid var(--ink);
}
.statline b {
  font-weight: 500;
}
.hero-art {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 6vw;
  background: var(--yellow);
  border-left: 1px solid var(--ink);
}
.hero-art > p {
  margin: 0;
  font:
    600 clamp(56px, 8vw, 116px)/0.77 "Bodoni Moda",
    serif;
  letter-spacing: -0.08em;
}
.cover {
  position: absolute;
  right: 12%;
  bottom: 11%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(290px, 58%);
  aspect-ratio: 3/4;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--blue);
  box-shadow: 10px 10px 0 var(--ink);
}
.cover small {
  font:
    10px "DM Mono",
    monospace;
}
.cover strong {
  font:
    76px "Bodoni Moda",
    serif;
}
.cover em {
  font:
    600 17px/1.1 "Bodoni Moda",
    serif;
}
.sticker {
  position: absolute;
  left: 10%;
  bottom: 10%;
  padding: 13px;
  border: 1px solid var(--ink);
  background: var(--pink);
  font-weight: 800;
  line-height: 1.35;
  transform: rotate(-7deg);
}
.roles,
.products {
  padding: 9vw;
}
.section-heading {
  max-width: 690px;
}
.section-heading h2 {
  font-size: clamp(37px, 4.4vw, 65px);
}
.section-heading > p:last-child {
  line-height: 1.8;
  color: #50555a;
}
.role-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 42px;
  border: 1px solid var(--ink);
}
.role,
.product-grid article {
  min-height: 370px;
  padding: 32px;
  border-right: 1px solid var(--ink);
}
.role:last-child,
.product-grid article:last-child {
  border-right: 0;
}
.role.student {
  background: var(--blue);
}
.role.parent {
  background: var(--pink);
}
.role > span,
.product-no {
  font:
    11px "DM Mono",
    monospace;
}
.role h3,
.product-grid h3 {
  margin: 34px 0 14px;
  font:
    600 clamp(28px, 3.1vw, 45px)/1.06 "Bodoni Moda",
    "Noto Sans TC",
    serif;
  letter-spacing: -0.04em;
}
.role > p:not(.eyebrow) {
  max-width: 440px;
  line-height: 1.8;
}
.role > a {
  display: flex;
  justify-content: space-between;
  margin-top: 35px;
  padding-top: 12px;
  border-top: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}
.route {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  padding: 8vw 9vw;
  border-top: 1px solid var(--ink);
}
.student-route {
  background: #e8f0f6;
}
.family-route {
  background: #fff7f7;
}
.route-title {
  padding-right: 7vw;
}
.route-title > p:last-child {
  line-height: 1.8;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--ink);
}
.steps span {
  font:
    11px "DM Mono",
    monospace;
}
.steps b {
  font-size: 18px;
}
.steps p {
  margin: 0.5em 0 0;
  line-height: 1.75;
  color: #454a4f;
}
.products {
  border-top: 1px solid var(--ink);
}
.product-grid article {
  background: var(--paper);
}
.product-grid article:nth-child(2) {
  background: var(--yellow);
}
.product-lead {
  font-size: 16px;
  font-weight: 800;
}
.product-grid ul {
  min-height: 130px;
  padding-left: 18px;
  line-height: 1.85;
}
.note {
  padding: 9vw;
  background: var(--ink);
  color: var(--paper);
}
.note p {
  max-width: 600px;
  line-height: 1.85;
}
.note .button {
  margin-top: 17px;
  border-color: var(--paper);
}
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  padding: 28px 4vw;
  background: var(--ink);
  border-top: 1px solid var(--paper);
  color: var(--paper);
}
footer a {
  color: inherit;
}
footer div {
  display: flex;
  gap: 15px;
  font-size: 12px;
}
@media (max-width: 760px) {
  .guide-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(370px, calc(100vw - 32px));
  }
  .hero,
  .route {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 70px 24px 50px;
  }
  .hero-art {
    min-height: 430px;
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .purpose {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .roles,
  .products {
    padding: 70px 24px;
  }
  .role-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  .role,
  .product-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }
  .route {
    padding: 70px 24px;
  }
  .route-title {
    padding-right: 0;
    margin-bottom: 35px;
  }
  .statline {
    gap: 7px;
  }
  .statline i {
    width: 18px;
  }
  footer {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------- checklist & guide pages -- */

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  clip-path: none;
}
.guide-menu nav a.nav-main {
  grid-column: 1 / -1;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
  border-right: 0;
}
.guide-menu nav a.nav-main:hover {
  background: var(--red);
}
.guide-menu nav a[aria-current] {
  background: var(--yellow);
}

.page-hero {
  padding: 7vw 9vw 5vw;
  border-bottom: 1px solid var(--ink);
}
.page-hero h1 {
  margin: 0 0 6px;
  font:
    600 clamp(34px, 4.6vw, 62px)/1.08 "Bodoni Moda",
    "Huninn",
    serif;
  letter-spacing: -0.04em;
}
html[lang="ko"] .page-hero h1,
html[lang="ko"] .hero h1,
html[lang="ko"] .section-heading h2,
html[lang="ko"] .note h2 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
  letter-spacing: -0.02em;
}
.page-hero .intro {
  max-width: 640px;
}
.student-hero {
  background: #e8f0f6;
}
.family-hero {
  background: #fff7f7;
}
.product-hero {
  background: var(--yellow);
}
.checklist-hero {
  background: var(--paper);
}
.page-hero .eyebrow a {
  color: inherit;
}
.badge-line {
  margin: 0 0 22px;
}
.badge {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

/* progress bar */
.checklist-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 26px 0 10px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.bar-progress {
  flex: 1 1 260px;
}
.bar-progress p {
  margin: 0 0 9px;
  font-size: 13px;
}
.bar-progress b {
  font:
    600 22px "DM Mono",
    monospace;
}
.meter {
  height: 12px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.meter i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 0.25s;
}
.bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.bar-actions .button {
  cursor: pointer;
  font-family: inherit;
}
.save-note {
  margin: 0 0 26px;
  max-width: 640px;
  font-size: 12px;
  line-height: 1.75;
  color: #55595e;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toc a {
  padding: 8px 12px;
  border: 1px solid var(--ink);
  color: inherit;
  text-decoration: none;
  font-size: 12px;
}
.toc a:hover {
  background: var(--yellow);
}

/* checklist groups */
.grp {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink);
}
.grp:nth-of-type(even) {
  background: #fbf7f0;
}
.grp-head {
  max-width: 700px;
  margin-bottom: 26px;
}
.grp-head h2 {
  margin: 0 0 10px;
  font:
    600 clamp(26px, 3vw, 40px)/1.1 "Bodoni Moda",
    "Huninn",
    serif;
  letter-spacing: -0.03em;
}
html[lang="ko"] .grp-head h2 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
}
.grp-head p {
  margin: 0;
  line-height: 1.8;
  color: #4c5156;
}
.items {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.item {
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}
.item label {
  display: grid;
  grid-template-columns: 26px 44px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
}
.item .chk {
  grid-column: 1;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.item label .num {
  grid-column: 2;
  font:
    500 13px "DM Mono",
    monospace;
  padding-top: 3px;
}
.item label .task {
  grid-column: 3;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}
.item .detail {
  margin: 12px 0 0 82px;
  max-width: 760px;
}
.item .detail p {
  margin: 0 0 8px;
  line-height: 1.85;
  color: #43484d;
  font-size: 15px;
}
.item .detail b {
  display: block;
  margin-bottom: 2px;
  font:
    700 11px "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.item.done label .task {
  text-decoration: line-through;
  opacity: 0.55;
}
.item.done .detail {
  opacity: 0.55;
}

/* ad slots — labelled, standalone, never beside a control */
.ad-slot {
  display: block;
  margin: 0;
  padding: 4vw 9vw;
  border-bottom: 1px solid var(--ink);
  background: #efeae1;
}
.ad-label {
  margin: 0 0 10px;
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.14em;
  color: #6a6f74;
}
.ad-box {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 20px;
  border: 1px dashed #9aa0a6;
  background: var(--paper);
}
.ad-box p {
  margin: 0;
  font-size: 13px;
  color: #6a6f74;
  text-align: center;
}

.disclaimer {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink);
  background: #efeae1;
}
.disclaimer p {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.85;
  color: #4c5156;
}
.disclaimer p:last-child {
  margin-bottom: 0;
}

/* cta */
.cta-block {
  padding: 7vw 9vw;
  background: var(--ink);
  color: var(--paper);
}
.cta-block h2 {
  margin: 0 0 34px;
  font:
    600 clamp(28px, 3.4vw, 46px)/1.1 "Bodoni Moda",
    "Huninn",
    serif;
  letter-spacing: -0.03em;
}
html[lang="ko"] .cta-block h2 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--paper);
}
.cta-grid article {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--paper);
}
.cta-grid article:last-child {
  border-right: 0;
}
.cta-grid h3 {
  margin: 0 0 12px;
  font-size: 19px;
}
.cta-grid p {
  flex: 1;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: #d9d4cb;
}
.cta-grid .button {
  align-self: flex-start;
}

/* landing extras */
.grp-section,
.locked,
.includes,
.outline,
.notify {
  padding: 7vw 9vw;
  border-bottom: 1px solid var(--ink);
}
.grp-grid,
.outline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 34px;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.grp-card,
.outline-card {
  padding: 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.grp-card h3,
.outline-card h3 {
  margin: 12px 0;
  font-size: 19px;
  line-height: 1.5;
}
.outline-card p:last-child {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4c5156;
}
.grp-count {
  margin: 0;
  font:
    500 12px "DM Mono",
    monospace;
}
.locked {
  background: #fff7f7;
}
.locked-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0;
  margin: 32px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.locked-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}
.locked-list span {
  font:
    11px "DM Mono",
    monospace;
}
.includes-list {
  max-width: 760px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.includes-list li {
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--ink);
  line-height: 1.75;
  position: relative;
}
.includes-list li::before {
  content: "✓";
  position: absolute;
  left: 4px;
  font-weight: 800;
}
.price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.price span {
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.1em;
}
.price b {
  font:
    600 26px "Bodoni Moda",
    serif;
}
.notify {
  background: #efeae1;
}
.notify .section-heading p {
  max-width: 720px;
  line-height: 1.85;
}

/* footer */
footer {
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 40px 4vw;
  align-items: start;
}
.foot-brand p {
  margin: 12px 0 0;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.8;
  color: #cfcac1;
}
.foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.foot-langs p {
  margin: 0 0 10px;
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.1em;
  color: #cfcac1;
}
.foot-langs div {
  flex-wrap: wrap;
  gap: 12px;
}
.foot-langs span[aria-current] {
  opacity: 0.55;
}

/* print */
@media print {
  .site-header,
  .skip-link,
  .toc,
  .bar-actions,
  .cta-block,
  .ad-slot,
  footer,
  .locked {
    display: none !important;
  }
  body {
    background: #fff;
    font-size: 11pt;
  }
  .page-hero,
  .grp,
  .disclaimer {
    padding: 0 0 12pt;
    border: 0;
    background: #fff !important;
  }
  .grp {
    break-inside: auto;
  }
  .item {
    break-inside: avoid;
    padding: 8pt 0;
  }
  .item .detail {
    margin-left: 60pt;
  }
  .item .detail p {
    font-size: 9.5pt;
  }
  .checklist-bar {
    border: 0;
    padding: 0;
  }
  .meter {
    display: none;
  }
  a[href]::after {
    content: "";
  }
}

@media (max-width: 760px) {
  .page-hero,
  .grp,
  .ad-slot,
  .disclaimer,
  .cta-block,
  .grp-section,
  .locked,
  .includes,
  .outline,
  .notify {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-hero {
    padding-top: 52px;
    padding-bottom: 44px;
  }
  .grp,
  .cta-block,
  .grp-section,
  .locked,
  .includes,
  .outline,
  .notify {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .item label {
    grid-template-columns: 24px 1fr;
    gap: 10px;
  }
  .item label .num {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }
  .item label .task {
    grid-column: 2;
    grid-row: 2;
    font-size: 16px;
  }
  .item .detail {
    margin-left: 34px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--paper);
  }
  .cta-grid article:last-child {
    border-bottom: 0;
  }
  .checklist-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .bar-actions .button {
    flex: 1;
    justify-content: center;
  }
  footer {
    grid-template-columns: 1fr;
  }
}

/* Korean display type needs a smaller step than the latin/CJK-serif pairing. */
html[lang="ko"] .hero h1 {
  font-size: clamp(30px, 3.9vw, 54px);
  line-height: 1.22;
}
html[lang="ko"] .page-hero h1 {
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.25;
}
html[lang="ko"] .section-heading h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.25;
}
html[lang="ko"] .role h3,
html[lang="ko"] .product-grid h3 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(21px, 2.3vw, 31px);
  line-height: 1.35;
  letter-spacing: -0.01em;
}

@media (max-width: 760px) {
  /* In column layout flex-basis becomes height, which left a tall empty gap. */
  .checklist-bar .bar-progress {
    flex: 0 0 auto;
  }
}

/* Optional $0 checkout on the free checklist. Deliberately placed after the
   list and away from the checkboxes so it never competes with the content. */
.free-email {
  padding: 7vw 9vw;
  border-bottom: 1px solid var(--ink);
  background: #e8f0f6;
}
.free-email .button {
  margin-bottom: 14px;
}
.notify .price {
  margin-bottom: 22px;
}
@media (max-width: 760px) {
  .free-email {
    padding: 48px 24px;
  }
}
@media print {
  .free-email {
    display: none !important;
  }
}

/* ------------------------------------------------ paid pack components -- */

.pack-toc {
  max-width: 640px;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.pack-toc ol {
  margin: 0;
  padding-left: 20px;
  line-height: 2;
}
.pack-toc a {
  color: inherit;
}
.save-link {
  padding: 4vw 9vw;
  border-bottom: 1px solid var(--ink);
  background: var(--blue);
}
.save-link p:last-child {
  max-width: 700px;
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
}
.pack-head {
  padding: 6vw 9vw 3vw;
  border-bottom: 1px solid var(--ink);
  background: var(--sand, #efeae1);
}
.pack-head h2 {
  margin: 0 0 14px;
  font:
    600 clamp(26px, 3.4vw, 44px)/1.12 "Bodoni Moda",
    "Huninn",
    serif;
  letter-spacing: -0.035em;
}
html[lang="ko"] .pack-head h2 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(22px, 2.9vw, 34px);
  line-height: 1.3;
}
.pack-head > p {
  max-width: 760px;
  line-height: 1.85;
  color: #4c5156;
}
.pack-group {
  padding: 4vw 9vw;
  border-bottom: 1px solid var(--ink);
}
.pack-group:nth-of-type(even) {
  background: #fbf7f0;
}
.pack-group h3 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 26px);
}

/* document table */
.doc-rows {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}
.doc-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
}
.doc-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.doc-row-head b {
  font-size: 17px;
}
.status-set {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.status-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  cursor: pointer;
}
.status-opt input {
  accent-color: var(--red);
  cursor: pointer;
}
.status-opt:has(input:checked) {
  background: var(--yellow);
  font-weight: 800;
}
.doc-meta-list {
  margin: 14px 0 0;
  max-width: 820px;
}
.doc-meta-list dt {
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.1em;
  color: #62676c;
  margin-top: 10px;
}
.doc-meta-list dd {
  margin: 3px 0 0;
  line-height: 1.8;
  font-size: 14px;
  color: #43484d;
}

/* question cards */
.q-grid,
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.q-card,
.week-card {
  padding: 26px 24px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.q-card h3,
.week-card h3 {
  margin: 12px 0;
  font-size: 19px;
  line-height: 1.45;
}
.q-when,
.week-lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.75;
  color: #5a5f64;
}
.q-when b {
  display: block;
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.q-card .items,
.week-card .items {
  border-top: 1px solid var(--ink);
}
.q-card .item,
.week-card .item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
}
.q-card .item label,
.week-card .item label {
  display: block;
  grid-column: 2;
  cursor: pointer;
}
.pack-chk {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--red);
  cursor: pointer;
}
.q-card .task,
.week-card .task {
  font-size: 15px;
  line-height: 1.7;
}
.item.done .task {
  text-decoration: line-through;
  opacity: 0.55;
}

@media (max-width: 760px) {
  .pack-head,
  .pack-group,
  .save-link {
    padding-left: 24px;
    padding-right: 24px;
  }
  .pack-head {
    padding-top: 44px;
    padding-bottom: 28px;
  }
  .pack-group,
  .save-link {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .q-grid,
  .week-grid {
    grid-template-columns: 1fr;
  }
  .doc-row-head {
    flex-direction: column;
    gap: 10px;
  }
}

@media print {
  .pack-toc,
  .save-link {
    display: none !important;
  }
  .pack-head,
  .pack-group {
    padding: 0 0 10pt;
    border: 0;
    background: #fff !important;
    break-before: page;
  }
  .q-card,
  .week-card,
  .doc-row {
    break-inside: avoid;
    border: 0;
    border-bottom: 1px solid #999;
  }
  .q-grid,
  .week-grid {
    grid-template-columns: 1fr;
    border: 0;
  }
  .status-opt {
    border-color: #999;
  }
}
/* Sits after the same-site related list. The site label carries the fact that
   this link leaves the current subdomain, so the reader is not surprised. */
.cross-links {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink);
  background: #e8f0f6;
}
.cross-links ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}
.cross-links li {
  border-bottom: 1px solid rgba(21, 25, 30, 0.16);
}
.cross-links li:last-child {
  border-bottom: 0;
}
.cross-links a {
  display: block;
  padding: 14px 0;
  color: inherit;
  line-height: 1.7;
}
.cross-links a:hover {
  opacity: 0.66;
}
.cross-site {
  display: block;
  font: 700 10px "DM Mono", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red, #b3402f);
  margin-bottom: 4px;
}
@media (max-width: 760px) {
  .cross-links {
    padding: 40px 24px;
  }
}
@media print {
  .cross-links {
    display: none !important;
  }
}
