: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: "Noto Sans TC", sans-serif;
}
.site-header {
  min-height: 64px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  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-family: "Bodoni Moda", serif; font-size: 17px; font-weight: 500; transition: transform .18s ease; }
.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; gap: 12px; 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 b { font-weight: 800; }
.guide-menu nav span { font: 10px "DM Mono", monospace; }
.language-switch {
  padding: 6px 22px 6px 8px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 700 11px "Noto Sans TC", sans-serif;
}
.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  border-bottom: 1px solid var(--ink);
}
.hero-copy {
  padding: 9vw 6vw 6vw 9vw;
}
.eyebrow {
  margin: 0 0 18px;
  font:
    700 10px "DM Mono",
    monospace;
  letter-spacing: 0.12em;
}
.hero-purpose { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:0 0 20px; padding:9px 11px; border:1px solid var(--ink); font-size:12px; }
.hero-purpose b { font-weight:800; }
.hero-purpose span { font:10px "DM Mono", monospace; letter-spacing:.06em; white-space:nowrap; }
.hero h1,
.section-heading h2,
.note h2 {
  margin: 0;
  font:
    600 clamp(42px, 5.6vw, 82px)/1.04 "Bodoni Moda",
    "Noto Sans TC",
    serif;
  letter-spacing: -0.055em;
}
.hero h1 em {
  font-style: italic;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 27px 0;
  font-size: 17px;
  line-height: 1.85;
  font-weight: 500;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 18px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.button.dark {
  color: var(--paper);
  background: var(--ink);
}
.button.light {
  color: var(--ink);
  background: var(--yellow);
}
.statline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 72px;
  font:
    11px "DM Mono",
    monospace;
}
.statline b {
  font-weight: 500;
}
.statline i {
  width: 34px;
  height: 1px;
  background: currentColor;
}
.hero-art {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-left: 1px solid var(--ink);
}
.hero.blue .hero-art {
  background: var(--blue);
}
.hero.yellow .hero-art {
  background: var(--yellow);
}
.hero.red .hero-art {
  background: var(--pink);
}
.hero.paper .hero-art {
  background: #d8d0bd;
}
.hero-art > p {
  position: absolute;
  left: 9%;
  top: 8%;
  margin: 0;
  font:
    500 11px/1.4 "DM Mono",
    monospace;
  letter-spacing: 0.1em;
}
.cover {
  position: relative;
  width: min(330px, 64%);
  aspect-ratio: 0.76;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  transform: rotate(-6deg);
  box-shadow: 15px 17px 0 rgba(21, 25, 30, 0.18);
}
.cover small {
  font:
    10px "DM Mono",
    monospace;
  letter-spacing: 0.09em;
}
.cover strong {
  font:
    600 clamp(100px, 16vw, 210px)/0.7 "Bodoni Moda",
    serif;
  align-self: center;
}
.cover em {
  font:
    10px/1.25 "DM Mono",
    monospace;
  letter-spacing: 0.08em;
  font-style: normal;
}
.sticker {
  position: absolute;
  right: 8%;
  bottom: 13%;
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
  transform: rotate(9deg);
}
.start {
  padding: 9vw 7vw;
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  column-gap: 5vw;
  margin-bottom: 50px;
}
.section-heading .eyebrow {
  grid-column: 1;
}
.section-heading h2 {
  grid-column: 1;
  font-size: clamp(38px, 4.2vw, 64px);
}
.section-heading > p:last-child {
  grid-column: 2;
  align-self: end;
  max-width: 410px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.guide-grid a {
  min-height: 270px;
  padding: 24px;
  position: relative;
  color: inherit;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  transition: background 0.2s;
}
.guide-grid a:hover {
  background: var(--yellow);
}
.guide-grid span {
  font:
    11px "DM Mono",
    monospace;
}
.guide-grid i {
  position: absolute;
  right: 24px;
  top: 19px;
  font:
    32px "Bodoni Moda",
    serif;
  font-style: normal;
}
.guide-grid h3 {
  margin: 72px 0 10px;
  font-size: 23px;
}
.guide-grid p {
  min-height: 52px;
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
}
.guide-grid b {
  position: absolute;
  bottom: 22px;
  font-size: 13px;
}
.note {
  padding: 9vw 8vw;
  background: var(--ink);
  color: var(--paper);
}
.note h2 {
  max-width: 760px;
  margin-bottom: 36px;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -0.04em;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 4vw;
  border-top: 1px solid var(--ink);
}
footer p {
  margin: 0;
  font-size: 13px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-links a {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}
.footer-links .privacy-link,
.footer-links .disclosure-link {
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.04em;
  font-weight: 500;
}
@media (max-width: 760px) {
  .site-header {
    min-height: 54px;
    padding: 0 16px;
  }
  .guide-menu nav { right: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(370px, calc(100vw - 32px)); }
  .language-switch { margin-left: auto; }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 18vw 8vw 14vw;
  }
  .hero-purpose { align-items:flex-start; flex-direction:column; gap:4px; }
  .hero-art {
    min-height: 470px;
    border-top: 1px solid;
    border-left: 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p:last-child {
    margin-top: 22px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-grid a {
    min-height: 220px;
  }
  .start {
    padding: 18vw 7vw;
  }
  .note {
    padding: 18vw 8vw;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }
  .footer-links { flex-wrap: wrap; }
  .statline {
    margin-top: 44px;
  }
  .cover {
    width: 52%;
  }
}

.ad-slot {
  min-height: 180px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  border-bottom: 1px solid var(--ink);
  background: #ebe6db;
  color: #777;
  text-align: center;
}
.ad-slot span {
  font: 10px "DM Mono", monospace;
  letter-spacing: 0.13em;
}
.ad-slot div { font-size: 13px; }
.free-tool {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 9vw;
  padding: 10vw 8vw;
  background: var(--blue);
  border-bottom: 1px solid var(--ink);
}
.free-tool h2 {
  margin: 0;
  font: 600 clamp(36px, 4.5vw, 62px) / 1.08 "Bodoni Moda", "Noto Sans TC", serif;
  letter-spacing: -0.05em;
}
.tool-intro > p:last-child { max-width: 450px; margin: 24px 0 0; font-size: 15px; line-height: 1.8; }
.tool-form { padding: 30px; border: 1px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
.tool-form label { display: grid; gap: 9px; margin-bottom: 19px; font-size: 13px; font-weight: 800; }
.tool-form input, .tool-form select { width: 100%; padding: 13px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 15px "Noto Sans TC", sans-serif; }
.tool-form button { padding: 13px 16px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; font: 800 14px "Noto Sans TC", sans-serif; }
.tool-form button span { margin-left: 18px; }
.tool-result { min-height: 95px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--ink); }
.tool-result p { margin: 0; font-size: 13px; line-height: 1.7; }
.tool-result .result-label { font: 700 10px "DM Mono", monospace; letter-spacing: 0.09em; }
.tool-result strong { display: block; margin: 7px 0; font: 600 38px "Bodoni Moda", serif; }
.tool-result strong small { font: 600 15px "Noto Sans TC", sans-serif; }
.field-notes { padding: 9vw 7vw; border-bottom: 1px solid var(--ink); background: #f8d7cf; }
.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.note-grid article { min-height: 250px; padding: 26px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.note-grid article > span { font: 11px "DM Mono", monospace; }
.note-grid h3 { margin: 48px 0 10px; font-size: 20px; }
.note-grid p { max-width: 450px; margin: 0; font-size: 14px; line-height: 1.85; }
.legal-page { max-width: 820px; margin: 0 auto; padding: 10vw 7vw; }
.legal-page h1 { margin: 0; font: 600 clamp(44px, 6vw, 82px)/1.02 "Bodoni Moda", "Noto Sans TC", serif; letter-spacing: -0.055em; }
.legal-intro { max-width: 620px; margin: 28px 0 64px; font-size: 18px; line-height: 1.85; font-weight: 600; }
.legal-page section { padding: 28px 0; border-top: 1px solid var(--ink); }
.legal-page h2 { margin: 0 0 12px; font-size: 19px; }
.legal-page section p { margin: 0; font-size: 15px; line-height: 1.9; }
.legal-updated { margin: 32px 0; font: 11px "DM Mono", monospace; }
.legal-nav { display: flex; gap: 12px; }
.legal-nav a { padding: 10px 13px; border: 1px solid var(--ink); color: inherit; text-decoration: none; font-weight: 700; }
.legal-nav a:hover { background: var(--yellow); }
@media (max-width: 760px) {
  .free-tool { grid-template-columns: 1fr; gap: 38px; padding: 18vw 8vw; }
  .tool-form { padding: 20px; box-shadow: 5px 5px 0 var(--ink); }
  .field-notes { padding: 18vw 7vw; }
  .note-grid { grid-template-columns: 1fr; }
  .note-grid article { min-height: 0; padding: 24px; }
  .note-grid h3 { margin-top: 32px; }
  .legal-page { padding: 18vw 8vw; }
  .legal-intro { margin-bottom: 42px; font-size: 16px; }
}
