:root {
  --ink: #172238; --muted: #657087; --blue: #2555d9; --blue-dark: #173fae;
  --blue-soft: #edf2ff; --green: #168660; --amber: #9a6419; --red: #a73a48;
  --line: #dfe5ee; --paper: #fff; --bg: #f4f6f9;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink); background: var(--bg); color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 10% 8%,#dfe8ff 0,transparent 27%),radial-gradient(circle at 92% 28%,#d9f0e9 0,transparent 24%),var(--bg); }
button, textarea, input { font: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; max-width: 1180px; margin: auto; padding: 18px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; background: rgba(244,246,249,.78); backdrop-filter: blur(18px); }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; }
.brand>span { width: 44px; height: 44px; display: grid; place-items: center; color: white; background: linear-gradient(145deg,var(--blue),#4a77ef); border-radius: 13px; font-size: 21px; font-weight: 800; box-shadow: 0 8px 22px rgba(37,85,217,.23); }
.brand strong,.brand small { display: block; }.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.header-nav { display: flex; gap: 7px; }.header-nav a { padding: 8px 12px; color: #4b5870; text-decoration: none; border-radius: 9px; font-size: 12px; }.header-nav a:hover { color: var(--blue); background: rgba(255,255,255,.7); }
.status { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.78); color: var(--muted); font-size: 12px; white-space: nowrap; }
.status i { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #29a66f; box-shadow: 0 0 0 4px rgba(41,166,111,.12); }
main { max-width: 1120px; margin: auto; padding: 60px 28px 80px; }
.hero { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 62px; align-items: end; margin-bottom: 54px; }
.hero-copy { max-width: 760px; }.eyebrow { margin: 0; color: var(--blue)!important; font-size: 11px!important; font-weight: 800; letter-spacing: .18em; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(38px,5.6vw,68px); line-height: 1.1; letter-spacing: -.045em; }.hero-copy>p:not(.eyebrow) { max-width: 660px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }.trust-row span { padding: 7px 10px; color: #42516a; background: rgba(255,255,255,.66); border: 1px solid rgba(215,222,234,.85); border-radius: 999px; font-size: 11px; }
.flow-card { padding: 22px; border: 1px solid rgba(215,222,234,.9); border-radius: 20px; background: rgba(255,255,255,.68); box-shadow: 0 20px 55px rgba(25,43,74,.06); }.flow-card>strong { font-size: 13px; }.flow-card ol { display: grid; gap: 17px; margin: 18px 0 0; padding: 0; list-style: none; }.flow-card li { display: flex; gap: 12px; align-items: start; }.flow-card b { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; color: var(--blue); background: var(--blue-soft); border-radius: 9px; font-size: 10px; }.flow-card span { font-size: 12px; font-weight: 700; line-height: 1.4; }.flow-card small { color: var(--muted); font-size: 10px; font-weight: 400; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.service-card { scroll-margin-top: 96px; padding: 28px; border: 1px solid rgba(215,222,234,.9); border-radius: 24px; background: rgba(255,255,255,.93); box-shadow: 0 20px 65px rgba(25,43,74,.08); }
.card-head { display: flex; gap: 15px; align-items: center; margin-bottom: 25px; }.number { width: 42px; height: 42px; display: grid; place-items: center; color: var(--blue); background: var(--blue-soft); border-radius: 12px; font-weight: 800; }
h2 { margin: 0 0 4px; font-size: 21px; }.card-head p { margin: 0; color: var(--muted); font-size: 12px; }
form { display: grid; gap: 10px; } label { margin-top: 7px; color: #46536a; font-size: 12px; font-weight: 700; }
textarea,input { width: 100%; padding: 13px 14px; resize: vertical; color: var(--ink); background: #f9fafc; border: 1px solid var(--line); border-radius: 12px; outline: none; font-size: 14px; line-height: 1.6; transition: border-color .15s,box-shadow .15s,background .15s; }
textarea:focus,input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,85,217,.1); background: #fff; }
.examples { display: flex; flex-wrap: wrap; gap: 6px; }.examples button { margin: 0; padding: 5px 8px; color: #52617a; background: #f3f5f9; border: 1px solid #e4e8ef; border-radius: 8px; font-size: 10px; cursor: pointer; }.examples button:hover { color: var(--blue); border-color: #b8c7ef; }
.primary-button { margin-top: 9px; padding: 13px 16px; display: flex; justify-content: space-between; border: 0; border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--blue),var(--blue-dark)); font-weight: 750; cursor: pointer; box-shadow: 0 9px 22px rgba(37,85,217,.16); }.primary-button:hover { filter: brightness(1.04); }.primary-button:disabled { opacity: .6; cursor: wait; }
.result { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }.hidden { display: none!important; }
.result-summary { display: flex; justify-content: space-between; gap: 12px; align-items: start; margin-bottom: 12px; }.result-summary strong { font-size: 14px; }.result-summary p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.mode-badge,.confidence { padding: 4px 7px; border-radius: 7px; font-size: 9px; font-weight: 700; white-space: nowrap; }.mode-badge { color: #3150aa; background: #edf2ff; }.confidence.medium { color: var(--green); background: #eaf8f2; }.confidence.low { color: var(--amber); background: #fff6e8; }
.candidate { margin-top: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }.candidate.featured { border-color: #aebff2; background: #f5f7ff; }
.candidate-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; }.candidate h3 { margin: 0; font-size: 14px; line-height: 1.5; }.candidate-meta { display: flex; gap: 6px; align-items: center; }.product-id { padding: 4px 6px; color: var(--blue); background: rgba(37,85,217,.08); border-radius: 6px; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; }
.candidate p,.answer p { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }.evidence-list { display: grid; gap: 7px; margin-top: 11px; }.evidence { display: flex; gap: 7px; align-items: start; padding: 8px 9px; background: rgba(255,255,255,.68); border-radius: 9px; font-size: 10px; line-height: 1.45; }.evidence i { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #8a97ac; }.evidence.confirmed i { background: var(--green); }.evidence.similar i { background: var(--blue); }.evidence.unknown i { background: #d69230; }
.candidate-actions,.handoff-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }.secondary-button { padding: 7px 10px; color: #3d4a61; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-size: 10px; font-weight: 700; cursor: pointer; }.secondary-button:hover { color: var(--blue); border-color: #b8c7ef; }
.warning,.danger-note,.success-note { margin-top: 12px; padding: 11px 12px; border-radius: 10px; font-size: 11px; line-height: 1.6; }.warning { color: #82531a; background: #fff7e8; }.danger-note { color: #8d3340; background: #fff0f2; }.success-note { color: #176a4e; background: #eaf8f2; }
.answer { padding: 15px; color: #243149; background: #f3f7ff; border-radius: 13px; line-height: 1.75; }.answer strong { display: block; margin-bottom: 7px; }.next-step { margin-top: 11px; padding: 11px 12px; border-left: 3px solid var(--blue); color: #3d4a61; background: #f8faff; font-size: 11px; line-height: 1.6; }
.notice { margin-top: 24px; padding: 19px 22px; display: flex; gap: 20px; align-items: start; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.66); }.notice strong { white-space: nowrap; }.notice p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
footer { max-width: 1120px; margin: auto; padding: 26px 28px 42px; display: flex; justify-content: space-between; border-top: 1px solid rgba(180,190,205,.5); color: var(--muted); font-size: 11px; } footer p { margin: 0; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: 360px; padding: 13px 16px; color: #fff; background: #172238; border-radius: 11px; box-shadow: 0 15px 40px rgba(20,30,50,.25); font-size: 13px; }.toast.error { background: #aa3743; }
@media(max-width:900px){.hero{grid-template-columns:1fr}.flow-card{display:none}.header-nav{display:none}}
@media(max-width:800px){.service-grid{grid-template-columns:1fr}.hero{margin-bottom:34px}.hero h1{font-size:40px}main{padding:34px 18px 70px}.site-header{padding:15px 18px}.status{display:none}.service-card{padding:22px}.notice{display:block}.notice p{margin-top:8px}footer{display:block;padding-inline:18px}footer p{margin-top:8px}.candidate-head{display:block}.candidate-meta{margin-top:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
