/* =====================================================================
   极客站 / RelVectors — site stylesheet
   One file, ordered: tokens → base → components → layout → pages.
   Brand color comes from the site record as --accent (set inline per page).
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --accent: #086979;
  --paper: #f2f4f1;          /* cool porcelain ground */
  --surface: #ffffff;
  --sunken: #e8ece8;
  --ink: #15302c;            /* deep teal-ink for text */
  --ink-2: #4a5d59;
  --ink-3: #75857f;
  --line: #d5ddd9;
  --line-strong: #b4c3be;
  --accent-ink: #ffffff;
  --accent-soft: color-mix(in srgb, var(--accent) 11%, var(--surface));
  --accent-line: color-mix(in srgb, var(--accent) 35%, var(--line));
  --danger: #b0412c;
  --ok: #2f7a4b;

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "Source Han Serif CN", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;

  --step--1: 13px;
  --step-0: 16px;
  --step-1: 18px;
  --step-2: 21px;
  --step-3: clamp(24px, 2.2vw + 14px, 30px);
  --step-4: clamp(28px, 3vw + 14px, 42px);
  --step-5: clamp(36px, 4.6vw + 14px, 64px);

  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --topbar-h: 64px;
  --wrap: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --shadow: 0 1px 2px rgb(21 48 44 / .06), 0 8px 24px -12px rgb(21 48 44 / .18);
  color-scheme: light;
}

body[data-theme="paper"] {
  --paper: #f5f0e6;
  --surface: #fcf9f2;
  --sunken: #ece5d7;
  --ink: #3b352b;
  --ink-2: #625a4c;
  --ink-3: #8a8070;
  --line: #e1d8c9;
  --line-strong: #cbbfab;
}

body[data-theme="dark"] {
  --paper: #0f1a19;
  --surface: #162423;
  --sunken: #1d2e2c;
  --ink: #e2ebe8;
  --ink-2: #a9bab5;
  --ink-3: #7d908b;
  --line: #2a3d3a;
  --line-strong: #3b524e;
  --accent-soft: color-mix(in srgb, var(--accent) 26%, var(--surface));
  --accent-line: color-mix(in srgb, var(--accent) 55%, var(--line));
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 30px -14px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--step-0)/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body[data-theme="white"] { background: var(--visitor-background, var(--paper)); }
body.has-backdrop { background-image: var(--visitor-image); background-size: cover; background-attachment: fixed; background-position: center; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.3; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 24%, transparent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: var(--radius-s); background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
.muted { color: var(--ink-2); }
.hint { color: var(--ink-3); font-size: var(--step--1); line-height: 1.6; }
.phrase { display: inline-block; max-width: 100%; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: 15px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.button:hover { border-color: var(--accent); color: var(--accent); }
.button-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); color: var(--accent-ink); }
.button-quiet { border-color: transparent; background: transparent; color: var(--ink-2); padding-inline: 10px; }
.button-quiet:hover { background: var(--sunken); color: var(--ink); border-color: transparent; }
.button-large { min-height: 50px; padding: 0 24px; font-size: 16px; }
.button:disabled, .button[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.icon-button {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.icon-button:hover { background: var(--sunken); color: var(--ink); }
.text-link { color: var(--accent); font-weight: 500; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- forms ---------- */
.stack { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 10px 13px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--surface); color: var(--ink); line-height: 1.5;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 0; border-color: var(--accent); }
.field input[type="file"] { font-size: 14px; color: var(--ink-2); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.6; cursor: pointer; }
.check input { margin: 4px 0 0; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.status { min-height: 1.4em; font-size: 14px; color: var(--ink-2); }
.status.is-error { color: var(--danger); }
.status.is-ok { color: var(--ok); }
.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--sunken); gap: 2px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: block; padding: 6px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.segmented input:checked + span { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); }
.swatches { display: flex; gap: 10px; }
.swatches label { position: relative; }
.swatches input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.swatches span { display: block; width: 30px; height: 30px; border-radius: 999px; background: var(--swatch); border: 1px solid var(--line-strong); }
.swatches input:checked + span { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
.swatches input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }

/* ---------- dialogs ---------- */
.dialog {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 32px);
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -30px rgb(0 0 0 / .45);
}
.dialog::backdrop { background: rgb(15 26 25 / .42); backdrop-filter: blur(2px); }
.dialog[open] { animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dialog-head h2 { font-size: var(--step-2); }
.dialog section + section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.account-member { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: var(--topbar-h); padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink);
  font: 600 19px/1 var(--serif);
}
.brand-logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
.brand-name { font: 600 19px/1.2 var(--serif); letter-spacing: .04em; }
body[data-brand-name="false"] .brand-name { display: none; }
body[data-brand-logo="false"] .brand-logo { display: none; }
.nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.topbar-cta { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-2); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr 1fr; gap: 32px; padding-block: 48px 32px; }
.footer-owner { font: 600 17px/1.5 var(--serif); color: var(--ink); margin-bottom: 8px; }
.footer-links { display: grid; grid-template-columns: repeat(4, max-content); gap: 10px 28px; align-content: start; }
.footer-links a, .footer-legal a, .footer-contact a { text-decoration: none; }
.footer-links a:hover, .footer-legal a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: 6px; align-content: start; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 24px; padding-block: 18px 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }

