/* 小龙留学 · 全站样式（2.0，按 apple-design 改版）
   版式概念：一张出发前清单，从上到下逐项打勾。苹果式的大字、留白、半透明材质和弹簧动效，承载「留学，一次做对」。
   颜色只用下面的变量：白和浅灰交替分区，藏青压住信任感，橙色只给行动按钮和对号。深色模式跟随系统。 */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --card-on-bg: #F5F5F7;
  --card-on-alt: #FFFFFF;
  --elevated: #FFFFFF;
  --sheet: #FFFFFF;
  --field: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #6E6E73;
  --ink-3: #8E8E93;
  --line: rgba(0, 0, 0, .1);
  --fill: rgba(0, 0, 0, .05);
  --fill-strong: rgba(0, 0, 0, .07);
  --press: rgba(0, 0, 0, .06);
  --navy: #132A4C;
  --mark-bg: #132A4C;
  --on-navy: #F5F5F7;
  --on-navy-2: #B9C3D4;
  --orange-on-navy: #F4A26B;
  --icon-bg: rgba(19, 42, 76, .08);
  --icon-ink: #132A4C;
  --accent: #C05514;
  --accent-hover: #B24E12;
  --accent-press: #A9470F;
  --on-accent: #FFFFFF;
  --link: #B04A0C;
  --tick: #E86A1D;
  --danger: #B3261E;
  --note-bg: #FFF4E8;
  --note-ink: #7A3A0C;
  --ph-bg: #FCEBDD;
  --focus-ring: rgba(192, 85, 20, .28);
  --material: rgba(255, 255, 255, .72);
  --material-edge: rgba(255, 255, 255, .55);
  --edge: rgba(0, 0, 0, .07);
  --scrim: rgba(0, 0, 0, .32);
  --hud: rgba(29, 29, 31, .88);
  --on-hud: #F5F5F7;
  --seg-bg: rgba(118, 118, 128, .12);
  --seg-thumb: #FFFFFF;
  --shadow-float: 0 1px 2px rgba(0, 0, 0, .04), 0 22px 50px -24px rgba(19, 42, 76, .32);
  --shadow-sheet: 0 -1px 0 rgba(0, 0, 0, .03), 0 -18px 60px -20px rgba(0, 0, 0, .32);
  --shadow-thumb: 0 1px 2px rgba(0, 0, 0, .1), 0 3px 8px rgba(0, 0, 0, .08);

  /* 系统字体：苹果设备是苹方，Windows 是微软雅黑，安卓是思源黑体；不下载网页字体 */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif;

  /* 字号、行距、字距成套设定：越大越紧，越小越松 */
  --fs-display: clamp(2.75rem, 1.5rem + 5.6vw, 5.5rem);  --lh-display: 1.08; --tr-display: -.018em;
  --fs-h1: clamp(2rem, 1.35rem + 2.8vw, 3.25rem);        --lh-h1: 1.18;      --tr-h1: -.014em;
  --fs-h2: clamp(1.875rem, 1.25rem + 2.6vw, 3.25rem);    --lh-h2: 1.16;      --tr-h2: -.012em;
  --fs-h3: 1.3125rem;                                     --lh-h3: 1.36;      --tr-h3: -.004em;
  --fs-lead: clamp(1.125rem, 1.03rem + .42vw, 1.375rem);  --lh-lead: 1.62;    --tr-lead: 0;
  --fs-body: 1.0625rem;                                   --lh-body: 1.72;    --tr-body: 0;
  --fs-small: .875rem;                                    --lh-small: 1.6;    --tr-small: .008em;
  --fs-caption: .75rem;                                   --lh-caption: 1.5;  --tr-caption: .02em;

  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-pill: 980px;
  --maxw: 1080px;
  --header-h: 52px;
  --space-section: clamp(4.5rem, 2.8rem + 6.4vw, 8.5rem);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --bg-alt: #111113; --card-on-bg: #1C1C1E; --card-on-alt: #1F1F22; --elevated: #2C2C2E; --sheet: #1C1C1E; --field: #2C2C2E;
    --ink: #F5F5F7; --ink-2: #A1A1A6; --ink-3: #8E8E93; --line: rgba(255, 255, 255, .14); --fill: rgba(255, 255, 255, .08); --fill-strong: rgba(255, 255, 255, .12); --press: rgba(255, 255, 255, .08);
    --navy: #0F2340; --mark-bg: #1E3A64; --on-navy: #F5F5F7; --on-navy-2: #AEB9CC; --orange-on-navy: #F4A26B; --icon-bg: rgba(255, 255, 255, .08); --icon-ink: #C9D3E3;
    --accent: #C05514; --accent-hover: #CC5D18; --accent-press: #A9470F; --on-accent: #FFFFFF; --link: #F08A4B; --tick: #F07A2E; --danger: #FF7B6F;
    --note-bg: rgba(240, 138, 75, .12); --note-ink: #F6C7A4; --ph-bg: rgba(240, 138, 75, .22); --focus-ring: rgba(240, 138, 75, .35);
    --material: rgba(22, 22, 24, .72); --material-edge: rgba(255, 255, 255, .08); --edge: rgba(0, 0, 0, .55); --scrim: rgba(0, 0, 0, .55); --hud: rgba(58, 58, 60, .92); --on-hud: #F5F5F7;
    --seg-bg: rgba(118, 118, 128, .24); --seg-thumb: #636366;
    --shadow-float: 0 1px 2px rgba(0, 0, 0, .4), 0 22px 50px -24px rgba(0, 0, 0, .9); --shadow-sheet: 0 -18px 60px -20px rgba(0, 0, 0, .9); --shadow-thumb: 0 1px 2px rgba(0, 0, 0, .4), 0 3px 8px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: var(--tr-body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 70; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 64px); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* 文字层级：字号、字重、行距一起变 */
