/* ==========================================================================
   必赢亚洲官网 — 全站样式表（原创）
   Food Packaging Innovation Lab × Cold Chain Intelligence Center
   ========================================================================== */

:root{
  --graphite-950:#080e11;
  --graphite-900:#0d161a;
  --graphite-800:#13222a;
  --graphite-700:#1b3039;
  --teal-800:#0d3a42;
  --teal-700:#115059;
  --teal-600:#16707c;
  --cyan-500:#0e8ea0;
  --cyan-400:#3fc6d8;
  --cyan-300:#7fe3ee;
  --cyan-200:#b8eef5;
  --frost-50:#f4f9fa;
  --frost-100:#e8f2f4;
  --frost-200:#d5e5e9;
  --orange-600:#d9701a;
  --orange-500:#f28a2e;
  --orange-100:#fff0e2;
  --green-500:#2fa37a;
  --amber-500:#e0a11b;
  --red-500:#d9574a;
  --blue-500:#3e6fd8;
  --ink-900:#0f1c21;
  --ink-700:#2c3f46;
  --ink-500:#566a72;
  --ink-400:#7a8d94;
  --line:#d5e3e7;
  --line-soft:#e6eff1;
  --white:#fff;
  --radius-lg:16px;
  --radius-md:10px;
  --radius-sm:6px;
  --shadow-card:0 2px 0 rgba(13,58,66,.04),0 8px 24px rgba(13,58,66,.07);
  --shadow-pop:0 14px 40px rgba(8,14,17,.22);
  --maxw:1240px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei","Noto Sans SC","Helvetica Neue",Arial,sans-serif;
  --mono:"JetBrains Mono","SFMono-Regular",Consolas,"Liberation Mono",Menlo,monospace;
  --acc:var(--cyan-500);
}
[data-cat="pkg"]{--acc:var(--orange-500);}
[data-cat="mat"]{--acc:var(--green-500);}
[data-cat="cold"]{--acc:var(--cyan-500);}
[data-cat="safe"]{--acc:var(--red-500);}
[data-cat="ai"]{--acc:var(--blue-500);}
[data-cat="app"]{--acc:var(--teal-600);}
[data-cat="news"]{--acc:var(--amber-500);}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;max-width:100%;overflow-x:clip;}
body{
  margin:0;font-family:var(--font);color:var(--ink-700);background:var(--white);
  line-height:1.75;font-size:16px;-webkit-font-smoothing:antialiased;
  max-width:100%;overflow-x:clip;
}
img,svg{max-width:100%;display:block;}
a{color:var(--teal-600);text-decoration:none;}
a:hover{text-decoration:underline;}
h1,h2,h3,h4{color:var(--ink-900);line-height:1.38;margin:0 0 .6em;font-weight:700;}
p{margin:0 0 1em;}
ul,ol{margin:0 0 1em;padding-left:1.4em;}
[id]{scroll-margin-top:84px;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px;}
.skip-link{position:absolute;left:-999px;top:0;background:var(--orange-500);color:#000;padding:10px 16px;z-index:999;border-radius:0 0 8px 0;}
.skip-link:focus{left:0;}
.mono{font-family:var(--mono);}

/* ---------- Top utility bar ---------- */
.topbar{background:var(--graphite-950);color:var(--cyan-200);font-size:12.5px;border-bottom:1px solid rgba(255,255,255,.05);}
.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:34px;gap:12px;overflow:hidden;white-space:nowrap;}
.topbar span{opacity:.88;overflow:hidden;text-overflow:ellipsis;}
.topbar .topbar-tag{font-family:var(--mono);letter-spacing:.06em;color:var(--orange-500);font-weight:600;flex:none;}
@media (max-width:700px){.topbar .wrap>span:not(.topbar-tag){display:none;}}

