: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;
}
.site-header nav {
  display: flex;
  gap: 23px;
  margin-left: auto;
}
.site-header nav a {
  color: inherit;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.header-cta {
  padding: 8px 11px;
  color: var(--ink);
  background: var(--yellow);
  border: 1px solid;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}
.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 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 > a:last-child {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}
@media (max-width: 760px) {
  .site-header {
    min-height: 54px;
    padding: 0 16px;
  }
  .site-header nav {
    display: none;
  }
  .header-cta {
    margin-left: auto;
  }
  .language-switch { margin-left: auto; }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 18vw 8vw 14vw;
  }
  .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;
  }
  .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; }
@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); }
}
