:root {
  --ink: #151515;
  --paper: #fffdf7;
  --cream: #f2eadb;
  --orange: #ff5a36;
  --blue: #b9d4ff;
  --line: #151515;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Huninn", "Noto Sans TC", system-ui, sans-serif;
}
.site-header {
  height: 76px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand {
  font-family: "DM Mono", monospace;
  font-weight: 700;
  letter-spacing: -0.06em;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}
.brand span {
  display: inline-block;
  color: var(--paper);
  background: var(--ink);
  padding: 1px 4px;
  margin-right: 2px;
}
.guide-menu {
  position: relative;
  font-family: "DM Mono", monospace;
  font-size: 12px;
}
.guide-menu summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--ink);
  padding: 10px 12px;
  background: var(--paper);
}
.guide-menu summary::-webkit-details-marker {
  display: none;
}
.guide-menu nav {
  position: absolute;
  right: 0;
  top: 43px;
  width: 285px;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 8px;
  box-shadow: 5px 5px 0 var(--ink);
}
.guide-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #d5d0c4;
  color: var(--ink);
  text-decoration: none;
}
.guide-menu nav a:hover {
  background: var(--blue);
}
.guide-menu nav i {
  font-style: normal;
  font-family: "DM Mono", monospace;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 590px;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: 9vw 7vw 7vw;
}
.eyebrow {
  font:
    12px "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.purpose {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
}
.purpose b {
  background: var(--ink);
  color: white;
  padding: 6px 9px;
  font-size: 13px;
}
.purpose span {
  font:
    11px "DM Mono",
    monospace;
}
.hero h1,
.section-heading h2,
.tool-copy h2,
.note h2 {
  font:
    600 clamp(42px, 5.9vw, 84px)/0.97 "Bodoni Moda",
    serif;
  letter-spacing: -0.075em;
  margin: 0;
  max-width: 720px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero-copy > p:not(.eyebrow) {
  font-size: 17px;
  line-height: 1.8;
  max-width: 580px;
  margin: 26px 0;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 15px 20px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 800;
}
.button.dark {
  background: var(--ink);
  color: white;
}
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--orange);
}
.statline {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 50px;
  font:
    11px "DM Mono",
    monospace;
}
.statline i {
  height: 1px;
  width: 34px;
  background: var(--ink);
}
.hero-art {
  background: var(--orange);
  position: relative;
  padding: 36px;
  overflow: hidden;
}
.hero-art > p {
  font:
    800 clamp(58px, 7vw, 110px)/0.8 "Bodoni Moda",
    serif;
  letter-spacing: -0.11em;
  margin: 0;
}
.cover {
  position: absolute;
  left: 19%;
  bottom: 12%;
  width: 64%;
  aspect-ratio: 0.82;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 10px 10px 0 var(--ink);
}
.cover small,
.cover em {
  font:
    11px "DM Mono",
    monospace;
  font-style: normal;
}
.cover strong {
  font:
    100px "Bodoni Moda",
    serif;
  text-align: center;
}
.sticker {
  position: absolute;
  right: 10%;
  top: 15%;
  background: var(--blue);
  border: 1px solid var(--ink);
  border-radius: 50%;
  width: 105px;
  height: 105px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 800;
  transform: rotate(10deg);
}
.section {
  padding: 8vw 7vw;
  border-bottom: 1px solid var(--line);
}
.section-heading {
  max-width: 680px;
}
.section-heading h2 {
  font-size: clamp(38px, 5vw, 66px);
}
.section-heading > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
}
.role-grid,
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 45px;
  border: 1px solid var(--line);
}
.role-grid article,
.guide-grid article {
  padding: 28px;
  border-right: 1px solid var(--line);
  min-height: 250px;
}
.role-grid article:last-child,
.guide-grid article:last-child {
  border-right: 0;
}
.role-grid span,
.guide-grid span {
  font:
    14px "DM Mono",
    monospace;
}
.role-grid h3,
.guide-grid h3 {
  font:
    600 31px/1.05 "Bodoni Moda",
    serif;
  letter-spacing: -0.05em;
  margin: 26px 0 12px;
}
.role-grid p,
.guide-grid p {
  line-height: 1.7;
}
.role-grid article:nth-child(1) {
  background: var(--blue);
}
.role-grid article:nth-child(2) {
  background: var(--cream);
}
.role-grid article:nth-child(3) {
  background: #d9e9b9;
}
.tools {
  padding: 8vw 7vw;
  background: #efe6d7;
  border-bottom: 1px solid var(--line);
}
.tool {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  border-top: 1px solid var(--line);
  padding: 45px 0;
}
.tool:first-of-type {
  margin-top: 48px;
}
.tool-copy h2 {
  font-size: 47px;
}
.tool-copy p:not(.eyebrow) {
  line-height: 1.8;
}
.tool form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: 7px 7px 0 var(--ink);
}
label {
  font-size: 14px;
  font-weight: 700;
  display: block;
  margin: 0 0 16px;
}
input,
select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--ink);
  background: white;
  font:
    16px "DM Mono",
    monospace;
}
button {
  font:
    700 14px "Noto Sans TC",
    sans-serif;
  cursor: pointer;
}
.tool button {
  width: 100%;
  background: var(--ink);
  color: white;
  padding: 14px;
  border: 1px solid var(--ink);
}
.result {
  margin-top: 19px;
  min-height: 70px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  line-height: 1.7;
}
.result strong {
  font:
    600 34px "Bodoni Moda",
    serif;
}
.result ul {
  padding-left: 20px;
}
.notice {
  margin: 35px 7vw;
  padding: 22px;
  border: 1px solid var(--ink);
  background: #fff4a8;
  line-height: 1.7;
}
.note {
  padding: 8vw 7vw;
  background: var(--ink);
  color: var(--paper);
}
.note h2 {
  max-width: 640px;
}
.note p:not(.eyebrow) {
  max-width: 620px;
  line-height: 1.8;
}
.note .button {
  border-color: var(--paper);
  color: var(--paper);
}
footer {
  padding: 35px 5vw;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
}
footer p {
  margin: 0;
  max-width: 360px;
  font-size: 13px;
  line-height: 1.6;
}
footer div {
  display: flex;
  gap: 14px;
  font:
    11px "DM Mono",
    monospace;
}
footer a {
  color: var(--ink);
}
.static-guide {
  padding: 12vw 7vw;
  max-width: 850px;
}
.static-guide h1 {
  font:
    600 68px/0.98 "Bodoni Moda",
    serif;
  letter-spacing: -0.07em;
}
.static-guide h1 em {
  color: var(--orange);
  font-style: normal;
}
.static-guide p {
  font-size: 17px;
  line-height: 1.8;
}
.static-guide section {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
}
.static-guide h2 {
  font:
    600 34px "Bodoni Moda",
    serif;
  letter-spacing: -0.05em;
  margin: 0;
}
@media (max-width: 760px) {
  .site-header {
    height: 64px;
    padding: 0 18px;
  }
  .hero,
  .tool {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .section,
  .tools {
    padding: 72px 24px;
  }
  .hero {
    min-height: auto;
  }
  .hero-art {
    min-height: 350px;
  }
  .role-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .role-grid article,
  .guide-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .tool {
    gap: 30px;
    padding: 36px 0;
  }
  .tool-copy h2 {
    font-size: 39px;
  }
  .notice {
    margin: 24px;
  }
  .note {
    padding: 72px 24px;
  }
  footer {
    padding: 28px 18px;
    display: block;
  }
  footer p {
    margin: 20px 0;
  }
  footer div {
    flex-wrap: wrap;
  }
  .guide-menu nav {
    right: -4px;
    width: 270px;
  }
}
.pack-teaser {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 5vw;
  padding: 8vw 7vw;
  background: var(--blue);
  border-bottom: 1px solid var(--line);
}
.pack-teaser h2,
.pack-page h1 {
  max-width: 700px;
  margin: 0;
  font:
    600 clamp(42px, 5vw, 72px)/0.98 "Bodoni Moda",
    serif;
  letter-spacing: -0.075em;
}
.pack-teaser p:not(.eyebrow),
.pack-page .pack-intro {
  max-width: 670px;
  font-size: 17px;
  line-height: 1.8;
}
.pack-teaser-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: end;
  gap: 14px;
}
.pack-teaser-side > span,
.pack-status b {
  padding: 6px 9px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font:
    11px "DM Mono",
    monospace;
  text-transform: uppercase;
}
.pack-teaser-side strong {
  font:
    600 28px "Bodoni Moda",
    serif;
}
.pack-page {
  max-width: 1000px;
  padding: 11vw 7vw;
}
.pack-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0;
}
.pack-status span {
  font:
    12px "DM Mono",
    monospace;
}
.pack-page section {
  margin: 50px 0;
  padding: 35px;
  border: 1px solid var(--line);
  background: var(--cream);
}
.pack-page section h2 {
  margin: 0 0 22px;
  font:
    600 38px/1 "Bodoni Moda",
    serif;
  letter-spacing: -0.06em;
}
.pack-page ol {
  margin: 0;
  padding-left: 24px;
}
.pack-page li {
  padding: 15px 0 15px 8px;
  border-top: 1px solid var(--line);
  line-height: 1.65;
}
.pack-note {
  max-width: 650px;
  font-weight: 800;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .pack-teaser {
    grid-template-columns: 1fr;
    padding: 72px 24px;
  }
  .pack-page {
    padding: 72px 24px;
  }
  .pack-page section {
    padding: 24px;
  }
  .pack-page h1 {
    font-size: 48px;
  }
}
.ad-slot {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 96px;
  margin: 0 7vw;
  padding: 20px 26px;
  border: 1px dashed #6b6963;
  background: #f7f3eb;
  color: #5c5b56;
}
.ad-slot span {
  flex: 0 0 auto;
  padding: 4px 7px;
  border: 1px solid currentColor;
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ad-slot p {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .ad-slot {
    margin: 0 24px;
    align-items: flex-start;
  }
}
.readiness {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 8vw;
  padding: 8vw 7vw;
  border-bottom: 1px solid var(--line);
  background: #fff4a8;
}
.readiness-list {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 7px 7px 0 var(--ink);
}
.readiness-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}
.readiness-list input {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--orange);
}
.readiness-list p {
  margin: 0;
  padding: 18px;
  font:
    12px "DM Mono",
    monospace;
}
.readiness-list strong {
  color: var(--orange);
}
@media (max-width: 760px) {
  .readiness {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 72px 24px;
  }
}