/* ---------- Header / Nav ---------- */
.site-header{position:sticky;top:0;z-index:60;background:var(--graphite-900);border-bottom:1px solid rgba(255,255,255,.07);}
.header-row{display:flex;align-items:center;justify-content:space-between;height:62px;gap:14px;}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;font-size:18px;flex:0 0 auto;}
.brand:hover{text-decoration:none;}
.brand .logo-mark{width:34px;height:34px;flex:none;}
.brand small{display:block;font-family:var(--mono);font-size:10px;font-weight:500;color:var(--cyan-300);letter-spacing:.05em;line-height:1.2;white-space:nowrap;}
@media (min-width:1201px) and (max-width:1360px){.brand small{display:none;}}
.main-nav{display:flex;align-items:center;gap:2px;flex:1 1 auto;justify-content:flex-end;min-width:0;}
.main-nav a{
  color:var(--frost-100);font-size:13.5px;font-weight:500;padding:8px 9px;border-radius:6px;
  white-space:nowrap;border-bottom:2px solid transparent;
}
.main-nav a:hover,.main-nav a:focus-visible{background:rgba(255,255,255,.07);text-decoration:none;}
.main-nav a[aria-current="page"]{color:#fff;background:rgba(63,198,216,.14);border-bottom-color:var(--orange-500);}
.nav-toggle{
  display:none;background:transparent;border:1px solid rgba(255,255,255,.3);border-radius:8px;
  width:42px;height:42px;flex:none;cursor:pointer;position:relative;
}
.nav-toggle span,.nav-toggle::before,.nav-toggle::after{content:"";position:absolute;left:10px;right:10px;height:2px;background:#fff;border-radius:2px;}
.nav-toggle span{top:20px;}
.nav-toggle::before{top:14px;}
.nav-toggle::after{top:26px;}
@media (max-width:1200px){
  .main-nav{
    position:absolute;left:0;right:0;top:62px;flex-direction:column;align-items:stretch;gap:0;
    background:var(--graphite-900);border-top:1px solid rgba(255,255,255,.08);
    max-height:0;overflow:hidden;transition:max-height .25s ease;justify-content:flex-start;
  }
  .site-header.is-open .main-nav{max-height:560px;box-shadow:var(--shadow-pop);}
  .main-nav a{padding:14px 20px;border-radius:0;border-bottom:1px solid rgba(255,255,255,.06);font-size:15px;}
  .main-nav a[aria-current="page"]{border-left:3px solid var(--orange-500);border-bottom-color:rgba(255,255,255,.06);}
  .nav-toggle{display:block;}
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{font-size:13px;color:rgba(232,242,244,.72);padding:18px 0 0;}
.breadcrumb a{color:var(--cyan-200);}
.breadcrumb .sep{margin:0 6px;opacity:.5;}
.breadcrumb .current{color:#fff;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 20px;border-radius:6px;
  font-size:14.5px;font-weight:700;border:1px solid transparent;cursor:pointer;white-space:nowrap;
}
.btn:hover{text-decoration:none;}
.btn-primary{background:var(--orange-500);color:#1a0d00;}
.btn-primary:hover{background:#ff9a45;}
.btn-ghost{background:transparent;color:var(--frost-100);border-color:rgba(255,255,255,.32);}
.btn-ghost:hover{background:rgba(255,255,255,.08);}
.btn-outline{background:transparent;color:var(--teal-600);border-color:var(--teal-600);}
.btn-outline:hover{background:var(--frost-50);}
.btn-lg{padding:13px 24px;font-size:15.5px;}

/* ---------- Hero ---------- */
.hero{
  position:relative;color:var(--frost-100);padding:0 0 52px;
  background:
    radial-gradient(900px 480px at 88% -8%,rgba(63,198,216,.2),transparent 62%),
    radial-gradient(700px 420px at -6% 8%,rgba(242,138,46,.13),transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px) 0 0/44px 44px,
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/44px 44px,
    linear-gradient(165deg,var(--graphite-950),var(--graphite-900) 55%,var(--teal-800));
}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:40px;align-items:center;padding-top:34px;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-family:var(--mono);font-size:12px;font-weight:600;
  letter-spacing:.07em;text-transform:uppercase;color:var(--orange-500);margin-bottom:14px;
}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--orange-500);}
.hero h1{color:#fff;font-size:clamp(26px,3.6vw,40px);margin-bottom:18px;line-height:1.3;text-wrap:balance;}
.hero h1 em{font-style:normal;color:var(--cyan-300);}
.hero p.lead{font-size:16.5px;color:var(--frost-200);max-width:600px;}
.hero-actions{display:flex;gap:12px;margin-top:24px;flex-wrap:wrap;}
.hero-figure{
  margin:0;background:var(--frost-50);border:1px solid rgba(255,255,255,.16);border-radius:var(--radius-lg);
  padding:12px 12px 10px;box-shadow:var(--shadow-pop);position:relative;
}
.hero-figure::before,.hero-figure::after{content:"";position:absolute;width:16px;height:16px;border:2px solid var(--orange-500);}
.hero-figure::before{left:-6px;top:-6px;border-right:0;border-bottom:0;}
.hero-figure::after{right:-6px;bottom:-6px;border-left:0;border-top:0;}
.hero-figure img{width:100%;height:auto;border-radius:8px;}
.hero-figure figcaption{font-size:12.5px;color:var(--ink-500);text-align:center;padding:8px 6px 0;}
.hero-note{
  margin-top:30px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;
}
.hero-note div{
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.12);border-left:3px solid var(--orange-500);
  border-radius:var(--radius-md);padding:14px 16px;
}
.hero-note b{display:block;color:var(--cyan-300);font-family:var(--mono);font-size:12px;letter-spacing:.05em;margin-bottom:4px;font-weight:600;}
.hero-note span{color:var(--frost-100);font-size:13.8px;line-height:1.55;display:block;}
@media (max-width:980px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-note{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:520px){.hero-note{grid-template-columns:1fr;}}

/* ---------- Page hero (secondary pages) ---------- */
.page-hero{
  color:var(--frost-100);padding:0 0 38px;
  background:
    radial-gradient(760px 320px at 92% -20%,color-mix(in srgb,var(--acc) 34%,transparent),transparent 62%),
    linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px) 0 0/40px 40px,
    linear-gradient(165deg,var(--graphite-950),var(--graphite-900) 60%,var(--teal-800));
}
.page-hero h1{color:#fff;font-size:clamp(26px,3.6vw,38px);margin:14px 0 14px;max-width:900px;text-wrap:balance;}
.page-hero p.lead{font-size:16.5px;color:var(--frost-200);max-width:860px;margin-bottom:0;}
.page-hero .eyebrow{margin-top:18px;margin-bottom:0;color:var(--acc);}
.page-hero .eyebrow::before{background:var(--acc);}
.page-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:26px;}
.page-index a{
  display:block;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.14);border-top:3px solid var(--acc);
  border-radius:var(--radius-md);padding:12px 14px 14px;color:#fff;
}
.page-index a:hover{background:rgba(255,255,255,.1);text-decoration:none;}
.page-index .n{font-family:var(--mono);font-size:12px;color:var(--cyan-300);display:block;margin-bottom:4px;}
.page-index .t{font-size:14.5px;font-weight:600;line-height:1.5;display:block;}

/* ---------- Sections ---------- */
.section{padding:64px 0;}
.section-tight{padding:44px 0;}
.section-feature{padding:30px 0;}
.section-feature:nth-of-type(even){background:linear-gradient(180deg,var(--white),var(--frost-50));}
.faq-h{margin:0;font-size:inherit;}
.section-alt{background:var(--frost-50);border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);}
.section-dark{background:var(--graphite-900);color:var(--frost-100);}
.section-dark h2,.section-dark h3,.section-dark h4{color:#fff;}
.section-head{max-width:820px;margin:0 0 30px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head h2{font-size:clamp(22px,2.9vw,30px);}
.section-head p{color:var(--ink-500);font-size:15.5px;}
.section-dark .section-head p{color:var(--frost-200);}
.section-kicker{
  font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;
  color:var(--orange-600);margin-bottom:10px;display:flex;align-items:center;gap:8px;
}
.section-kicker::before{content:"";width:9px;height:9px;background:var(--acc,var(--orange-500));display:inline-block;}
.section-dark .section-kicker{color:var(--cyan-300);}
.section-head.center .section-kicker{justify-content:center;}
.section-more{margin-top:22px;}

/* ---------- Grids & cards ---------- */
.grid{display:grid;gap:20px;}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:980px){.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:680px){.grid-2,.grid-3,.grid-4{grid-template-columns:minmax(0,1fr);}}
.grid>*,.hero-grid>*,.about-grid>*,.feature-grid>*{min-width:0;}

.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:22px;box-shadow:var(--shadow-card);}
.spec-card{
  background:#fff;border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:var(--radius-md);
  padding:20px 20px 18px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;
}
.spec-card .lab{font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--ink-400);margin-bottom:6px;text-transform:uppercase;}
.spec-card h3{font-size:17px;margin-bottom:8px;}
.spec-card p{font-size:14.3px;color:var(--ink-500);margin-bottom:10px;}
.spec-card ul{font-size:13.6px;color:var(--ink-700);margin:0 0 12px;padding-left:1.1em;}
.spec-card ul li{margin-bottom:3px;}
.spec-card .go{margin-top:auto;font-weight:700;font-size:14px;}

