:root{
  --ink:#171717;--muted:#696969;--line:#e8e8e8;--soft:#f7f7f5;
  --yellow:#ffcf16;--yellow-deep:#e8b900;--white:#fff;--radius:18px;
  --shadow:0 16px 45px rgba(0,0,0,.07);--max:1160px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.shell{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.narrow{max-width:900px}
.site-header{height:78px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:11px}
.brand img{display:block;border-radius:50%}
.brand span{display:grid;line-height:1.05}
.brand strong{font-size:18px;letter-spacing:-.3px}
.brand small{font-size:11px;color:var(--muted);margin-top:5px;text-transform:uppercase;letter-spacing:.09em}
.top-nav{display:flex;align-items:center;gap:8px}
.top-nav a{padding:10px 14px;border-radius:10px;font-size:14px;font-weight:650;color:#474747}
.top-nav a:hover{background:var(--soft);color:#000}
.hero{background:linear-gradient(135deg,#151515 0%,#232323 67%,#2e2e29 100%);color:#fff;overflow:hidden;position:relative}
.hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:var(--yellow);opacity:.09;right:-110px;top:-160px}
.hero-inner{padding:78px 0 82px;position:relative;z-index:1;max-width:920px}
.eyebrow{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--yellow);margin-bottom:16px}
.eyebrow.dark{color:#9b7b00}
.hero h1{font-size:clamp(38px,6vw,66px);line-height:1;letter-spacing:-.045em;margin:0 0 18px}
.hero p{font-size:19px;color:#d4d4d4;max-width:760px;margin:0 0 30px}
.search-box{display:flex;align-items:center;background:#fff;border-radius:14px;padding:7px;box-shadow:var(--shadow);max-width:820px}
.search-icon{color:#777;font-size:27px;padding:0 9px 0 11px}
.search-box input{border:0;outline:0;flex:1;min-width:0;padding:15px 8px;color:#171717;font-size:16px;background:transparent}
.search-box button{border:0;background:var(--yellow);color:#111;font-weight:800;border-radius:10px;padding:13px 19px;cursor:pointer}
.search-box button:hover{background:#ffd83f}
.search-results{margin-top:12px;background:#fff;color:#171717;border-radius:14px;padding:8px;box-shadow:var(--shadow);max-width:820px}
.search-result{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 14px;border-radius:10px}
.search-result:hover{background:var(--soft)}
.search-result strong{display:block}
.search-result small{color:var(--muted)}
.search-empty{padding:18px;color:var(--muted)}
.section{padding:72px 0}
.section-soft{background:var(--soft)}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:30px}
.section-heading h2,.two-col h2{font-size:34px;line-height:1.05;letter-spacing:-.035em;margin:3px 0 0}
.section-heading p{max-width:430px;color:var(--muted);margin:0}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.category-card{min-height:136px;border:1px solid var(--line);border-radius:var(--radius);padding:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:start;gap:14px;transition:.18s ease;background:#fff}
.category-card:hover{border-color:#d3b526;transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.06)}
.category-card strong{display:block;font-size:17px;margin-top:2px}
.category-card small{display:block;color:var(--muted);margin-top:7px;line-height:1.45}
.category-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#fff6cc;color:#111;font-weight:900}
.category-icon.large{width:56px;height:56px;border-radius:16px;font-size:22px;flex:0 0 auto}
.arrow{color:#8a8a8a;font-size:20px}
.two-col{display:grid;grid-template-columns:1.45fr .75fr;gap:60px;align-items:start}
.article-list{margin-top:22px;border-top:1px solid #ddd}
.article-row{padding:18px 2px;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;gap:20px;font-weight:650}
.article-row:hover{color:#8a6b00}
.support-card{background:#171717;color:#fff;padding:30px;border-radius:22px}
.support-card h3{font-size:28px;line-height:1.1;margin:12px 0}
.support-card p{color:#c9c9c9}
.support-badge{font-size:10px;letter-spacing:.16em;color:var(--yellow);font-weight:900}
.button{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:12px 16px;font-weight:800}
.button.primary{background:var(--yellow)}
.button.secondary{background:#fff;border:1px solid #ddd;color:#171717}
.support-card .button{margin-top:8px}
.content-main{min-height:calc(100vh - 220px);padding:48px 0 80px}
.breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:#747474;margin-bottom:30px}
.breadcrumbs a:hover{color:#000;text-decoration:underline}
.content-header{display:flex;gap:18px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:28px;margin-bottom:28px}
.content-header h1{font-size:40px;letter-spacing:-.04em;line-height:1.05;margin:1px 0 9px}
.content-header p{color:var(--muted);font-size:17px;margin:0}
.article-cards{display:grid;gap:12px}
.article-card{border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.article-card:hover{border-color:#cdb21d;background:#fffdf4}
.article-card strong{display:block;font-size:17px}
.article-card small{display:block;color:var(--muted);margin-top:5px}
.empty-state{padding:28px;border:1px dashed #ccc;border-radius:15px;color:var(--muted);background:var(--soft)}
.empty-state strong{color:#333}
.article-shell{max-width:920px}
.article-header{padding-bottom:30px;border-bottom:1px solid var(--line)}
.article-header h1{font-size:clamp(36px,5vw,52px);line-height:1.02;letter-spacing:-.045em;margin:2px 0 16px}
.article-header p{font-size:19px;color:var(--muted);margin:0;max-width:760px}
.article-body{padding:18px 0 28px}
.article-body section{padding:17px 0}
.article-body h2{font-size:23px;letter-spacing:-.02em;margin:0 0 8px}
.article-body p{margin:0;color:#444;font-size:16.5px}
.article-feedback{margin-top:24px;padding:22px;border:1px solid var(--line);border-radius:16px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--soft)}
.article-feedback strong,.article-feedback small{display:block}
.article-feedback small{color:var(--muted);margin-top:3px}
.feedback-actions{display:flex;gap:8px}
.feedback-actions button{min-width:74px;border:1px solid #d5d5d5;background:#fff;padding:9px 13px;border-radius:9px;cursor:pointer;font-weight:700}
.feedback-actions button:hover{border-color:#ad9200;background:#fff9df}
.back-link{display:inline-block;margin-top:28px;font-weight:700;color:#6f5a00}
.error-box{text-align:center;padding-top:60px}
.error-code{font-size:13px;font-weight:900;letter-spacing:.16em;color:#957700}
.error-box h1{font-size:46px;letter-spacing:-.04em;margin:10px 0}
.error-box p{color:var(--muted);font-size:18px}
.error-actions{display:flex;gap:10px;justify-content:center;margin-top:26px}
.site-footer{border-top:1px solid var(--line);background:#fff}
.footer-inner{min-height:120px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.footer-inner>div:first-child{display:grid}
.footer-inner span{font-size:12px;color:var(--muted)}
.footer-links{display:flex;gap:18px;font-size:13px;color:#555}
.footer-links a:hover{text-decoration:underline}
@media (max-width:860px){
  .category-grid{grid-template-columns:1fr 1fr}
  .two-col{grid-template-columns:1fr;gap:34px}
  .section-heading{display:block}
  .section-heading p{margin-top:12px}
}
@media (max-width:620px){
  .shell{width:min(calc(100% - 26px),var(--max))}
  .site-header{height:70px}
  .brand img{width:39px;height:39px}
  .brand small{display:none}
  .top-nav a:first-child{display:none}
  .hero-inner{padding:54px 0 60px}
  .hero p{font-size:16px}
  .search-box{display:grid;grid-template-columns:auto 1fr}
  .search-box button{grid-column:1/-1}
  .category-grid{grid-template-columns:1fr}
  .section{padding:54px 0}
  .content-header{display:block}
  .content-header .category-icon{margin-bottom:16px}
  .content-header h1{font-size:34px}
  .article-feedback{display:block}
  .feedback-actions{margin-top:15px}
  .footer-inner{padding:28px 0;display:block}
  .footer-links{margin-top:14px;flex-wrap:wrap}
  .error-actions{flex-direction:column}
}
