/* HundredFold Holdings Limited 柏福控股有限公司 */

:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-deep: #0e1621;
  --text: #14202b;
  --text-mute: #5b6b7a;
  --line: #e2e6ea;
  --accent: #1e5a8f;
  --accent-soft: #eaf2f9;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 11px; }

.brand .mark {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: linear-gradient(140deg, #1e5a8f 0%, #0e3557 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  flex: none;
}

.brand-text { line-height: 1.25; }
.brand-cn { font-weight: 600; font-size: 15px; color: var(--text); display: block; }
.brand-en { font-size: 11px; color: var(--text-mute); letter-spacing: .4px; display: block; }

nav.links { display: flex; gap: 22px; flex-wrap: wrap; }
nav.links a { color: var(--text-mute); font-size: 14.5px; }
nav.links a:hover, nav.links a.active { color: var(--accent); text-decoration: none; }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 68px;
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  font-size: 40px;
  line-height: 1.35;
  margin: 0 0 18px;
  letter-spacing: -.5px;
  font-weight: 700;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-mute);
  max-width: 680px;
  margin: 0 0 28px;
}

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  color: var(--accent);
  background: #fff;
  border: 1px solid #cfe0ee;
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}
.btn:hover { background: #17476f; text-decoration: none; }

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid #b9d2e6;
  margin-left: 10px;
}
.btn.ghost:hover { background: var(--accent-soft); }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2 { font-size: 26px; margin: 0 0 12px; letter-spacing: -.3px; }
h3 { font-size: 17.5px; margin: 0 0 8px; }

.section-sub { color: var(--text-mute); margin: 0 0 36px; max-width: 640px; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
}
.card p { margin: 0; color: var(--text-mute); font-size: 15px; }
.card .num {
  font-size: 12px; letter-spacing: 1.5px; color: var(--accent);
  font-weight: 600; display: block; margin-bottom: 10px;
}

/* ---------- data table ---------- */
.factsheet {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.factsheet .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}
.factsheet .row:last-child { border-bottom: none; }
.factsheet dt {
  padding: 15px 22px;
  background: var(--bg-alt);
  font-size: 14.5px;
  color: var(--text-mute);
  font-weight: 500;
  margin: 0;
}
.factsheet dd {
  padding: 15px 22px;
  margin: 0;
  font-size: 15px;
}
.factsheet dd code {
  background: var(--accent-soft);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 13.5px;
}

@media (max-width: 620px) {
  .factsheet .row { grid-template-columns: 1fr; }
  .factsheet dt { padding-bottom: 4px; }
  .factsheet dd { padding-top: 4px; }
  .hero h1 { font-size: 30px; }
}

/* ---------- callout ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p:first-child { margin-top: 0; }

.todo {
  border-left-color: #c98a1b;
  background: #fdf6e7;
}

/* ---------- footer ---------- */
footer.site {
  background: var(--bg-deep);
  color: #93a6b8;
  padding: 52px 0 34px;
  font-size: 14px;
}
footer.site a { color: #c3d4e3; }
footer.site .cols {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 34px;
}
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h4 { color: #fff; font-size: 14px; margin: 0 0 12px; font-weight: 600; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 7px; }
footer.site .legal-name { color: #fff; font-weight: 600; font-size: 15px; }
footer.site .bottom {
  border-top: 1px solid #23303e;
  padding-top: 22px;
  font-size: 13px;
  line-height: 1.9;
}

/* ---------- misc ---------- */
.page-head {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.page-head h1 { font-size: 31px; margin: 0 0 10px; }
.page-head p { color: var(--text-mute); margin: 0; max-width: 680px; }

article.prose { padding: 52px 0 72px; max-width: 760px; }
article.prose h2 { margin-top: 40px; font-size: 21px; }
article.prose h2:first-child { margin-top: 0; }
article.prose ul { padding-left: 22px; }
article.prose li { margin-bottom: 8px; }
article.prose .meta { color: var(--text-mute); font-size: 14px; }