.display { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); font-weight: 600; font-feature-settings: "palt" 1; }
.h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); font-weight: 600; font-feature-settings: "palt" 1; text-wrap: balance; }
.h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--tr-h3); font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--tr-lead); color: var(--ink-2); text-wrap: pretty; }
.eyebrow { font-size: var(--fs-small); line-height: 1.4; letter-spacing: .04em; font-weight: 600; color: var(--link); }

/* 草稿预览里的占位符（正式版不会出现） */
.ph { background: var(--ph-bg); border-bottom: 1.5px dashed var(--tick); border-radius: 3px; padding: 0 .25em; font-style: normal; word-break: break-all; }
.draft-note { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); color: var(--link); }
.draft-note::before { content: ""; width: 14px; border-top: 1.5px dashed currentColor; }

/* ---------- 按钮：按下的一刻就有反馈 ---------- */
.btn {
  -webkit-tap-highlight-color: transparent; appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-pill);
  font: inherit; font-size: 1.0625rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2; text-decoration: none; text-align: center;
  touch-action: manipulation; user-select: none;
  transition: transform 100ms ease-out, background-color 160ms ease, opacity 160ms ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { background: var(--accent-press); }
.btn-secondary { background: var(--fill-strong); color: var(--ink); }
.btn-on-navy { background: rgba(255, 255, 255, .14); color: var(--on-navy); }
.btn-sm { min-height: 32px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { color: var(--link); font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: .32em; }
.more::after { content: ""; width: .42em; height: .42em; border-top: 1.6px solid currentColor; border-right: 1.6px solid currentColor; transform: rotate(45deg); margin-top: .06em; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 页眉：半透明材质，内容从下面滚过 ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 35;
  background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
}
/* 滚动边缘效果：只在内容真的滚到页眉下面时才出现，不画硬分隔线 */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background: linear-gradient(var(--edge), transparent); opacity: 0; transition: opacity .25s ease;
}
.site-header.scrolled::after { opacity: 1; }
.header-in { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.0625rem; letter-spacing: .03em; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-mark rect { fill: var(--mark-bg); }
.brand-mark path { fill: none; stroke: var(--tick); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: none; margin-left: auto; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 500; letter-spacing: .02em; padding: 6px 11px; border-radius: 8px; transition: background-color .15s ease; }
.nav a:hover { background: var(--fill); }
.nav a[aria-current="page"] { color: var(--link); font-weight: 600; }
.header-cta { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .header-cta { margin-left: 6px; } }

/* ---------- 分区 ---------- */
.section { padding-block: var(--space-section); --card: var(--card-on-bg); }
.section.alt { background: var(--bg-alt); --card: var(--card-on-alt); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); }
.section-head .lead { max-width: 38rem; }

