/* Action Card Support 两页（#143430）的样式。数值照设计稿（Claude Design 离线稿 Action Card Support / FAQ，
   桌面 1440、手机 390 两张），中间宽度按同一套规则补：≤1023px 换手机顶栏（同落地页），≤899px 问答页收起左侧目录
   （同设计稿问答页的断点），≤759px 首页换手机排版（同落地页页脚的断点）。
   顶栏是落地页浅色状态那一版（白底、#474747 字、logo 反白），二级菜单面板的样式在 nav-menu.css；页脚照落地页 ch/footer。
   由 scripts/build-action-card-support.mjs 拷进 sites/action-card-support/assets/，改这里再跑一次脚本。 */

:root{
  --nav:72px;
  --accent:#4DAF4E; --accent-hover:#3A9E3B;
  --head:#1A1A1A; --body:#3D3D3D; --muted:#6B7B84; --line:#EEEEEE; --strong:#BBC7CE;
  --subtle:#F5F5F3; --raised:#EEF1F3; --legal:#878484;
  --font:'Lato',Arial,Helvetica,sans-serif;
  --wrap:min(1280px,calc(100% - 160px));
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--nav) + 24px)}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{background:#fff;color:var(--body);font-family:var(--font);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
img,svg{display:block}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[hidden]{display:none !important}
.i{flex:none;width:24px;height:24px}
.skip{position:absolute;left:16px;top:-60px;z-index:20;padding:10px 16px;border-radius:6px;background:var(--head);color:#fff;font-size:14px}
.skip:focus{top:12px}

/* ── 顶栏：同落地页 #nav（外壳页 <style> 里那几条，取浅色状态），吸顶 ─────────── */
#nav{position:sticky;top:0;height:var(--nav);z-index:10;display:flex;align-items:center;justify-content:space-between;gap:clamp(16px,2vw,40px);
  padding:0 max(16px,4vw);background:#fff;color:#474747;border-bottom:1px solid rgba(0,0,0,.08)}
#nav .home{display:flex;flex:none}
#nav .logo{height:24px;width:auto;flex:none;filter:invert(.9)}
#nav ol{flex:1;min-width:0;display:flex;justify-content:center;gap:clamp(8px,1.2vw,20px);list-style:none}
#nav li a{display:block;padding:0 clamp(6px,.6vw,12px);height:var(--nav);line-height:var(--nav);font-size:15px;font-weight:400;letter-spacing:.005em;
  color:inherit;white-space:nowrap;transition:color .15s ease}
#nav li a:hover,#nav li a.cur{color:var(--accent)}
#nav li a[aria-haspopup]{cursor:default}
#nav li{position:static}
/* 键盘 Tab 到一级菜单或面板里时也展开（只认 :focus-visible：鼠标点一级菜单不会让面板粘住不收） */
#nav ol > li:has(> a:focus-visible) > .mega,#nav ol > li:has(.mega :focus-visible) > .mega{opacity:1;visibility:visible;transition:none}
#nav .rt{display:flex;align-items:center;gap:12px;flex:none}
#nav .po{display:flex;align-items:center;justify-content:center;height:40px;padding:0 22px;background:var(--accent);color:#fff;border:1px solid var(--accent);
  border-radius:999px;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;transition:background .2s ease}