/* =====================================================================
   Home: the reception desk (chat)
   ===================================================================== */
body.page-service { display: flex; flex-direction: column; height: 100dvh; }
.page-service #main { flex: 1; min-height: 0; }
.page-service .site-footer { flex: none; background: transparent; }
.page-service .footer-grid, .page-service .footer-row { display: none; }
.page-service .footer-legal { justify-content: center; padding-block: 6px 10px; border-top: 0; font-size: 12px; }
.desk {
  display: grid; grid-template-columns: 272px minmax(0, 1fr);
  height: 100%;
  max-width: 1440px; margin-inline: auto;
}
.desk-rail {
  display: flex; flex-direction: column; gap: 22px; min-height: 0;
  padding: 26px 18px 18px var(--gutter);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}
.rail-title { font: 600 15px/1.4 var(--sans); color: var(--ink-3); letter-spacing: .04em; }
.roles { display: grid; gap: 4px; margin-top: -12px; }
.role {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border: 1px solid transparent; border-radius: var(--radius-m);
  background: transparent; text-align: left; cursor: pointer; color: var(--ink);
}
.role:hover { background: var(--sunken); }
.role[aria-pressed="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.role-avatar {
  position: relative; display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font: 600 17px/1 var(--serif);
}
.role[aria-pressed="true"] .role-avatar { background: var(--accent); color: var(--accent-ink); }
.role-text { display: grid; line-height: 1.35; min-width: 0; }
.role-name { font-weight: 600; font-size: 15px; }
.role-desc { font-size: 13px; color: var(--ink-3); }
.rail-history { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); min-height: 0; }
.rail-history h3 { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: .04em; }
.history-list { display: grid; gap: 2px; }
.history-item summary {
  list-style: none; cursor: pointer; padding: 7px 10px; border-radius: var(--radius-s);
  font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.history-item summary::-webkit-details-marker { display: none; }
.history-item summary:hover { background: var(--sunken); color: var(--ink); }
.history-item p { padding: 4px 10px 10px; font-size: 13px; color: var(--ink-2); white-space: pre-wrap; }

.desk-chat {
  position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto auto;
  min-height: 0; padding: 0 var(--gutter) 18px;
}
.welcome {
  grid-row: 1; justify-self: center; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center;
  width: min(100%, 760px); padding-block: 32px; text-align: center;
}
.welcome > :first-child { margin-top: auto; }
.welcome > :last-child { margin-bottom: auto; }
.presence { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.presence-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.desk-chat[data-presence="online"] .presence-dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.desk-chat[data-presence="offline"] .presence-dot { background: var(--danger); }
.welcome-title {
  margin-top: 18px; font-size: clamp(24px, 1.8vw + 12px, 32px); line-height: 1.3; letter-spacing: .03em;
  font-weight: 600;
}
.welcome-about { margin: 18px auto 0; max-width: 34em; color: var(--ink-2); font-size: var(--step-1); white-space: pre-line; }
.prompts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.prompt {
  padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink); font-size: 14px; cursor: pointer;
}
.prompt:hover { border-color: var(--accent); color: var(--accent); }
.explore {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; text-align: left;
  border-top: 1px solid var(--line);
}
.explore a { display: grid; gap: 4px; padding: 16px 14px 4px 0; text-decoration: none; }
.explore a + a { padding-left: 14px; border-left: 1px solid var(--line); }
.explore strong { font-weight: 600; font-size: 15px; }
.explore span { font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.explore a:hover strong { color: var(--accent); }

.chat-log { grid-row: 1; display: flex; flex-direction: column; gap: 22px; overflow-y: auto; padding: 28px max(0px, (100% - 760px) / 2) 24px; scroll-behavior: smooth; }
.desk-chat:not(.is-chatting) .chat-log { display: none; }
.desk-chat.is-chatting .welcome { display: none; }
.message { display: grid; gap: 6px; max-width: 100%; }
.message-user { justify-items: end; }
.message-user .message-body {
  max-width: min(78%, 600px); padding: 11px 16px; border-radius: 18px 18px 4px 18px;
  background: var(--accent); color: var(--accent-ink);
}
.message-assistant { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; }
.message-assistant .role-avatar { width: 36px; height: 36px; font-size: 16px; grid-column: 1; grid-row: 1 / span 2; }
.message-assistant > :not(.role-avatar) { grid-column: 2; }
.message-who { font-size: 13px; color: var(--ink-3); }
.handoff { align-self: center; font-size: 13px; color: var(--ink-3); text-align: center; padding: 2px 10px; }
.message-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; }
.message-assistant .message-body { color: var(--ink); }
.message-error .message-body { color: var(--danger); }
.message-actions { display: flex; flex-wrap: wrap; gap: 4px; margin-left: -8px; }
.message-actions .button-quiet { min-height: 30px; font-size: 13px; padding: 0 8px; }
.sources { font-size: 13px; color: var(--ink-2); border-left: 2px solid var(--accent-line); padding-left: 12px; }
.sources summary { cursor: pointer; }
.sources p { margin-top: 6px; }
.typing { display: inline-flex; gap: 5px; padding: 12px 0; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: typing 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.composer {
  grid-row: 2; justify-self: center; width: min(100%, 760px);
  padding: 10px 10px 10px 18px; border: 1px solid var(--line-strong); border-radius: 22px;
  background: var(--surface); box-shadow: var(--shadow);
}
.composer:focus-within { border-color: var(--accent); }
.composer textarea {
  display: block; width: 100%; min-height: 28px; max-height: 200px; padding: 6px 0;
  border: 0; outline: 0; resize: none; background: transparent; line-height: 1.7;
}
.composer textarea:focus-visible { outline: 0; }
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.composer-tools { display: flex; align-items: center; gap: 2px; min-width: 0; margin-left: -8px; }
.tool { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); cursor: pointer; }
.tool:hover { background: var(--sunken); color: var(--ink); }
.tool[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); }
.tool:disabled { opacity: .35; cursor: not-allowed; }
.composer-status { font-size: 13px; color: var(--ink-3); padding-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.send { min-height: 38px; padding: 0 20px; }

/* =====================================================================
   Content pages
   ===================================================================== */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-band { background: var(--surface); border-block: 1px solid var(--line); }
.section-band + .section-band { border-top: 0; }
.page-head { padding-block: clamp(48px, 7vw, 88px) 8px; }
.page-head h1 { font-size: var(--step-5); max-width: 16em; }
/* 世界模型页首屏标题：沿用站内 hero 标题字号（clamp 34–54px），不要用 --step-5 的 64px */
.page-head.intro-head h1 { font-size: clamp(34px, 3.2vw + 12px, 54px); line-height: 1.2; letter-spacing: .02em; max-width: 18em; }
.lede { margin-top: 18px; max-width: 36em; font-size: var(--step-1); color: var(--ink-2); white-space: pre-line; }
.headline { font-size: var(--step-4); max-width: 18em; }
.section-intro { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 44em; }
.section-intro p { color: var(--ink-2); font-size: var(--step-1); }
/* 只有一段结论、后面不再接内容时，去掉给下一块留的底距 */
.section-intro.statement { margin-bottom: 0; }
.kicker { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.fineprint { margin-top: 20px; font-size: 13px; color: var(--ink-3); max-width: 48em; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: var(--step-5); line-height: 1.2; letter-spacing: .02em; }
.hero .lede { margin-top: 22px; }
.hero .button-row { margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero-figure { margin: 0; }
.hero-figure figcaption { margin-top: 14px; font-size: 13px; color: var(--ink-3); text-align: center; }

/* the process thread: cause → action → result. Used only for real sequences. */
.thread { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.thread::before { content: ""; position: absolute; top: 11px; left: 12px; right: 12px; height: 1px; background: var(--accent-line); }
.thread > li { position: relative; padding-top: 40px; counter-increment: step; }
.thread > li::before {
  content: ""; position: absolute; top: 4px; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--accent);
}
.section-band .thread > li::before { background: var(--surface); }
.thread > li:last-child::before { background: var(--accent); }
.thread .step-label { display: block; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.thread h3 { font-size: var(--step-2); font-family: var(--serif); }
.thread p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.thread-compact h3 { font-size: 17px; font-family: var(--sans); }

/* three-up statements, separated by rules (not cards) */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.trio > * { padding: 24px 28px 0 0; }
.trio > * + * { padding-left: 28px; border-left: 1px solid var(--line); }
.trio h3 { font-size: var(--step-2); font-family: var(--serif); }
.trio .label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--accent); font-weight: 600; }
.trio p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.quad { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote {
  margin: 0; padding: 28px 30px; border-radius: var(--radius-l);
  background: var(--accent-soft); color: var(--ink);
  font: 400 var(--step-2)/1.7 var(--serif);
}
.quote cite { display: block; margin-top: 14px; font: 400 13px/1.5 var(--sans); color: var(--ink-2); font-style: normal; }
.service-state { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.service-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.service-state[data-state="up"]::before { background: var(--ok); }
.service-state[data-state="down"]::before { background: var(--danger); }

.link-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.link-list a { color: var(--accent); text-decoration: none; font-weight: 500; }
.link-list a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--sunken); font-size: 14px; color: var(--ink-2); }

/* products, posts and owner modules */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); overflow: hidden; }
.product-image { aspect-ratio: 4 / 3; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); font: 600 40px/1 var(--serif); }
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-body { display: grid; gap: 8px; align-content: start; padding: 18px 20px 20px; }
.product-body h3 { font-size: 18px; }
.product-body p { color: var(--ink-2); font-size: 15px; white-space: pre-line; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.price { font: 600 20px/1 var(--serif); color: var(--ink); }
.post-list, .module-list { display: grid; gap: 0; }
.module-list:empty, .post-list:empty { display: none; }
.product-grid + .module-list { margin-top: 48px; }
.post-list + .module-list { margin-top: 0; }
.entry { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: 12px 40px; padding-block: 28px; border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry-title { font: 600 var(--step-2)/1.45 var(--serif); }
.entry-kind { display: block; margin-bottom: 6px; font: 500 13px/1 var(--sans); color: var(--accent); }
.entry-body { display: grid; gap: 14px; color: var(--ink-2); }
.entry-body p { white-space: pre-line; max-width: 42em; }
.entry-media { border-radius: var(--radius-m); max-height: 360px; width: 100%; object-fit: cover; background: var(--sunken); }
.empty-state { padding: 40px 0; color: var(--ink-3); border-top: 1px solid var(--line); }

/* contact */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-intro h1, .contact-intro h2 { font-size: var(--step-4); }
.contact-intro .module-list { margin-top: 36px; }
.contact-intro .entry { grid-template-columns: 1fr; gap: 6px; padding-block: 20px; }
.contact-intro .entry-title { font-size: 17px; font-family: var(--sans); }
.lead-form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); }