/* ---------- 首屏 ---------- */
.hero { padding-block: clamp(2.5rem, 1.2rem + 4.4vw, 5.5rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); --card: var(--card-on-bg); }
.hero-grid { display: grid; gap: clamp(2.25rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.display .l { display: block; }
.mark { position: relative; white-space: nowrap; }
.hero-tick { position: absolute; right: -.46em; top: -.36em; width: .62em; height: .52em; overflow: visible; }
.hero-tick path { fill: none; stroke: var(--tick); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; transition: stroke-dashoffset .9s cubic-bezier(.6, .05, .25, 1) .35s; }
.js .hero-tick.pre path { stroke-dashoffset: 60; transition: none; }
.hero-copy .lead { max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.destinations { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--ink-2); }
.destinations b { color: var(--ink); font-weight: 600; }

/* 首屏右侧：出发前清单（仿系统分组列表） */
.hero-visual { background: var(--card); border-radius: var(--r-xl); padding: clamp(14px, 2.6vw, 32px); min-width: 0; }
.checklist-card { background: var(--elevated); border-radius: var(--r-lg); box-shadow: var(--shadow-float); overflow: hidden; }
.cl-head { display: grid; gap: 2px; padding: 20px 20px 14px; }
.cl-kicker { font-size: var(--fs-caption); letter-spacing: .08em; font-weight: 600; color: var(--link); }
.cl-title { font-size: 1.1875rem; line-height: 1.35; letter-spacing: -.004em; font-weight: 600; }
.cl-progress { height: 4px; margin-top: 12px; border-radius: 4px; background: var(--fill-strong); overflow: hidden; }
.cl-progress span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left center; }
.cl-list { list-style: none; margin: 0; padding: 2px 0 6px; }
.cl-item {
  -webkit-tap-highlight-color: transparent; appearance: none; border: 0; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer;
  position: relative; width: 100%; display: flex; align-items: flex-start; gap: 14px; padding: 12px 20px;
  transition: background-color 120ms ease, transform 100ms ease-out;
}
.cl-item:active { background: var(--press); transform: scale(.985); }
.cl-list li + li .cl-item::before { content: ""; position: absolute; top: 0; left: 58px; right: 0; height: 1px; background: var(--line); }
.check { flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--ink-3); transition: background-color 160ms ease, box-shadow 160ms ease; }
.cl-item[aria-checked="true"] .check { background: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.check svg { width: 14px; height: 14px; }
.check path { fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset 260ms cubic-bezier(.2, .7, .2, 1); }
.cl-item[aria-checked="true"] .check path { stroke-dashoffset: 0; }
.js .cl-list.pre .check path { stroke-dashoffset: 20; transition: none; }
.cl-list.drawing .check path { transition-delay: calc(var(--i) * 110ms + 450ms); }
.cl-text { display: grid; gap: 2px; min-width: 0; }
.cl-text b { font-weight: 600; font-size: 1rem; line-height: 1.45; }
.cl-text span { font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); }
.cl-foot { display: grid; gap: 2px; padding: 12px 20px 16px; border-top: 1px solid var(--line); }
.cl-status { font-size: var(--fs-small); font-weight: 600; line-height: 1.5; }
.cl-src { font-size: var(--fs-caption); line-height: var(--lh-caption); letter-spacing: var(--tr-caption); color: var(--ink-2); }

/* 四条承诺 */
.promises { list-style: none; margin: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
@media (min-width: 920px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promise { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: start; }
.promise svg { grid-row: span 2; width: 20px; height: 17px; margin-top: 4px; }
.promise b { font-weight: 600; font-size: 1rem; line-height: 1.5; }
.promise span { font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }
.tick-mark path { fill: none; stroke: var(--tick); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

/* 信任数字（有可核实的真实数字才打开） */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
@media (min-width: 920px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); }
.stat .num { font-family: var(--font-display); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .label { font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- 看清风险：官方数字拼成的格子 ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2.2vw, 30px); border-radius: var(--r-xl); background: var(--card); }
.tile .k { font-size: var(--fs-small); line-height: 1.45; font-weight: 600; color: var(--ink-2); }
.tile .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.625rem, 1.15rem + 1.9vw, 2.75rem); line-height: 1.08; letter-spacing: -.022em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tile .big small { font-size: .46em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin-left: .2em; }
.tile p { font-size: var(--fs-small); line-height: 1.62; color: var(--ink-2); }
.tile .src { margin-top: auto; padding-top: 12px; font-size: var(--fs-caption); line-height: var(--lh-caption); letter-spacing: var(--tr-caption); color: var(--ink-2); }
.tile-wide, .tile-hero { grid-column: 1 / -1; }
.tile-hero { background: var(--navy); color: var(--on-navy); gap: 12px; }
.tile-hero .k, .tile-hero p, .tile-hero .src { color: var(--on-navy-2); }
.tile-hero .big { font-size: clamp(2.25rem, 1.3rem + 3.6vw, 4.5rem); }
.tile-hero h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: 1.35; letter-spacing: -.006em; font-weight: 600; text-wrap: balance; }
.tile-hero .so { color: var(--on-navy); font-weight: 500; }
.tile-hero .more { color: var(--orange-on-navy); }
@media (min-width: 920px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .tile-hero { grid-column: 1 / 3; grid-row: 1 / 3; }
  .tile-wide { grid-column: span 2; }
}
.bento-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- 服务：可以直接拖动的横向卡片 ---------- */
.gallery { --g-min: 16px; --g-edge: max(var(--g-min), env(safe-area-inset-left, 0px), calc((100% - var(--maxw)) / 2)); }
@media (min-width: 720px) { .gallery { --g-min: 32px; } }
.gallery-track {
  overflow-x: auto; overflow-y: hidden; scroll-behavior: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--g-edge);
  overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-rail { display: flex; gap: 16px; width: max-content; padding-inline: var(--g-edge); padding-block: 4px 10px; }
