@font-face {
  font-family: "uKoi Display";
  src: url("assets/ukoi-display-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0020-00FF, U+2000-206F, U+2192;
}

:root {
  color-scheme: light;
  --ink: #101628;
  --text: #45536d;
  --muted: #56647e;
  --blue: #0847f7;
  --blue-ink: #143eb4;
  --paper: #f9faff;
  --white: #fff;
  --stage: #edf2ff;
  --line: #dce4f4;
  --hairline: #e3e8f3;
  --max: 1192px;
  --gutter: clamp(16px, 5.2vw, 70px);
  --stack: "uKoi Display", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --stack-zh: "uKoi Display", Inter, "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden], html[lang="en"] [data-lang="zh"], html[lang="zh-CN"] [data-lang="en"] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--stack); }
html[lang="zh-CN"] body { font-family: var(--stack-zh); }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
::selection { color: #122d77; background: #cbd8ff; }
input, textarea { accent-color: var(--blue); caret-color: var(--blue-ink); }
.wrap { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-170%); padding: 7px 13px; background: white; }
.skip:focus { transform: none; }

.header { background: var(--paper); border-bottom: 1px solid var(--hairline); }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 71px; gap: 15px; }
.logo { display: inline-flex; flex: none; align-items: center; min-height: 38px; }
.logo img { width: 112px; }
#site-nav, .header-controls { display: flex; align-items: center; }
#site-nav { gap: clamp(18px, 3vw, 36px); color: var(--text); font-weight: 570; font-size: 13px; }
#site-nav a { padding-block: 8px; }
#site-nav a:hover, .workspace-link:hover, .co-create-link:hover, .footer a:last-child:hover { color: var(--blue); }
.header-controls { gap: 18px; }
.language { display: inline-flex; align-items: center; min-height: 33px; padding: 2px; border: 1px solid var(--hairline); border-radius: 7px; background: #f0f3fa; }
.language button { min-height: 28px; padding: 3px 8px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.language button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px #17274a15; }
.workspace-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); white-space: nowrap; font-size: 13px; font-weight: 650; }

.hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.10fr); align-items: center; gap: clamp(29px, 4.35vw, 62px); padding-block: clamp(54px, 7.2vw, 104px) clamp(48px, 6.6vw, 92px); }
.hero h1 { max-width: 12em; font-size: clamp(42px, 4.06vw, 59px); line-height: 1.07; font-weight: 690; letter-spacing: -.04em; }
.hero h1 em { color: var(--blue-ink); font-style: normal; }
html[lang="zh-CN"] .hero h1 { line-height: 1.14; letter-spacing: -.035em; }
.hero-description { max-width: 43ch; margin-top: 23px; color: var(--text); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px 21px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 9px 15px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 680; line-height: 1.3; }
.button-primary { color: white; background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #073dcf; border-color: #073dcf; }
.button:disabled { opacity: .65; cursor: wait; }
.co-create-link { align-self: center; color: var(--text); font-size: 13px; font-weight: 600; text-decoration: underline; text-decoration-color: #bcc8e6; text-underline-offset: 4px; }
.arrow { display: inline-block; position: relative; flex: 0 0 12px; width: 12px; height: 12px; color: inherit; }
.arrow::before, .arrow::after { position: absolute; content: ""; }
.arrow::before { top: 5px; left: 1px; width: 9px; height: 1px; background: currentColor; }
.arrow::after { top: 3px; right: 2px; width: 5px; height: 5px; border: 1px solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.arrow.external { transform: rotate(-45deg); }
.arrow.backward { transform: rotate(180deg); }

.demo { min-width: 0; position: relative; padding: 12px; background: var(--stage); border: 1px solid #d7e1fa; border-radius: 16px; }
.demo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 31px; padding: 0 5px 8px; }
.demo-title { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 670; }
.blue-dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--blue); border-radius: 50%; }
.share-button { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; padding: 4px 7px; color: var(--blue-ink); background: transparent; border: 0; border-radius: 5px; font-size: 11px; font-weight: 670; white-space: nowrap; }
.share-button:hover { background: #dee8ff; }
.link-mark { position: relative; width: 13px; height: 12px; flex: none; transform: rotate(-34deg); }
.link-mark::after, .link-mark::before { position: absolute; top: 3px; width: 7px; height: 6px; content: ""; border: 1px solid currentColor; border-radius: 3px; }
.link-mark::before { left: 0; }
.link-mark::after { right: 0; }
.share-status { margin: 0 5px 8px; color: var(--blue-ink); font-size: 12px; }
.share-area { margin: 1px 5px 9px; color: var(--text); font-size: 12px; }
.share-area label { display: block; margin-bottom: 3px; }
.share-area input { width: 100%; padding: 5px 7px; border: 1px solid #ccd9f4; border-radius: 5px; color: var(--ink); background: #fff; }
.demo-request { display: grid; grid-template-columns: minmax(82px, .36fr) minmax(0, 1fr); align-items: start; gap: 8px; margin-bottom: 10px; padding: 10px 11px; border: 1px solid #d9e3fb; border-radius: 8px; color: #243d76; background: #e5edff; font-size: 14px; line-height: 1.45; }
.request-label { padding-top: 1px; color: #35538f; font-size: 12px; font-weight: 700; }
.demo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #dfe8fa; padding: 3px; border-radius: 8px; }
.demo-tabs button { min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 37px; padding: 4px 7px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #35486f; font-size: 12px; font-weight: 650; }
.demo-tabs button[aria-selected="true"] { color: #112e80; background: var(--white); border-color: #b9cbf2; }
.tab-step { display: grid; flex: 0 0 17px; width: 17px; height: 17px; place-items: center; color: #30477f; background: #eaf0ff; border-radius: 4px; font-size: 11px; font-weight: 700; line-height: 1; }
button[aria-selected="true"] .tab-step { color: white; background: var(--blue-ink); }
.result { position: relative; margin-top: 8px; padding: 15px 17px 11px; background: var(--white); border: 1px solid #d8e2f7; border-radius: 12px; }
.result[data-activated] { animation: reveal .32s cubic-bezier(.18,.65,.2,1) both; }
@keyframes reveal {
  from { opacity: .66; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding-bottom: 9px; }
.result-head h2 { font-size: clamp(17px, 1.65vw, 22px); line-height: 1.24; font-weight: 690; letter-spacing: -.03em; }
.status { flex: none; padding: 3px 7px; border-radius: 5px; color: #304a80; background: #edf2fc; white-space: nowrap; font-size: 11px; font-weight: 650; }
.result-rows { border-top: 1px solid var(--hairline); }
.result-rows > div { display: grid; grid-template-columns: minmax(82px, .35fr) minmax(0, 1fr); gap: 8px; padding: 9px 0; }
.result-rows > div + div { border-top: 1px solid var(--hairline); }
.result-rows dt { color: #273b64; font-size: 12px; font-weight: 660; }
.result-rows dd { color: var(--text); font-size: 14px; line-height: 1.42; }
.result-next { display: flex; justify-content: space-between; align-items: center; gap: 9px; border-top: 1px solid var(--hairline); padding-top: 9px; color: #263d70; font-size: 12px; }
.result-next strong { font-size: 12px; font-weight: 700; }
.result-next p { color: var(--muted); font-size: 12px; margin-top: 1px; }
.proposal-method { margin-top: 9px; padding-top: 7px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 12px; }
.text-button { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 3px 0 3px 4px; border: 0; background: transparent; color: var(--blue-ink); font-size: 12px; font-weight: 680; white-space: nowrap; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.result-action:focus-visible { outline-offset: 2px; }

.project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .96fr); align-items: center; gap: clamp(24px, 6vw, 82px); padding: 38px 0 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project h2 { color: var(--ink); font-size: clamp(25px, 3.02vw, 39px); line-height: 1.16; letter-spacing: -.038em; font-weight: 675; text-wrap: balance; }
.project p { color: var(--text); }
.project-intro p { max-width: 52ch; margin-top: 11px; font-size: 14px; }
.scope { display: grid; grid-template-columns: 1.22fr minmax(0, 1fr); column-gap: 18px; }
.scope > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 1px; }
.scope > div + div { padding-left: 17px; border-left: 1px solid var(--line); }
.scope dt { color: var(--text); font-size: 12px; font-weight: 600; }
.scope dd { color: var(--blue-ink); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; font-weight: 690; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.project-evidence > p { margin-top: 8px; font-size: 12px; }
.live-proof { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; font-weight: 620; color: #324b80; }
.live-proof .blue-dot { width: 5px; height: 5px; flex-basis: 5px; }

.pilot-section { padding-block: 31px; }
.pilot { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.pilot-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 13px 15px; cursor: pointer; }
.pilot-summary::-webkit-details-marker { display: none; }
.pilot-summary:focus-visible { outline-offset: -4px; }
.pilot-summary strong { color: var(--ink); font-size: 14px; font-weight: 670; }
.summary-note { margin-left: 7px; color: var(--text); font-size: 13px; }
.pilot-chevron { display: inline-block; width: 8px; height: 8px; flex: 0 0 8px; border: solid #365181; border-width: 0 1px 1px 0; transform: rotate(45deg) translate(-1px, -1px); }
.pilot[open] > .pilot-summary .pilot-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.apply-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); align-items: start; gap: clamp(20px, 4.5vw, 52px); padding: 26px; border-top: 1px solid var(--hairline); }
.apply-layout h2 { margin-bottom: 16px; font-size: 26px; font-weight: 690; letter-spacing: -.025em; }
.apply-layout h3 { margin-bottom: 4px; font-size: 14px; font-weight: 650; }
.after-apply ol, .pilot-process ol { padding-left: 19px; margin: 5px 0 0; color: var(--text); font-size: 13px; }
.after-apply li + li, .pilot-process li + li { margin-top: 5px; }
.pilot-process { margin-top: 14px; color: var(--blue-ink); font-size: 13px; }
.pilot-process summary { cursor: pointer; font-weight: 650; }
.pilot-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.form-field { min-width: 0; }
.form-field label { display: block; margin-bottom: 4px; color: #253658; font-size: 12px; font-weight: 650; }
.optional { color: var(--muted); font-weight: 450; }
.form-field input, .form-field textarea { display: block; width: 100%; min-height: 42px; padding: 7px 9px; border: 1px solid #ced9ee; border-radius: 7px; background: white; color: var(--ink); }
.form-field textarea { resize: vertical; }
.full { grid-column: 1/-1; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 11px; }
.preview-note { color: var(--muted); font-size: 12px; }
.form-status { padding: 10px 12px; color: #1d3c81; background: #edf2ff; border-radius: 6px; font-size: 12px; }
.form-status[data-status="error"] { color: #873127; background: #fbeeed; }
.form-status blockquote { margin: 5px 0 0; font-weight: 650; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13px 17px; padding-block: 14px 35px; color: var(--muted); font-size: 12px; }
.footer-logo img { width: 85px; }
.footer a:last-child { color: var(--text); font-weight: 630; }

@media (max-width: 1050px) and (min-width: 761px) {
  .hero h1 { font-size: clamp(36px, 4.35vw, 47px); }
  .hero { gap: clamp(20px, 3.4vw, 45px); }
  .result { padding-inline: 12px; }
  .demo-request, .result-rows > div { grid-template-columns: minmax(78px, .34fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .topbar { min-height: 57px; }
  #site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 29px 33px; gap: 21px; }
  .hero h1 { font-size: clamp(32px, 7.6vw, 52px); }
  .hero-description { margin-top: 12px; font-size: 14px; line-height: 1.55; }
  .hero-actions { margin-top: 15px; gap: 8px 13px; }
  .hero-actions .button { min-height: 43px; padding-inline: 12px; }
  .co-create-link { font-size: 12px; }
  .demo { max-width: 630px; }
  .project { padding-block: 26px 29px; gap: 18px; }
  .pilot-section { padding-block: 20px; }
}
@media (max-width: 520px) {
  .logo img { width: 96px; }
  .header-controls { gap: 8px; }
  .language button { padding-inline: 6px; }
  .workspace-link { gap: 2px; font-size: 11px; }
  .workspace-link .arrow { transform: rotate(-45deg) scale(.8); }
  .demo { padding: 8px; }
  .demo-top { min-height: 30px; padding: 0 3px 6px; }
  .demo-request { grid-template-columns: 1fr; gap: 2px; padding: 8px; font-size: 13px; }
  .demo-tabs button { min-height: 40px; }
  .result { padding: 11px 9px 6px; }
  .result-head { padding-bottom: 7px; }
  .result-rows > div { grid-template-columns: minmax(68px, .32fr) minmax(0, 1fr); gap: 7px; padding-block: 7px; }
  .result-rows dd { font-size: 13px; }
  .result-next { padding-top: 4px; }
  .project, .apply-layout { grid-template-columns: 1fr; }
  .apply-layout { padding: 17px; }
  .project-evidence { padding-top: 14px; border-top: 1px solid var(--hairline); }
  .summary-note { display: block; margin-left: 0; font-size: 12px; }
  .form-field input, .form-field textarea { font-size: 16px; }
}
@media (max-width: 365px) {
  .hero { padding-top: 22px; gap: 16px; }
  .hero h1 { font-size: 29px; }
  .co-create-link { font-size: 11px; }
  .hero-actions .button { font-size: 12px; }
  .pilot-form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .result { animation: none !important; }
}
