/* 卡皮巴拉官网：克制的编辑式布局，以原有水豚标识与暖橙作为品牌线索。 */
:root{
  --navy:#202725;
  --accent:#bd482e;
  --accent-2:#a93822;
  --accent-bg:#fbede7;
  --ink:#1b211f;
  --muted:#555f5b;
  --faint:#66706b;
  --bg:#f6f5f1;
  --line:#deded8;
  --radius:14px;
  --shadow:none;
}
html{scroll-padding-top:92px}
body{background:var(--bg);color:var(--ink);font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:15px;line-height:1.7}
::selection{background:#f3c9bb;color:#1b211f}
a{color:inherit}
button,input,select{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,249,246,.98);border-bottom:1px solid #e9e8e2;color:var(--ink)}
.header-inner{height:76px;gap:40px}
.brand{gap:11px}
.brand-logo{width:43px;height:43px;border:0;border-radius:8px;object-fit:cover}
.brand-name{color:var(--ink);font-size:16px;font-weight:700;letter-spacing:-.02em}
.brand-en{color:#6a6d69;font-size:10px;letter-spacing:.16em;font-weight:600}
.main-nav{justify-content:center;gap:32px}
.main-nav a{color:#444b47;font-size:14px;font-weight:500;padding:25px 0;border-radius:0}
.main-nav a:hover,.main-nav a.active{color:var(--ink);background:none;font-weight:600}
.main-nav a.active:after{height:2px;background:var(--accent)}
.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;border:1px solid var(--ink);border-radius:999px;background:var(--ink);color:#fff;font-size:13px;font-weight:600;white-space:nowrap;transition:background .2s,color .2s}
.header-cta:hover{background:transparent;color:var(--ink)}
.app{min-height:70vh}
.card{border:1px solid #e6e5df;border-radius:12px;box-shadow:none}
.route-home{padding-top:0;padding-bottom:0}
.brand-home{overflow:hidden}
.brand-hero{padding:88px 0 0}
.brand-hero-copy{max-width:930px;margin-bottom:58px}
.brand-hero h1{max-width:12em;color:#19211e;font-size:clamp(46px,6.2vw,78px);font-weight:600;letter-spacing:-.035em;line-height:1.18;text-wrap:balance}
.brand-hero-copy>p{max-width:650px;margin-top:28px;color:#4b5650;font-size:18px;line-height:1.9}
.brand-hero-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:34px}
.brand-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:999px;background:#202725;color:#fff;font-size:15px;font-weight:600;transition:background .2s,transform .2s}
.brand-button:hover{background:#394744;color:#fff;transform:translateY(-2px)}
.brand-text-link{display:inline-block;color:#202725;font-size:15px;font-weight:600;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px}
.brand-text-link:hover{color:var(--accent)}
.brand-hero-media{height:460px;position:relative;overflow:hidden;border-radius:18px;background:#b7aa97}
.brand-hero-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 48%}
.brand-hero-media figcaption{position:absolute;bottom:20px;left:24px;padding:8px 12px;border-radius:6px;background:rgba(23,29,26,.72);color:#fff;font-size:12px;letter-spacing:.04em}
.brand-belief{display:grid;grid-template-columns:1.12fr .88fr;gap:80px;align-items:start;padding:118px 0 122px;border-bottom:1px solid var(--line)}
.brand-belief h2,.brand-section-head h2,.brand-index-preview h2,.brand-closing h2{font-size:clamp(34px,4.2vw,56px);font-weight:600;letter-spacing:-.035em;line-height:1.28;text-wrap:balance}
.brand-belief>div{padding-top:9px}
.brand-belief p{max-width:540px;color:#47534e;font-size:18px;line-height:1.95;margin-bottom:30px}
.brand-journey{padding:106px 0 114px}
.brand-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:52px}
.brand-section-head p{max-width:320px;color:#626d67;font-size:15px}
.journey-list{border-top:1px solid #cfd2cc}
.journey-list article{display:grid;grid-template-columns:150px minmax(0,1fr) minmax(0,1.25fr);gap:28px;align-items:start;padding:30px 0 34px;border-bottom:1px solid #cfd2cc}
.journey-list article>span{color:var(--accent);font-size:14px;font-weight:700}
.journey-list h3{max-width:13em;color:#202725;font-size:27px;font-weight:600;letter-spacing:-.025em;line-height:1.45}
.journey-list p{color:#55605a;font-size:15px;line-height:1.85}
.journey-list a{grid-column:3;color:var(--accent);font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px}
.brand-index-preview{display:grid;grid-template-columns:1.1fr .9fr;gap:80px;padding:70px 76px;border-radius:18px;background:#202725;color:#fff}
.brand-index-preview h2{max-width:10em}
.brand-index-preview p{max-width:460px;margin:24px 0 32px;color:#d7ddd8;font-size:16px;line-height:1.9}
.brand-button-light{background:#f5efe8;color:#1e2623}
.brand-button-light:hover{background:#fff;color:#1e2623}
.brand-index-preview ul{list-style:none;align-self:center}
.brand-index-preview li{display:flex;align-items:center;gap:15px;border-bottom:1px solid #4a5550;padding:16px 0;font-size:18px}
.preview-dot{display:block;width:10px;height:10px;border-radius:50%;background:var(--preview-color);flex:none}
.brand-closing{display:flex;justify-content:space-between;align-items:end;gap:40px;padding:122px 0 130px}
.brand-closing h2{max-width:9em}
.brand-closing p{color:#56615b;font-size:17px;margin-bottom:18px}

/* 榜单入口保持完整功能，用更清晰的编辑式层级呈现。 */
.route-evaluation{padding-top:0}
.evaluation-intro{padding:76px 0 60px;max-width:870px}
.evaluation-intro h1{font-size:clamp(38px,5.2vw,62px);font-weight:600;letter-spacing:-.035em;line-height:1.2}
.evaluation-intro p{max-width:670px;margin:22px 0 24px;color:#52605a;font-size:18px;line-height:1.85}
.evaluation-intro a{color:var(--accent);font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:5px}
.route-evaluation .home-layout{gap:36px;grid-template-columns:minmax(0,2.5fr) minmax(270px,1fr)}
.route-evaluation .ranking-products{background:transparent;border:0;padding:0}
.route-evaluation .ranking-products>.section-heading{display:none}
.route-evaluation .ranking-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px 25px;background:transparent;color:var(--ink);border:0;border-top:1px solid #cfd2cc;border-radius:0;min-height:0;margin:0;padding:28px 0}
.route-evaluation .ranking-product:before{display:none}
.route-evaluation .ranking-product:last-of-type{border-bottom:1px solid #cfd2cc}
.route-evaluation .product-title{color:#202725}
.route-evaluation .product-title h2{font-size:26px;font-weight:600;letter-spacing:-.02em}
.route-evaluation .product-title h2:before{content:"";display:inline-block;width:9px;height:9px;margin-right:11px;border-radius:50%;background:var(--product-color);vertical-align:middle}
.route-evaluation .product-title span{color:#69736d;font-size:12px}
.route-evaluation .ranking-product p{white-space:normal;overflow:visible;color:#58625d;font-size:14px;line-height:1.8;margin:0}
.route-evaluation .product-tags{grid-column:1/-1;gap:8px;margin-top:10px}
.route-evaluation .product-tags button{min-height:31px;padding:5px 10px;color:#434d47;border:1px solid #d9dbd5;background:#fff;border-radius:999px;font-size:12px}
.route-evaluation .product-tags button:hover{color:var(--accent);border-color:var(--accent);background:#fff}
.route-evaluation .product-tags span{display:inline-flex;align-items:center;min-height:31px;padding:5px 10px;color:#52605a;border:1px solid #e2e4df;background:#f5f6f2;border-radius:999px;font-size:12px}
.route-evaluation .product-tags button[data-index]{margin-left:auto;background:var(--ink);border-color:var(--ink);color:#fff;font-weight:600}
.route-evaluation .product-tags button[data-index]:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.route-evaluation .home-sidebar{gap:14px}
.route-evaluation .home-sidebar>.card{padding:22px;border-radius:12px}
.route-evaluation .section-heading h2{font-size:19px;color:#202725}
.route-evaluation .home-image{display:none}
.route-evaluation .sample-note{margin-top:18px}

.ranking-method{margin:26px 0 36px}
.ranking-method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.ranking-method-grid article{padding:20px;border:1px solid #e3e6e0;border-radius:10px;background:#fafbf8}
.ranking-method-grid h3{margin:0 0 10px;font-size:17px;color:var(--ink)}
.ranking-method-grid p{margin:0;color:#58625d;font-size:14px;line-height:1.75}
@media(max-width:650px){.ranking-method-grid{grid-template-columns:1fr}.route-evaluation .product-tags button[data-index]{margin-left:0}}

/* 资料与工具页共用暖白色表面和卡皮巴拉强调色。 */
.ranking-hero{background-image:linear-gradient(90deg,rgba(21,33,34,.76),rgba(21,33,34,.1)),url('../assets/ranking-banner.png');min-height:310px}
.ranking-hero h1{font-size:38px;font-weight:600;letter-spacing:-.02em}
.ranking-hero p{font-size:15px;color:#f2f2ee}
.ranking-hero .crumb,.ranking-hero .crumb a{color:#e9efea}
.ranking-list{padding:24px}
.list-title h2{font-size:20px;color:#202725;border-left:0;padding-left:0}
.list-title>span,.list-controls,.rank-filter-panel summary{color:#59635d}
.rank-table thead th{background:#f0f1ed;color:#49534d}
.rank-table tbody td{color:#4a554f}
.comp-name,.comp-cell .comp-name{color:#202725}
.side-title{border-left:0;color:#202725;font-size:18px}
.side-link:hover,.side-link.active,.side-note a,.section-heading a{color:var(--accent)}
.directory-filter{background:#fbfaf7}
.directory-search{height:52px;border-radius:10px;background:#fff}
.frow{padding:12px 0;border-bottom:1px solid #ecebe6}
.frow-label{flex-basis:104px;color:#303936;font-size:14px}
.fchip{min-height:36px;padding:7px 10px;border-radius:6px;font-size:13px}
.directory-search button,.btn-primary{background:var(--accent);border-color:var(--accent)}
.directory-search button:hover,.btn-primary:hover{background:var(--accent-2)}
.fchip.active{background:var(--accent-bg);color:var(--accent-2)}
.fchip:hover{background:#f8ece6;color:var(--accent-2)}
.filter-expand,.directory-tags .tags-toggle{color:var(--accent-2)}
.filter-actions{border-top:0}
.directory-company{border:1px solid #e2e3dc;border-radius:12px}
.directory-name h2{color:#202725}
.directory-demo{border-radius:0 12px 0 8px}
.method-intro p,.classification-note p,.method-references p,.source-grid span{color:#59635d}
.sample-note,.filter-hint,.footer-legal{color:#5d6761}
.site-footer{background:#202725;color:#e9eee9;border:0;margin-top:0;padding:64px 0 30px}
.site-footer .footer-top{display:grid;grid-template-columns:minmax(300px,2fr) repeat(3,minmax(120px,1fr));gap:42px}
.footer-brand{display:flex;align-items:flex-start;gap:15px}
.footer-brand .brand-logo{width:48px;height:48px;flex:none}
.footer-brand strong{display:block;color:#fff;font-size:18px}
.footer-brand p{max-width:260px;margin-top:6px;color:#c7d0ca;font-size:13px;line-height:1.7}
.site-footer .footer-h{color:#fff;font-size:13px;font-weight:700;margin-bottom:14px}
.site-footer .footer-links{display:flex;flex-direction:column;align-items:flex-start;gap:9px;color:#c7d0ca;font-size:13px}
.site-footer .footer-links a{color:#c7d0ca}
.site-footer .footer-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-bottom{border-top:1px solid #49544e;margin-top:58px;padding-top:24px;color:#c7d0ca;font-size:12px}
.site-footer .footer-legal{color:#c7d0ca;font-size:12px;line-height:1.7;margin-top:12px}
@media(max-width:1000px){
  .header-inner{gap:22px}.main-nav{gap:18px}
  .brand-belief{gap:45px}
  .brand-index-preview{gap:40px;padding:55px}
  .route-evaluation .home-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}
}
@media(max-width:760px){
  .header-inner{height:auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand cta" "nav nav";gap:8px 12px;padding-top:10px;padding-bottom:0}
  .brand{grid-area:brand;width:auto;min-width:0}.brand-name{font-size:15px}.brand-logo{width:37px;height:37px}
  .header-cta{grid-area:cta;min-height:35px;font-size:12px;padding:6px 13px}
  .main-nav{grid-area:nav;width:100%;min-width:0;justify-content:flex-start;gap:22px;overflow-x:auto;scrollbar-width:none}
  .main-nav::-webkit-scrollbar{display:none}
  .main-nav a{font-size:13px;padding:10px 0 13px}
  .route-home{padding-left:18px;padding-right:18px}
  .brand-hero{padding-top:52px}.brand-hero-copy{margin-bottom:38px}
  .brand-hero h1{font-size:clamp(32px,9vw,38px);letter-spacing:-.025em;line-height:1.22}
  .brand-hero-copy>p{font-size:15px;margin-top:23px}
  .brand-hero-actions{gap:20px;margin-top:27px}.brand-button{min-height:44px;padding:10px 19px;font-size:14px}
  .brand-text-link{font-size:14px}
  .brand-hero-media{height:320px;border-radius:13px}.brand-hero-media img{object-position:61% center}.brand-hero-media figcaption{left:13px;bottom:13px;font-size:10px}
  .brand-belief{grid-template-columns:1fr;gap:25px;padding:78px 0}.brand-belief h2,.brand-section-head h2,.brand-index-preview h2,.brand-closing h2{font-size:36px}
  .brand-belief p{font-size:15px}.brand-journey{padding:76px 0}
  .brand-section-head{display:block;margin-bottom:35px}.brand-section-head p{margin-top:17px}
  .journey-list article{grid-template-columns:1fr;gap:8px;padding:23px 0 27px}
  .journey-list h3{font-size:23px}.journey-list p,.journey-list a{grid-column:1}
  .brand-index-preview{grid-template-columns:1fr;gap:18px;padding:37px 27px;border-radius:13px}
  .brand-index-preview p{font-size:14px}.brand-index-preview li{font-size:16px}
  .brand-closing{display:block;padding:84px 0 96px}.brand-closing>div{margin-top:25px}
  .evaluation-intro{padding:50px 0 40px}.evaluation-intro p{font-size:15px}
  .route-evaluation .home-layout{grid-template-columns:1fr}.route-evaluation .ranking-product{grid-template-columns:1fr;gap:8px}
  .route-evaluation .product-title h2{font-size:23px}.route-evaluation .product-tags{grid-column:1}
  .ranking-hero h1{font-size:28px}.ranking-list{padding:14px}
  .frow{gap:8px}.frow-label{flex-basis:76px;font-size:12px}.fchip{min-height:34px;padding:5px 7px;font-size:12px}
  .site-footer{padding:46px 0 26px}.site-footer .footer-top{grid-template-columns:1fr 1fr;gap:32px 20px}
  .footer-brand{grid-column:1/-1}.site-footer .footer-bottom{margin-top:38px}
}
@media(prefers-reduced-motion:reduce){.brand-button,.header-cta{transition:none}.brand-button:hover{transform:none}}
