@charset "UTF-8";

:root {
  --orange: #f28c28;
  --orange-dark: #dc7412;
  --orange-pale: #fff5e9;
  --ink: #20242b;
  --text: #4f5662;
  --muted: #7f8792;
  --line: #e7e9ed;
  --surface: #f5f7fa;
  --white: #ffffff;
  --green: #2c9a65;
  --container: min(1180px, calc(100% - 40px));
  --shadow: 0 24px 60px rgba(40, 50, 65, .12);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

/*
 * 色彩版本只覆盖颜色，不改变任何布局、尺寸或交互。
 * 默认 / ?theme=pine  松柏青
 * ?theme=orange  暖橙
 * ?theme=mono  黑白灰
 */
:root[data-theme="pine"] {
  --orange: #287266;
  --orange-dark: #18584f;
  --orange-pale: #edf6f3;
  --ink: #1f2928;
  --text: #4c5a58;
  --muted: #7b8886;
  --line: #e1e8e6;
  --surface: #f3f7f6;
  --white: #fbfdfc;
  --green: #287266;
  --shadow: 0 24px 60px rgba(30, 65, 59, .12);
}

:root[data-theme="orange"] {
  --orange: #f28c28;
  --orange-dark: #dc7412;
  --orange-pale: #fff5e9;
  --ink: #20242b;
  --text: #4f5662;
  --muted: #7f8792;
  --line: #e7e9ed;
  --surface: #f5f7fa;
  --white: #ffffff;
  --green: #2c9a65;
  --shadow: 0 24px 60px rgba(40, 50, 65, .12);
}

:root[data-theme="mono"] {
  --orange: #303337;
  --orange-dark: #17191c;
  --orange-pale: #eeefef;
  --ink: #1c1d1f;
  --text: #505256;
  --muted: #818388;
  --line: #dedfe1;
  --surface: #f3f3f2;
  --white: #fafaf9;
  --green: #55595e;
  --shadow: 0 24px 60px rgba(24, 25, 27, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 8px 14px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(242,140,40,.52); outline-offset: 3px; }

.site-header { height: 72px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header-inner { width: var(--container); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 44px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--orange); color: white; font-weight: 700; font-size: 18px; }
.logo-name { font-size: 20px; font-weight: 700; letter-spacing: .08em; }
.site-nav { display: flex; align-self: stretch; gap: 36px; }
.site-nav a { min-width: 32px; display: flex; align-items: center; color: #353a42; font-size: 14px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform 180ms var(--ease); }
.site-nav a.active::after, .site-nav a:hover::after { transform: scaleX(1); }
.header-action { margin-left: auto; min-height: 40px; padding: 8px 20px; display: inline-flex; align-items: center; border-radius: 6px; background: var(--orange); color: white; font-size: 14px; font-weight: 600; }
.nav-toggle { display: none; }

.hero { padding: 78px 0 82px; background: var(--surface); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.hero-label, .section-kicker { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 11px; border-radius: 4px; background: var(--orange-pale); color: var(--orange-dark); font-size: 13px; font-weight: 600; }
.hero h1 { margin: 20px 0 24px; font-size: clamp(42px, 4.2vw, 60px); line-height: 1.2; letter-spacing: -.035em; font-weight: 650; }
.hero-copy > p { max-width: 540px; color: var(--text); font-size: 18px; line-height: 1.9; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.button { min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease); }
.button-primary { background: var(--orange); color: white; }
.button-secondary { background: white; border-color: #d9dde3; color: #343a43; }
.button-light { background: white; color: var(--orange-dark); }
.hero-facts { margin-top: 42px; display: flex; gap: 36px; }
.hero-facts > div { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.hero-facts strong { font-size: 28px; line-height: 1; color: var(--orange-dark); }
.hero-facts span { max-width: 100px; color: var(--muted); font-size: 12px; line-height: 1.45; }

.workspace-preview { position: relative; padding: 28px 0; }
.workspace-preview::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #ffead3; right: -130px; top: -65px; }
.workspace-window { position: relative; z-index: 2; border: 1px solid #e3e7ec; border-radius: 16px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.window-topbar { height: 58px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.window-brand { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; }
.window-brand span { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--orange); color: white; font-size: 12px; }
.window-tools { display: flex; align-items: center; gap: 8px; }
.window-tools i { width: 8px; height: 8px; border-radius: 50%; background: #dce0e5; }
.window-tools b { width: 26px; height: 26px; border-radius: 50%; background: #ffe4c7; margin-left: 8px; }
.window-body { min-height: 380px; display: grid; grid-template-columns: 126px 1fr; }
.window-sidebar { padding: 22px 12px; background: #fafbfc; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.window-sidebar span { padding: 9px 10px; border-radius: 5px; color: #8b929c; font-size: 11px; }
.window-sidebar span.selected { background: var(--orange-pale); color: var(--orange-dark); font-weight: 600; }
.window-content { padding: 28px 24px 24px; min-width: 0; }
.content-heading { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 22px; }
.content-heading > div { display: flex; flex-direction: column; }
.content-heading small { color: var(--muted); font-size: 10px; }
.content-heading strong { margin-top: 3px; font-size: 15px; }
.status-dot { padding: 4px 8px; border-radius: 10px; background: #eaf8f1; color: var(--green); font-size: 9px; }
.task-card { min-height: 70px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; margin-bottom: 10px; }
.task-icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.contract-icon { background: #fff0df; color: var(--orange-dark); }
.video-icon { background: #edf3ff; color: #5878ba; }
.task-copy { min-width: 0; display: flex; flex-direction: column; }
.task-copy strong { font-size: 12px; }
.task-copy span { margin-top: 2px; color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-status { color: var(--green); font-size: 9px; }
.progress-panel { margin-top: 18px; padding: 15px 16px 12px; border-radius: 8px; background: #fafbfc; }
.progress-title { display: flex; justify-content: space-between; font-size: 10px; }
.progress-title span { color: var(--orange-dark); }
.progress-bars { height: 55px; margin-top: 10px; display: flex; align-items: end; gap: 9px; border-bottom: 1px solid #e8ebef; }
.progress-bars i { width: 12%; height: var(--value); display: block; border-radius: 3px 3px 0 0; background: #ffc17e; }
.progress-bars i:nth-child(3), .progress-bars i:nth-child(5) { background: var(--orange); }
.preview-note { position: absolute; z-index: 3; padding: 10px 14px; border: 1px solid #f0dfcc; border-radius: 6px; background: rgba(255,255,255,.96); box-shadow: 0 10px 26px rgba(55,63,75,.1); display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 11px; }
.preview-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px #fff0df; }
.note-top { top: 3px; right: 34px; }
.note-bottom { left: -26px; bottom: 4px; }

.value-strip { background: white; border-bottom: 1px solid var(--line); }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.value-grid > div { padding: 30px 36px; border-right: 1px solid var(--line); position: relative; }
.value-grid > div:first-child { padding-left: 0; }
.value-grid > div:last-child { border-right: 0; }
.value-grid span { display: block; color: var(--orange-dark); font-size: 11px; font-weight: 700; }
.value-grid strong { display: block; margin-top: 5px; font-size: 16px; }
.value-grid p { margin-top: 3px; color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; }
.section-header { margin-bottom: 40px; display: grid; grid-template-columns: 1fr 420px; align-items: end; gap: 60px; }
.section-header h2, .lab h2, .about h2, .contact h2 { margin-top: 14px; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.3; letter-spacing: -.025em; font-weight: 650; }
.section-header > p { color: var(--text); }
.case-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.case-card { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; transition: transform 220ms var(--ease), box-shadow 220ms var(--ease); }
.case-visual { height: 286px; padding: 34px; background: var(--surface); display: grid; place-items: center; overflow: hidden; }
.case-content { padding: 28px 30px 30px; }
.case-tags { display: flex; gap: 8px; }
.case-tags span { padding: 3px 8px; border-radius: 4px; background: var(--orange-pale); color: var(--orange-dark); font-size: 11px; }
.case-content h3 { margin-top: 16px; font-size: 24px; line-height: 1.45; }
.case-content p { margin-top: 12px; min-height: 82px; color: var(--text); font-size: 14px; }
.case-content a { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--orange-dark); font-size: 14px; font-weight: 600; }

.mail-window { width: min(390px,100%); border: 1px solid #e1e5ea; border-radius: 10px; background: white; box-shadow: 0 18px 40px rgba(45,53,65,.1); transform: rotate(-2deg); }
.mail-top { height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); }
.mail-top span, .mail-top i { width: 7px; height: 7px; border-radius: 50%; background: #e2e5e9; }
.mail-top span { background: #ffbd7a; }
.mail-body { padding: 20px; }
.mail-line { display: block; width: 100%; height: 6px; margin: 11px 0; border-radius: 4px; background: #edf0f3; }
.line-short { width: 24%; }.line-mid { width: 67%; }
.mail-body > strong { display: block; margin: 8px 0 14px; font-size: 15px; }
.attachment { margin-top: 18px; padding: 11px; border-radius: 7px; background: #fff7ed; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.attachment b { width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center; background: var(--orange); color: white; font-size: 8px; }
.attachment span { font-size: 11px; }.attachment i { color: var(--green); font-style: normal; }

.evidence-window { width: min(410px,100%); display: grid; grid-template-columns: 130px 1fr; gap: 18px; align-items: center; }
.phone-frame { height: 220px; padding: 8px; border-radius: 22px; background: #292e36; box-shadow: 0 18px 40px rgba(45,53,65,.18); position: relative; }
.video-screen { height: 100%; border-radius: 16px; background: #f5d4b3; display: grid; place-items: center; }
.video-screen span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; padding-left: 3px; background: rgba(255,255,255,.88); color: var(--orange-dark); font-size: 13px; }
.phone-frame > i { position: absolute; left: 50%; top: 4px; width: 40px; height: 5px; border-radius: 3px; background: #15181d; transform: translateX(-50%); }
.evidence-list { padding: 14px 16px; border-radius: 10px; background: white; box-shadow: 0 16px 36px rgba(45,53,65,.1); display: flex; flex-direction: column; gap: 11px; }
.evidence-list span { padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--text); font-size: 11px; }
.evidence-list span:last-child { border-bottom: 0; padding-bottom: 0; }
.evidence-list i { width: 18px; height: 18px; margin-right: 6px; display: inline-grid; place-items: center; border-radius: 50%; background: #eaf8f1; color: var(--green); font-style: normal; font-size: 9px; }

.lab { padding-top: 20px; }
.lab-panel { padding: 58px 64px; border-radius: 14px; background: var(--surface); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; }
.lab-copy > p { max-width: 430px; margin-top: 20px; color: var(--text); }
.lab-copy .button { margin-top: 28px; }
.lab-details { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.lab-details > div > span { font-size: 15px; font-weight: 650; }
.lab-details ul, .lab-details ol { margin: 18px 0 0; padding: 0; list-style: none; }
.lab-details li { min-height: 43px; padding: 9px 0; border-bottom: 1px solid #dde1e6; color: var(--text); font-size: 13px; }
.lab-details ul li::before { content: "✓"; margin-right: 9px; color: var(--orange-dark); font-weight: 700; }
.lab-details ol li { display: flex; align-items: center; gap: 9px; }
.lab-details ol b { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--orange-pale); color: var(--orange-dark); font-size: 10px; }

.about-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; }
.about-copy { padding-top: 40px; color: var(--text); font-size: 16px; }
.about-copy p + p { margin-top: 18px; }
.contact { padding: 72px 0; background: var(--orange); color: white; }
.contact-inner { display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center; }
.contact-inner > div:first-child > span { font-size: 13px; opacity: .84; }
.contact h2 { margin-top: 8px; }
.contact-inner > div:last-child p { margin-bottom: 24px; color: #fff6eb; }
.site-footer { padding: 34px 0; background: #22262d; color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; }
.footer-logo .logo-mark { width: 30px; height: 30px; font-size: 15px; }.footer-logo .logo-name { font-size: 18px; }
.footer-inner > p, .footer-inner > div { color: #aeb4bd; font-size: 12px; }
.footer-inner > div { display: flex; gap: 26px; }

@media (hover:hover) {
  .header-action:hover, .button-primary:hover { background: var(--orange-dark); }
  .button:hover { transform: translateY(-2px); }
  .button-secondary:hover { border-color: var(--orange); color: var(--orange-dark); }
  .case-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(42,51,64,.1); }
  .case-content a:hover { text-decoration: underline; }
}

@media (max-width: 900px) {
  :root { --container: min(100% - 32px, 720px); }
  .site-header { height: 64px; }
  .header-inner { gap: 0; }
  .logo-mark { width: 31px; height: 31px; font-size: 16px; }.logo-name { font-size: 18px; }
  .nav-toggle { width: 44px; height: 44px; margin-left: auto; padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 7px; border: 0; background: transparent; }
  .nav-toggle i { display: block; width: 23px; height: 1px; background: var(--ink); transition: transform 180ms var(--ease); }
  .nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .header-action { display: none; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; padding: 8px 16px 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 12px 30px rgba(45,53,65,.08); }
  .site-header.nav-open .site-nav { display: grid; }
  .site-nav a { min-height: 48px; border-bottom: 1px solid var(--line); }
  .site-nav a::after { display: none; }
  .hero { padding: 54px 0 70px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .workspace-preview { max-width: 650px; width: 100%; margin-inline: auto; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid > div { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .value-grid > div:last-child { border-bottom: 0; }
  .section { padding: 76px 0; }
  .section-header { grid-template-columns: 1fr; gap: 20px; }
  .section-header > p { max-width: 560px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-content p { min-height: 0; }
  .lab-panel { padding: 44px 36px; grid-template-columns: 1fr; gap: 46px; }
  .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 34px; }
  .about-copy { padding-top: 0; }
}

@media (max-width: 560px) {
  :root { --container: calc(100% - 28px); }
  .hero { padding-top: 42px; }
  .hero-label, .section-kicker { font-size: 11px; }
  .hero h1 { margin-top: 16px; font-size: 36px; }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-facts { gap: 22px; }
  .workspace-preview { padding: 14px 0; }
  .workspace-window { border-radius: 10px; }
  .window-body { min-height: 325px; grid-template-columns: 76px 1fr; }
  .window-sidebar { padding: 16px 7px; }.window-sidebar span { padding: 8px 6px; font-size: 9px; }
  .window-content { padding: 20px 12px; }.content-heading strong { font-size: 12px; }.status-dot { display: none; }
  .task-card { grid-template-columns: 30px 1fr; padding: 10px; }.task-icon { width: 30px; height: 30px; }.task-status { display: none; }
  .progress-panel { padding: 12px; }.preview-note { display: none; }
  .section { padding: 64px 0; }
  .section-header h2, .lab h2, .about h2, .contact h2 { font-size: 31px; }
  .case-visual { height: 230px; padding: 24px; }
  .case-content { padding: 24px 22px; }.case-content h3 { font-size: 21px; }
  .evidence-window { grid-template-columns: 100px 1fr; }.phone-frame { height: 180px; }.evidence-list { padding: 11px; }.evidence-list span { font-size: 9px; }
  .lab-panel { width: 100%; border-radius: 0; padding: 48px 20px; }
  .lab-details { grid-template-columns: 1fr; gap: 32px; }
  .contact { padding: 56px 0; }
  .footer-inner { grid-template-columns: 1fr auto; }
  .footer-inner > p { display: none; }.footer-inner > div span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* 主题中的少量插图颜色需要随主色收敛。 */
:root[data-theme="pine"] .workspace-preview::before { background: #dcece7; }
:root[data-theme="pine"] :focus-visible { outline-color: rgba(40, 114, 102, .5); }
:root[data-theme="pine"] .window-tools b { background: #d5e8e3; }
:root[data-theme="pine"] .contract-icon,
:root[data-theme="pine"] .attachment { background: #e7f2ef; }
:root[data-theme="pine"] .video-icon { background: #e8f0ee; color: #3e6e67; }
:root[data-theme="pine"] .progress-bars i { background: #80b9ae; }
:root[data-theme="pine"] .preview-note { border-color: #cfe0dc; }
:root[data-theme="pine"] .preview-note i { box-shadow: 0 0 0 4px #e5f1ee; }
:root[data-theme="pine"] .mail-top span { background: #78b4a9; }
:root[data-theme="pine"] .video-screen { background: #c9ddd8; }
:root[data-theme="pine"] .contact-inner > div:last-child p { color: #edf6f3; }

:root[data-theme="mono"] .workspace-preview::before { background: #dededb; }
:root[data-theme="mono"] :focus-visible { outline-color: rgba(48, 51, 55, .5); }
:root[data-theme="mono"] .window-tools b { background: #d9d9d6; }
:root[data-theme="mono"] .contract-icon,
:root[data-theme="mono"] .attachment,
:root[data-theme="mono"] .video-icon { background: #e9e9e7; color: #3f4246; }
:root[data-theme="mono"] .status-dot,
:root[data-theme="mono"] .evidence-list i { background: #ececeb; }
:root[data-theme="mono"] .progress-bars i { background: #a9aaac; }
:root[data-theme="mono"] .progress-bars i:nth-child(3),
:root[data-theme="mono"] .progress-bars i:nth-child(5) { background: #3f4246; }
:root[data-theme="mono"] .preview-note { border-color: #d5d5d3; }
:root[data-theme="mono"] .preview-note i { box-shadow: 0 0 0 4px #e8e8e6; }
:root[data-theme="mono"] .mail-top span { background: #8f9194; }
:root[data-theme="mono"] .video-screen { background: #d1d1cf; }
:root[data-theme="mono"] .contact-inner > div:last-child p { color: #ededeb; }