@media (hover: hover) and (pointer: fine) { .gallery-track { cursor: grab; } }
.gallery-track.dragging { cursor: grabbing; }
.gallery-track.dragging * { user-select: none; }
.svc { scroll-snap-align: start; flex: 0 0 auto; width: min(80vw, 330px); min-height: 22rem; display: flex; flex-direction: column; gap: 12px; padding: 28px 26px 24px; border-radius: var(--r-xl); background: var(--card); }
.svc .icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--icon-bg); color: var(--icon-ink); margin-bottom: 6px; }
.svc .icon svg { width: 24px; height: 24px; }
.svc p { color: var(--ink-2); }
.svc .key { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; gap: 9px; align-items: flex-start; font-size: var(--fs-small); line-height: 1.55; font-weight: 500; color: var(--ink); }
.svc .key svg { flex: none; width: 16px; height: 14px; margin-top: 4px; }
.svc-cta { background: var(--navy); color: var(--on-navy); justify-content: flex-end; }
.svc-cta p { color: var(--on-navy-2); }
.svc-cta .btn { align-self: flex-start; margin-top: 10px; }
.gallery-ctrl { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
html:not(.js) .gallery-ctrl { display: none; }
.round { -webkit-tap-highlight-color: transparent; appearance: none; border: 0; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-strong); color: var(--ink); transition: transform 100ms ease-out, opacity .2s ease, background-color .15s ease; }
.round:active { transform: scale(.94); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.round svg { width: 18px; height: 18px; }
.round svg path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 为什么选小工作室 ---------- */
.pillars { display: grid; gap: 26px; margin-bottom: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.pillar { display: grid; gap: 6px; align-content: start; }
.pillar p { color: var(--ink-2); }
.compare-box { overflow-x: auto; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 16px 14px; border-top: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.6; overflow-wrap: anywhere; }
.compare thead th { border-top: 0; padding-top: 0; padding-bottom: 12px; font-weight: 600; color: var(--ink-2); }
.compare thead th.us { color: var(--ink); }
.compare col.c-label { width: 24%; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare .us { background: var(--card); }
.compare thead .us { border-radius: var(--r-md) var(--r-md) 0 0; padding-top: 14px; }
.compare tbody tr:last-child .us { border-radius: 0 0 var(--r-md) var(--r-md); }
.compare td.us { color: var(--ink); font-weight: 500; }
.compare td.them { color: var(--ink-2); }
.compare .us .tick-mark { display: inline-block; width: 14px; height: 12px; margin-right: 6px; vertical-align: -1px; }
@media (min-width: 760px) { .compare th, .compare td { padding: 18px 22px; font-size: var(--fs-body); } .compare thead th { font-size: var(--fs-small); } }

/* ---------- 创始人 ---------- */
.founder { background: var(--navy); color: var(--on-navy); }
.founder .eyebrow { color: var(--orange-on-navy); }
.founder-grid { display: grid; gap: clamp(2rem, 1.2rem + 3vw, 4rem); }
@media (min-width: 920px) { .founder-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; } }
.quote { display: grid; gap: 22px; }
.quote blockquote { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.24; letter-spacing: var(--tr-h2); font-weight: 600; font-feature-settings: "palt" 1; text-wrap: balance; }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption svg { width: 34px; height: 28px; }
.quote figcaption svg path { stroke: var(--orange-on-navy); }
.quote figcaption b { display: block; font-weight: 600; letter-spacing: .03em; }
.quote figcaption span { display: block; font-size: var(--fs-small); color: var(--on-navy-2); }
.founder-text { display: grid; gap: 14px; color: var(--on-navy-2); }
.founder .draft-note { color: var(--orange-on-navy); }
.portrait { position: relative; max-width: 320px; border-radius: var(--r-xl); overflow: hidden; }
.photo-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: var(--fs-caption); line-height: 1.55; color: var(--ink); background: var(--material); border: 1px dashed var(--tick); border-radius: 10px; padding: 6px 10px; }

/* ---------- 常见情况：分段控件 ---------- */
.seg {
  position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; max-width: 100%;
  padding: 3px; border-radius: 12px; background: var(--seg-bg); margin-bottom: 22px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
html:not(.js) .seg { display: none; }
.seg button {
  -webkit-tap-highlight-color: transparent; appearance: none; border: 0; background: transparent; cursor: pointer;
  position: relative; z-index: 1; min-height: 36px; padding: 6px 12px; border-radius: 9px;
  font: inherit; font-size: .9375rem; line-height: 1.3; font-weight: 500; color: var(--ink); white-space: nowrap;
  transition: opacity .12s ease;
}
@media (min-width: 560px) { .seg button { padding: 6px 22px; } }
.seg button[aria-selected="true"] { font-weight: 600; }
.seg button:active { opacity: .55; }
.seg:not(.ready) button[aria-selected="true"] { background: var(--seg-thumb); box-shadow: var(--shadow-thumb); }
.seg-thumb { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; width: 0; border-radius: 9px; background: var(--seg-thumb); box-shadow: var(--shadow-thumb); will-change: transform; }
.case-panels { display: grid; gap: 16px; }
/* 有脚本时三张卡片叠在同一格：容器高度取最高的一张，切换时不跳动 */
.case-panels.stacked { gap: 0; }
.case-panels.stacked > .case { grid-area: 1 / 1; transition: opacity .2s ease, visibility 0s linear 0s; }
.case-panels.stacked > .case.is-off { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease, visibility 0s linear .16s; }
.case { display: grid; gap: 22px; padding: clamp(22px, 3.2vw, 46px); border-radius: var(--r-xl); background: var(--card); }
@media (min-width: 920px) { .case { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: start; } }
.case-who { display: grid; gap: 12px; align-content: start; }
.chip { justify-self: start; align-self: flex-start; display: inline-block; padding: 3px 11px; border-radius: var(--r-pill); background: var(--fill-strong); font-size: var(--fs-caption); line-height: 1.6; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.case h3 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.125rem); line-height: 1.24; letter-spacing: -.012em; font-weight: 600; text-wrap: balance; }
.case dl { display: grid; gap: 18px; }
.case dt { font-size: var(--fs-small); font-weight: 600; color: var(--link); margin-bottom: 4px; }
.case dd { color: var(--ink); }
.case.enter { animation: case-in .34s cubic-bezier(.2, .7, .2, 1) .05s backwards; }
@keyframes case-in { from { opacity: 0; transform: translateX(var(--dx, 0)); } to { opacity: 1; transform: none; } }
.stories { display: grid; gap: 14px; }
@media (min-width: 920px) { .stories { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story { display: grid; gap: 12px; align-content: start; padding: 24px; border-radius: var(--r-xl); background: var(--card); }
.story .who { font-size: var(--fs-small); color: var(--ink-2); }
.story dt { font-size: var(--fs-small); font-weight: 600; color: var(--link); }
.story dd { margin-bottom: 10px; }

/* ---------- 四步流程 ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; }
@media (min-width: 920px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.step { position: relative; display: grid; gap: 10px; align-content: start; }
.step .n { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--on-navy); font-weight: 600; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.step p { color: var(--ink-2); }
.step .get { margin-top: 4px; padding: 12px 14px; border-radius: var(--r-md); background: var(--card); color: var(--ink); font-size: var(--fs-small); line-height: 1.55; }
.step .get b { display: block; margin-bottom: 2px; font-size: var(--fs-caption); letter-spacing: .06em; color: var(--link); font-weight: 600; }
@media (min-width: 920px) { .step:not(:last-child)::before { content: ""; position: absolute; top: 19px; left: 50px; right: -12px; height: 1px; background: var(--line); } }

/* ---------- 首页的指南卡片 ---------- */
.guides { display: grid; gap: 14px; }
@media (min-width: 920px) { .guides { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.guide { -webkit-tap-highlight-color: transparent; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-xl); background: var(--card); color: inherit; text-decoration: none; transition: transform 100ms ease-out; }
.guide:active { transform: scale(.985); }
.guide p { font-size: var(--fs-small); line-height: 1.65; color: var(--ink-2); }
.guide .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-caption); line-height: 1.5; letter-spacing: var(--tr-caption); color: var(--ink-2); }
.guide .go { color: var(--link); font-weight: 600; }
.guides-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px 28px; }

/* ---------- 常见问题：展开、收起都能中途反悔 ---------- */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { -webkit-tap-highlight-color: transparent; list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.45; letter-spacing: -.004em; font-weight: 600; transition: opacity .12s ease; }
.qa summary:active h3 { opacity: .55; }
.plus { --p: 0; position: relative; flex: none; width: 22px; height: 22px; transform: rotate(calc(var(--p) * 45deg)); }
.qa[open] .plus { --p: 1; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.8px; border-radius: 2px; background: var(--ink-2); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa-body { overflow: hidden; }
.qa-inner { display: grid; gap: 10px; max-width: 44rem; padding-bottom: 24px; color: var(--ink-2); }
.qa-inner a { color: var(--link); font-weight: 500; text-decoration: none; }
.qa-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 预约咨询 ---------- */
.consult .wrap { display: grid; justify-items: center; gap: 18px; text-align: center; }
.consult .h2 { max-width: 16em; }
.consult .lead { max-width: 32em; }
.contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; width: 100%; }
.contact { display: flex; align-items: center; gap: 14px; width: min(100%, 320px); padding: 12px 12px 12px 20px; border-radius: var(--r-lg); background: var(--card); text-align: left; }
.contact .k { font-size: var(--fs-caption); letter-spacing: .06em; color: var(--ink-2); }
.contact .v { font-size: 1.125rem; font-weight: 600; letter-spacing: .03em; font-variant-numeric: tabular-nums; user-select: all; -webkit-user-select: all; }
.contact .btn { margin-left: auto; }
.consult .btn-primary.big { margin-top: 12px; min-height: 52px; padding: 0 32px; }
.consult .note-line { font-size: var(--fs-small); color: var(--ink-2); }

/* ======================================================================
   内页：指南、指南总览、自测、404
   ====================================================================== */
.page-head { padding-block: 22px clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem); border-bottom: 1px solid var(--line); }
.crumbs { font-size: var(--fs-small); color: var(--ink-2); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-head-body { display: grid; gap: 14px; max-width: 48rem; padding-top: clamp(1.5rem, 1rem + 2vw, 2.75rem); }
.page-head h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); font-weight: 600; font-feature-settings: "palt" 1; text-wrap: balance; }
.page-head .dek { font-size: var(--fs-lead); line-height: var(--lh-lead); color: var(--ink-2); text-wrap: pretty; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: var(--fs-small); color: var(--ink-2); margin-top: 4px; }
.meta .stamp { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; }
.meta .stamp .tick { width: 16px; height: 14px; }
.tick path { fill: none; stroke: var(--tick); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: 64px; align-items: start; padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem) var(--space-section); }
@media (max-width: 1020px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } }
.prose { max-width: 44rem; display: grid; gap: 20px; min-width: 0; }
.prose > h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; margin-top: 28px; text-wrap: balance; }
.prose h3 { font-size: 1.1875rem; line-height: 1.4; font-weight: 600; margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose p a, .prose li a, .prose td a, .prose caption a { color: var(--link); text-underline-offset: 3px; }
.prose sup a { text-decoration: none; font-size: .75em; color: var(--link); padding-inline: 1px; font-weight: 600; }

.answer-box { display: grid; gap: 10px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--bg-alt); }
.answer-box .label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 600; letter-spacing: .06em; color: var(--link); }
.answer-box .label .tick { width: 18px; height: 16px; }
.answer-box p { font-size: 1.125rem; line-height: 1.65; color: var(--ink); font-weight: 500; }
.note { background: var(--note-bg); color: var(--note-ink); border-radius: var(--r-md); padding: 16px 20px; font-size: .96875rem; line-height: 1.75; }
.note b, .note a, .prose .note sup a { color: var(--note-ink); }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.table-wrap table { border-collapse: collapse; width: 100%; font-size: .9375rem; line-height: 1.6; font-variant-numeric: tabular-nums; }
.table-wrap caption { caption-side: bottom; text-align: left; padding: 10px 16px 14px; font-size: var(--fs-small); color: var(--ink-2); }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: var(--fs-small); white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td.n, .table-wrap th.n { text-align: right; white-space: nowrap; }