/* downloads (RelVectors) */
.downloads { display: grid; border-top: 1px solid var(--line); }
.download { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(0, 2fr) auto; gap: 8px 28px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.download h3 { font-size: 18px; }
.download .target { font-size: 14px; color: var(--ink-2); }
.download .note { font-size: 13px; color: var(--ink-3); }
.download-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.download-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.download-meta strong { font: 600 var(--step-3)/1.2 var(--serif); }
.counter { font-size: 14px; color: var(--ink-2); }

/* RelVectors demo window */
.demo { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.demo-tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid var(--line); background: var(--sunken); overflow-x: auto; }
.demo-tabs button { flex: 1 0 auto; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer; }
.demo-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.demo-body { display: grid; gap: 16px; padding: 22px; min-height: 330px; align-content: start; }
.demo-line { display: grid; grid-template-columns: 30px 1fr; gap: 10px; font-size: 15px; }
.demo-line .who { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sunken); font-size: 13px; color: var(--ink-2); }
.demo-line.selfai .who { background: var(--ink); color: var(--paper); font-weight: 600; }
.plan { margin: 4px 0 0 40px; padding: 14px 16px; border: 1px dashed var(--accent-line); border-radius: var(--radius-m); font-size: 14px; }
.plan ol { margin: 8px 0 0; padding-left: 20px; color: var(--ink-2); }
.plan-foot { margin: 0 0 0 40px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); }
.plan-foot .button { min-height: 32px; font-size: 13px; padding: 0 14px; }
.demo-note { padding: 10px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 46em; color: var(--ink-2); }