/* summary cards (homepage backflow) */
.sum-card{
  background:#fff;border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:var(--radius-md);
  padding:18px 20px 18px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;height:100%;
}
.sum-meta{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:12.5px;color:var(--ink-500);margin-bottom:8px;}
.sum-meta .cat{color:var(--acc);font-weight:700;}
.sum-meta time{font-family:var(--mono);font-size:12px;}
.sum-card h3{font-size:16.5px;margin-bottom:9px;line-height:1.5;}
.sum-card h3 a{color:var(--ink-900);}
.sum-card h3 a:hover{color:var(--teal-600);text-decoration:none;}
.sum-card p.excerpt{font-size:14.2px;color:var(--ink-500);flex:1;margin-bottom:12px;line-height:1.8;}
.read-more{font-size:13.8px;font-weight:700;color:var(--teal-600);display:inline-flex;align-items:center;gap:4px;margin-top:auto;}
.read-more:hover{text-decoration:none;gap:8px;transition:gap .15s;}
.tag-row{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0 0;}
.tag{
  font-family:var(--mono);font-size:11.8px;color:var(--teal-700);background:var(--frost-100);border:1px solid var(--frost-200);
  padding:2px 9px;border-radius:3px;font-weight:500;
}

/* news list (timeline style) */
.news-list{list-style:none;margin:0;padding:0;border-left:2px solid var(--frost-200);}
.news-list li{position:relative;padding:0 0 26px 26px;}
.news-list li::before{content:"";position:absolute;left:-7px;top:6px;width:12px;height:12px;background:var(--acc);border:2px solid #fff;border-radius:50%;}
.news-list time{font-family:var(--mono);font-size:12.5px;color:var(--ink-500);display:block;margin-bottom:2px;}
.news-list h3{font-size:18px;margin-bottom:8px;}
.news-list h3 a{color:var(--ink-900);}
.news-list p{font-size:14.6px;color:var(--ink-500);margin-bottom:8px;}

/* app cards */
.app-card{display:flex;gap:16px;align-items:flex-start;}
.app-card .num{
  flex:none;width:40px;height:40px;border-radius:8px;background:var(--teal-700);color:#fff;font-family:var(--mono);
  font-weight:700;display:flex;align-items:center;justify-content:center;font-size:15px;
}

/* ---------- Feature (homepage long articles) ---------- */
.feature{
  position:relative;background:#fff;border:1px solid var(--line);border-left:4px solid var(--acc);
  border-radius:var(--radius-md);padding:30px 32px 26px;box-shadow:var(--shadow-card);
}
.feature-head{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-bottom:12px;font-size:13px;}
.feature-head .idx{font-family:var(--mono);font-weight:700;color:#fff;background:var(--acc);padding:2px 9px;border-radius:3px;font-size:12px;letter-spacing:.05em;}
.feature-head .cat{color:var(--acc);font-weight:700;}
.feature-head time,.article-meta time{font-family:var(--mono);color:var(--ink-500);font-size:12.5px;}
.feature > h2{font-size:clamp(20px,2.4vw,25px);line-height:1.48;margin-bottom:22px;max-width:980px;}
.feature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:34px;align-items:start;}
.feature.flip .feature-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);}
.feature.flip .feature-fig{order:-1;}
.feature-fig{position:sticky;top:84px;}
@media (max-width:1000px){
  .feature{padding:22px 18px 20px;}
  .feature-grid,.feature.flip .feature-grid{grid-template-columns:minmax(0,1fr);gap:18px;}
  .feature-fig,.feature.flip .feature-fig{position:static;order:-1;}
}

