/* hoibo.hk: the brand book's palette (carbon, white, electric lime), system fonts. */
:root {
  --carbon: #101b17;
  --surface: #1a2a23;
  --line: #31433a;
  --white: #ffffff;
  --muted: #a4b1aa;
  --lime: #b9fa35;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans HK", "Microsoft JhengHei",
    "Segoe UI", Roboto, sans-serif;
}
a { color: var(--lime); text-underline-offset: 3px; }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 800; font-size: 18px; }
.brand img { width: 34px; height: auto; }
nav { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--white); }
main { padding-top: 32px; padding-bottom: 48px; }
h1 { font-size: 30px; line-height: 1.3; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
p, li { color: #e6ece9; }
.muted, .updated { color: var(--muted); }
.updated { font-size: 14px; margin-bottom: 28px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
.hero { padding: 48px 0 24px; }
.hero h1 { font-size: 40px; }
.hero p { font-size: 18px; color: var(--muted); max-width: 520px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 28px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.card strong { display: block; color: var(--white); margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 15px; }
.contact {
  display: inline-block; margin-top: 8px; padding: 10px 18px; border-radius: 999px;
  background: var(--lime); color: var(--carbon); font-weight: 700; text-decoration: none;
}
footer { padding-top: 20px; padding-bottom: 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  h1 { font-size: 26px; }
  nav { gap: 12px; font-size: 14px; }
}
