/* 杰特空间 · 公共层 v2（2026-11-28 按 ns.com 版式原则重写；协调者唯一写手，页面卡只读）
   原则：白底近黑字、衬线大标题居中、深色胶囊按钮带箭头、圆角实拍照片、单色无强调色、深色 FAQ 收尾。 */
:root {
  color-scheme: light;
  --bg: #ffffff; --ink: #131316; --ink-2: #26272b; --muted: #5f5f6b; --faint: #a0a0ab;
  --line: #e8e8eb; --line-2: #e4e4e7; --soft: #f7f7f8; --dark: #131316; --dark-2: #26272b; --dark-line: #34353b;
  --serif: "Source Serif 4", "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --r-photo: 12px; --r-card: 16px; --pad: 24px; --max: 1392px; --text: 1180px;
  --hdr: 64px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: clip; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.18; margin-bottom: 16px; }
h2 { font-size: clamp(1.75rem, 3.6vw, 3rem); line-height: 1.2; margin-bottom: 16px; }
h3 { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.3; margin-bottom: 10px; }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); font-size: .92rem; }
.eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.lead { font-family: var(--serif); font-size: clamp(1.15rem, 1.9vw, 1.75rem); line-height: 1.5; color: var(--ink); max-width: 64ch; }

/* —— 页头：左标识，右胶囊按钮；导航在窄屏折进菜单 —— */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--hdr); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 30px; height: 30px; }
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.brand-en { font-size: 12px; letter-spacing: .08em; color: var(--muted); padding-top: 4px; }
.hdr-right { display: flex; align-items: center; gap: 8px; }
#nav { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
#nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); }
#nav a:hover { background: var(--soft); }
#nav a[aria-current] { font-weight: 600; }
.menu-btn { display: none; width: 38px; height: 38px; min-height: 0; padding: 0; border: 1px solid var(--line-2); border-radius: 8px; background: #fff url(/static/icons/menu.svg) center/20px no-repeat; box-shadow: none; cursor: pointer; }
.menu-btn:hover { background-color: var(--soft); }
.menu-btn[aria-expanded="true"] { background-image: url(/static/icons/close.svg); }

/* —— 按钮：深色胶囊 + 箭头；描边胶囊；大号用于版块 CTA —— */
button, .btn, .button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--ink-2); color: #fcfbfc; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; box-shadow: inset 0 -2px 0 rgba(0,0,0,.35); white-space: nowrap; }
button:hover, .btn:hover, .button:hover { background: #000; text-decoration: none; }
button:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-arrow::after { content: ""; width: 16px; height: 16px; flex: 0 0 16px; background: url(/static/icons/arrow-w.svg) center/contain no-repeat; }
.btn-lg { min-height: 64px; padding: 0 32px; font-size: clamp(1.1rem, 1.6vw, 1.6rem); box-shadow: inset 0 -3px 0 rgba(0,0,0,.45); }
.btn-lg.btn-arrow::after { width: 22px; height: 22px; flex-basis: 22px; }
.btn-ghost, button.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; }
.btn-ghost:hover, button.btn-ghost:hover { background: var(--soft); }
.btn-ghost.btn-arrow::after { background-image: url(/static/icons/arrow.svg); }
.btn-sm { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.text-link { font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }

/* —— 版块：居中衬线标题 + 衬线导语 + 一个 CTA —— */
main { display: block; min-height: 60vh; }
main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-text { width: 100%; max-width: var(--text); margin: 0 auto; padding: 0 var(--pad); }
.page { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(64px, 8vw, 112px); }
.sec { padding: clamp(64px, 9vw, 120px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-head { text-align: center; max-width: 1180px; margin: 0 auto clamp(28px, 4vw, 48px); padding: 0 var(--pad); }
.sec-head h2 { margin-bottom: 18px; }
.sec-head .lead { margin: 0 auto 28px; }
.sec-head .lead:last-child { margin-bottom: 0; }
.center { text-align: center; }

/* —— 实拍照片 —— */
.ph { position: relative; overflow: hidden; border-radius: var(--r-photo); background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 40px 18px 16px; color: #fff; font-weight: 600; font-size: clamp(1rem, 1.3vw, 1.2rem); background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,0)); }
.ph-label img { width: 20px; height: 20px; flex: 0 0 20px; }
.ph-note { position: absolute; top: 10px; right: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink); font-size: 12px; }

/* —— 栅格与图文卡 —— */
.grid { display: grid; gap: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.feature .ph { aspect-ratio: 1 / 1; margin-bottom: 20px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 1.05rem; line-height: 1.6; }
.feature.centered { text-align: center; }

/* —— 通用卡片（旧类名沿用新样式） —— */
.card { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.card p:last-child { margin-bottom: 0; }
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.section { margin: 0 0 56px; }
.page-intro { padding: clamp(40px, 6vw, 72px) 0 24px; max-width: 880px; }
.page-intro p, .page-intro .lead { font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.6; }
.price { font-family: var(--serif); font-size: 2.25rem; font-weight: 500; }
.price small { font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; background: #fff; }
.banner { padding: 40px; border-radius: var(--r-card); background: var(--soft); }
.facts { display: grid; gap: 4px 24px; grid-template-columns: minmax(0, 1fr); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0 0 14px; color: var(--muted); }
.prose { white-space: pre-wrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: 14px; color: var(--muted); }

/* —— 表单：胶囊输入框、衬线标签、下划线标签页 —— */
.inquiry, .form { display: grid; gap: 20px; max-width: 864px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .field > span:first-child, label.label { font-family: var(--serif); font-size: 1.1rem; }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select { width: 100%; min-width: 0; height: 48px; padding: 0 20px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; outline: none; }
textarea { width: 100%; min-height: 128px; padding: 14px 20px; border: 1px solid var(--line-2); border-radius: 20px; background: #fff; resize: vertical; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(19,19,22,.08); }
fieldset { min-width: 0; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); }
legend { padding: 0 6px; font-family: var(--serif); font-size: 1.1rem; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--ink); }
.honeypot { position: absolute; width: 1px; height: 1px; clip-path: inset(100%); overflow: hidden; }
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs a, .tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--muted); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a:hover, .tabs button:hover { background: none; color: var(--ink); }
.tabs [aria-current], .tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }

/* —— 深色 FAQ（站点收尾）—— */
.faq { background: var(--dark); color: #fff; padding: clamp(64px, 8vw, 96px) 0 24px; }
.faq h2 { color: #fff; margin-bottom: 36px; }
.faq-list { max-width: 720px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 16px; }
.faq-list > h2 { text-align: left; }
.faq details { border: 1px solid var(--dark-line); border-radius: 8px; background: var(--dark-2); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 18px; height: 18px; background: url(/static/icons/chevron-w.svg) center/contain no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > div, .faq details > p { padding: 0 20px 20px; margin: 0; color: #d4d4d8; line-height: 1.7; }
.faq a { color: #fff; }

/* —— 页脚 —— */
.site-footer { background: var(--dark); color: #a1a1aa; padding: 32px var(--pad) 40px; font-size: 14px; text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; row-gap: 8px; margin: 0 0 14px; }
.footer-links a { padding: 2px 18px; text-decoration: none; color: #a1a1aa; border-left: 1px solid var(--dark-line); }
.footer-links a:first-child { border-left: 0; }
.footer-links a:hover { color: #fff; }
.site-footer p { margin: 6px 0; }

/* —— 其他 —— */
.toast { position: fixed; z-index: 100; bottom: 24px; left: 16px; right: 16px; margin: auto; max-width: 520px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.18); }
.loading { padding: 80px var(--pad); color: var(--muted); text-align: center; }
.skip-link { position: absolute; top: -100px; left: 16px; background: #fff; padding: 10px; z-index: 101; }
.skip-link:focus { top: 8px; }
@media (prefers-reduced-motion: no-preference) {
  button, .btn, .button { transition: background .15s, transform .15s; }
  .btn-lg:hover { transform: translateY(-1px); }
  .ph img { transition: transform .5s ease; }
  a.ph:hover img, .ph.zoom:hover img { transform: scale(1.03); }
}
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 160px minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3, .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --pad: 16px; --hdr: 56px; }
  .menu-btn { display: inline-block; }
  #nav { display: none; position: fixed; top: var(--hdr); left: 0; right: 0; margin: 0; padding: 8px var(--pad) 20px; flex-direction: column; align-items: stretch; background: #fff; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  #nav.open { display: flex; }
  #nav a { padding: 14px 8px; border-radius: 8px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .hide-sm { display: none !important; }
  .brand img { width: 28px; height: 28px; }
  .brand-en { display: none; }
  .card { padding: 22px; }
}
