:root {
  --ink: #111512;
  --muted: #687069;
  --soft: #f2f4ef;
  --white: #fff;
  --line: #dfe3dc;
  --forest: #123b31;
  --lime: #c9ff48;
  --blue: #3268ff;
  --brass: #a47a32;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: Inter, Arial, Helvetica, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body[data-lang="zh"] { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid rgba(50,104,255,.4); outline-offset: 3px; }
.shell { width: min(var(--max), calc(100% - 56px)); margin: 0 auto; }
.label { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 14px; font-weight: 750; }
.arrow-link::after { content: "→"; font-size: 18px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(223,227,220,.9); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 3px; background: var(--ink); color: var(--white); font: 19px Georgia, serif; }
.brand strong { font: 15px Georgia, serif; }
.header-actions, .primary-nav, .language { display: flex; align-items: center; }
.header-actions { gap: 12px; }
.primary-nav { gap: 24px; }
.primary-nav a { color: #454c47; font-size: 13px; }
.primary-nav a:hover { color: var(--blue); }
.primary-nav .contact-link { padding: 10px 14px; background: var(--ink); color: #fff; }
.language { border-left: 1px solid var(--line); padding-left: 12px; }
.language button { width: 34px; height: 30px; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 11px; font-weight: 800; }
.language button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.hero { min-height: 650px; display: grid; align-items: center; position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero::before { content: "PRE\2011 IPO"; position: absolute; right: -1.5vw; top: 50%; transform: translateY(-54%); color: transparent; -webkit-text-stroke: 1px rgba(13,31,25,.08); font: 700 clamp(120px, 19vw, 300px)/.8 Georgia, serif; letter-spacing: -.08em; white-space: nowrap; pointer-events: none; }
.hero::after { content: ""; position: absolute; right: 7vw; top: 18%; width: 180px; height: 180px; border: 1px solid rgba(13,31,25,.12); border-radius: 50%; box-shadow: 0 0 0 48px rgba(13,31,25,.025), 0 0 0 96px rgba(13,31,25,.02); pointer-events: none; }
.hero-inner { padding: 84px 0 74px; }
.hero h1 { max-width: 930px; position: relative; margin: 22px 0 28px; font-size: 76px; line-height: 1.05; font-weight: 620; letter-spacing: -.025em; }
.hero-copy { max-width: 720px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid var(--ink); background: transparent; font-size: 14px; font-weight: 750; cursor: pointer; }
.button.dark { background: var(--ink); color: #fff; }
.button.lime { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 74px; border-top: 1px solid var(--line); }
.hero-meta div { padding: 18px 20px 0 0; }
.hero-meta strong { display: block; font-size: 13px; }
.hero-meta span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.scroll-section { min-height: 760px; display: grid; align-items: center; padding: 108px 0; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 70px; align-items: end; margin-bottom: 64px; }
.section-heading h2 { max-width: 860px; margin: 18px 0 0; font-size: 54px; line-height: 1.08; font-weight: 600; letter-spacing: 0; }
.section-heading p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }

.products { background: var(--soft); }
.product-row { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #cfd5cb; }
.product { min-height: 350px; padding: 34px 34px 34px 0; border-right: 1px solid #cfd5cb; }
.product + .product { padding-left: 34px; }
.product:last-child { border-right: 0; }
.product-index { color: var(--blue); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.build-status { padding: 5px 7px; border: 1px solid #b9c0b6; color: #5f685f; font: 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; white-space: nowrap; }
.product h3 { margin: 78px 0 14px; font-size: 28px; font-weight: 620; }
.ai-product h3 { font-size: 24px; }
.product p { max-width: 310px; margin: 0; color: var(--muted); font-size: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.product-tags span { padding: 5px 8px; border: 1px solid #cbd0c7; font-size: 11px; }

.advisory { background: var(--ink); color: #fff; overflow: hidden; }
.advisory .label, .advisory .section-heading p { color: rgba(255,255,255,.55); }
.advisory-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.decision-visual { min-height: 430px; position: relative; border: 1px solid rgba(255,255,255,.22); background: #171c18; overflow: hidden; }
.decision-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px); background-size: 72px 72px; }
.signal { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.signal::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(201,255,72,.12); }
.signal.one { top: 20%; left: 13%; }
.signal.two { top: 58%; left: 22%; }
.signal.three { top: 34%; right: 12%; }
.decision-core { position: absolute; left: 50%; top: 52%; width: 168px; height: 168px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--lime); background: rgba(201,255,72,.05); transform: translate(-50%,-50%); text-align: center; font-size: 14px; }
.decision-core::before, .decision-core::after { content: ""; position: absolute; width: 280px; height: 1px; background: rgba(201,255,72,.35); }
.decision-core::before { transform: rotate(24deg); }
.decision-core::after { transform: rotate(-22deg); }
.advisory-list { border-top: 1px solid rgba(255,255,255,.2); }
.advisory-item { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.advisory-item span { color: var(--lime); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.advisory-item strong { display: block; margin-bottom: 4px; font-size: 16px; }
.advisory-item p { margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }

.scenarios { background: #fff; }
.scenario-layout { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.scenario-tabs { border-top: 1px solid var(--line); }
.scenario-tabs button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; cursor: pointer; text-align: left; font-weight: 700; }
.scenario-tabs button[aria-pressed="true"] { color: var(--blue); }
.scenario-panel { min-height: 430px; position: relative; padding: 46px; background: var(--soft); overflow: hidden; }
.scenario-panel[hidden] { display: none; }
.scenario-panel h3 { max-width: 630px; margin: 100px 0 14px; font-size: 42px; line-height: 1.12; }
.scenario-panel p { max-width: 590px; color: var(--muted); }
.scenario-code { position: absolute; top: 34px; right: 38px; color: var(--blue); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.metric-tag { display: inline-flex; margin-top: 22px; padding: 7px 10px; background: var(--lime); font-size: 11px; font-weight: 800; }

.method { background: #f7f7f5; }
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #d6d9d3; }
.method-step { min-height: 280px; padding: 28px 28px 28px 0; border-right: 1px solid #d6d9d3; }
.method-step + .method-step { padding-left: 28px; }
.method-step:last-child { border-right: 0; }
.method-step span { color: var(--blue); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.method-step h3 { margin: 82px 0 12px; font-size: 21px; }
.method-step p { margin: 0; color: var(--muted); font-size: 13px; }

.flywheel { background: var(--forest); color: #fff; }
.flywheel .label, .flywheel .section-heading p { color: rgba(255,255,255,.57); }
.loop { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid rgba(255,255,255,.22); }
.loop article { min-height: 320px; padding: 32px; border-right: 1px solid rgba(255,255,255,.18); }
.loop article:last-child { border-right: 0; }
.loop span { color: var(--lime); font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.loop h3 { margin: 92px 0 12px; font-size: 26px; }
.loop p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; }

.proof { background: #fff; }
.focus-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; }
.focus-image { min-height: 460px; position: relative; background: linear-gradient(90deg,rgba(9,25,21,.9),rgba(9,25,21,.3)), url("deal-workbench-hero.jpg") center/cover; color: #fff; }
.focus-image div { position: absolute; left: 34px; right: 34px; bottom: 34px; }
.focus-image h3 { max-width: 600px; margin: 10px 0 0; font-size: 34px; line-height: 1.16; }
.focus-list { border-top: 1px solid var(--line); }
.focus-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.focus-item span { color: var(--blue); font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.focus-item h3 { margin: 10px 0 6px; font-size: 20px; }
.focus-item p { margin: 0; color: var(--muted); font-size: 13px; }

.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: start; }
.about h2 { max-width: 760px; margin: 18px 0 24px; font-size: 54px; line-height: 1.08; }
.about-copy { color: var(--muted); font-size: 16px; line-height: 1.8; }
.insight-list { border-top: 1px solid #cfd5cb; }
.insight { padding: 22px 0; border-bottom: 1px solid #cfd5cb; }
.insight span { color: var(--blue); font-size: 11px; }
.insight h3 { margin: 9px 0 0; font-size: 18px; }

.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; }
.contact-copy h2 { margin: 18px 0 20px; font-size: 48px; line-height: 1.08; }
.contact-copy p { color: var(--muted); }
.contact-email { display: inline-block; margin-top: 26px; border-bottom: 1px solid var(--ink); font-weight: 750; }
.role-tabs { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); }
.role-tabs label { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.role-tabs label:last-child { border-right: 0; }
.form-fields { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 30px; }
.field { min-width: 0; }
.field.full, .role-fields, .form-actions, .consent { grid-column: 1 / -1; }
.field label, .role-fields legend { display: block; margin-bottom: 7px; color: #4d554f; font-size: 12px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid #aeb5ad; border-radius: 0; background: transparent; padding: 11px 2px; color: var(--ink); }
.field textarea { min-height: 94px; resize: vertical; }
.role-fields { margin: 8px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
.role-fields[hidden] { display: none; }
.role-fields .form-fields { margin-top: 14px; }
.consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: 11px; }
.form-actions { display: flex; align-items: center; gap: 16px; }
.form-note { color: var(--muted); font-size: 12px; }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.footer { padding: 54px 0; background: var(--ink); color: rgba(255,255,255,.55); }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.footer strong { color: #fff; }
.footer small { display: block; margin-top: 8px; }
.footer p { margin: 0; font-size: 11px; line-height: 1.75; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .shell { width: min(100% - 34px, var(--max)); }
  .primary-nav { display: none; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 54px; }
  .hero-meta, .product-row, .method-grid, .loop { grid-template-columns: 1fr; }
  .section-heading, .advisory-layout, .scenario-layout, .focus-grid, .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .section-heading, .advisory-layout, .focus-grid, .about-grid, .contact-layout { gap: 38px; }
  .scroll-section { min-height: 0; padding: 82px 0; }
  .product, .product + .product, .method-step, .method-step + .method-step, .loop article { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid #cfd5cb; }
  .product h3, .method-step h3, .loop h3 { margin-top: 38px; }
  .loop article { padding: 30px; border-color: rgba(255,255,255,.18); }
  .scenario-tabs { display: grid; grid-template-columns: repeat(3,1fr); }
  .scenario-tabs button { padding: 14px 8px; border-right: 1px solid var(--line); font-size: 11px; }
  .scenario-tabs button span { display: none; }
  .scenario-panel h3 { margin-top: 80px; }
  .contact-layout { gap: 50px; }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .product-row { grid-template-columns: repeat(2, 1fr); }
  .product:nth-child(2) { border-right: 0; }
  .product:nth-child(-n+2) { border-bottom: 1px solid #cfd5cb; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 64px; }
  .brand strong { font-size: 13px; }
  .brand-mark { width: 32px; height: 32px; font-size: 17px; }
  .hero-inner { padding: 68px 0 54px; }
  .hero h1 { font-size: 43px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-meta { margin-top: 54px; }
  .hero-meta div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .section-heading h2, .about h2 { font-size: 36px; }
  .section-heading { margin-bottom: 42px; }
  .decision-visual { min-height: 360px; }
  .decision-core { width: 130px; height: 130px; }
  .scenario-panel { min-height: 400px; padding: 28px; }
  .scenario-panel h3 { font-size: 32px; }
  .focus-image { min-height: 390px; }
  .focus-image h3 { font-size: 27px; }
  .form-fields { grid-template-columns: 1fr; }
  .role-tabs { grid-template-columns: 1fr; }
  .role-tabs label { justify-content: flex-start; padding: 0 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .role-tabs label:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