/* ---------- Observation (官网食品科技观察) ---------- */
.obs{
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.14);border-top:3px solid var(--orange-500);
  border-radius:var(--radius-md);padding:24px 24px 20px;display:flex;flex-direction:column;
}
.obs .obs-meta{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:12.5px;color:var(--cyan-200);margin-bottom:10px;}
.obs .obs-meta .idx{font-family:var(--mono);color:var(--orange-500);font-weight:700;}
.obs .obs-meta time{font-family:var(--mono);}
.obs h3{font-size:17.5px;line-height:1.55;margin-bottom:14px;}
.obs .prose{color:var(--frost-200);font-size:15.2px;line-height:1.85;}
.obs .prose strong{color:#fff;}
.obs .prose a{color:var(--cyan-300);border-bottom-color:rgba(127,227,238,.4);}
.obs .prose h4{color:#fff;}
.obs .prose blockquote{background:rgba(255,255,255,.06);border-left-color:var(--orange-500);color:var(--frost-100);}
.obs .related{border-top-color:rgba(255,255,255,.14);}
.obs .related h4{color:var(--cyan-300);}
.obs .related a{color:var(--cyan-200);}
.obs .tag{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.14);color:var(--cyan-200);}

/* ---------- Prose (article body) ---------- */
.prose{font-size:16px;color:var(--ink-700);line-height:1.95;}
.prose p{margin-bottom:1.15em;}
.prose h3,.prose h4{margin-top:1.5em;margin-bottom:.55em;color:var(--ink-900);}
.prose h3{font-size:19.5px;padding-left:12px;border-left:3px solid var(--acc);}
.prose h4{font-size:16.8px;}
.prose ul,.prose ol{margin-bottom:1.15em;}
.prose li{margin-bottom:.45em;}
.prose strong{color:var(--ink-900);}
.prose a{border-bottom:1px solid rgba(22,112,124,.35);}
.prose a:hover{text-decoration:none;border-bottom-color:var(--teal-600);}
.prose blockquote{
  margin:1.3em 0;padding:12px 16px;background:var(--orange-100);border-left:4px solid var(--orange-500);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--ink-700);font-size:15px;line-height:1.85;
}
.prose blockquote p{margin:0;}
.table-wrap{overflow-x:auto;margin:1.3em 0;border:1px solid var(--line);border-radius:var(--radius-sm);}
.prose table{border-collapse:collapse;width:100%;font-size:14.2px;line-height:1.65;min-width:460px;}
.prose th,.prose td{border-bottom:1px solid var(--line);padding:9px 12px;text-align:left;vertical-align:top;}
.prose th{background:var(--frost-100);color:var(--ink-900);font-weight:700;white-space:nowrap;}
.prose tr:last-child td{border-bottom:0;}

