@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "DM Sans", "Noto Sans TC", sans-serif;
  color: #24352f;
  background: #f7f8f2;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
.page { max-width: 1500px; min-height: 100vh; margin: auto; padding: 0 6.6%; }
.site-header { display: flex; align-items: center; justify-content: space-between; height: 112px; border-bottom: 1px solid #e1e5dc; }
.brand { display: flex; align-items: center; gap: 10px; color: #1c4034; font-size: 19px; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #285945; color: #f5f7e7; font-size: 25px; font-weight: 400; }
.brand-en { align-self: center; padding-left: 8px; border-left: 1px solid #b8c9ba; color: #7a9185; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.header-note { color: #687b70; font-size: 13px; letter-spacing: .04em; }
.hero { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: 5%; align-items: stretch; min-height: 660px; padding: 75px 0 82px; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-number, .panel-kicker, .side-caption { color: #688873; font-size: 11px; font-weight: 700; letter-spacing: .15em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #89af83; }
h1 { margin: 25px 0 19px; font-size: clamp(42px, 4.5vw, 66px); font-weight: 800; line-height: 1.35; letter-spacing: -.055em; }
h1 em { color: #5a8765; font-style: normal; }
.intro { max-width: 450px; margin: 0; color: #718179; font-size: 15px; line-height: 1.9; }
.calculator { max-width: 580px; margin-top: 43px; padding: 26px 31px 30px; border: 1px solid #e5e9e0; border-radius: 17px; background: white; box-shadow: 0 18px 45px #2e49300d; }
.card-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; }
.card-heading h2 { margin: 7px 0 0; font-size: 21px; letter-spacing: -.04em; }
.card-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #edf4ec; color: #386d4e; font-size: 20px; }
.form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
form > .field { margin-bottom: 18px; }
.field label { display: flex; align-items: baseline; gap: 7px; margin-bottom: 10px; font-size: 13px; font-weight: 700; }
.field label span { color: #a6b4a9; font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.input-wrap { position: relative; }
input { width: 100%; height: 54px; padding: 0 55px 0 16px; border: 1px solid #e1e8e0; border-radius: 9px; outline: none; background: #fcfdfa; color: #24352f; font: inherit; font-size: 17px; font-weight: 600; transition: border-color .2s, box-shadow .2s; }
input::placeholder { color: #b3bdb2; font-size: 13px; font-weight: 400; }
input:focus { border-color: #528066; box-shadow: 0 0 0 3px #52806622; }
input[aria-invalid="true"] { border-color: #ba6956; }
.unit { position: absolute; top: 17px; right: 15px; color: #9cac9e; font-size: 13px; }
.field-error { margin: 7px 0 0; color: #a64e39; font-size: 12px; line-height: 1.5; }
button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 23px; padding: 16px 20px; border: 0; border-radius: 9px; background: #285a43; color: white; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700; transition: background .2s, transform .2s; }
button:hover { background: #19432f; transform: translateY(-1px); }
button:focus-visible, .brand:focus-visible { outline: 3px solid #94b589; outline-offset: 3px; }
button span { font-size: 20px; font-weight: 400; }
.hero-side { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.illustration { position: relative; display: grid; place-items: center; width: min(100%, 450px); aspect-ratio: 1; border-radius: 50%; background: #eaf1e7; overflow: hidden; }
.illustration::before, .illustration::after { position: absolute; content: ""; border-radius: 50%; }
.illustration::before { width: 67%; height: 67%; background: #d7e7d2; }
.illustration::after { width: 40%; height: 40%; background: #a6c8a0; }
.illustration-ring { position: absolute; z-index: 1; border: 1px solid #ffffffa8; border-radius: 50%; }
.ring-one { width: 86%; height: 86%; }
.ring-two { width: 57%; height: 57%; }
.illustration-center { position: relative; z-index: 2; color: #285a43; font-size: clamp(18px, 2vw, 26px); font-weight: 800; line-height: 1.7; text-align: center; letter-spacing: -.05em; }
.illustration-center span { display: block; margin-top: 2px; font-size: 28px; font-weight: 400; }
.side-caption { align-self: flex-end; display: flex; align-items: center; gap: 13px; margin: 24px 2% 0 0; }
.caption-line { width: 30px; height: 1px; background: #88a98f; }
.result-panel { position: relative; width: min(100%, 460px); min-height: 450px; padding: 42px; border-radius: 20px; background: #e6f1e4; overflow: hidden; }
.result-panel.low { background: #e9eef1; }
.result-panel.high, .result-panel.obese { background: #f5eddf; }
.result-panel.obese .result-number { color: #c62828; }
.panel-kicker { position: relative; z-index: 1; color: #5f816d; }
.result-main { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 12px; margin-top: 35px; }
.result-number { font-size: clamp(70px, 8vw, 110px); font-weight: 700; line-height: 1.1; letter-spacing: -.085em; }
.result-unit { color: #728a77; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.result-divider { position: relative; z-index: 1; height: 1px; margin: 22px 0 25px; background: #b6cfb5; }
.result-label { position: relative; z-index: 1; color: #5c735e; font-size: 14px; }
.result-label strong { margin-left: 5px; color: #234f37; font-size: 18px; }
.result-panel h2 { position: relative; z-index: 1; margin: 31px 0 10px; font-size: 17px; }
.result-panel p { position: relative; z-index: 1; max-width: 340px; margin: 0; color: #4f6657; font-size: 14px; line-height: 1.9; }
.result-decoration { position: absolute; right: -30px; bottom: -87px; color: #d0e3ca; font-size: 260px; line-height: 1; }
.information { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; padding: 40px 0 45px; border-top: 1px solid #e1e5dc; }
.about h2 { margin: 17px 0 16px; font-size: 28px; letter-spacing: -.04em; }
.about p { max-width: 430px; margin: 0; color: #708078; font-size: 14px; line-height: 2; }
.about strong { color: #3d664d; font-weight: 600; }
.ranges { padding: 25px 30px; border: 1px solid #e6eae0; border-radius: 13px; background: #fff; }
.ranges h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; margin: 0 0 19px; font-size: 16px; }
.ranges h3 span { color: #9aab9d; font-size: 11px; font-weight: 400; }
.range-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef0eb; color: #607267; font-size: 13px; }
.range-row > span { display: flex; align-items: center; gap: 10px; }
.range-row strong { color: #405247; font-weight: 600; white-space: nowrap; }
.range-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.low-dot { background: #a2b8ca; }.healthy-dot { background: #85b487; }.high-dot { background: #e1c37d; }.obese-dot { background: #ca977d; }
.disclaimer { margin: 0 0 50px; color: #839389; font-size: 12px; line-height: 1.8; }
footer { display: flex; justify-content: space-between; padding: 22px 0 30px; border-top: 1px solid #e1e5dc; color: #94a49a; font-size: 11px; }
footer span { letter-spacing: .14em; }

@media (max-width: 800px) {
  .page { padding: 0 5%; }
  .site-header { height: 80px; }
  .header-note { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; min-height: 0; padding: 50px 0 60px; }
  .hero-side { max-width: 580px; }
  .illustration { width: min(100%, 340px); }
  .result-panel { width: 100%; min-height: 0; }
  .information { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 440px) {
  .brand-en { display: none; }
  h1 { font-size: 43px; }
  .calculator { padding: 23px 18px; }
  .form-fields { grid-template-columns: 1fr; gap: 17px; }
  .result-panel { padding: 32px 26px; }
  .ranges { padding: 22px 18px; }
}
