/* 金百霖 · 全局设计 */
:root {
  --black: #141414;
  --black-soft: #1E1E1E;
  --white: #FFFFFF;
  --paper: #FAFAF9;
  --paper-2: #F3F2EF;
  --text: #141414;
  --text-2: #5C5C58;
  --text-3: #949490;
  --line: rgba(20, 20, 20, 0.1);
  --accent: #A68B5B;
  --font: "Noto Serif SC", "Source Han Serif SC", "思源宋体", serif;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --header: calc(56px + var(--safe-t));
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 max(24px, var(--safe-l)) 0 max(24px, var(--safe-r));
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-top: var(--safe-t);
  height: var(--header);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.header--solid {
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.header--solid .header__logo,
.header--solid .header__nav a { color: var(--text); }

.header__inner {
  max-width: 560px;
  margin: 0 auto;
  height: 56px;
  padding: 0 max(24px, var(--safe-l)) 0 max(24px, var(--safe-r));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  transition: color 0.4s;
}

.header__nav {
  display: flex;
  gap: 24px;
}

.header__nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  transition: color 0.3s;
}

.header__nav a:hover { color: var(--accent); }
.header--solid .header__nav a { color: var(--text-2); }
.header--solid .header__nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header) + 40px) 24px calc(80px + var(--safe-b));
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(166, 139, 91, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(166, 139, 91, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  text-align: center;
  max-width: 480px;
}

.hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero__title {
  font-size: clamp(2.25rem, 10vw, 3.5rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: clamp(0.8125rem, 3vw, 0.9375rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  line-height: 1.85;
}

.hero__scroll {
  position: absolute;
  bottom: calc(32px + var(--safe-b));
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 1px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(6px); }
}

/* ── Blocks ── */
.block {
  padding: clamp(64px, 14vw, 96px) 0;
}

.block--about {
  background: var(--white);
}

.block--contact {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.block__head {
  margin-bottom: 40px;
}

.block__tag {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.block__title {
  font-size: clamp(1.5rem, 5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.company-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.prose {
  margin-bottom: 56px;
}

.prose p {
  font-size: 0.9375rem;
  color: var(--text-2);
  line-height: 2.05;
  text-align: justify;
}

.sub-head {
  margin-bottom: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  font-family: var(--font);
}

.sub-head__tag {
  display: block;
  font-family: var(--font);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.sub-head__title {
  font-family: var(--font);
  font-size: clamp(1.125rem, 4.2vw, 1.375rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text);
  line-height: 1.4;
}

/* ── Business list ── */
.biz-list {
  list-style: none;
  margin-bottom: 0;
}

.biz-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.biz-list li:first-child { padding-top: 0; }

.biz-list strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.biz-list span {
  font-size: 0.8125rem;
  color: var(--text-3);
}

/* ── App 介绍 ── */
.app-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 56px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.app-card__icon {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(20, 20, 20, 0.1);
}

.app-card__body {
  flex: 1;
  min-width: 0;
}

.app-card__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.app-card__badge {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 8px;
  border: 1px solid rgba(166, 139, 91, 0.35);
  border-radius: 4px;
}

.app-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}

.app-card__desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.95;
  text-align: justify;
}

@media (max-width: 400px) {
  .app-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-card__top {
    justify-content: center;
  }

  .app-card__desc {
    text-align: center;
  }
}

/* ── Disclaimer ── */
.disclaimer {
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.disclaimer p {
  font-size: 0.75rem;
  color: var(--text-3);
  line-height: 1.9;
  text-align: justify;
}

/* ── Contact ── */
.info-list {
  margin-bottom: 40px;
}

.info-list__row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.info-list__row:first-child { padding-top: 0; }
.info-list__row:last-child { border-bottom: none; }

.info-list dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
}

.info-list dd {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.65;
}

.info-list a {
  color: var(--accent);
  border-bottom: 1px solid rgba(166, 139, 91, 0.3);
}

/* ── Button ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.25s, opacity 0.25s;
  touch-action: manipulation;
}

.btn:active { opacity: 0.85; }

@media (hover: hover) {
  .btn:hover { background: var(--black-soft); }
}

/* ── Footer ── */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.4);
  padding: 48px 0 calc(40px + var(--safe-b));
}

.footer__inner {
  text-align: center;
}

.footer__copy {
  font-size: 0.75rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.55);
}

.footer__icp {
  margin-top: 8px;
  font-size: 0.6875rem;
}

.footer__icp a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer__icp a:hover { color: var(--accent); }

.footer__note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.25);
}