/* figures: cases with sources */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.case { display: grid; gap: 10px; align-content: start; padding: 26px 28px 0 0; }
.case + .case { padding-left: 28px; border-left: 1px solid var(--line); }
.case .label { font-size: 13px; color: var(--ink-3); }
.case h3 { font: 600 var(--step-3)/1.2 var(--serif); }
.case dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 4px 0; font-size: 14px; }
.case dt { color: var(--ink-3); }
.case dd { margin: 0; font-weight: 600; }
.case p { font-size: 14px; color: var(--ink-2); }
.case .sources-list { display: grid; gap: 4px; font-size: 13px; }
.case .sources-list a { color: var(--accent); text-decoration: none; }

.big-figure { font: 600 clamp(80px, 14vw, 180px)/.9 var(--serif); color: var(--accent); letter-spacing: -.02em; }

/* book cover (learn) */
.cover {
  aspect-ratio: 3 / 4; max-width: 360px; margin-inline: auto; padding: 36px 32px;
  display: grid; align-content: space-between;
  border-radius: 6px 16px 16px 6px; background: var(--accent); color: var(--accent-ink);
  box-shadow: inset 10px 0 0 rgb(0 0 0 / .12), 0 30px 60px -30px rgb(0 0 0 / .45);
}
.cover-title { font: 600 42px/1.25 var(--serif); letter-spacing: .06em; }
.cover-sub { font-size: 14px; opacity: .85; }
.cover-formula { font: 600 30px/1 var(--serif); letter-spacing: .1em; }
.cover-foot { display: flex; justify-content: space-between; font-size: 13px; opacity: .85; border-top: 1px solid rgb(255 255 255 / .35); padding-top: 14px; }

