:root {
  --paper: #f5f0e6;
  --ink: #1e302c;
  --muted: #52635e;
  --orange: #d7663e;
  --line: #d9d4c8;
  --serif: Georgia, "Noto Serif TC", "PMingLiU", serif;
  --sans: "Avenir Next", "Microsoft JhengHei", "PingFang TC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  background-image: radial-gradient(circle at 82% 12%, #e8dfcd 0, transparent 35%),
    radial-gradient(circle at 0% 70%, #e9eadc 0, transparent 36%);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.site-shell { max-width: 1500px; margin: auto; padding: 0 clamp(20px, 5vw, 88px); }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; gap: 13px; align-items: center; font-weight: 700; letter-spacing: .07em; font-size: 18px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 50%;
  font: 18px var(--serif);
}
.brand-light { font-weight: 400; }
.top-nav { display: flex; gap: clamp(18px, 3vw, 52px); font-size: 14px; font-weight: 600; }
.top-nav a:hover, .site-footer a:hover { color: var(--orange); }
.hero { display: grid; grid-template-columns: 1.07fr .93fr; min-height: 620px; border-bottom: 1px solid var(--line); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 60px 20px 60px 0; animation: appear .7s both; }
.eyebrow, .section-kicker, .hero-meta, .card-top, .card-bottom, .disc-subtitle, .art-tag {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 700;
}
.eyebrow { display: inline-flex; gap: 10px; align-items: center; color: var(--orange); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
h1, h2, p { margin: 0; }
h1, h2, .card-content strong { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(40px, 4.1vw, 68px); line-height: 1.35; letter-spacing: -.055em; margin: 32px 0 22px; }
em { color: var(--orange); font-style: normal; }
.hero-copy > p { max-width: 510px; font-size: 16px; line-height: 2; color: var(--muted); }
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  margin-top: 35px;
  padding: 16px 23px;
  color: #fff;
  background: var(--ink);
  border-radius: 4px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.primary-link:hover { background: var(--orange); transform: translateY(-3px); }
.hero-meta { display: flex; justify-content: space-between; width: min(100%, 500px); margin-top: 65px; color: #77837d; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 530px; overflow: hidden; }
.art-orbit { position: absolute; border: 1px solid #c7c8b9; border-radius: 50%; width: min(91%, 570px); aspect-ratio: 1; }
.orbit-two { width: min(72%, 450px); transform: rotate(-20deg) scaleX(.87); }
.art-disc {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(67%, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #cbd7bd;
  box-shadow: inset -28px -32px 0 #b6c8a9, 25px 35px 0 #e9d9c4;
  transform: rotate(-9deg);
}
.disc-symbol { font: clamp(110px, 14vw, 200px)/1 var(--serif); color: var(--ink); }
.disc-subtitle { color: #556b5d; font-size: 9px; margin-top: 15px; }
.disc-star { position: absolute; font: 34px var(--serif); color: var(--orange); }
.star-one { top: 19%; left: 17%; }
.star-two { bottom: 20%; right: 17%; font-size: 22px; }
.art-tag { position: absolute; display: flex; gap: 23px; align-items: center; background: #fffaf0; border: 1px solid var(--line); padding: 15px 18px; }
.tag-top { right: 1%; top: 21%; transform: rotate(8deg); }
.tag-top span { color: var(--orange); font-size: 20px; }
.tag-bottom { left: 1%; bottom: 21%; transform: rotate(-8deg); font-size: 9px; }
.tools-section { padding: 96px 0 110px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.section-kicker { color: var(--orange); }
h2 { font-size: clamp(34px, 3.3vw, 52px); letter-spacing: -.05em; line-height: 1.35; margin-top: 14px; }
.section-heading p { font-size: 14px; line-height: 1.8; color: var(--muted); text-align: right; }
.tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tool-card {
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: clamp(22px, 2.5vw, 34px);
  border: 1px solid rgba(30,48,44,.12);
  transition: transform .25s, box-shadow .25s;
}
.tool-card:hover { transform: translateY(-7px); box-shadow: 0 20px 38px #1e302c19; }
.card-zodiac { background: #dce6d8; }
.card-exchange { background: #f2dfcc; }
.card-colors { background: #e4e1d8; }
.card-image { background: #e9e4d4; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; }
.card-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid currentColor; border-radius: 50%; font-size: 16px; }
.card-icon { font: 66px/1 var(--serif); margin: 30px 0 20px; color: var(--orange); }
.card-exchange .card-icon { color: #a05a39; }
.card-colors .card-icon { color: #718686; }
.card-image .card-icon { color: #a46d4c; }
.card-content { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.card-content strong { font-size: 29px; }
.card-content > span { color: var(--muted); font-size: 14px; line-height: 1.75; }
.card-bottom { margin-top: auto; border-top: 1px solid #1e302c33; padding-top: 20px; }
.card-bottom span { font-size: 19px; }
.about-section { max-width: 900px; padding: 95px 0 110px; }
.about-section p { max-width: 640px; line-height: 2; margin: 24px 0 30px; color: var(--muted); }
.about-signature { font: italic 22px var(--serif); color: var(--orange); }
.site-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 13px; }
@keyframes appear { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 78px 0 10px; }
  .hero-meta { margin-top: 48px; }
  .hero-art { min-height: 440px; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .site-header { min-height: 76px; }
  .brand { font-size: 15px; }
  .top-nav { gap: 14px; font-size: 12px; }
  .top-nav a:last-child { display: none; }
  .hero-copy { padding-top: 60px; }
  h1 { margin-top: 26px; font-size: clamp(36px, 9vw, 50px); }
  .hero-copy > p { font-size: 14px; }
  .hero-meta { margin-top: 48px; font-size: 9px; }
  .hero-art { min-height: 350px; }
  .art-disc { width: 60%; }
  .art-orbit { width: 82%; }
  .tag-top { top: 12%; right: 0; }
  .tag-bottom { bottom: 13%; left: 0; }
  .tools-section { padding: 70px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading p { text-align: left; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 315px; }
  .about-section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
