:root{
  --brand:#e63946;
  --brand-2:#457b9d;
  --brand-3:#f1a208;
  --brand-4:#2a9d8f;
  --bg:#ffffff;
  --bg-soft:#f6f8fb;
  --bg-glass:rgba(255,255,255,.72);
  --text:#1d1d1f;
  --text-soft:#5a5f66;
  --line:#e6e8eb;
  --card:#ffffff;
  --shadow:0 8px 30px rgba(17,24,39,.08);
  --shadow-hover:0 18px 48px rgba(17,24,39,.16);
  --radius:16px;
  --radius-sm:12px;
  --radius-lg:22px;
  --grad-hero:linear-gradient(135deg,#1a1a2e 0%,#16213e 45%,#0f3460 100%);
  --grad-brand:linear-gradient(135deg,#e63946 0%,#457b9d 100%);
  --grad-warm:linear-gradient(135deg,#f1a208 0%,#e63946 100%);
  --grad-cool:linear-gradient(135deg,#2a9d8f 0%,#457b9d 100%);
  --focus:0 0 0 3px rgba(230,57,70,.35);
  --header-h:70px;
}
html[data-theme="dark"]{
  --bg:#12141a;
  --bg-soft:#191c23;
  --bg-glass:rgba(25,28,35,.72);
  --text:#e9ecef;
  --text-soft:#a3a9b3;
  --line:#2a2f37;
  --card:#191c23;
  --shadow:0 8px 30px rgba(0,0,0,.5);
  --shadow-hover:0 18px 48px rgba(0,0,0,.65);
  --grad-hero:linear-gradient(135deg,#0d0f14 0%,#141a2b 50%,#0b2036 100%);
  --focus:0 0 0 3px rgba(241,162,8,.4);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html:focus-within{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.75;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  transition:background-color .3s ease,color .3s ease;
}
img,svg{max-width:100%;display:block}
a{color:var(--brand-2);text-decoration:none;transition:color .2s ease}
a:hover{text-decoration:underline}
ul,ol{list-style-position:inside}
button{font-family:inherit}
::selection{background:rgba(230,57,70,.22);color:var(--text)}
:focus-visible{outline:none;box-shadow:var(--focus);border-radius:6px}
.container{max-width:1200px;margin:0 auto;padding:0 20px}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:9999;
  background:var(--brand);color:#fff;padding:10px 18px;
  border-radius:0 0 10px 0;font-size:14px;font-weight:600;
}
.skip-link:focus{left:0;text-decoration:none;box-shadow:none}
header.site-header{
  position:sticky;top:0;z-index:1000;
  background:var(--bg-glass);
  border-bottom:1px solid var(--line);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  backdrop-filter:saturate(180%) blur(14px);
  transition:background-color .3s ease,border-color .3s ease;
}
.nav-wrap{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;padding:12px 0;min-height:var(--header-h);
}
.brand{
  display:flex;align-items:center;gap:10px;
  font-weight:800;font-size:20px;color:var(--text);
  line-height:1.2;flex:none;
}
.brand:hover{text-decoration:none;color:var(--brand)}
.brand svg{width:38px;height:38px;flex:none;border-radius:10px;transition:transform .3s ease}
.brand:hover svg{transform:rotate(-6deg) scale(1.05)}
.brand small{
  display:block;font-size:11.5px;font-weight:500;
  color:var(--text-soft);margin-top:2px;letter-spacing:.2px;
}
nav.main-nav ul{display:flex;gap:6px;list-style:none;flex-wrap:wrap;align-items:center}
nav.main-nav a{
  display:inline-block;color:var(--text);font-weight:500;font-size:14.5px;
  padding:8px 10px;border-radius:8px;position:relative;
  transition:color .2s ease,background-color .2s ease;
}
nav.main-nav a::after{
  content:"";position:absolute;left:10px;right:10px;bottom:3px;height:2px;
  background:var(--brand);border-radius:2px;transform:scaleX(0);
  transform-origin:left;transition:transform .25s ease;
}
nav.main-nav a:hover{color:var(--brand);text-decoration:none;background:rgba(230,57,70,.06)}
nav.main-nav a:hover::after{transform:scaleX(1)}
.header-tools{display:flex;align-items:center;gap:10px;flex:none}
.search-box{
  display:flex;align-items:center;gap:6px;
  background:var(--bg-soft);border:1px solid var(--line);
  border-radius:999px;padding:6px 8px 6px 14px;
  transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease;
}
.search-box:focus-within{
  border-color:var(--brand);
  box-shadow:0 0 0 3px rgba(230,57,70,.14);
  background:var(--bg);
}
.search-box input{
  border:none;background:transparent;outline:none;
  color:var(--text);width:150px;font-size:14px;font-family:inherit;
}
.search-box input::placeholder{color:var(--text-soft);opacity:.85}
.search-box button{
  border:none;background:transparent;cursor:pointer;
  color:var(--brand-2);display:flex;align-items:center;justify-content:center;
  width:30px;height:30px;border-radius:50%;
  transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.search-box button:hover{background:rgba(69,123,157,.14);color:var(--brand);transform:scale(1.08)}
.icon-btn{
  width:38px;height:38px;border-radius:50%;
  border:1px solid var(--line);background:var(--bg-soft);color:var(--text);
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:background-color .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
}
.icon-btn:hover{
  background:var(--brand);color:#fff;border-color:var(--brand);
  transform:translateY(-2px) rotate(6deg);
  box-shadow:0 6px 18px rgba(230,57,70,.35);
}
.icon-btn:active{transform:translateY(0) scale(.96)}
.menu-toggle{display:none}
.hero{
  position:relative;overflow:hidden;
  background:var(--grad-hero);
  color:#fff;padding:76px 0 86px;
  isolation:isolate;
}
.hero::before{
  content:"";position:absolute;inset:-20%;
  background:
    radial-gradient(circle at 78% 18%,rgba(230,57,70,.38),transparent 52%),
    radial-gradient(circle at 12% 88%,rgba(69,123,157,.4),transparent 50%),
    radial-gradient(circle at 50% 50%,rgba(241,162,8,.12),transparent 60%);
  pointer-events:none;z-index:0;
  animation:heroFloat 18s ease-in-out infinite alternate;
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:48px 48px;
  -webkit-mask-image:radial-gradient(circle at 50% 40%,#000,transparent 78%);
  mask-image:radial-gradient(circle at 50% 40%,#000,transparent 78%);
}
@keyframes heroFloat{
  0%{transform:translate3d(0,0,0) scale(1)}
  100%{transform:translate3d(-2%,2%,0) scale(1.06)}
}
.hero-inner{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1.15fr .85fr;
  gap:44px;align-items:center;
}
.hero h1{
  font-size:40px;line-height:1.32;margin-bottom:18px;
  letter-spacing:.4px;font-weight:800;
  text-shadow:0 2px 24px rgba(0,0,0,.28);
}
.hero h1 span{
  background:linear-gradient(135deg,#f1a208,#ffd166 60%,#f1a208);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  filter:drop-shadow(0 2px 10px rgba(241,162,8,.35));
}
.hero p.lead{
  font-size:17px;color:#cfd6e4;margin-bottom:24px;
  max-width:640px;line-height:1.85;
}
.hero-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.hero-tags span{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  padding:6px 15px;border-radius:999px;font-size:13px;color:#e8ecf5;
  transition:background-color .25s ease,transform .25s ease,border-color .25s ease;
}
.hero-tags span:hover{
  background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.4);
  transform:translateY(-2px);
}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;
  font-weight:600;font-size:15px;cursor:pointer;
  border:1px solid transparent;
  transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease,border-color .25s ease;
  will-change:transform;
}
.btn:hover{text-decoration:none;transform:translateY(-3px)}
.btn:active{transform:translateY(-1px) scale(.98)}
.btn-primary{
  background:var(--grad-brand);color:#fff;
  box-shadow:0 10px 26px rgba(230,57,70,.38);
}
.btn-primary:hover{box-shadow:0 16px 36px rgba(230,57,70,.5)}
.btn-ghost{
  background:rgba(255,255,255,.06);color:#fff;
  border-color:rgba(255,255,255,.4);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.btn-ghost:hover{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.7)}
.hero-visual{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius-lg);
  padding:18px;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  box-shadow:0 24px 60px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.16);
  animation:visualIn .9s cubic-bezier(.22,1,.36,1) both;
}
@keyframes visualIn{
  from{opacity:0;transform:translateY(28px) scale(.97)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
.hero-visual .shelf{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.hero-visual .shelf .book{
  border-radius:12px;overflow:hidden;background:#fff;
  aspect-ratio:3/4;position:relative;
  box-shadow:0 8px 22px rgba(0,0,0,.28);
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;
}
.hero-visual .shelf .book:hover{
  transform:translateY(-8px) rotate(-2deg) scale(1.03);
  box-shadow:0 20px 40px rgba(0,0,0,.45);
}
.hero-visual .shelf .book:nth-child(2):hover{transform:translateY(-10px) scale(1.04)}
.hero-visual .shelf .book:nth-child(3):hover{transform:translateY(-8px) rotate(2deg) scale(1.03)}
.hero-visual .shelf .book svg{width:100%;height:100%}
.hero-visual .shelf .book .tag{
  position:absolute;left:6px;top:6px;
  background:rgba(0,0,0,.62);color:#fff;font-size:10px;
  padding:2px 7px;border-radius:5px;letter-spacing:.5px;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.stats-bar{
  background:var(--bg-soft);
  border-bottom:1px solid var(--line);
  transition:background-color .3s ease,border-color .3s ease;
}
.stats{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:20px;padding:36px 0;text-align:center;
}
.stat{position:relative;padding:6px 8px;transition:transform .3s ease}
.stat:hover{transform:translateY(-4px)}
.stat .num{
  font-size:34px;font-weight:800;line-height:1.2;
  background:var(--grad-brand);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;color:transparent;
  font-variant-numeric:tabular-nums;
}
.stat .label{font-size:14px;color:var(--text-soft);margin-top:4px}
section.block{padding:66px 0;position:relative}
section.block.alt{background:var(--bg-soft);transition:background-color .3s ease}
.section-head{max-width:820px;margin:0 auto 42px;text-align:center}
.section-head .eyebrow{
  display:inline-block;color:var(--brand);font-weight:700;font-size:13px;
  letter-spacing:2px;margin-bottom:10px;text-transform:uppercase;
  padding:4px 14px;border-radius:999px;
  background:rgba(230,57,70,.08);
  border:1px solid rgba(230,57,70,.18);
}
.section-head h2{font-size:30px;line-height:1.35;margin-bottom:14px;font-weight:800;letter-spacing:.2px}
.section-head p{color:var(--text-soft);font-size:16px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px;
  box-shadow:var(--shadow);
  transition:transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease,border-color .3s ease,background-color .3s ease;
  position:relative;overflow:hidden;
  will-change:transform;
}
.card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(230,57,70,.06),transparent 45%);
  opacity:0;transition:opacity .3s ease;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(230,57,70,.28);
}
.card:hover::before{opacity:1}
.card h3{font-size:19px;margin-bottom:10px;font-weight:700;line-height:1.45;position:relative}
.card p{color:var(--text-soft);font-size:15px;position:relative}
.card .ico{
  width:52px;height:52px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:16px;background:var(--grad-brand);
  color:#fff;box-shadow:0 8px 20px rgba(230,57,70,.28);
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease;
}
.card:hover .ico{transform:rotate(-6deg) scale(1.08);box-shadow:0 12px 26px rgba(230,57,70,.4)}
.card:nth-child(2) .ico{background:var(--grad-cool);box-shadow:0 8px 20px rgba(42,157,143,.28)}
.card:nth-child(2):hover .ico{box-shadow:0 12px 26px rgba(42,157,143,.4)}
.card:nth-child(3) .ico{background:var(--grad-warm);box-shadow:0 8px 20px rgba(241,162,8,.28)}
.card:nth-child(3):hover .ico{box-shadow:0 12px 26px rgba(241,162,8,.4)}
.breadcrumb{
  padding:16px 0;font-size:14px;color:var(--text-soft);
  border-bottom:1px solid var(--line);background:var(--bg);
  transition:background-color .3s ease,border-color .3s ease;
}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.breadcrumb li{display:flex;align-items:center}
.breadcrumb li::after{content:"/";margin-left:6px;color:var(--line)}
.breadcrumb li:last-child::after{content:""}
.breadcrumb a{color:var(--text-soft);transition:color .2s ease}
.breadcrumb a:hover{color:var(--brand);text-decoration:none}
.breadcrumb [aria-current]{color:var(--text);font-weight:600}
.prose{max-width:900px;margin:0 auto;font-size:16.5px;color:var(--text)}
.prose h2{
  font-size:26px;margin:38px 0 14px;padding-left:14px;
  border-left:5px solid var(--brand);line-height:1.4;font-weight:800;
}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:20px;margin:26px 0 10px;color:var(--brand-2);font-weight:700}
.prose h4{font-size:17px;margin:18px 0 8px;font-weight:700}
.prose p{margin-bottom:14px;color:var(--text-soft)}
.prose ul,.prose ol{margin:0 0 16px 22px;color:var(--text-soft)}
.prose li{margin-bottom:8px}
.prose strong{color:var(--text);font-weight:700}
.prose blockquote{
  border-left:4px solid var(--brand-3);
  background:var(--bg-soft);
  padding:14px 18px;border-radius:0 10px 10px 0;
  margin:16px 0;color:var(--text-soft);
  transition:background-color .3s ease;
}
.author-box{
  display:flex;gap:16px;align-items:center;
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 22px;margin:30px auto 0;max-width:900px;
  transition:background-color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
}
.author-box:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.author-box .avatar{
  width:56px;height:56px;border-radius:50%;overflow:hidden;flex:none;
  box-shadow:0 6px 16px rgba(69,123,157,.3);
}
.author-box .meta{font-size:14px;color:var(--text-soft);line-height:1.7}
.author-box .meta strong{color:var(--text);font-size:15px;display:block;margin-bottom:2px}
.articles-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.article-card{
  display:flex;flex-direction:column;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease,border-color .35s ease,background-color .3s ease;
  will-change:transform;
}
.article-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-hover);
  border-color:rgba(230,57,70,.26);
}
.article-card .thumb{aspect-ratio:16/9;overflow:hidden;position:relative;background:var(--bg-soft)}
.article-card .thumb svg{
  width:100%;height:100%;
  transition:transform .6s cubic-bezier(.22,1,.36,1);
}
.article-card:hover .thumb svg{transform:scale(1.06)}
.article-card .body{padding:22px;display:flex;flex-direction:column;flex:1}
.article-card .meta{
  font-size:13px;color:var(--text-soft);
  display:flex;gap:14px;margin-bottom:8px;flex-wrap:wrap;
}
.article-card .meta span{display:inline-flex;align-items:center}
.article-card h3{font-size:18px;margin-bottom:10px;line-height:1.5;font-weight:700}
.article-card p{font-size:14.5px;color:var(--text-soft);margin-bottom:14px;flex:1}
.article-card .read-more{
  color:var(--brand);font-weight:600;font-size:14px;
  display:inline-flex;align-items:center;gap:4px;
  transition:gap .25s ease,color .2s ease;
}
.article-card .read-more:hover{text-decoration:none;gap:9px;color:#c92d3a}
.faq-list{max-width:900px;margin:0 auto}
.faq-item{
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  margin-bottom:14px;
  background:var(--card);
  overflow:hidden;
  transition:border-color .25s ease,box-shadow .25s ease,background-color .3s ease;
}
.faq-item:hover{border-color:rgba(230,57,70,.3);box-shadow:0 6px 20px rgba(17,24,39,.07)}
.faq-item[open]{border-color:rgba(230,57,70,.35);box-shadow:0 8px 26px rgba(17,24,39,.1)}
.faq-item .q{
  width:100%;text-align:left;background:transparent;border:none;
  padding:18px 22px;font-size:16px;font-weight:600;color:var(--text);
  cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  gap:16px;line-height:1.5;
  transition:color .2s ease,background-color .2s ease;
}
.faq-item .q:hover{color:var(--brand);background:rgba(230,57,70,.04)}
.faq-item .q .plus{
  font-size:22px;color:var(--brand);flex:none;
  transition:transform .3s cubic-bezier(.22,1,.36,1);
  display:inline-block;width:24px;text-align:center;line-height:1;
}
.faq-item[open] .q .plus{transform:rotate(45deg)}
.faq-item .a{padding:0 22px 20px;color:var(--text-soft);font-size:15px;line-height:1.85}
.faq-item details summary{list-style:none;cursor:pointer}
.faq-item details summary::-webkit-details-marker{display:none}
.faq-item details summary::marker{content:""}
.howto-steps{max-width:900px;margin:0 auto;list-style:none;counter-reset:step}
.howto-steps li{
  position:relative;padding:0 0 28px 68px;
  border-left:2px dashed var(--line);
  margin-left:24px;
  transition:border-color .3s ease;
}
.howto-steps li:last-child{border-left:2px solid transparent;padding-bottom:0}
.howto-steps li::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:-25px;top:-2px;
  width:48px;height:48px;border-radius:50%;
  background:var(--grad-brand);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:18px;
  box-shadow:0 8px 20px rgba(230,57,70,.3);
  transition:transform .3s ease,box-shadow .3s ease;
}
.howto-steps li:hover::before{transform:scale(1.08);box-shadow:0 12px 26px rgba(230,57,70,.42)}
.howto-steps h3{font-size:18px;margin-bottom:6px;font-weight:700}
.howto-steps p{color:var(--text-soft);font-size:15px}
.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:32px;align-items:start}
.contact-info ul{list-style:none}
.contact-info li{
  display:flex;gap:14px;padding:16px 0;
  border-bottom:1px dashed var(--line);
  font-size:15px;align-items:flex-start;
  transition:transform .25s ease;
}
.contact-info li:hover{transform:translateX(4px)}
.contact-info li:last-child{border-bottom:none}
.contact-info li svg{width:22px;height:22px;flex:none;color:var(--brand);margin-top:3px}
.contact-info li strong{display:block;color:var(--text);font-size:14px;margin-bottom:2px}
.contact-info li span{color:var(--text-soft);font-size:14px;line-height:1.7}
.map-box{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;min-height:260px;
  transition:background-color .3s ease,border-color .3s ease,transform .3s ease,box-shadow .3s ease;
}
.map-box:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.map-box svg{width:100%;max-width:340px;margin-bottom:14px;border-radius:10px}
.map-box p{color:var(--text-soft);font-size:14px}
.notice{
  background:var(--bg-soft);
  border:1px solid var(--line);
  border-left:4px solid var(--brand-3);
  border-radius:10px;
  padding:16px 20px;margin:20px auto;max-width:900px;
  color:var(--text-soft);font-size:14.5px;line-height:1.8;
  transition:background-color .3s ease,border-color .3s ease;
}
.notice strong{color:var(--text)}
footer.site-footer{
  background:#0f1216;color:#c9d0da;
  padding:56px 0 24px;margin-top:40px;
  transition:background-color .3s ease;
}
html[data-theme="dark"] footer.site-footer{background:#0a0c10}
footer.site-footer a{color:#c9d0da;transition:color .2s ease}
footer.site-footer a:hover{color:#fff;text-decoration:none}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;margin-bottom:36px;
}
.footer-grid h4{color:#fff;font-size:15px;margin-bottom:14px;font-weight:700}
.footer-grid ul{list-style:none;font-size:14px}
.footer-grid li{margin-bottom:9px;line-height:1.6}
.footer-grid li a{position:relative;display:inline-block;transition:transform .2s ease,color .2s ease}
.footer-grid li a:hover{transform:translateX(3px);color:#fff}
.footer-brand{
  display:flex;align-items:center;gap:10px;
  color:#fff;font-weight:800;font-size:18px;margin-bottom:14px;
}
.footer-brand svg{width:34px;height:34px;border-radius:8px}
.footer-brand + p{font-size:14px;color:#9aa4b2;line-height:1.8}
.footer-bottom{
  border-top:1px solid #232a33;
  padding-top:20px;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:14px;font-size:13px;color:#8b95a3;
}
.footer-bottom ul{list-style:none;display:flex;gap:18px;flex-wrap:wrap}
.back-top{
  position:fixed;right:24px;bottom:28px;z-index:900;
  width:48px;height:48px;border-radius:50%;
  background:var(--grad-brand);color:#fff;border:none;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px rgba(230,57,70,.42);
  opacity:0;visibility:hidden;transform:translateY(12px) scale(.9);
  transition:opacity .3s ease,visibility .3s ease,transform .3s cubic-bezier(.22,1,.36,1),box-shadow .3s ease;
}
.back-top.show{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.back-top:hover{transform:translateY(-3px) scale(1.06);box-shadow:0 16px 34px rgba(230,57,70,.55)}
.back-top:active{transform:translateY(0) scale(.96)}
.reveal{
  opacity:0;transform:translateY(26px);
  transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);
  will-change:opacity,transform;
}
.reveal.in{opacity:1;transform:translateY(0)}
.grid-3.reveal > *,.grid-4.reveal > *,.grid-2.reveal > *,.articles-grid.reveal > *{
  opacity:0;transform:translateY(22px);
  transition:opacity .6s ease,transform .6s cubic-bezier(.22,1,.36,1);
}
.grid-3.reveal.in > *,.grid-4.reveal.in > *,.grid-2.reveal.in > *,.articles-grid.reveal.in > *{opacity:1;transform:translateY(0)}
.grid-3.reveal.in > *:nth-child(2),.grid-4.reveal.in > *:nth-child(2),.articles-grid.reveal.in > *:nth-child(2){transition-delay:.08s}
.grid-3.reveal.in > *:nth-child(3),.grid-4.reveal.in > *:nth-child(3),.articles-grid.reveal.in > *:nth-child(3){transition-delay:.16s}
.grid-4.reveal.in > *:nth-child(4),.articles-grid.reveal.in > *:nth-child(4){transition-delay:.24s}
.articles-grid.reveal.in > *:nth-child(5){transition-delay:.1s}
.articles-grid.reveal.in > *:nth-child(6){transition-delay:.18s}
.articles-grid.reveal.in > *:nth-child(7){transition-delay:.26s}
.articles-grid.reveal.in > *:nth-child(8){transition-delay:.34s}
.articles-grid.reveal.in > *:nth-child(9){transition-delay:.42s}
.articles-grid.reveal.in > *:nth-child(10){transition-delay:.5s}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
  .reveal,.grid-3.reveal > *,.grid-4.reveal > *,.grid-2.reveal > *,.articles-grid.reveal > *{opacity:1;transform:none}
}
@media(max-width:1080px){
  .search-box input{width:120px}
  nav.main-nav ul{gap:2px}
  nav.main-nav a{font-size:14px;padding:8px 8px}
}
@media(max-width:960px){
  :root{--header-h:64px}
  .hero-inner{grid-template-columns:1fr;gap:34px}
  .hero h1{font-size:32px}
  .hero-visual{max-width:420px;margin:0 auto;width:100%}
  .grid-3,.grid-4,.articles-grid,.contact-grid,.footer-grid{grid-template-columns:1fr 1fr}
  .stats{grid-template-columns:1fr 1fr;gap:24px 16px}
  nav.main-nav{
    display:none;
    position:absolute;top:100%;left:0;right:0;
    background:var(--bg-glass);
    -webkit-backdrop-filter:saturate(180%) blur(16px);
    backdrop-filter:saturate(180%) blur(16px);
    border-bottom:1px solid var(--line);
    padding:16px 20px;
    box-shadow:0 18px 40px rgba(0,0,0,.14);
    animation:navDrop .28s cubic-bezier(.22,1,.36,1);
  }
  @keyframes navDrop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
  nav.main-nav.open{display:block}
  nav.main-nav ul{flex-direction:column;gap:4px;align-items:stretch}
  nav.main-nav a{padding:11px 12px;border-radius:10px;font-size:15px}
  nav.main-nav a::after{display:none}
  .menu-toggle{display:flex}
  .search-box{display:none}
  .section-head h2{font-size:26px}
  .prose h2{font-size:23px}
  .prose h3{font-size:19px}
  .contact-grid{grid-template-columns:1fr}
  .map-box{min-height:220px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .footer-grid > div:first-child{grid-column:1/-1}
}
@media(max-width:640px){
  body{font-size:15.5px}
  .container{padding:0 16px}
  .hero{padding:52px 0 62px}
  .hero h1{font-size:27px;line-height:1.36}
  .hero p.lead{font-size:15.5px}
  .hero-tags span{font-size:12px;padding:5px 12px}
  .hero-cta{width:100%}
  .btn{flex:1;min-width:140px;padding:12px 20px;font-size:14.5px}
  section.block{padding:48px 0}
  .section-head{margin-bottom:30px}
  .section-head h2{font-size:22px}
  .section-head p{font-size:15px}
  .grid-3,.grid-4,.grid-2,.articles-grid,.contact-grid,.footer-grid{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr 1fr;padding:28px 0}
  .stat .num{font-size:26px}
  .stat .label{font-size:12.5px}
  .card{padding:22px}
  .prose{font-size:15.5px}
  .prose h2{font-size:20px;margin:30px 0 12px}
  .prose h3{font-size:18px}
  .article-card .body{padding:18px}
  .article-card h3{font-size:16.5px}
  .howto-steps li{padding:0 0 24px 56px;margin-left:20px}
  .howto-steps li::before{width:40px;height:40px;left:-21px;font-size:16px}
  .howto-steps h3{font-size:16.5px}
  .faq-item .q{padding:15px 16px;font-size:15px}
  .faq-item .a{padding:0 16px 16px;font-size:14.5px}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .back-top{right:16px;bottom:18px;width:44px;height:44px}
  .notice{font-size:14px;padding:14px 16px}
  .author-box{flex-direction:column;text-align:center;padding:18px}
}
@media(max-width:380px){
  .hero h1{font-size:24px}
  .brand{font-size:17px}
  .brand small{font-size:10.5px}
}
@media(hover:none){
  .card:hover,.article-card:hover,.map-box:hover,.stat:hover{transform:none}
  .card:hover .ico{transform:none}
  .article-card:hover .thumb svg{transform:none}
}
@media print{
  header.site-header,.back-top,.hero-visual,.stats-bar,.hero-cta,.footer-grid,footer.site-footer{display:none !important}
  body{background:#fff;color:#000}
  .card,.article-card,.faq-item{box-shadow:none;border:1px solid #ccc;break-inside:avoid}
  .reveal,.grid-3.reveal > *,.grid-4.reveal > *,.articles-grid.reveal > *{opacity:1 !important;transform:none !important}
  a{color:#000;text-decoration:underline}
}