/* Buddylala 靜態頁共用 header / footer（site-chrome.js 配合 site-chrome-data.json）。
   品牌色：navy #1a365d、orange #ed8936。目標：與首頁 chrome 一致（連結、結構、色板）。
   使用頁面：/pricing.html、/developers.html、/capabilities.html 及其 /tw/ 版本。 */
:root{
  --sc-navy:#1a365d; --sc-orange:#ed8936; --sc-border:#e6e8ec;
  --sc-text:#2d3748; --sc-muted:#5f646c; --sc-bg-soft:#f7fafc;
}
.sc-header{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.97);
  backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--sc-border)}
.sc-header-inner{max-width:1180px;margin:0 auto;padding:.7rem 1.25rem;display:flex;align-items:center;gap:1rem}
.sc-logo{font-weight:800;font-size:1.05rem;color:var(--sc-navy);text-decoration:none;letter-spacing:-.01em;white-space:nowrap}
.sc-logo span{color:var(--sc-orange)}
.sc-nav{display:flex;align-items:center;gap:1rem;margin-left:auto;flex-wrap:nowrap}
.sc-nav>a,.sc-drop>button{font-family:inherit;font-size:.875rem;font-weight:500;color:var(--sc-muted);
  text-decoration:none;background:none;border:0;padding:.4rem .1rem;cursor:pointer;white-space:nowrap}
.sc-nav>a:hover,.sc-drop>button:hover,.sc-drop[data-open="1"]>button{color:var(--sc-orange)}
.sc-drop{position:relative;display:inline-block}
.sc-panel{position:absolute;top:calc(100% + .45rem);left:0;min-width:11rem;background:#fff;border:1px solid var(--sc-border);
  border-radius:.5rem;box-shadow:0 8px 24px rgba(26,54,93,.12);padding:.35rem;display:none;z-index:70;flex-direction:column}
.sc-drop[data-open="1"] .sc-panel{display:flex}
.sc-panel a{display:block;font-size:.875rem;color:var(--sc-muted);padding:.45rem .6rem;border-radius:.3rem;text-decoration:none;white-space:nowrap}
.sc-panel a:hover{background:#fff7ed;color:var(--sc-orange)}
.sc-cta{display:inline-flex;align-items:center;padding:.5rem 1.1rem;background:var(--sc-orange);color:#fff !important;
  border-radius:.5rem;font-weight:600;font-size:.875rem;text-decoration:none;white-space:nowrap}
.sc-cta:hover{background:#dd7723}
.sc-login{font-weight:600;color:var(--sc-navy) !important}
.sc-langwrap{position:relative;display:inline-block}
.sc-lang>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:.3rem;font-size:.875rem;
  font-weight:500;color:var(--sc-muted);padding:.25rem .5rem;user-select:none}
.sc-lang>summary::-webkit-details-marker{display:none}
.sc-langpanel{position:absolute;right:0;top:calc(100% + 6px);background:#fff;border:1px solid var(--sc-border);
  border-radius:.5rem;box-shadow:0 8px 24px rgba(26,54,93,.12);min-width:10rem;padding:.35rem;z-index:1000;
  display:flex;flex-direction:column}
.sc-langpanel a{font-size:.875rem;padding:.45rem .6rem;border-radius:.3rem;text-decoration:none;white-space:nowrap;color:var(--sc-muted)}
.sc-langpanel a[aria-current="true"]{font-weight:600;color:var(--sc-orange)}
.sc-langpanel a:hover{background:#fff7ed}
/* 手機 */
.sc-burger{display:none;margin-left:auto;width:42px;height:42px;border:1px solid var(--sc-border);border-radius:.5rem;
  background:#fff;cursor:pointer;padding:0}
.sc-burger span{display:block;width:18px;height:2px;background:var(--sc-navy);margin:3px auto;transition:.2s}
.sc-mobile{display:none;border-top:1px solid var(--sc-border);padding:.35rem 1.25rem 1.1rem;max-height:calc(100vh - 62px);overflow-y:auto}
.sc-mobile[data-open="1"]{display:block}
.sc-mobile details{border-bottom:1px solid var(--sc-border)}
.sc-mobile summary{list-style:none;cursor:pointer;padding:.8rem 0;font-weight:600;color:var(--sc-navy);
  display:flex;justify-content:space-between;align-items:center;min-height:44px;font-size:.95rem}
.sc-mobile summary::-webkit-details-marker{display:none}
.sc-mobile summary::after{content:"+";color:var(--sc-orange);font-weight:700}
.sc-mobile details[open] summary::after{content:"–"}
.sc-mobile a{display:block;padding:.6rem 0;font-size:.95rem;color:var(--sc-text);text-decoration:none;min-height:40px}
.sc-mobile .sc-lang .sc-langpanel{position:static;box-shadow:none;border:0;padding:0 0 .5rem .5rem}
/* footer */
.sc-footer{background:var(--sc-bg-soft);border-top:1px solid var(--sc-border);margin-top:4.5rem;padding:2.75rem 1.25rem 1.5rem}
.sc-footer-inner{max-width:1180px;margin:0 auto}
.sc-footer-tag{font-size:1.15rem;font-weight:700;color:var(--sc-navy);margin:0 0 1.5rem}
.sc-footer-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:1.75rem}
.sc-footer h4{margin:0 0 .65rem;font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;color:var(--sc-navy)}
.sc-footer a{display:block;font-size:.9rem;color:var(--sc-muted);text-decoration:none;padding:.22rem 0}
.sc-footer a:hover{color:var(--sc-orange)}
.sc-footer-bottom{max-width:1180px;margin:2rem auto 0;padding-top:1.1rem;border-top:1px solid var(--sc-border);
  font-size:.82rem;color:#718096}
@media(max-width:900px){
  .sc-nav{display:none}
  .sc-burger{display:block}
  .sc-header-inner{padding:.6rem 1.1rem;gap:.5rem}
}
@media(max-width:360px){
  .sc-header-inner{padding:.55rem .9rem}
  .sc-footer{padding:2.25rem .9rem 1.25rem}
  .sc-logo{font-size:.98rem}
}