/* ---------- Figures ---------- */
.figure{margin:1.6em 0;}
.feature-fig.figure{margin:0;}
.figure .fig-scroll{
  background:var(--frost-50);border:1px solid var(--line);border-radius:var(--radius-md);overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.figure img{width:100%;height:auto;}
.figure figcaption{font-size:13.2px;color:var(--ink-500);margin-top:9px;line-height:1.65;padding-left:2px;}
.figure figcaption b{color:var(--acc);font-family:var(--mono);font-size:12px;letter-spacing:.04em;margin-right:6px;}
.fig-hint{display:none;font-size:12px;color:var(--ink-400);text-align:center;margin-top:6px;}
@media (max-width:760px){
  .figure .fig-scroll img{min-width:660px;}
  .fig-hint{display:block;}
}

/* ---------- Secondary page article ---------- */
.article-col{max-width:820px;margin:0 auto;}
.article{padding:46px 0 40px;border-bottom:1px solid var(--line);}
.article:last-of-type{border-bottom:0;}
.article-head{margin-bottom:22px;}
.article-meta{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;font-size:13px;color:var(--ink-500);margin-bottom:12px;}
.article-meta .idx{font-family:var(--mono);font-weight:700;color:#fff;background:var(--acc);padding:2px 9px;border-radius:3px;font-size:12px;}
.article-meta .cat{color:var(--acc);font-weight:700;}
.article-head h2{font-size:clamp(23px,3vw,30px);line-height:1.42;margin-bottom:0;}
.related{margin-top:30px;padding-top:18px;border-top:1px dashed var(--line);}
.related h4{font-family:var(--mono);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-500);margin-bottom:10px;}
.related ul{list-style:none;margin:0;padding:0;display:grid;gap:7px;}
.related li{font-size:14.5px;padding-left:16px;position:relative;line-height:1.6;}
.related li::before{content:"→";position:absolute;left:0;color:var(--acc);font-weight:700;}
.note-box{
  background:var(--frost-50);border:1px solid var(--line);border-left:4px solid var(--amber-500);border-radius:var(--radius-sm);
  padding:14px 18px;font-size:13.8px;color:var(--ink-500);margin:26px 0 0;line-height:1.8;
}
.note-box strong{color:var(--ink-900);}
.source-list{font-size:14.2px;line-height:1.8;padding-left:1.3em;}
.source-list li{margin-bottom:8px;}
.source-list a{word-break:break-all;}

/* ---------- FAQ ---------- */
.faq{border-top:1px solid var(--line);max-width:920px;}
.faq-item{border-bottom:1px solid var(--line);}
.faq-q{
  width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:17px 4px;font-size:16px;font-weight:700;
  color:var(--ink-900);display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:var(--font);line-height:1.55;
}
.faq-q::after{content:"+";font-size:22px;color:var(--orange-600);flex:none;transition:transform .2s;font-family:var(--mono);}
.faq-item.open .faq-q::after{transform:rotate(45deg);}
.faq-q:focus-visible{outline:2px solid var(--cyan-500);outline-offset:2px;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .28s ease;font-size:15px;color:var(--ink-700);}
.faq-item.open .faq-a{max-height:900px;}
.faq-a-inner{padding:0 4px 18px;line-height:1.9;}
.faq-a-inner p{margin:0;}

/* ---------- About ---------- */
.about-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:36px;align-items:start;}
@media (max-width:900px){.about-grid{grid-template-columns:1fr;}}
.company-card{background:var(--graphite-900);color:var(--frost-100);border-radius:var(--radius-lg);padding:24px 26px;border-top:4px solid var(--orange-500);}
.company-card h3{color:#fff;font-size:17px;margin-bottom:14px;}
.company-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:9px 14px;font-size:14px;}
.company-card dt{color:var(--cyan-300);font-family:var(--mono);font-size:12.5px;letter-spacing:.03em;padding-top:2px;}
.company-card dd{margin:0;color:var(--frost-100);word-break:break-all;}

