/* Ska Digital — Quiet Signal palette, shared with oscarchiu.dev */
:root {
  --midnight: #0F1A2A;
  --midnight-line: #243246;
  --midnight-border: #3A4A60;
  --score: #F6F3EC;
  --rule: #E2DDD2;
  --slate: #4C5664;
  --mist: #CDD3DB;
  --fog: #A3AEBD;
  --amber: #E8A33A;
  --brass: #8A5A10;
  --font-zh: "Noto Sans TC", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--score); color: var(--midnight); font: 400 17px/1.75 var(--font-zh); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
a { color: var(--brass); }
a:hover { color: var(--midnight); }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.night { background: var(--midnight); color: var(--score); }
.night a:hover { color: var(--score); }
.label { font: 500 13px/1.4 var(--font-mono); letter-spacing: 0.12em; }
.amber { color: var(--amber); }
.brass { color: var(--brass); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.brand img { display: block; height: 36px; width: auto; }
.top-mail { color: var(--mist); text-decoration: none; font-size: 15px; }

.hero { display: flex; flex-direction: column; gap: 24px; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(38px, 5vw + 14px, 64px); line-height: 1.2; font-weight: 700; }
.lead { max-width: 620px; color: var(--mist); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--amber); color: var(--midnight); font-weight: 700; font-size: 16px; text-decoration: none; }
.btn:hover { background: #F0B455; color: var(--midnight); }
.btn.ghost { background: transparent; border: 1px solid var(--midnight-border); color: var(--score); font-weight: 500; }
.btn.ghost:hover { border-color: var(--amber); }

main section { display: flex; flex-direction: column; gap: 12px; padding-top: 80px; }
main section:last-child { padding-bottom: 96px; }
h2 { font-size: clamp(26px, 1.6vw + 20px, 34px); line-height: 1.3; font-weight: 700; margin-bottom: 16px; }

.rows > div { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--rule); }
.rows > div:first-child { border-top-color: var(--midnight); }
.rows { border-bottom: 1px solid var(--rule); }
.rows dt { font-weight: 700; }
.rows dd { color: var(--slate); }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--rule); border-radius: 12px; }
.steps span { font: 500 13px/1 var(--font-mono); color: var(--brass); }
.steps h3 { font-size: 20px; line-height: 1.4; }
.steps p { font-size: 15px; color: var(--slate); }

.about p { max-width: 680px; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 80px; padding-bottom: 48px; }
.foot h2 { font-size: clamp(30px, 3vw + 14px, 48px); margin-bottom: 12px; }
.mail { font-size: 22px; color: var(--amber); }
.small { font: 500 12px/1.4 var(--font-mono); color: var(--fog); }

@media (max-width: 640px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .brand img { height: 30px; }
  .top-mail { display: none; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .cta { flex-direction: column; }
  main section { padding-top: 56px; }
  .rows > div { grid-template-columns: 1fr; gap: 4px; }
  .foot { padding-top: 56px; padding-bottom: 40px; }
}