/* CJK interfaces use a rounded sans; driven by html[lang]. */
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;
}

/* ------------------------------------------------------- guide pages ----- */

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink, #15191e);
  color: var(--paper, #f6f1e8);
  font-size: 13px;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}
.guide-menu nav a.nav-main {
  grid-column: 1 / -1;
  background: var(--ink, #15191e);
  color: var(--paper, #f6f1e8);
  border-bottom: 0;
  border-right: 0;
}
.guide-menu nav a[aria-current] {
  background: var(--yellow, #ffdc55);
}

.page-hero {
  padding: 7vw 9vw 5vw;
  border-bottom: 1px solid var(--ink, #15191e);
}
.page-hero h1 {
  margin: 0 0 8px;
  font:
    600 clamp(30px, 4.2vw, 56px)/1.12 "Bodoni Moda",
    "Huninn",
    serif;
  letter-spacing: -0.035em;
}
html[lang="ko"] .page-hero h1 {
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
  font-size: clamp(24px, 3.3vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.page-hero .intro {
  max-width: 680px;
  margin: 20px 0 26px;
  line-height: 1.85;
  color: #40454b;
}
.guides-hero {
  background: #eef3f7;
}
.guide-hero {
  background: var(--paper, #f6f1e8);
}
.page-hero .eyebrow a {
  color: inherit;
}

.guide-toc {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--ink, #15191e);
  background: var(--paper, #f6f1e8);
  max-width: 620px;
}
.guide-toc ol {
  margin: 0;
  padding-left: 20px;
  line-height: 2;
}
.guide-toc a {
  color: inherit;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  border-top: 1px solid var(--ink, #15191e);
  border-left: 1px solid var(--ink, #15191e);
}
.guide-card {
  padding: 34px 30px;
  border-right: 1px solid var(--ink, #15191e);
  border-bottom: 1px solid var(--ink, #15191e);
}
.guide-card h2 {
  margin: 14px 0 12px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.45;
}
.guide-card h2 a {
  color: inherit;
  text-decoration: none;
}
.guide-card h2 a:hover {
  text-decoration: underline;
}
.guide-card p {
  line-height: 1.8;
  color: #4c5156;
}

.guide-section {
  padding: 4vw 9vw;
  border-bottom: 1px solid var(--ink, #15191e);
}
.guide-section:nth-of-type(even) {
  background: #fbf7f0;
}
.guide-section h2 {
  margin: 0 0 18px;
  font-size: clamp(21px, 2.5vw, 32px);
  line-height: 1.4;
}
.guide-section p {
  max-width: 760px;
  margin: 0 0 16px;
  line-height: 1.9;
  color: #3d4247;
}
.ask-list {
  max-width: 760px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ink, #15191e);
  background: var(--paper, #f6f1e8);
}
.ask-list li {
  padding: 13px 18px 13px 38px;
  border-bottom: 1px solid #d8d2c7;
  line-height: 1.75;
  position: relative;
}
.ask-list li:last-child {
  border-bottom: 0;
}
.ask-list li::before {
  content: "→";
  position: absolute;
  left: 16px;
}
.ask-list .ask-head {
  padding-left: 18px;
  background: var(--ink, #15191e);
  color: var(--paper, #f6f1e8);
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.14em;
}
.ask-list .ask-head::before {
  content: "";
}

.takeaway {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink, #15191e);
  background: var(--yellow, #ffdc55);
}
.takeaway p:last-child {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.85;
}

.guide-ad {
  margin: 0;
}
.related {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink, #15191e);
}
.related ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink, #15191e);
  max-width: 760px;
}
.related li {
  border-bottom: 1px solid var(--ink, #15191e);
}
.related a {
  display: block;
  padding: 16px 0;
  color: inherit;
  line-height: 1.6;
}

.cta-block {
  padding: 7vw 9vw;
  background: var(--ink, #15191e);
  color: var(--paper, #f6f1e8);
}
.cta-block h2 {
  margin: 0 0 32px;
  font-size: clamp(24px, 3vw, 40px);
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--paper, #f6f1e8);
}
.cta-grid article {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-right: 1px solid var(--paper, #f6f1e8);
}
.cta-grid article:last-child {
  border-right: 0;
}
.cta-grid h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.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;
}

footer .foot-brand p {
  margin: 12px 0 0;
  max-width: 380px;
  font-size: 13px;
  line-height: 1.8;
}
footer .foot-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
footer .foot-langs p {
  margin: 0 0 10px;
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.1em;
}
footer .foot-langs div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
footer .foot-langs span[aria-current] {
  opacity: 0.55;
}

@media (max-width: 760px) {
  .page-hero,
  .guide-section,
  .takeaway,
  .related,
  .cta-block {
    padding-left: 24px;
    padding-right: 24px;
  }
  .page-hero {
    padding-top: 52px;
    padding-bottom: 40px;
  }
  .guide-section,
  .takeaway,
  .related,
  .cta-block {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--paper, #f6f1e8);
  }
  .cta-grid article:last-child {
    border-bottom: 0;
  }
}

@media print {
  .site-header,
  .skip-link,
  .guide-toc,
  .cta-block,
  .ad-slot,
  .related,
  footer {
    display: none !important;
  }
  .page-hero,
  .guide-section,
  .takeaway,
  .notice {
    padding: 0 0 12pt;
    border: 0;
    background: #fff !important;
  }
  .guide-section {
    break-inside: avoid;
  }
}

.legal-hero {
  background: #eef3f7;
}
.legal-body {
  padding: 5vw 9vw;
  border-bottom: 1px solid var(--ink, #15191e);
}
.legal-body p {
  max-width: 760px;
  margin: 0 0 18px;
  line-height: 1.9;
  color: #3d4247;
}
.legal-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .legal-body {
    padding: 44px 24px;
  }
}