/* ---------- Notice (app download etc.) ---------- */
.notice-box{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);border-left:4px solid var(--orange-500);
  border-radius:var(--radius-md);padding:16px 18px;margin-top:22px;max-width:860px;font-size:14.2px;color:var(--frost-100);line-height:1.8;
}
.notice-box strong{color:#fff;}

/* ---------- Footer ---------- */
.site-footer{background:var(--graphite-950);color:var(--ink-400);padding:52px 0 24px;border-top:3px solid var(--orange-500);}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:30px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.08);}
.footer-brand .brand{color:#fff;margin-bottom:12px;}
.footer-brand p{font-size:13.6px;color:#8ea3aa;max-width:340px;line-height:1.85;}
.footer-col h5{color:var(--frost-100);font-size:13px;letter-spacing:.05em;margin:0 0 14px;font-family:var(--mono);text-transform:uppercase;}
.footer-col ul{list-style:none;padding:0;margin:0;}
.footer-col li{margin-bottom:9px;}
.footer-col a{color:#8ea3aa;font-size:13.8px;}
.footer-col a:hover{color:var(--cyan-300);text-decoration:none;}
.footer-col p{font-size:13.6px;color:#8ea3aa;margin:0 0 8px;line-height:1.7;}
.footer-bottom{padding-top:20px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;font-size:12.8px;color:#7c9098;}
.icp{font-family:var(--mono);}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* ---------- Utilities ---------- */
.text-center{text-align:center;}
.stack>*+*{margin-top:16px;}
.back-to-top{
  position:fixed;right:18px;bottom:18px;width:44px;height:44px;border-radius:8px;background:var(--orange-500);color:#1a0d00;
  display:none;align-items:center;justify-content:center;box-shadow:var(--shadow-pop);border:none;cursor:pointer;z-index:50;font-size:18px;font-weight:700;
}
.back-to-top.show{display:flex;}
.progress{position:fixed;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,var(--orange-500),var(--cyan-400));z-index:100;}

@media (max-width:640px){
  .wrap{padding:0 16px;}
  .section{padding:48px 0;}
  .feature{border-left-width:3px;}
  .prose{font-size:16px;line-height:1.9;}
  .article{padding:36px 0 30px;}
}
@media print{
  .site-header,.topbar,.back-to-top,.progress{display:none;}
}

/* hero figure stays legible on narrow screens: swipe inside the frame */
@media (max-width:640px){
  .hero-figure{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .hero-figure img{min-width:560px;}
  .hero-figure figcaption{min-width:0;position:sticky;left:0;}
}

/* ==========================================================================
   Inner article pages, channel intro + article cards (one article per page)
   ========================================================================== */
.crumb-bar{background:var(--frost-50);border-bottom:1px solid var(--line-soft);}
.breadcrumb.light{color:var(--ink-500);padding:14px 0;font-size:13.5px;}
.breadcrumb.light a{color:var(--teal-600);}
.breadcrumb.light .sep{opacity:.55;}
.breadcrumb.light .current{color:var(--ink-700);}

.article-layout{display:grid;grid-template-columns:minmax(0,780px) 300px;gap:48px;align-items:start;justify-content:center;padding:34px 0 60px;}
@media (max-width:1000px){.article-layout{grid-template-columns:minmax(0,1fr);gap:30px;}}
.article-page .article-head{margin-bottom:22px;}
.article-page .article-cat{font-family:var(--mono);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;}
.article-page .article-cat a{color:var(--acc);}
.article-page .article-head h1{font-size:clamp(24px,3.3vw,34px);line-height:1.42;margin:10px 0 16px;}
.article-page .article-meta{padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:0;}
.article-page .article-meta .author{font-weight:700;color:var(--ink-700);}
.article-page .prose{font-size:16.5px;}
.article-page .prose h2{font-size:22px;margin-top:1.8em;padding-left:12px;border-left:3px solid var(--acc);}
.article-page .prose h3{font-size:18.5px;}
.article-page .note-box{margin-top:34px;}

.side{position:sticky;top:84px;}
@media (max-width:1000px){.side{position:static;}}
.side-box{background:var(--frost-50);border:1px solid var(--line);border-top:3px solid var(--acc,var(--cyan-500));border-radius:var(--radius-md);padding:18px 20px;margin-bottom:18px;}
.side-box h4{font-size:14.5px;margin-bottom:10px;}
.side-box p{font-size:14px;color:var(--ink-500);margin-bottom:8px;}
.side-meta{line-height:1.9;}
.mini-card{display:flex;gap:10px;margin-bottom:12px;}
.mini-card .n{flex:none;width:24px;height:24px;border-radius:5px;background:var(--teal-700);color:#fff;font-family:var(--mono);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;margin-top:2px;}
.mini-card a{color:var(--ink-900);font-size:13.8px;font-weight:600;line-height:1.55;}
.mini-card a:hover{color:var(--teal-600);text-decoration:none;}

.related-block{margin-top:40px;padding-top:26px;border-top:1px solid var(--line);}
.related-block h2{font-size:20px;margin-bottom:16px;}
.rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
@media (max-width:640px){.rel-grid{grid-template-columns:minmax(0,1fr);}}
.rel-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-top:3px solid var(--acc,var(--cyan-500));border-radius:var(--radius-md);overflow:hidden;color:var(--ink-900);box-shadow:var(--shadow-card);}
.rel-card:hover{text-decoration:none;transform:translateY(-2px);transition:transform .15s;}
.rel-card .thumb{display:block;aspect-ratio:16/9;background:var(--frost-50);border-bottom:1px solid var(--line-soft);overflow:hidden;}
.rel-card .thumb img{width:100%;height:100%;object-fit:cover;}
.rel-card .rt{padding:12px 14px 4px;font-size:14.5px;font-weight:600;line-height:1.6;}
.rel-card .go{padding:0 14px 14px;font-size:13px;font-weight:700;color:var(--teal-600);margin-top:auto;}
.rel-card .lab{padding:12px 14px 0;font-family:var(--mono);font-size:11.5px;letter-spacing:.06em;color:var(--ink-400);text-transform:uppercase;}
.rel-text{border-top-color:var(--teal-600);}
.rel-text .rt{padding-top:6px;}

/* channel pages */
.doc-page{max-width:860px;margin:0 auto;}
.channel-intro .doc-page h2{font-size:clamp(22px,2.8vw,28px);margin:1.6em 0 .6em;}
.channel-intro .doc-page>h2:first-child{margin-top:0;}
.channel-intro .prose{font-size:16.5px;}
.channel-intro .prose h2{font-size:21px;margin-top:1.8em;padding-left:12px;border-left:3px solid var(--acc);}
.chips-h{font-size:18px;margin:26px 0 12px;}
.chips{display:flex;flex-wrap:wrap;gap:10px;}
.chip{display:inline-flex;padding:8px 14px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--teal-700);font-size:14px;font-weight:600;}
.chip:hover{border-color:var(--teal-600);text-decoration:none;background:var(--frost-50);}

/* article cards with thumbnails */
.article-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--acc);border-radius:var(--radius-md);overflow:hidden;box-shadow:var(--shadow-card);display:flex;flex-direction:column;height:100%;}
.article-card .thumb{display:block;aspect-ratio:16/9;background:var(--frost-50);border-bottom:1px solid var(--line-soft);overflow:hidden;}
.article-card .thumb img{width:100%;height:100%;object-fit:cover;}
.article-card .body{padding:16px 18px 18px;display:flex;flex-direction:column;flex:1;}
.article-card .meta-row{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center;font-size:12.5px;color:var(--ink-500);margin-bottom:8px;}
.article-card .meta-row .cat{color:var(--acc);font-weight:700;}
.article-card .meta-row time{font-family:var(--mono);font-size:12px;}
.article-card h3{font-size:16.5px;line-height:1.5;margin-bottom:8px;}
.article-card h3 a{color:var(--ink-900);}
.article-card h3 a:hover{color:var(--teal-600);text-decoration:none;}
.article-card p.excerpt{font-size:14px;color:var(--ink-500);line-height:1.85;flex:1;margin-bottom:6px;}
.article-card .tag-row{margin:8px 0 12px;}
.article-card .read-more{margin-top:auto;}

/* homepage feature: link to the full inner-page article */
.read-full{margin:6px 0 0;}
.read-full .btn{font-size:14.5px;}