.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.parts li { list-style: none; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.parts li:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.parts .label { font-size: 13px; color: var(--accent); font-weight: 600; }
.parts h3 { margin-top: 8px; font: 600 var(--step-2)/1.4 var(--serif); }
.parts p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }
.parts a { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--accent); text-decoration: none; }
.parts ol { padding: 0; margin: 0; }

.copy-box { padding: 18px 20px; border-radius: var(--radius-m); background: var(--sunken); font-size: 14px; white-space: pre-line; color: var(--ink-2); }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .topbar-inner { gap: 12px; }
  .nav { justify-content: flex-start; }
  .desk { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .desk-rail { flex-direction: row; align-items: center; padding: 10px var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; overflow-y: hidden; gap: 12px; }
  .rail-title, .rail-history { display: none; }
  .roles { display: flex; margin: 0; gap: 6px; }
  .role { width: auto; padding: 6px 12px 6px 6px; border-radius: 999px; }
  .role-avatar { width: 30px; height: 30px; font-size: 14px; }
  .role-desc { display: none; }
  .role-name { white-space: nowrap; font-size: 14px; }
  .hero, .split, .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .cases, .parts { grid-template-columns: 1fr; }
  .case + .case, .parts li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .case { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
  .parts li { padding-right: 0; }
  .quad { grid-template-columns: repeat(2, 1fr); }
  .quad > :nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .topbar-inner { flex-wrap: wrap; row-gap: 0; padding-top: 8px; }
  .brand { flex: 1; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 6px 12px; font-size: 14px; }
  .topbar-cta { min-height: 34px; padding: 0 12px; font-size: 13px; }
  .welcome { padding-block: 20px; }
  .explore { display: none; }
  .welcome-title { font-size: clamp(22px, 6.2vw, 28px); }
  .welcome-title { margin-top: 12px; }
  .explore { grid-template-columns: 1fr 1fr; }
  .explore a:nth-child(3) { padding-left: 0; border-left: 0; }
  .trio, .quad { grid-template-columns: 1fr; }
  .trio > *, .trio > * + * { padding: 22px 0; border-left: 0; }
  .trio > * + * { border-top: 1px solid var(--line); }
  .thread { grid-auto-flow: row; gap: 0; }
  .thread::before { top: 12px; bottom: 12px; left: 7px; right: auto; width: 1px; height: auto; }
  .thread > li { padding: 0 0 26px 36px; }
  .thread > li::before { top: 5px; }
  .entry { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-start; }
  .footer-links { grid-template-columns: repeat(2, max-content); }
  .message-user .message-body { max-width: 88%; }
  .page-service .footer-legal > :not(:first-child) { display: none; }
  .composer { border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
}
.actions { margin-top: 32px; }
.thread-vertical { grid-auto-flow: row; gap: 0; margin-top: 32px; }
.thread-vertical::before { top: 12px; bottom: 30px; left: 7px; right: auto; width: 1px; height: auto; }
.thread-vertical > li { padding: 0 0 22px 36px; }
.thread-vertical > li::before { top: 5px; }
.page-head + .section { padding-top: clamp(28px, 4vw, 48px); }
.dialog section > .hint:first-child { margin-bottom: 14px; }
.segmented { justify-self: start; }
.explore { align-self: stretch; }

/* ---- GeekStation main-site additions ---- */
.spec { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 18px 22px; }
.spec > div + div { border-top: 1px solid var(--line); }
.spec dt { font: 600 17px/1.5 var(--serif); color: var(--accent); }
.spec dd { margin: 0; color: var(--ink-2); font-size: 15px; }
.closing { display: grid; justify-items: start; gap: 24px; }
.contact-ways { display: grid; gap: 10px; margin-top: 28px; }
.contact-ways > div { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.contact-ways .hint { min-width: 8em; }
pre.code { margin: 6px 0 0; padding: 12px 16px; border-radius: var(--radius-m); background: var(--ink); color: var(--paper); font: 13px/1.7 ui-monospace, Menlo, Consolas, monospace; overflow-x: auto; white-space: pre; }
code { font: 0.9em ui-monospace, Menlo, Consolas, monospace; padding: 1px 5px; border-radius: 4px; background: var(--sunken); }
.install-steps h3 { font-size: 18px; }
.not-found { padding-bottom: clamp(64px, 10vw, 140px); }
.ai-note { grid-row: 3; justify-self: center; width: min(100%, 760px); margin-top: 6px; font-size: 12px; color: var(--ink-3); text-align: center; }
@media (max-width: 760px) { .spec > div { grid-template-columns: 1fr; gap: 4px; } }
.is-showcase .hero h1 { font-size: clamp(34px, 3.2vw + 12px, 54px); }
.hero > *, .split > *, .contact-layout > * { min-width: 0; }
.stack > * { min-width: 0; }
/* ---- brand logo tuning (2026-11-08) ----
   新品牌图为方形蓝紫渐变机器人图标：方形图在 34px 高度时细节偏挤，
   略微放大并留出对齐间距，与 19px 品牌文字保持视觉平衡。 */
.brand { gap: 11px; }
.brand-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}
.brand-name { line-height: 1.2; }
/* 移动端顶栏更紧凑 */
@media (max-width: 720px) {
  .brand-logo { height: 32px; }
  .brand { gap: 9px; }
}

/* ---- 极客站发展历程：结构化时间线（2026-11-08）----
   年份独立成列，长条目折行时悬挂缩进，避免续行顶到年份栏。 */
.timeline-wrap { display: grid; gap: 18px; }
.timeline-intro { margin: 0; color: var(--ink-2); line-height: 1.85; }
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}
/* 贯穿所有节点的连续轴线 */
.timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: .78em;
  bottom: .78em;
  width: 1px;
  background: linear-gradient(180deg, var(--accent-line), var(--line) 85%, transparent);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 5.8em 1fr;
  gap: 0 14px;
  align-items: baseline;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 4px var(--surface);
}
.timeline-year {
  font-weight: 600;
  font-size: 16px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: .01em;
}
.timeline-text {
  color: var(--ink);
  line-height: 1.85;
  min-width: 0;
  text-wrap: pretty;
}
@media (max-width: 560px) {
  /* 窄屏改为“年份在上、内容在下”的堆叠结构，保证正文宽度 */
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 3px;
    padding-left: 20px;
  }
  .timeline-year { font-size: 15px; }
  .timeline-text { font-size: 15px; }
}
/* ---- RelVectors 多版本下载分组 ----
   同一页面同时提供当前版本和历史版本，版本之间用小标题分组。 */