#nav .po:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
#hb{display:none}
#menu{display:none}
@media (min-width:1700px){#nav li a{font-size:clamp(15px,.78vw,20px)}#nav .po{font-size:clamp(14px,.72vw,19px);height:2.9em;padding:0 1.6em}#nav .logo{height:clamp(24px,1.2vw,28px)}}
/* 手机：logo · Buy now · 汉堡菜单，菜单从顶栏下方展开（设计稿 MobileNav：白顶栏、深色菜单） */
@media (max-width:1023px){
  :root{--nav:64px}
  #nav{gap:10px;padding:0 16px}
  #nav ol{display:none}
  #nav .logo{height:22px}
  #nav .po{padding:0 16px;height:36px;font-size:14px}
  #hb{display:grid;place-items:center;width:44px;height:44px;margin-right:-8px;border:0;background:none;color:#1A1A1A;cursor:pointer}
  #hb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  #hb .x{display:none}
  #nav.open #hb .x{display:block}#nav.open #hb .l{display:none}
  #menu{display:block;position:fixed;left:0;right:0;top:var(--nav);z-index:9;background:rgba(17,17,17,.96);color:#F5F5F3;list-style:none;
    padding:4px 16px 16px;clip-path:inset(0 0 100% 0);pointer-events:none;visibility:hidden;
    transition:clip-path .3s cubic-bezier(.2,.7,.2,1),visibility 0s linear .3s;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
  #nav.open + #menu{clip-path:inset(0 0 0 0);pointer-events:auto;visibility:visible;transition:clip-path .3s cubic-bezier(.2,.7,.2,1)}
  #menu a{display:flex;align-items:center;height:48px;font-size:17px;font-weight:700;color:inherit;border-bottom:1px solid rgba(128,128,128,.22)}
  #menu a:hover,#menu a.cur{color:var(--accent)}
  #menu > li:last-child a{border-bottom:0}
}

/* ── 共用 ─────────────────────────────────────────────── */
.wrap{width:var(--wrap);margin-left:auto;margin-right:auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:80px;padding:12px 24px;border:1.5px solid transparent;
  border-radius:6px;background:var(--accent);color:#fff;font-size:14px;font-weight:500;letter-spacing:.01em;line-height:1;white-space:nowrap;
  transition:background .15s ease}
.btn:hover{background:var(--accent-hover)}
.sub-link{font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;transition:color .15s ease}
.sub-link:hover{color:var(--accent-hover)}
.help h2{font-size:32px;line-height:1.15;font-weight:700;color:var(--head)}
.help{display:flex;flex-direction:column;align-items:center;text-align:center}
.help p{font-size:16px;line-height:1.5;max-width:560px;text-wrap:pretty}
.help .acts{display:flex;flex-direction:column;align-items:center;gap:14px}
/* 首页：灰底整条 */
.help-band{margin-top:96px;padding:80px 24px;background:var(--subtle);gap:20px}
.help-band .acts{margin-top:8px}
/* 问答页：正文末尾、细线隔开 */
.help-plain{margin-top:64px;padding-top:48px;border-top:1px solid var(--line);gap:16px}
.help-plain h2{font-size:28px}
.help-plain p{font-size:15px;color:var(--muted);max-width:520px}
.help-plain .acts{margin-top:4px}

/* ── 首页 · 首屏 ───────────────────────────────────────── */
/* 不 overflow:hidden：搜索结果下拉要能盖到下面的分类卡片上（设计稿这里会被裁掉） */
.hero{position:relative;z-index:2;height:560px;background:#1A1A1A;color:#F5F5F3}
.hero > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 65%}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(26,26,26,.62) 0%,rgba(26,26,26,.38) 55%,rgba(26,26,26,.55) 100%)}
.hero-in{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;padding:0 80px;text-align:center}
.hero h1{font-size:48px;line-height:1.1;font-weight:700;color:#F5F5F3;letter-spacing:-.01em}
.hero .search{width:min(680px,100%);margin-top:8px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 20px;align-items:center;font-size:14px}
.chips a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(245,245,243,.5);transition:text-decoration-color .15s ease}
.chips a:hover{text-decoration-color:#F5F5F3}

/* 搜索框（设计稿 SupportSearch）：边打字边列出前 6 条，回车 / Search 到问答页看全部 */
.search{position:relative;text-align:left}
.search-bar{display:flex;align-items:center;height:56px;background:#fff;border-radius:6px;box-shadow:0 4px 16px rgba(0,0,0,.12);overflow:hidden;
  transition:box-shadow .15s ease}
.search-bar:focus-within{box-shadow:0 4px 16px rgba(0,0,0,.12),0 0 0 3px rgba(77,175,78,.45)}
.search-ic{width:52px;height:20px;color:var(--muted)}
.search input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:16px;color:var(--head)}
.search input::placeholder,.fsearch input::placeholder{color:var(--muted);opacity:1}
input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.search .clear{flex:none;height:100%;padding:0 12px;border:0;background:transparent;font-size:13px;color:var(--muted);cursor:pointer}
.search .go{flex:none;display:flex;align-items:center;height:40px;padding:0 20px;margin-right:8px;border:0;border-radius:6px;background:var(--accent);color:#fff;
  font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease}