.prose .checklist { list-style: none; padding-left: 0; }
.checklist li, .assess-result li, .timeline li { position: relative; }
.checklist li { padding-left: 30px; }
.checklist li::before, .assess-result li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 18px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 40'%3E%3Cpath d='M5 22 C 10 26, 14 30, 17.5 34 C 24 22, 33 12, 44 5' fill='none' stroke='%23E86A1D' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose .timeline { list-style: none; padding-left: 0; gap: 18px; }
.timeline li { padding-left: 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); }
.timeline li::after { content: ""; position: absolute; left: 12.5px; top: calc(.2em + 30px); bottom: -14px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em; color: var(--link); }

.sources { font-size: var(--fs-small); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 22px; margin-top: 12px; }
.prose .sources h2 { font-size: 1.125rem; margin: 0 0 12px; font-weight: 600; }
.sources ol { padding-left: 1.4em; display: grid; gap: 8px; }
.sources a { word-break: break-all; color: var(--link); }
.cta-box { display: grid; gap: 14px; margin-top: 16px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: var(--navy); color: var(--on-navy); }
.prose .cta-box h2 { color: var(--on-navy); font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.3; margin: 0; font-weight: 600; text-wrap: balance; }
.cta-box p { color: var(--on-navy-2); }
.toc { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 28px); display: grid; gap: 10px; font-size: var(--fs-small); }
.toc .label { font-size: var(--fs-caption); letter-spacing: .08em; font-weight: 600; color: var(--ink-2); }
.toc ol { list-style: none; margin: 0; padding: 0 0 0 14px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 4px 0; color: var(--ink-2); text-decoration: none; line-height: 1.5; }
.toc a:hover { color: var(--ink); }
.related { display: grid; gap: 12px; }
.related a { display: grid; gap: 4px; padding: 18px 22px; border-radius: var(--r-lg); background: var(--bg-alt); text-decoration: none; color: var(--ink); transition: transform 100ms ease-out; }
.related a:active { transform: scale(.985); }
.related b { font-weight: 600; }
.related span { font-size: var(--fs-small); color: var(--ink-2); }

