:root{
--asphalt: #10151D;
--concrete: #E4E9F0;
--foam: #F7F9FC;
--ink: #10151D;
--ink-soft: #454E5C;
--teal: #2568E8;
--yellow: #E5352B;
--line: rgba(255,255,255,0.12);
--line-dark: rgba(16,21,29,0.14);
}
*{box-sizing:border-box; margin:0; padding:0;}
body{
font-family:'Manrope', sans-serif;
color:var(--ink);
background:var(--foam);
-webkit-font-smoothing:antialiased;
display:flex;
flex-direction:column;
min-height:100vh;
}
a{color:inherit; text-decoration:none;}
h1,h2{
font-family:'Unbounded', sans-serif;
line-height:1.08;
letter-spacing:-0.01em;
}
.wrap{
max-width:1180px;
margin:0 auto;
padding:0 32px;
}

/* ---------- Header ---------- */
header{
position:sticky; top:0; z-index:50;
background:rgba(21,24,27,0.94);
backdrop-filter:blur(6px);
border-bottom:1px solid var(--line);
}
.header-row{
display:flex; align-items:center; justify-content:space-between;
padding:18px 32px;
max-width:1180px; margin:0 auto;
}
.logo{
display:flex; align-items:baseline; gap:8px;
font-family:'Unbounded', sans-serif;
color:var(--foam);
}
.logo .num{ color:var(--yellow); font-weight:900; font-size:26px; }
.logo .word{ font-weight:700; font-size:16px; letter-spacing:0.01em; }
.back-link{
color:var(--concrete);
font-size:15px;
font-weight:500;
transition:color .15s ease;
}
.back-link:hover{ color:var(--yellow); }

/* ---------- Page hero ---------- */
.page-hero{
background:var(--asphalt);
color:var(--foam);
padding:90px 0 70px;
}
.page-hero .crumb{
font-size:13px;
font-weight:700;
letter-spacing:0.08em;
text-transform:uppercase;
color:var(--concrete);
margin-bottom:16px;
}
.page-hero h1{
font-size:clamp(34px, 5vw, 56px);
font-weight:900;
}
.page-hero h1 span{ color:var(--yellow); }
.page-hero p{
margin-top:18px;
max-width:52ch;
font-size:17px;
line-height:1.6;
color:var(--concrete);
}

/* ---------- Posts ---------- */
.posts-section{ padding:80px 0 100px; }
.posts-grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:22px;
}
.post-card{
border:1px solid var(--line-dark);
border-radius:4px;
padding:28px 26px;
background:#fff;
display:flex;
flex-direction:column;
gap:14px;
transition:box-shadow .15s ease, transform .15s ease;
}
.post-card:hover{
box-shadow:0 10px 30px rgba(16,21,29,0.08);
transform:translateY(-2px);
}
.post-num{
font-family:'Unbounded', sans-serif;
font-weight:800;
font-size:14px;
color:var(--teal);
}
.post-card h2{ font-size:20px; font-weight:800; }
.post-card p{
font-size:14px;
color:var(--ink-soft);
line-height:1.55;
flex:1;
}
.btn{
display:inline-flex; align-items:center; justify-content:center; gap:8px;
padding:14px 22px;
font-weight:700;
font-size:15px;
border-radius:3px;
background:var(--yellow);
color:var(--asphalt);
}
.btn:hover{ background:#ffd23e; }

/* ---------- Footer ---------- */
footer{
background:var(--asphalt);
color:var(--concrete);
padding:44px 0;
margin-top:auto;
}
.footer-row{
display:flex; justify-content:space-between; align-items:center;
flex-wrap:wrap; gap:16px;
font-size:13.5px;
}
.footer-row .flogo{ color:var(--foam); font-family:'Unbounded'; font-weight:700; font-size:14px; }

@media (max-width:900px){
.posts-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:600px){
.posts-grid{ grid-template-columns:1fr; }
.wrap{ padding:0 20px; }
.header-row{ padding:18px 20px; }
.page-hero{ padding:64px 0 50px; }
.posts-section{ padding:56px 0 72px; }
}
