/* Selected black/gold homepage. Facts, counts and permissions use saved records. */
:root{color-scheme:dark;--home-bg:#161616;--hero-bg:#0b0b0a;--home-white:#f3f1eb;--home-muted:#b9ad98;--home-gold:#dfc68e;--home-border:#2c2a25}
*{box-sizing:border-box}html{min-width:320px}body.home-guided{margin:0;background:var(--home-bg);color:var(--home-white);font-family:"PingFang SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,summary{font:inherit}a{color:inherit}button,summary,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #eed6a3;outline-offset:4px}[hidden]{display:none!important}
.skip-link{position:fixed;z-index:30;top:8px;left:16px;transform:translateY(-160%);padding:10px 16px;background:#dfc68e;color:#151510;border-radius:8px}.skip-link:focus{transform:none}
.home-shell{width:min(1280px,calc(100% - 64px));margin:0 auto}.home-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px}.home-header-left,.home-header-right{display:flex;align-items:center}.home-header-left{gap:16px}.official-brand{display:inline-flex;align-items:center;gap:14px;text-decoration:none;min-height:44px;white-space:nowrap}.official-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#dcc58b;color:#1c1c16;font-size:13px;font-weight:700}.brand-name{font-size:15px;font-weight:700;letter-spacing:.25px}
 details{position:relative}summary{list-style:none;cursor:pointer}summary::-webkit-details-marker{display:none}.project-picker summary{display:flex;align-items:center;gap:9px;min-height:40px;padding:0 15px;border:1px solid #39352e;border-radius:22px;font-size:14px}.project-picker summary img,.home-tools summary img{filter:brightness(0) saturate(100%) invert(83%) sepia(8%) saturate(504%) hue-rotate(356deg) brightness(90%) contrast(88%)}.project-picker[open] summary img,.home-tools[open] summary img{transform:rotate(180deg)}.project-menu,.tools-menu{position:absolute;z-index:8;top:calc(100% + 8px);min-width:195px;border:1px solid #4a4435;border-radius:12px;background:#24221e;box-shadow:0 12px 34px #0007}.project-menu{left:0;padding:14px 16px}.project-menu strong,.project-menu span{display:block}.project-menu strong{font-size:14px;font-weight:600}.project-menu span{margin-top:5px;font-size:12px;color:var(--home-muted)}.home-header-right{gap:23px;color:#bdb8ae;font-size:13px}.home-tools summary{display:flex;align-items:center;gap:5px;min-height:44px}.tools-menu{right:0;padding:6px}.tools-menu a{display:flex;align-items:center;min-height:44px;padding:10px 12px;border-radius:7px;color:var(--home-white);text-decoration:none;font-size:14px}.tools-menu a:hover{background:#383228;color:#ead2a1}.home-access-mode{color:#989284;white-space:nowrap}.home-login{display:inline-flex;align-items:center;min-height:44px;color:var(--home-gold);text-decoration:none;white-space:nowrap}.home-login:hover{text-decoration:underline;text-underline-offset:4px}
.home-hero{display:grid;grid-template-columns:minmax(0,1fr) 537px;column-gap:48px;align-items:center;min-height:490px;padding:43px 48px 44px;border:1px solid #282722;border-radius:28px;background:var(--hero-bg)}.hero-copy{min-width:0}.hero-copy h1{margin:0;font-size:64px;line-height:1.08;font-weight:700;letter-spacing:-1.7px}.hero-copy h1>span{color:var(--home-gold)}.hero-description{max-width:565px;margin:20px 0 0;color:var(--home-muted);font-size:18px;line-height:1.6}.hero-stat{margin-top:22px}.hero-stat-label{margin:0;color:#aaa08d;font-size:14px;line-height:1.6}.hero-stat-value{display:flex;align-items:baseline;gap:10px;margin:0;line-height:1.2}.hero-stat-value>strong{color:#ed6b51;font-size:44px;font-weight:650;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.hero-stat-value>span{font-size:18px}.hero-stat-value b{font-weight:500;font-variant-numeric:tabular-nums}.hero-review-note{margin:4px 0 0;font-size:12px;line-height:1.4;color:#998c76}.hero-actions{display:flex;align-items:center;gap:18px;margin-top:15px}.hero-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:12px 25px;border-radius:11px;background:var(--home-gold);color:#14150f;text-decoration:none;font-size:18px;font-weight:650;white-space:nowrap}.hero-primary:hover{background:#ecd4a1}.icon-right{transform:rotate(45deg)}.hero-help{color:#9d9078;font-size:13px;line-height:1.6;white-space:nowrap}
.hero-case{min-width:0;min-height:400px;padding:21px 26px 15px;border-radius:24px;background:#f1f0eb;color:#242621;color-scheme:light}.case-tags{display:flex;align-items:center;justify-content:space-between;gap:12px}.case-risk{padding:4px 9px;border-radius:6px;background:#bd412c;color:#fff;font-size:13px;line-height:1.4;font-weight:600}.case-record{padding:3px 7px;border:1px dashed #b3aa99;border-radius:6px;color:#8c8371;font-size:12px;line-height:1.4;white-space:nowrap}.hero-case h2{margin:18px 0 4px;font-size:23px;line-height:1.35;font-weight:650;letter-spacing:-.5px}.case-question{margin:0;color:#807868;font-size:14px;line-height:1.7}.case-comparison{margin-top:10px}.case-label{margin:0;color:#8b8170;font-size:14px;line-height:1.5}.case-comparison blockquote{margin:2px 0 3px;font-size:28px;font-weight:650;line-height:1.4;letter-spacing:-.8px;white-space:nowrap}.case-comparison s{text-decoration-color:#c5452f;text-decoration-thickness:3px}.case-down{display:block;width:18px;height:18px;transform:rotate(135deg);opacity:.45;margin:0 0 2px}.case-correct{margin:0;color:#8b621b;font-size:36px;line-height:1.23;font-weight:650;letter-spacing:-.8px}.case-source{margin:3px 0 0;color:#8b8170;font-size:12px;line-height:1.4}.case-impact{margin:8px 0 10px;color:#625845;font-size:14px;line-height:1.65}.case-open{text-decoration:none;display:inline-flex;align-items:center;gap:5px;width:100%;min-height:40px;padding:11px 0 0;border:0;border-top:1px solid #dcd7cb;background:transparent;color:#50402a;font-size:14px;font-weight:650;text-align:left}.case-open:hover{color:#926727}
.home-steps{margin-top:21px}.steps-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:9px}.steps-heading h2{margin:0;font-size:20px;line-height:1.5;font-weight:650}.steps-heading p{margin:0;color:#9b8d76;font-size:13px;line-height:1.6}.steps-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:64px;padding:0;margin:0;list-style:none}.step-item{position:relative;min-width:0}.step-card{display:flex;flex-direction:column;min-height:143px;padding:14px 16px 11px;border:1px solid var(--home-border);border-radius:17px;background:#111110;text-decoration:none}.is-start .step-card{border-color:#dbc18a;background:#181713}.step-card:hover{border-color:#a69064;background:#1c1a16}.step-top{display:flex;align-items:center;gap:8px;min-height:24px}.step-number{display:grid;place-items:center;width:24px;height:24px;border:1px solid #574c36;border-radius:50%;color:#d9bd7d;font-size:12px;font-weight:600}.is-start .step-number{border-color:var(--home-gold);background:var(--home-gold);color:#1c1c13}.step-start{padding:2px 8px;border-radius:5px;background:var(--home-gold);color:#282415;font-size:12px;line-height:1.4}.step-card h3{margin:8px 0 0;font-size:26px;line-height:1.35;font-weight:650;letter-spacing:-.5px}.step-card>p{margin:3px 0 0;color:var(--home-muted);font-size:13px;line-height:1.55;white-space:nowrap}.step-footer{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto;padding-top:3px;font-size:12px;line-height:1.6;white-space:nowrap}.step-footer b{font-weight:500;font-variant-numeric:tabular-nums}.step-visit{display:inline-flex;align-items:center;gap:2px;color:var(--home-gold)}.step-visit img,.step-arrow{filter:brightness(0) saturate(100%) invert(80%) sepia(21%) saturate(629%) hue-rotate(356deg) brightness(88%) contrast(85%)}.step-arrow{position:absolute;top:52px;left:calc(100% + 13px);pointer-events:none}.home-data-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;min-height:32px;margin-top:10px;color:#8e8270;font-size:12px;line-height:1.7}.home-data-status button{min-height:36px;padding:5px 12px;border:1px solid #716042;border-radius:6px;color:#e1c68f;background:#242119}.toast{position:fixed;bottom:24px;left:50%;z-index:50;max-width:calc(100vw - 32px);transform:translateX(-50%);padding:10px 16px;border-radius:8px;background:#e2c995;color:#252318;opacity:0;pointer-events:none;font-size:14px}.toast.is-visible{opacity:1}
@media(min-width:1400px){.home-shell{width:calc(100% - 160px);max-width:1280px}}
@media(max-width:1280px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(430px,.93fr);padding:36px;gap:32px}.hero-copy h1{font-size:clamp(45px,4.5vw,60px)}.hero-description{font-size:17px}.hero-actions{flex-wrap:wrap;gap:8px;margin-top:17px}.hero-primary{font-size:16px;padding-inline:18px}.hero-case{padding:21px 22px 15px}.hero-case h2{font-size:21px}.case-comparison blockquote{font-size:24px}.case-correct{font-size:31px}.steps-list{gap:36px}.step-arrow{left:calc(100% + 2px);width:32px;height:32px}.step-card{padding-inline:13px}.step-card h3{font-size:24px}.step-card>p{font-size:12px}.step-footer{font-size:11px}}
@media(max-width:1000px){.home-shell{width:calc(100% - 40px)}.home-hero{padding:30px;gap:26px;grid-template-columns:minmax(0,1fr) minmax(350px,1fr)}.hero-copy h1{font-size:42px;letter-spacing:-1px}.hero-description{font-size:16px;line-height:1.65;margin-top:20px}.hero-stat{margin-top:20px}.hero-stat-value>span{font-size:16px}.hero-stat-value>strong{font-size:38px}.hero-case h2{font-size:21px}.case-comparison blockquote{font-size:21px;white-space:normal}.case-correct{font-size:28px}.case-record{font-size:11px}.steps-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.step-card{min-height:149px;padding-inline:16px}.step-card>p{font-size:13px}.step-footer{font-size:12px}.step-arrow{display:none}}
@media(max-width:760px){.home-shell{width:calc(100% - 32px)}.home-header{flex-wrap:wrap;gap:0;min-height:105px;padding:8px 0 10px}.home-header-left{justify-content:space-between;width:100%;gap:12px}.official-brand{gap:9px}.brand-name{font-size:13px}.project-picker summary{font-size:12px;min-height:38px;padding-inline:11px;gap:5px}.home-header-right{width:100%;justify-content:flex-end;gap:18px;font-size:12px}.home-tools summary,.home-login{min-height:38px}.tools-menu{right:-8px}.home-hero{grid-template-columns:1fr;gap:30px;padding:27px 23px 24px;border-radius:22px}.hero-copy h1{font-size:clamp(29px,8.3vw,43px);line-height:1.2;letter-spacing:-.8px}.hero-description{font-size:15px;margin-top:19px;line-height:1.7}.hero-stat{margin-top:23px}.hero-stat-label{font-size:13px}.hero-stat-value>strong{font-size:40px}.hero-stat-value>span{font-size:15px}.hero-review-note{font-size:12px}.hero-actions{gap:10px;margin-top:19px}.hero-primary{justify-content:space-between;width:100%;min-height:52px;padding:12px 17px;font-size:15px}.hero-help{font-size:12px}.hero-case{min-height:auto;padding:19px 20px 15px;border-radius:19px}.case-tags{gap:8px}.case-risk{font-size:11px;padding-inline:7px}.case-record{font-size:10px;padding-inline:5px}.hero-case h2{font-size:20px;line-height:1.45;margin-top:16px}.case-question{font-size:12px}.case-comparison{margin-top:18px}.case-label{font-size:12px}.case-comparison blockquote{font-size:22px;letter-spacing:-.6px;line-height:1.5}.case-correct{font-size:28px;line-height:1.4}.case-source{font-size:11px}.case-impact{font-size:13px}.case-open{min-height:44px;font-size:13px}.home-steps{margin-top:23px;padding-bottom:20px}.steps-heading{display:block;margin-bottom:13px}.steps-heading h2{font-size:20px}.steps-heading p{margin-top:4px;font-size:12px}.steps-list{grid-template-columns:1fr 1fr;gap:12px}.step-card{min-height:151px;padding:13px 13px 12px;border-radius:14px}.step-card h3{font-size:23px}.step-card>p{font-size:12px;white-space:normal}.step-footer{gap:3px;font-size:11px}.step-visit{gap:0}.step-start{font-size:10px;padding-inline:5px}.step-top{gap:5px}.home-data-status{margin-top:12px;font-size:11px}}
@media(max-width:380px){.home-shell{width:calc(100% - 24px)}.home-hero{padding-inline:18px}.hero-primary{font-size:14px;padding-inline:13px}.step-card{padding-inline:11px}.step-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Existing traceable case dialog styles. */
.hero-copy h1{letter-spacing:0}
.step-card{height:100%}
@media(max-width:760px){.hero-copy h1{letter-spacing:-.8px}.case-comparison blockquote{font-size:20px}.home-tools summary,.home-login,.project-picker summary{min-height:44px}}
.home-real-case { box-sizing: border-box; width: min(880px, calc(100vw - 32px)); max-height: min(88dvh, 860px); margin: auto; padding: 0; border: 1px solid #d9d2c4; border-radius: 16px; background: #f1efeb; color: #25231e; text-align: left; box-shadow: 0 24px 90px #0006; font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", sans-serif; }
.home-real-case::backdrop { background: #10100fc9; }
.home-case-header { position: sticky; top: 0; z-index: 1; padding: 21px 26px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; background: #f8f7f4; border-bottom: 1px solid #dfdbd3; }
.home-case-header p { margin: 0 0 6px; font-size: 12px; color: #6a6355; }
.home-case-header h2 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 650; letter-spacing: -.5px; }
.home-case-header button { flex: 0 0 36px; width: 36px; height: 36px; padding: 0; border: 1px solid #d9d2c6; border-radius: 50%; background: transparent; color: #514b40; font: inherit; font-size: 25px; cursor: pointer; }
.home-case-body { padding: 22px 26px 26px; font-size: 14px; line-height: 1.8; }
.home-case-body a { color: #4f4633; font-weight: 600; text-underline-offset: 4px; }
.home-case-intro { margin: 0 0 12px; font-size: 12px; color: #6f675a; }
.home-case-conclusion { margin: 0 0 22px; font-size: 17px; line-height: 1.75; font-weight: 600; }
.home-case-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.home-case-comparison section { padding: 19px 20px; border: 1px solid #ddd7cd; border-radius: 10px; background: #fff; }
.home-case-body h3 { margin: 0 0 12px; font-size: 15px; line-height: 1.6; font-weight: 650; }
.home-case-original blockquote { margin: 16px 0 26px; padding: 0; border: 0; font-size: 19px; line-height: 1.85; color: #ac352d; }
.home-case-source > p { margin: 0 0 14px; }
.home-case-calculation { padding: 12px 15px; background: #edf3f6; border-radius: 7px; }
.home-case-calculation > span { display: block; font-size: 12px; color: #416375; }
.home-case-calculation strong { display: block; font-size: 29px; line-height: 1.7; font-weight: 600; color: #225b7d; font-variant-numeric: tabular-nums; }
.home-case-calculation small { margin-left: 7px; font-size: 12px; font-weight: 500; }
.home-case-calculation p { margin: 0; font-size: 12px; color: #416375; }
.home-case-source p.home-case-condition { margin: 12px 0; font-size: 12px; color: #6a655c; }
.home-case-detail { margin-top: 15px; padding: 12px 15px; background: #e8e4dc; border-radius: 7px; }
.home-case-detail summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.home-case-detail p { margin: 12px 0 0; color: #625b4e; }
.home-case-next { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; padding: 19px 20px; background: #e9dfca; border-radius: 10px; }
.home-case-next h3 { margin-bottom: 5px; }
.home-case-next p { margin: 0; font-size: 13px; }
.home-case-next a.home-case-primary { flex-shrink: 0; display: inline-block; padding: 10px 13px; border-radius: 7px; color: #f4ead5; background: #26251f; font-size: 13px; text-decoration: none; }
.home-case-work { margin-top: 20px; padding: 16px 20px; border: 1px solid #d9d2c4; border-radius: 10px; }
.home-case-work h3 { margin-bottom: 6px; }
.home-case-work p { margin: 0 0 7px; font-size: 13px; }
.home-case-record-note { margin: 18px 0 0; font-size: 12px; color: #766d5d; }

.home-real-case{color-scheme:light}.home-case-header button{min-width:44px;min-height:44px}.home-case-source{min-width:0}.home-case-body{overflow-wrap:anywhere}
@media(max-width:760px){.home-real-case{width:calc(100vw - 20px);max-height:91dvh;border-radius:12px}.home-case-header{padding:17px 18px 14px}.home-case-header h2{font-size:20px}.home-case-body{padding:18px}.home-case-conclusion{font-size:16px}.home-case-comparison{grid-template-columns:1fr}.home-case-original blockquote{margin-bottom:15px;font-size:18px}.home-case-next{display:block}.home-case-next a.home-case-primary{margin-top:13px}}