.hub { display: grid; gap: clamp(32px, 4vw, 56px); padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem) 24px; }
@media (min-width: 1000px) { .hub { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.hub-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.004em; margin-bottom: 16px; }
.hub-list { display: grid; gap: 14px; }
.hub-item { display: grid; gap: 8px; padding: 24px; border-radius: var(--r-xl); background: var(--bg-alt); text-decoration: none; color: var(--ink); transition: transform 100ms ease-out; }
.hub-item:active { transform: scale(.985); }
.hub-item .tag { justify-self: start; font-size: var(--fs-caption); font-weight: 600; letter-spacing: .04em; color: var(--ink-2); background: var(--fill-strong); border-radius: var(--r-pill); padding: 3px 11px; }
.hub-item h3 { font-size: 1.25rem; line-height: 1.45; font-weight: 600; }
.hub-item p { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; }
.hub-item .go { font-size: var(--fs-small); font-weight: 600; color: var(--link); }
.ledger { padding: 22px 22px 16px; border-radius: var(--r-xl); background: var(--bg-alt); }
.ledger ol { list-style: none; margin: 0; padding: 0; display: grid; }
.ledger li + li { border-top: 1px solid var(--line); }
.ledger a { display: grid; gap: 4px; padding-block: 14px; text-decoration: none; color: var(--ink); }
.ledger time { font-size: var(--fs-small); font-weight: 600; color: var(--link); font-variant-numeric: tabular-nums; }
.ledger strong { font-size: .96875rem; line-height: 1.6; font-weight: 500; }
.ledger a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.ledger .src { font-size: var(--fs-caption); color: var(--ink-2); }
.ledger-foot { font-size: var(--fs-caption); color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
.hub-next { padding-block: 24px var(--space-section); }
.upcoming { display: flex; flex-wrap: wrap; gap: 10px; }
.upcoming span { padding: 6px 14px; border: 1px dashed var(--line); border-radius: var(--r-pill); font-size: var(--fs-small); color: var(--ink-2); }

.assess-layout { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(2.25rem, 1.6rem + 2.6vw, 3.75rem) var(--space-section); align-items: start; }
@media (min-width: 960px) { .assess-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.assess-form { min-width: 0; }
.q { border: 0; margin: 0; padding: 0 0 26px; min-width: 0; }
.q:not(:last-of-type) { border-bottom: 1px solid var(--line); }
.q + .q { margin-top: 24px; }
.q legend { font-size: 1.125rem; line-height: 1.45; font-weight: 600; padding: 0; margin-bottom: 14px; }
.q legend .n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--on-navy); font-size: .8125rem; font-weight: 600; margin-right: 10px; vertical-align: 2px; font-variant-numeric: tabular-nums; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; -webkit-tap-highlight-color: transparent; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 18px; border-radius: var(--r-pill); background: var(--fill-strong); font-size: .9375rem; line-height: 1.4; transition: background-color .12s ease, color .12s ease, transform 100ms ease-out; }
.choice:active span { transform: scale(.97); }
.choice input:checked + span { background: var(--navy); color: var(--on-navy); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.assess-result { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 24px); display: grid; gap: 16px; min-width: 0; padding: 26px; border-radius: var(--r-xl); background: var(--bg-alt); }
@media (max-width: 959px) { .assess-result { position: static; } }
.assess-result h2 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.004em; }
.progress-text { font-size: var(--fs-small); color: var(--ink-2); }
.progress-text b { color: var(--link); font-variant-numeric: tabular-nums; }
.assess-result .empty { color: var(--ink-2); font-size: .96875rem; }
.assess-result ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: .96875rem; line-height: 1.75; }
.assess-result li { padding-left: 28px; }
.assess-result li a { color: var(--link); font-weight: 600; }
.assess-result .summary { white-space: pre-wrap; background: var(--bg); border-radius: var(--r-md); padding: 12px 14px; font-size: var(--fs-small); line-height: 1.7; }
.assess-result .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.assess-result .actions .btn { flex: 1 1 160px; min-height: 46px; }
.assess-result .hint { font-size: var(--fs-caption); color: var(--ink-2); margin-top: 12px; line-height: 1.6; }

