:root {
  font-family: "Instrument Sans", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: #172d38;
  background: #f3f7f4;
  line-height: 1.65;
  --green: #254f38;
  --muted: #465e60;
  --line: #d8e4dc;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #176f54;
  outline-offset: 3px;
}
.wrap { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap, footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 16px; }
.site-header a { text-decoration: none; }
.site-header strong { color: #1e4032; font-size: 1.17rem; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.crumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: .88rem; color: var(--muted); margin-block: 26px 22px; }
.hero { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.hero img { width: 100%; height: auto; display: block; }
.hero-body { padding: clamp(22px, 4vw, 52px); }
.landing .hero-body, .model-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.eyebrow { font-size: .88rem; font-weight: 750; letter-spacing: .08em; color: var(--green); margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0 0 .55em; }
h1 { font-size: clamp(1.8rem, 4.6vw, 3.65rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.9vw, 2rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
.hero-body p:last-child, .panel p:last-child, footer p { margin: 0; }
.lede { font-size: 1.1rem; max-width: 66ch; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 1px solid var(--green); border-radius: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer; }
.primary { color: #fff; background: var(--green); }
.primary:hover { background: #143b27; }
.secondary { background: #fff; }
.secondary:hover { background: #edf5ef; }
section { margin-block: clamp(26px, 5vw, 60px); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.panel, .card { border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 28px); background: #fff; min-width: 0; }
.card { display: flex; flex-direction: column; }
.card h3 { font-size: 1.4rem; }
.card .button { margin-top: auto; }
.brand-card img { display: block; width: 100%; height: auto; border-radius: 8px; margin-bottom: 14px; }
.meta { color: var(--muted); }
.tag { display: inline-block; background: #e7f1e8; padding: 4px 9px; border-radius: 4px; color: #24503b; font-size: .87rem; margin-bottom: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: white; }
th, td { text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); }
thead { background: #e7f1e8; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.questions div + div { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
label { display: grid; gap: 5px; color: #214238; font-weight: 700; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #879c8f; border-radius: 6px; background: #fff; color: #172d38; font-weight: 400; }
form .split { margin-bottom: 16px; }
form > label, .form-note { margin-bottom: 16px; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { font-size: 1.25rem; font-weight: 700; padding: 0; margin-bottom: 16px; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.actions:not([hidden]) { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
#project-status { margin-block: 16px 10px; }
button:disabled { cursor: default; opacity: .68; }
footer { border-top: 1px solid var(--line); background: #fff; }
@media (max-width: 790px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing .hero-body, .model-heading { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .grid, .split { grid-template-columns: 1fr; }
  .button { white-space: normal; text-align: center; }
  .model-heading .button, .hero-body .button { width: 100%; }
  th, td { padding-inline: 10px; }
}