.search .go:hover{background:var(--accent-hover)}
.search-drop{position:absolute;top:64px;left:0;right:0;z-index:3;max-height:min(480px,calc(100vh - var(--nav) - 140px));overflow-y:auto;background:#fff;
  border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 32px rgba(0,0,0,.12);color:var(--head)}
.search-drop a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line);outline:0}
.search-drop a:last-child{border-bottom:0}
.search-drop a:hover,.search-drop a:focus-visible{background:var(--subtle)}
.search-drop .r{display:flex;flex-direction:column;gap:2px}
.search-drop .rq{font-size:15px;line-height:1.35}
.search-drop .rm{font-size:12px;color:var(--muted)}
.search-drop .arr{flex:none;width:8px;height:8px;margin-right:4px;border-top:1.5px solid var(--muted);border-right:1.5px solid var(--muted);transform:rotate(45deg)}
.search-drop .none{padding:16px 20px;font-size:14px;color:var(--muted)}
.search-drop a.all{display:block;padding:12px 20px;font-size:13px;font-weight:500;color:var(--accent);background:var(--subtle)}
.search-drop a.all:hover{color:var(--accent-hover)}

/* ── 首页 · 按主题浏览 ─────────────────────────────────── */
.topics{padding-top:80px}
.topics h2,.popular h2{font-size:32px;line-height:1.15;font-weight:700;color:var(--head)}
.cards{margin-top:28px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{display:flex;flex-direction:column;gap:20px;padding:28px;border:1px solid var(--line);border-radius:15px;background:#fff;
  transition:border-color .15s ease,box-shadow .15s ease}
.card:hover{border-color:var(--accent);box-shadow:0 2px 8px rgba(0,0,0,.08)}
.card .ic{width:44px;height:44px;border-radius:10px;background:var(--raised);display:flex;align-items:center;justify-content:center;color:var(--head)}
.card .ic .i{width:22px;height:22px}
.card .t{display:flex;flex-direction:column;gap:8px}
.card h3{font-size:20px;line-height:1.25;font-weight:700;color:var(--head)}
.card .kw{font-size:14px;line-height:1.5;color:var(--muted)}
.card .n{margin-top:auto;font-size:13px;color:var(--muted)}
.card .chev{display:none}

/* ── 首页 · 热门问题 ───────────────────────────────────── */
.popular{padding-top:80px;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:24px}
.popular .hd{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.popular .all{font-size:15px;font-weight:500;color:var(--accent);text-decoration:underline;text-underline-offset:3px;transition:color .15s ease}
.popular .all:hover{color:var(--accent-hover)}
.qlist a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-top:1px solid var(--line);color:var(--head);
  font-size:17px;line-height:1.4;transition:color .15s ease}
.qlist a:hover{color:var(--accent-hover)}
.qlist .i{width:18px;height:18px;color:var(--muted)}

@media (max-width:1023px){
  :root{--wrap:calc(100% - 64px)}
  .hero-in{padding:0 32px}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .popular{grid-template-columns:minmax(0,1fr);gap:16px}
  .popular .hd{flex-direction:row;align-items:baseline;justify-content:space-between}
}
/* 手机：设计稿 390 宽那一版 */
@media (max-width:759px){
  :root{--wrap:calc(100% - 40px)}
  .hero{height:360px}
  .hero > img{object-position:38% 70%}
  .hero::before{background:rgba(26,26,26,.56)}
  .hero-in{gap:16px;padding:0 20px}
  .hero h1{font-size:32px}
  .hero .search{margin-top:4px}
  .chips{gap:8px 14px;font-size:13px}
  .chips a{text-underline-offset:3px}
  .search-hero .search-bar{height:48px}
  .search-hero .go{display:none}
  .search-hero .search-drop{top:56px}
  .topics{padding-top:32px}
  .topics h2{font-size:22px;line-height:1.3}
  .cards{margin-top:16px;grid-template-columns:minmax(0,1fr);gap:8px}
  .card{flex-direction:row;align-items:center;gap:14px;min-height:56px;padding:14px 16px;border-radius:10px}
  .card:hover{box-shadow:none}
  .card .ic{width:auto;height:auto;background:none;border-radius:0}
  .card .ic .i{width:20px;height:20px}
  .card .t{flex:1;min-width:0;gap:3px}
  .card h3{font-size:15px}
  .card .kw{font-size:12px;line-height:1.4}
  .card .n{flex:none;margin-top:0;font-size:12px}
  .card .n-l{display:none}
  .card .chev{display:block;width:18px;height:18px;color:var(--muted)}
  .popular{padding-top:40px;gap:4px}
  .popular h2{font-size:20px;line-height:1.3}
  .popular .all{display:none}
  .qlist a{min-height:44px;padding:14px 0;border-top:0;border-bottom:1px solid var(--line);font-size:15px;gap:12px}
  .qlist .i{width:16px;height:16px}
  .help-band{margin-top:48px;padding:48px 20px;gap:14px}
  .help-band h2{font-size:22px;line-height:1.3}
  .help-band p{font-size:14px}
  .help-band .lead{display:none}
  .help-band .acts{align-self:stretch;margin-top:0}
  .help-band .btn{width:100%}
}

/* ── 问答页 ─────────────────────────────────────────────── */
.faq{width:min(1280px,100%);margin:0 auto;padding:56px clamp(20px,5vw,80px) 96px;display:flex;flex-direction:column;gap:40px}
.faq-hd{display:flex;flex-direction:column;gap:16px}
.back{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;font-size:14px;color:var(--muted);transition:color .15s ease}
.back:hover{color:var(--accent-hover)}
.back .i{width:16px;height:16px}
.faq h1{font-size:40px;line-height:1.1;font-weight:700;color:var(--head)}
.fsearch{display:flex;align-items:center;gap:10px;height:52px;max-width:640px;margin-top:8px;padding:0 16px;border:1px solid var(--strong);border-radius:6px;
  background:#fff;color:var(--muted);transition:border-color .15s ease,box-shadow .15s ease}
.fsearch:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px rgba(77,175,78,.15)}
.fsearch .i{width:18px;height:18px}
.fsearch input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font-size:16px;color:var(--head)}
.fsearch .clear{flex:none;padding:0;border:0;background:transparent;font-size:13px;color:var(--accent);cursor:pointer}
/* 分类标签：只有跑了脚本才有用，没有 JS 时不显示，问答全部列出 */
.tabs{display:none;flex-wrap:wrap;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.js .tabs{display:flex}
.tab{display:flex;align-items:center;gap:8px;padding:8px 16px;border:1px solid var(--strong);border-radius:100px;background:transparent;color:var(--body);
  font-size:14px;font-weight:500;cursor:pointer;transition:background .15s ease,border-color .15s ease}
.tab:hover{border-color:var(--head)}
.tab[aria-pressed=true]{background:var(--head);border-color:var(--head);color:#F5F5F3}
.faq-body{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:48px;align-items:start}
.side{position:sticky;top:96px;display:none;flex-direction:column;gap:2px}
.js .side{display:flex}
.side .lbl{padding:0 12px 10px;font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.side-links{display:flex;flex-direction:column;gap:2px}
.side-links a{display:block;padding:10px 12px;border-radius:6px;font-size:14px;line-height:1.35;color:var(--body);transition:background .15s ease}
.side-links a:hover{background:var(--subtle)}
.side .desc{margin-top:20px;padding:14px 12px;border-top:1px solid var(--line);font-size:13px;line-height:1.5;color:var(--muted)}
.groups,.cat{display:flex;flex-direction:column;gap:48px;min-width:0}
.grp{display:flex;flex-direction:column;gap:4px}
.grp h2{padding-bottom:12px;border-bottom:1px solid var(--head);font-size:22px;line-height:1.25;font-weight:700;color:var(--head)}
/* 定位到某一问时比小节标题多留 44px（叠在 html 的 scroll-padding 上，桌面合计 140px，同设计稿） */
.qa{border-bottom:1px solid var(--line);scroll-margin-top:44px}
.qa summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;color:var(--head);cursor:pointer;list-style:none;
  transition:color .15s ease}
.qa summary::-webkit-details-marker{display:none}
.qa summary:hover{color:var(--accent-hover)}
.qa summary h3{font-size:17px;line-height:1.4;font-weight:400}
.qa .chev{width:18px;height:18px;color:var(--muted);transition:transform .15s ease}
.qa[open] .chev{transform:rotate(180deg)}
.ans{display:flex;flex-direction:column;gap:10px;max-width:720px;padding:0 0 24px}
.ans p,.ans li{font-size:15px;line-height:1.6;color:var(--body);text-wrap:pretty}
.ans ul{display:flex;flex-direction:column;gap:10px;list-style:none}
.ans li{display:flex;gap:12px}
.ans li::before{content:"";flex:none;width:6px;height:6px;margin-top:10px;border-radius:50%;background:var(--strong)}
.plans{margin:6px 0;border:1px solid var(--line);border-radius:10px;overflow-x:auto}
.plans table{width:100%;min-width:520px;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.4;color:var(--body)}
.plans th,.plans td{padding:10px 14px;text-align:left;vertical-align:top;font-weight:400}
.plans th:first-child{width:31.8%}
.plans thead th{background:var(--subtle);font-weight:700;color:var(--head)}
.plans tbody tr{border-top:1px solid var(--line)}
.none{display:flex;flex-direction:column;gap:8px;padding:32px;border:1px solid var(--line);border-radius:15px}
.none strong{font-size:18px;color:var(--head)}
.none span:last-child{font-size:14px;color:var(--muted)}
@media (max-width:899px){
  .faq h1{font-size:32px}
  .faq-body{grid-template-columns:minmax(0,1fr);gap:0}
  .js .side{display:none}
}
@media (max-width:759px){
  .help-plain .acts{align-self:stretch}
  .help-plain .btn{width:100%}
}

/* ── 页脚：同落地页 ch/footer ─────────────────────────────── */
.site-foot{padding:64px max(24px,calc((100% - 1200px) / 2)) 32px;border-top:1px solid var(--line);background:#fff;color:var(--body)}
.site-foot .logo{height:26px;width:auto;filter:invert(.9)}
.site-foot a{transition:color .15s ease}
.site-foot a:hover{color:var(--accent)}
.site-foot .cols{margin-top:40px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.6fr);gap:32px 24px}
.site-foot h4{font-size:15px;font-weight:700;color:var(--head);letter-spacing:.005em}
.site-foot ul{margin-top:16px;display:flex;flex-direction:column;gap:10px;list-style:none}
.site-foot li a{font-size:14px;line-height:20px;color:var(--body)}
.site-foot li a:hover{color:var(--accent)}
.site-foot .bot{margin-top:48px;padding-top:24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px 32px;
  flex-wrap:wrap;font-size:13px;line-height:20px;color:var(--legal)}
.site-foot .legal{display:flex;flex-wrap:wrap;gap:0 10px}
.site-foot .legal a{padding-right:10px;border-right:2px solid var(--legal);color:var(--legal);line-height:14px}
.site-foot .legal a:last-child{padding-right:0;border-right:0}
.site-foot .legal a:hover{color:var(--accent)}
.site-foot .soc{display:flex;gap:10px}
.site-foot .soc a{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--strong);border-radius:50%;color:var(--body);
  transition:background .15s ease,color .15s ease,border-color .15s ease}
.site-foot .soc a:hover{background:var(--accent);border-color:var(--accent);color:#fff}
.site-foot .soc svg{width:16px;height:16px;fill:currentColor}
@media (max-width:1023px){
  .site-foot .cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-foot .news{grid-column:1/-1}
}
@media (max-width:759px){
  .site-foot{padding:48px 24px 24px}
  .site-foot .cols{grid-template-columns:minmax(0,1fr);gap:28px}
  .site-foot .bot{flex-direction:column;align-items:flex-start;gap:16px}
}