.notfound { padding-block: clamp(4rem, 2rem + 10vw, 9rem); }
.notfound .wrap { display: grid; gap: 18px; justify-items: start; }
.notfound .code { font-family: var(--font-display); font-size: clamp(4rem, 3rem + 4vw, 6rem); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--tick); }
.notfound h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--tr-h1); font-weight: 600; }
.notfound p { color: var(--ink-2); max-width: 32em; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--bg-alt); color: var(--ink-2); font-size: var(--fs-caption); line-height: 1.75; letter-spacing: var(--tr-caption); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.site-footer .brand { font-size: .9375rem; margin-bottom: 8px; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 6px 18px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 16px; }

/* ---------- 手机底部工具栏 ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 10px;
  padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  background: var(--material); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--material-edge);
  transform: translateY(110%); transition: transform .42s cubic-bezier(.2, .8, .2, 1);
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { flex: 1; min-height: 46px; }
@media (min-width: 720px) { .mobile-bar { display: none; } }
@media (max-width: 719px) { .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- 咨询底部面板 ---------- */
.sheet-open, .sheet-open body { overflow: hidden; }
.sheet-layer { position: fixed; inset: 0; z-index: 50; }
.scrim { position: absolute; inset: 0; background: var(--scrim); opacity: 0; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; max-width: 600px;
  max-height: calc(100% - env(safe-area-inset-top, 0px) - 36px);
  display: flex; flex-direction: column; background: var(--sheet); color: var(--ink);
  border-radius: 18px 18px 0 0; box-shadow: var(--shadow-sheet); transform: translate3d(0, 110%, 0); will-change: transform; outline: none;
}
/* 弹回时下方不露缝：面板向下多延伸一截 */
.sheet::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 1px); height: 120px; background: inherit; }
@media (min-width: 720px) {
  .sheet { bottom: max(24px, env(safe-area-inset-bottom, 0px)); border-radius: 22px; max-height: calc(100% - 48px - env(safe-area-inset-top, 0px)); }
  .sheet::after { display: none; }
}
.sheet-drag { position: relative; z-index: 1; flex: none; touch-action: none; cursor: grab; padding-top: 8px; }
.sheet-drag:active { cursor: grabbing; }
.sheet-drag::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none; background: linear-gradient(var(--edge), transparent); opacity: 0; transition: opacity .2s ease; }
.sheet-drag.edge::after { opacity: 1; }
.grabber { width: 36px; height: 5px; margin: 0 auto; border-radius: 3px; background: var(--ink-3); opacity: .5; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(20px, env(safe-area-inset-right, 0px)) 6px max(20px, env(safe-area-inset-left, 0px)); }
.sheet-head h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.006em; font-weight: 600; }
.sheet-close { -webkit-tap-highlight-color: transparent; appearance: none; border: 0; cursor: pointer; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fill-strong); color: var(--ink-2); transition: transform 100ms ease-out; }
.sheet-close:active { transform: scale(.92); }
.sheet-close svg { width: 12px; height: 12px; }
.sheet-close svg path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 4px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
.sheet-lead { font-size: var(--fs-small); color: var(--ink-2); margin-bottom: 16px; }
.form { display: grid; gap: 14px; }
.row2 { display: grid; gap: 14px; }
@media (min-width: 520px) { .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: var(--fs-small); font-weight: 600; line-height: 1.4; }
.field label span { margin-left: 4px; font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; line-height: 1.45; color: var(--ink); background-color: var(--field);
  border: 1px solid transparent; border-radius: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field select {
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { font-size: var(--fs-small); line-height: 1.4; color: var(--danger); }
.form-note { font-size: var(--fs-caption); line-height: 1.5; letter-spacing: var(--tr-caption); color: var(--ink-2); text-align: center; }
.result { display: grid; gap: 12px; margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--field); }
.result h3 { font-size: 1rem; font-weight: 600; }
.result pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: .9375rem; line-height: 1.7; color: var(--ink); }
.result .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.result .actions .btn { flex: 1 1 auto; min-height: 44px; }