.download-group { margin-bottom: 44px; }
.download-group:last-child { margin-bottom: 0; }
.download-group-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.download-group-head h3 { font: 600 var(--step-3)/1.3 var(--serif); margin: 0; }
.download-badge {
  display: inline-block; padding: 3px 11px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.download-badge-old { background: var(--sunken); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); }
.download-group-note { margin: 0 0 16px; color: var(--ink-2); font-size: 14px; line-height: 1.75; }
/* 下载按钮列固定宽度，各行右侧操作严格对齐 */
.download-actions { min-width: 208px; }
@media (max-width: 720px) { .download-actions { min-width: 0; } }
@media (max-width: 560px) {
  .download-group { margin-bottom: 32px; }
  .download-group-note { font-size: 13px; }
  .download-group-head { gap: 8px; }
  .download-group-head h3 { font-size: var(--step-2); }
  .download-badge { font-size: 12px; padding: 2px 9px; }
}

/* =====================================================================
   寻求代理 —— 导航栏红色色块 + 联系页代理招募区块
   色块与「定制咨询」按钮（.topbar-cta）同高：38px / 窄屏 34px
   ===================================================================== */
.nav a.nav-hot {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 38px; padding: 0 16px; margin-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9532f, #b8321a);
  color: #fff; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  box-shadow: 0 1px 6px -2px rgb(184 50 26 / .45);
  transition: background .15s, transform .15s;
}
.nav a.nav-hot:hover { color: #fff; background: linear-gradient(135deg, #e26237, #c93a1e); transform: translateY(-1px); }
.nav a.nav-hot[aria-current="page"] { color: #fff; }
.nav a.nav-hot[aria-current="page"]::after { background: #fff; }

/* 页脚里的同名链接保持克制，不做大色块 */
.footer-links a.nav-hot { color: var(--danger); font-weight: 600; }
.footer-links a.nav-hot:hover { color: var(--danger); text-decoration: underline; }

/* 联系页：代理招募区块 */
.agent-band {
  position: relative; overflow: hidden;
  border-radius: var(--radius-l);
  border: 1px solid color-mix(in srgb, var(--danger) 26%, var(--line));
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--danger) 9%, var(--surface)) 0%, transparent 62%),
    var(--surface);
  padding: clamp(24px, 3.4vw, 40px);
  margin-bottom: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.agent-band::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, #e8492c, #f0a03c 55%, transparent);
}
.agent-band-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.agent-band-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--danger); }
.agent-band h2 { font-size: var(--step-3); line-height: 1.25; }
.agent-band .lede { margin-top: 14px; max-width: 62em; color: var(--ink-2); }
.agent-points {
  display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.agent-points li {
  position: relative; padding: 12px 14px 12px 34px;
  border: 1px solid var(--line); border-radius: var(--radius-m);
  background: var(--surface); color: var(--ink-2);
  font-size: 15px; line-height: 1.65;
}
.agent-points li::before {
  content: ""; position: absolute; left: 14px; top: 18px;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #e8492c, #f0a03c);
}
.agent-points li strong { font-weight: 600; color: var(--ink); }
.agent-band .button-row { margin-top: 26px; }
.agent-band .agent-note { margin-top: 14px; font-size: 13px; color: var(--ink-3); }

@media (max-width: 760px) {
  .nav a.nav-hot { height: 34px; padding: 0 12px; font-size: 13px; margin-left: 2px; }
  .agent-band { padding: 22px 18px; border-radius: var(--radius-m); }
}

/* =====================================================================
   两个重点概念：物理AI / 世界模型
   导航强调、首页入口、概念页（works / research）的图示与版块
   ===================================================================== */
.nav a.nav-concept { color: var(--accent); font-weight: 600; }
.nav a.nav-concept::before {
  content: ""; position: absolute; top: 6px; right: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.nav a.nav-concept:hover { color: var(--accent); background: var(--accent-soft); }
.footer-links a.nav-concept { color: var(--accent); font-weight: 600; }

.explore a.explore-concept strong { color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.explore a.explore-concept strong::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}

.concept-tag {
  display: inline-block; margin-right: 10px; padding: 3px 11px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 13px; font-weight: 600; letter-spacing: .03em; vertical-align: 1px;
}
.concept-hero h1 { font-size: clamp(34px, 3.2vw + 12px, 54px); }
.concept-hero .hero-figure svg { width: 100%; height: auto; display: block; }
.loop-devices rect { fill: var(--surface); stroke: var(--line-strong); }
.loop-devices text { fill: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .loop-pulse { display: none; } }

/* 什么是物理AI：从「会说」到「会动手」的三级台阶 */
.ladder {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end;
  margin: 0; padding: 0; list-style: none;
}
.ladder li {
  position: relative; display: grid; gap: 8px; align-content: start;
  padding: 22px 24px 24px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: var(--paper);
}
.ladder li:nth-child(1) { min-height: 180px; }
.ladder li:nth-child(2) { min-height: 214px; }
.ladder li:nth-child(3) { min-height: 248px; }
.ladder li + li::after {
  content: "→"; position: absolute; left: -15px; top: 50%; transform: translate(-50%, -50%);
  color: var(--accent); font-size: 18px; line-height: 1;
}
.ladder h3 { font: 600 var(--step-2)/1.3 var(--serif); }
.ladder p { color: var(--ink-2); font-size: 15px; }
.ladder .text-link { font-size: 14px; margin-top: auto; }
.ladder-step { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .04em; }
.ladder li.is-current {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: var(--shadow);
}
.ladder li.is-current h3, .ladder li.is-current p, .ladder li.is-current .ladder-step,
.ladder li.is-current .text-link { color: var(--accent-ink); }
.ladder li.is-current p { opacity: .9; }

.loop-steps { margin-top: 0; }
.space-cards h3 { font-size: var(--step-1); }

/* 电脑智能体：六项能力的紧凑网格 */
.feature-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px;
  margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line);
}
.feature-grid li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.feature-grid strong { font-weight: 600; font-size: 16px; }
.feature-grid span { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

.agent-code { margin: 24px 0 18px; }

/* 世界模型：三项核心研究 */
.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin: 0; padding: 0; list-style: none;
}
.pillars li {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: var(--paper); overflow: hidden;
}
.pillars li::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--accent);
}
.pillar-no { font: 600 40px/1 var(--serif); color: var(--accent-line); }
.pillars .label { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .03em; margin-top: 12px; }
.pillars h3 { font: 600 var(--step-2)/1.3 var(--serif); }
.pillars p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* 物理AI ↔ 世界模型 */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.pair-card {
  display: grid; gap: 10px; align-content: start;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l);
  background: var(--surface); box-shadow: var(--shadow);
  color: inherit; text-decoration: none; transition: border-color .15s, transform .15s;
}
.pair-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pair-card .concept-tag { justify-self: start; margin: 0; }
.pair-card h3 { font: 600 var(--step-3)/1.3 var(--serif); }
.pair-card p { color: var(--ink-2); font-size: 15px; }
.pair-card .text-link { font-size: 14px; }
.pair-link {
  display: grid; align-content: center; gap: 10px;
  font-size: 13px; color: var(--accent); white-space: nowrap; text-align: center;
}
.statement-line {
  margin: clamp(40px, 5vw, 64px) auto 0; max-width: 40em; text-align: center;
  display: grid; gap: 10px; color: var(--ink-2); font-size: var(--step-1);
}
.statement-line p { text-wrap: balance; }
.statement-line strong { font: 600 var(--step-3)/1.4 var(--serif); color: var(--ink); }

.process-hero { padding-block: 0; }
.mini-list { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
.mini-list li { display: grid; grid-template-columns: 6em 1fr; gap: 12px; }
.mini-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 1080px) {
  .nav a.nav-concept::before { top: 4px; right: 4px; }
}
@media (max-width: 760px) {
  .ladder, .pillars { grid-template-columns: 1fr; }
  .ladder li { min-height: 0 !important; }
  .ladder li + li::after { content: "↓"; left: 50%; top: -9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
  .pair-link { grid-auto-flow: column; justify-content: center; gap: 18px; }
  .concept-tag { margin-bottom: 6px; }
  .mini-list li { grid-template-columns: 1fr; gap: 0; }
}
