/* =============================================================
   青藤汇落地页 · C 端样式
   ============================================================= */
:root {
  --bg:      oklch(98% 0.004 240);
  --surface: oklch(100% 0 0);
  --fg:      oklch(20% 0.02 240);
  --muted:   oklch(50% 0.018 240);
  --border:  oklch(90% 0.006 240);
  --accent:  oklch(56% 0.12 170);

  --accent-soft: color-mix(in oklch, var(--accent) 14%, transparent);

  --font-display: 'Söhne', 'Avenir Next', -apple-system, 'Source Han Serif SC', 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;

  --fs-h1: clamp(40px, 5.4vw, 68px);
  --fs-h2: clamp(30px, 3.6vw, 46px);
  --fs-h3: 21px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1120px;
  --gutter: 32px;

  --radius: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, var(--gap-2xl)); }
.section + .section { border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
}

h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
h3 { font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 700; line-height: 1.4; margin: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.7; color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 var(--gap-md);
}
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.topnav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; gap: var(--gap-md); position: relative; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: 0.02em; }
.logo-img { height: 40px; width: 40px; border-radius: 8px; object-fit: cover; }
.pagefoot .logo-img { height: 44px; width: 44px; }
.topnav nav { display: flex; gap: var(--gap-lg); }
.topnav nav a { font-size: 14px; color: var(--muted); transition: color 0.15s ease; }
.topnav nav a:hover { color: var(--fg); }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; color: var(--fg); line-height: 1;
}
@media (max-width: 920px) {
  .topnav nav { display: none; }
  .topnav nav.is-open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 18px var(--gutter);
  }
  .nav-toggle { display: inline-flex; }
}

.pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
.pagefoot .icp {
  margin-top: 22px;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
}
.pagefoot .icp .icp-link { text-decoration: underline; text-underline-offset: 3px; }
.pagefoot .icp .icp-link:hover { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px; font-weight: 600;
  line-height: 1;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--surface); border-color: var(--accent); }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 86%, black); border-color: color-mix(in oklch, var(--accent) 86%, black); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 6px; }
.btn-ghost:hover { color: var(--accent); }
.btn-arrow::after { content: '\2192'; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.card-flat { background: transparent; border: 0; padding: 0; }

.feature .feature-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: var(--gap-md);
}
.feature .feature-mark svg { width: 19px; height: 19px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 11px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.04em;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); }
.input, .textarea, .select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font: inherit; font-size: 15px;
  transition: border-color 0.15s ease;
}
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.field-error { font-size: 12px; color: var(--accent); min-height: 15px; }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--accent); }

.hero { padding-block: clamp(64px, 9vw, 132px); }
.hero-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: var(--gap-md); }
.hero-cta { display: flex; align-items: center; gap: var(--gap-md); flex-wrap: wrap; margin-top: var(--gap-lg); }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }

.svc-map { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.map-list { list-style: none; margin: 4px 0 0; padding: 0; }
.map-list li { display: grid; grid-template-columns: 26px 1fr auto; align-items: baseline; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.map-idx { font-size: 12px; color: var(--muted); }
.map-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.map-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); text-align: right; }
@media (max-width: 520px) {
  .map-list li { grid-template-columns: 26px 1fr; }
  .map-note { grid-column: 2; text-align: left; }
}
.plan-mock-title { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.plan-mock-foot { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.svc-map .row-between { margin-bottom: 4px; }

.stat .stat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6vw, 76px); line-height: 0.95; letter-spacing: -0.03em; color: var(--accent); }
.stat .stat-unit { font-size: 0.42em; opacity: 0.72; margin-left: 2px; }
.stat .stat-label { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 28ch; }

.svc { display: flex; flex-direction: column; gap: 12px; }
.svc h3 { font-size: 19px; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }
.svc .svc-idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.svc .svc-tags { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }

.step { border-top: 2px solid var(--fg); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

.card-label { display: block; margin-bottom: 10px; letter-spacing: 0.08em; }
.tag-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.method-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap-md); }
.method-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.method-list .tick { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 999px; color: var(--accent); margin-top: 2px; }
.method-list .tick svg { width: 13px; height: 13px; }
.method-list strong { display: block; font-weight: 700; margin-bottom: 2px; }
.method-list span.body { color: var(--muted); font-size: 15px; }

.faq-item { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: 0; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md);
  text-align: left; color: var(--fg);
}
.faq-q .faq-title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.4; }
.faq-q .faq-sign { font-family: var(--font-mono); color: var(--muted); font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
.faq-item.is-open .faq-sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-item.is-open .faq-a { max-height: 460px; }
.faq-a p { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; max-width: 72ch; }

.booking-note { display: flex; flex-direction: column; gap: var(--gap-md); }
.booking-note .note-row { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid var(--border); }
.booking-note .note-row:first-child { border-top: 0; padding-top: 0; }
.booking-note strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.booking-note span { color: var(--muted); font-size: 14.5px; }

.success {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.success.is-visible { display: block; }
.success .success-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--gap-md); }

.form-alert { display: none; margin-top: var(--gap-md); padding: 12px 14px; border: 1px solid var(--accent); border-radius: var(--radius); color: var(--accent); font-size: 14px; }
.form-alert.is-visible { display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
