:root {
  --deep: #0a3352;
  --navy: #0b4a75;
  --brand: #0a78c2;
  --brand-text: #0868aa;
  --bright: #6cc4ff;
  --mid: #b9ddf5;
  --tint: #e3f1fb;
  --bg: #f4f8fc;
  --white: #ffffff;
  --line: #d9e4ef;
  --ink: #1f2933;
  --muted: #4e5d6c;
  --star: #ffe08a;
  --star-tint: #fff6d6;
  --red: #db4129;
  --blue: #508cc0;
  --green: #a0c92f;
  --yellow: #ebb62c;
  --wa: #128c7e;
  --shadow: 0 10px 30px rgba(10, 51, 82, 0.06);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft JhengHei", "PingFang TC", "Noto Sans TC", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: var(--brand-text); }

.l { display: none; }

html[lang="zh-Hant"] .l.zh-Hant,
html[lang="en"] .l.en,
html[lang="zh-Hans"] .l.zh-Hans { display: inline; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--deep);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 248, 252, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand img { width: 64px; height: 64px; object-fit: contain; }

.brand-name {
  font-weight: 700;
  color: var(--deep);
  line-height: 1.25;
}

.brand-name span { display: block; font-weight: 600; color: var(--muted); font-size: 14px; }

.tools { display: flex; align-items: center; gap: 10px; }

.langs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--tint);
  border-radius: 999px;
}

.langs button {
  border: 0;
  background: transparent;
  color: var(--brand-text);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.langs button[aria-pressed="true"] {
  background: var(--white);
  color: var(--deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--brand-text);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border: 0;
}

.btn:hover { background: var(--deep); }

.btn:focus-visible,
.langs button:focus-visible,
.brand:focus-visible,
.text-link:focus-visible {
  outline: 3px solid var(--bright);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 28px;
}

h1 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

h1 .l {
  display: none;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.52em;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 700;
}

html[lang="zh-Hant"] h1 .l.zh-Hant,
html[lang="en"] h1 .l.en,
html[lang="zh-Hans"] h1 .l.zh-Hans { display: block; }

.tagline {
  margin: 16px 0 0;
  color: var(--brand-text);
  font-size: 22px;
  font-weight: 700;
}

.founders {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.bars { display: flex; gap: 6px; margin-top: 22px; }

.bars i {
  display: block;
  width: 36px;
  height: 6px;
  border-radius: 99px;
}

.bars i:nth-child(1) { background: var(--red); }
.bars i:nth-child(2) { background: var(--blue); }
.bars i:nth-child(3) { background: var(--green); }
.bars i:nth-child(4) { background: var(--yellow); }

.hero-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  background: var(--tint);
  border-radius: 28px;
}

.hero-panel img { width: 148px; height: 148px; }

section { padding: 36px 0; }

h2 {
  margin: 0 0 18px;
  color: var(--deep);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 20px;
}

.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card,
.stat,
.person,
.moat,
.table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.card,
.stat,
.person { padding: 22px 24px 20px; }

.card h3,
.person h3 {
  margin: 0 0 6px;
  color: var(--deep);
  font-size: 18px;
  line-height: 1.35;
}

.card p,
.stat p,
.person p { margin: 0; }

.card p + p,
.stat p + p { margin-top: 8px; }

.step { position: relative; }

.step-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.closer {
  margin: 14px 0 0;
  color: var(--deep);
  font-weight: 700;
}

.stat .num {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cost-row {
  margin-top: 28px;
}

.cost-row .stat {
  padding: 28px 28px 24px;
}

.cost-row .num {
  margin-bottom: 16px;
  font-size: clamp(26px, 2.2vw, 34px);
}

.note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.lead-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  align-items: end;
  margin-bottom: 14px;
}

.lead-stat .num {
  margin: 0;
  color: var(--deep);
  font-size: clamp(56px, 8vw, 84px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.lead-stat p { margin: 0; }

.lead-stat .note { grid-column: 2; }

.tag {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--brand-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 15px;
}

th:first-child,
td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--deep);
}

th { color: var(--muted); font-size: 13px; font-weight: 800; }

th.us,
td.us { background: var(--tint); }

td.y .l,
td.n .l,
td.p .l {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

td.y::before,
td.n::before,
td.p::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  background: center / 22px 22px no-repeat;
}

td.y::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230868AA' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19 7'/%3E%3C/svg%3E");
}

td.n::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9aab' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E");
}

td.p::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A75' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
}

.moat {
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--star-tint);
  border-color: #f3dc93;
  color: var(--deep);
  font-weight: 700;
}

.centres {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.centres li {
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
}

.years {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.years li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.years li:first-child { border-top: 0; }

.years strong { color: var(--deep); }

.years li.today { background: var(--tint); }
.years li.today strong { color: var(--brand-text); }

.team { align-items: stretch; }

.person {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.person img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 3px white, 0 0 0 6px var(--brand);
}

.role { margin: 0 0 8px; color: var(--brand-text); font-weight: 700; }

.person ul { margin: 0; padding-left: 18px; }

.person li + li { margin-top: 4px; }

.text-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.site-footer {
  margin-top: 28px;
  padding: 48px 0 36px;
  background: var(--deep);
  color: white;
}

.site-footer h2,
.site-footer .tagline,
.site-footer .founders { color: white; }

.site-footer .tagline { color: var(--bright); font-size: 20px; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.btn-light { background: white; color: var(--deep); }
.btn-light:hover { background: var(--star); color: var(--deep); }

.btn-wa { background: var(--wa); color: white; }
.btn-wa:hover { background: #0c6b61; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-brand img { width: 48px; height: 48px; }

@media (max-width: 1100px) {
  .cost-row { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero,
  .grid-4,
  .grid-3,
  .cost-row,
  .person,
  .years li,
  .lead-stat { grid-template-columns: 1fr; }

  .lead-stat .note { grid-column: auto; }

  .hero-panel { min-height: 220px; }

  .person { justify-items: start; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), calc(100% - 28px)); }

  .header-inner { align-items: flex-start; padding: 10px 0; }

  .tools { flex-wrap: wrap; justify-content: flex-end; }

  .grid-2 { grid-template-columns: 1fr; }

  .brand img { height: 52px; width: 52px; }

  h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
