:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#172033;background:#f5f7fb}*{box-sizing:border-box}body{margin:0} .site-header{padding:24px max(24px,calc((100% - 1120px)/2));background:#111827;color:#fff}.site-header strong{font-size:1.35rem}.site-header span{display:block;color:#aab5c8;margin-top:4px;font-size:.9rem}main{max-width:1120px;margin:auto;padding:48px 24px}.hero h1{font-size:clamp(2rem,5vw,3.5rem);margin:0 0 8px}.hero p{color:#667085}.controls{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.controls input,.controls select{padding:12px 14px;border:1px solid #d7dce5;border-radius:10px;background:#fff;font:inherit}.controls input{flex:1;min-width:220px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.card{background:#fff;border:1px solid #e4e8ef;border-radius:16px;padding:22px;box-shadow:0 8px 24px #1822300b}.card h2{font-size:1.15rem;margin:0 0 10px}.card p{color:#596579;line-height:1.55}.meta{font-size:.82rem;color:#718096;display:flex;gap:8px;flex-wrap:wrap}.score{color:#2563eb;font-weight:700}.card a{color:#2563eb;text-decoration:none;margin-right:14px}.status{margin:18px 0;color:#667085}.empty{padding:56px 20px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:16px}.load-more{display:block;margin:28px auto;padding:12px 20px;border:0;border-radius:10px;background:#2563eb;color:#fff;cursor:pointer}.load-more:disabled{opacity:.5;cursor:wait}@media(prefers-color-scheme:dark){:root{color:#e5e7eb;background:#0f172a}.card,.controls input,.controls select,.empty{background:#172033;border-color:#2d3a50}.hero p,.card p,.status{color:#aab5c8}}
.article-page{max-width:820px}.article-card{background:#fff;border:1px solid #e4e8ef;border-radius:20px;padding:clamp(24px,5vw,56px);box-shadow:0 12px 32px #18223012}.back-link{display:inline-block;margin-bottom:20px;color:#2563eb;text-decoration:none}.badge{display:inline-block;margin:0 8px 18px 0;padding:5px 10px;border-radius:999px;background:#e8efff;color:#2453b8;font-size:.8rem;font-weight:600}.article-card h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.08;overflow-wrap:anywhere;margin:8px 0 20px}.article-summary{font-size:1.15rem;line-height:1.8;color:#596579;white-space:pre-line;overflow-wrap:anywhere}.article-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}.button{display:inline-block;padding:12px 18px;border-radius:10px;text-decoration:none;font-weight:600}.button.primary{background:#2563eb;color:#fff}.button.secondary{border:1px solid #cbd5e1;color:#334155}.site-footer{text-align:center;padding:28px;color:#718096}@media(max-width:600px){main{padding:28px 16px}.article-card{padding:24px}.article-actions .button{width:100%;text-align:center}}@media(prefers-color-scheme:dark){.article-card{background:#172033;border-color:#2d3a50}.article-summary{color:#aab5c8}.button.secondary{border-color:#475569;color:#e2e8f0}.badge{background:#243b68;color:#bfdbfe}}
 .site-header{padding:0;background:#111827;color:#fff}.site-header__inner{width:min(1120px,calc(100% - 48px));min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-brand{display:inline-flex;align-items:center;gap:11px;color:#fff;text-decoration:none;min-width:0}.site-brand__mark{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;color:#fff;font-weight:800;background:linear-gradient(135deg,#7c73ff,#3a35b5);box-shadow:0 6px 16px #635bff3d}.site-brand__text{display:flex;flex-direction:column;line-height:1;min-width:0}.site-brand__text strong{font-size:1.1rem;letter-spacing:-.03em}.site-brand__text small{margin-top:5px;color:#aab5c8;font-size:.68rem;letter-spacing:.03em}.site-nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.site-nav a{color:#c9d1df;text-decoration:none;font-size:.86rem;font-weight:650;padding:9px 11px;border-radius:9px}.site-nav a:hover{background:#28324a;color:#fff}.site-nav a:focus-visible{outline:2px solid #a8a4ff;outline-offset:3px}@media(max-width:600px){.site-header__inner{width:calc(100% - 32px);min-height:68px;gap:12px}.site-brand__mark{width:30px;height:30px;flex-basis:30px}.site-brand__text strong{font-size:.98rem}.site-brand__text small{font-size:.62rem}.site-nav{gap:0}.site-nav a{padding:8px 6px;font-size:.76rem}.site-nav a:nth-child(2){display:none}}
 .site-brand__mark{width:29px;height:29px;flex-basis:29px}.site-nav{gap:8px}@media(max-width:600px){.site-brand__mark{width:26px;height:26px;flex-basis:26px}.site-nav{gap:6px}}
 .site-brand__text{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.site-brand__text strong,.site-brand__text small{display:block}.site-brand__text small{margin-top:0}
 .skip-link{position:absolute;left:12px;top:-48px;z-index:20;padding:10px 14px;background:#111827;color:#fff;border-radius:8px;text-decoration:none;font-weight:700}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:2px solid #a8a4ff;outline-offset:3px}.controls label{display:block}.controls label:first-child{flex:1;min-width:220px}.controls label:first-child input{width:100%}
 .site-nav a.active{background:#28324a;color:#fff}.site-nav a{margin-left:4px}.site-nav a:first-child{margin-left:0}
 .article-page{max-width:860px;padding-top:52px}.article-card{padding:clamp(28px,6vw,68px)}.article-card h1{max-width:760px;font-size:clamp(2.25rem,5.5vw,4.4rem);line-height:1.05;letter-spacing:-.055em;margin:8px 0 28px}.article-card .meta{display:flex;align-items:center;gap:14px;padding:16px 0;margin-bottom:30px;border-top:1px solid #e4e8ef;border-bottom:1px solid #e4e8ef}.article-card .meta span{line-height:1.45}.article-summary{max-width:700px;font-size:clamp(1.08rem,1.7vw,1.25rem);line-height:1.85;letter-spacing:-.005em}.article-card p{margin:0 0 1.35em}.article-card h2,.article-card h3{max-width:700px;line-height:1.25;letter-spacing:-.025em;margin:2em 0 .65em}.article-card ul,.article-card ol{max-width:680px;padding-left:1.4em;line-height:1.8;margin:1.2em 0}.article-card li+li{margin-top:.45em}.article-card a{color:#4d46d8;text-underline-offset:3px}.article-card a:hover{text-decoration-thickness:2px}.article-actions{margin-top:36px}@media(max-width:700px){.article-page{padding-top:32px}.article-card{padding:26px 22px}.article-card .meta{align-items:flex-start;gap:9px;flex-wrap:wrap;margin-bottom:24px}.article-summary{font-size:1.05rem;line-height:1.75}.article-card h2,.article-card h3{margin-top:1.6em}}@media(max-width:420px){.article-card h1{font-size:2.15rem}.article-card .meta{display:grid;gap:8px}.article-actions .button{width:100%;text-align:center}}
 .card{display:flex;flex-direction:column;min-width:0;padding:24px;gap:0}.card h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:4.5em;line-height:1.5;margin:0 0 12px}.card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;min-height:6.4em;margin:0 0 16px}.card .meta{min-height:2.9em;margin-bottom:12px}.card .score{margin-top:auto;min-height:1.3em;margin-bottom:18px}.card a{font-weight:700;transition:color .18s ease}.card a:hover{color:#4d46d8;text-decoration:underline;text-underline-offset:3px}.card:hover{transform:translateY(-3px);box-shadow:0 16px 34px #18223018}.card:focus-within{border-color:#918bff;box-shadow:0 0 0 3px #635bff1c,0 12px 28px #18223012}
 .hero{padding:28px 0 8px}.hero h1{font-size:clamp(2.25rem,5.5vw,3.5rem);line-height:1.08;margin:0 0 10px}.hero p{max-width:680px;line-height:1.55;margin:0}.hero .controls{margin-top:20px}@media(max-width:900px){.hero{padding-top:22px}.hero h1{font-size:clamp(2.1rem,6vw,3rem)}}@media(max-width:600px){.hero{padding-top:18px}.hero h1{font-size:clamp(2rem,10vw,2.7rem)}.hero .controls{margin-top:18px}}
 .related-articles{margin-top:32px}.related-articles h2{margin:0 0 16px;font-size:1.35rem}.related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.related-card{display:flex;flex-direction:column;gap:10px;padding:18px;background:#fff;border:1px solid #e4e8ef;border-radius:14px;box-shadow:0 8px 24px #1822300b}.related-card h3{margin:0;font-size:1rem;line-height:1.35}.related-card small{color:#718096}.related-card a{color:#2563eb;text-decoration:none;font-weight:600;margin-top:auto}.related-card a:hover{text-decoration:underline}@media(prefers-color-scheme:dark){.related-card{background:#172033;border-color:#2d3a50}}
 .site-footer{border-top:1px solid #e4e8ef;margin-top:64px;background:#f5f7fb}.footer-inner{width:min(1120px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:32px;padding:32px 0;min-width:0}.footer-brand-block{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.footer-brand{color:#172033;font-weight:800;text-decoration:none;overflow-wrap:anywhere}.footer-brand-block p,.copyright{margin:0;color:#718096;overflow-wrap:anywhere}.footer-links{display:flex;align-items:center;justify-content:flex-start;gap:20px;flex-wrap:wrap;min-width:0}.footer-links a{color:#172033;text-decoration:none;font-weight:600;white-space:nowrap}.footer-links a:hover,.footer-links a:focus-visible{text-decoration:underline}.copyright{white-space:nowrap}@media(max-width:700px){.footer-inner{grid-template-columns:1fr;align-items:flex-start;gap:18px;width:calc(100% - 32px)}.footer-links{gap:14px 20px}.copyright{white-space:normal}}
 .about-page{max-width:860px;padding-top:52px}.about-page .article-card{line-height:1.75}.about-page h1{margin-top:0}.about-page h2{margin-top:2em}@media(max-width:600px){.about-page{padding-top:32px}}

/* Article polish: readable text, resilient metadata and mobile-safe actions. */
.article-page{width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.article-card .meta{width:100%;box-sizing:border-box;flex-wrap:wrap}
.article-card .meta span{white-space:normal;overflow-wrap:anywhere}
.article-summary{max-width:68ch;margin-bottom:0}
.article-actions{align-items:center;row-gap:12px}
.article-actions .button{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}
.related-articles{margin-top:40px}
.related-grid{min-width:0}
@media(max-width:700px){.article-actions{width:100%}.article-actions .button{flex:1 1 220px;min-width:0}.related-articles{margin-top:32px}}
@media(max-width:420px){.article-actions .button{flex-basis:100%}}

/* Feed cards: keep the CTA group anchored without fixing card height. */
.card{align-items:stretch}
.card > .score{margin-top:auto}
.card > a{margin-right:0}
.card > a + a{margin-top:8px}
.card h2,.card p{min-width:0;overflow-wrap:anywhere}
.card .meta{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.card{transition:border-color .18s ease,box-shadow .18s ease}
.card:hover{transform:none;border-color:#cbd5e1;box-shadow:0 12px 28px #18223012}
.card a:focus-visible{outline:2px solid #a8a4ff;outline-offset:3px;border-radius:4px}
@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover{transform:none}}