/* ---------- 提示 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: calc(100% - 32px);
  padding: 12px 18px; border-radius: 14px; background: var(--hud); color: var(--on-hud);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  font-size: .9375rem; font-weight: 500; line-height: 1.4; letter-spacing: .01em; text-align: center;
  opacity: 0; transform: translate(-50%, 16px); pointer-events: none;
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 719px) { .toast { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- 无障碍：减少动态、减少透明、提高对比 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active, .cl-item:active, .guide:active, .round:active, .sheet-close:active, .related a:active, .hub-item:active, .choice:active span { transform: none; opacity: .8; }
  .hero-tick path, .check path { transition: none; }
  .case.enter { animation: case-fade .2s ease backwards; }
  .mobile-bar { transform: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
  .mobile-bar.show { opacity: 1; visibility: visible; }
  .toast { transform: translate(-50%, 0); transition: opacity .2s ease; }
  .sheet-layer { transition: opacity .2s ease; }
}
@keyframes case-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-transparency: reduce) {
  body { --material: var(--bg); --hud: var(--ink); --on-hud: var(--bg); }
  body::before, .site-header, .mobile-bar, .toast { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  body { --ink-2: var(--ink); --line: var(--ink-3); --material: var(--bg); }
  body::before, .site-header, .mobile-bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { border-bottom: 1px solid var(--ink-3); }
  .tile, .svc, .case, .guide, .contact, .hub-item, .ledger, .assess-result, .answer-box { box-shadow: inset 0 0 0 1px var(--ink-3); }
}
