/* Typography inspired by thecode.media: regular geometric headings and calm text.
   Open-font alternatives: Onest / Golos Text. No proprietary font files copied.
   Only font properties; colours, layout, media and content stay in existing styles. */
@font-face{font-family:Onest;font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/onest-cyrillic-normal-4c756272.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:100 900;font-display:swap;src:url('/fonts/onest-latin-normal-cebbb529.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--serif:Onest,Arial,sans-serif;--sans:'Golos Text',Arial,sans-serif;--mono:'Golos Text',Arial,sans-serif}
body{font-size:18px;line-height:1.6}
h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:normal;line-height:1.1}
.logo__name{font-family:var(--serif);font-weight:500;letter-spacing:normal}
.hero h1,.page-hero h1,.blog-hero h1,.post-hero h1,.e404 h1{font-size:clamp(34px,4vw,50px);font-weight:400;line-height:1.06;letter-spacing:normal}
.hero h1 i{font-style:normal;font-weight:400}
.hero__lead{font-size:clamp(18px,1.5vw,20px);line-height:1.6}
.sec h2,.contact-block h2{font-size:clamp(30px,3.2vw,40px);font-weight:400;line-height:1.1;letter-spacing:normal}
.work h3{font-size:clamp(26px,2.6vw,34px);font-weight:400;line-height:1.15;letter-spacing:normal}
.svc__row h3{font-size:clamp(23px,2vw,28px);font-weight:400;line-height:1.15;letter-spacing:normal}
.showcase__title{font-family:var(--serif);font-size:clamp(28px,3vw,40px);font-weight:400;line-height:1.1;letter-spacing:normal}
.about__cols p:first-child{font-family:var(--sans);font-size:22px;font-weight:400;line-height:1.5;letter-spacing:normal}
.latest__title{font-family:var(--serif);font-weight:400;line-height:1.2;letter-spacing:normal}
.faq__item summary{font-family:var(--serif);font-weight:400;line-height:1.3}
.contact b{font-family:var(--serif);font-weight:400;line-height:1.2}
.live__title b,.sec__label b,.hero__photo::before,.author-cta__name,.toc__title,.toc--inline summary{font-weight:500;letter-spacing:normal}
.svc__n,.steps li::before,.e404__code{font-weight:400}
.post-card__title,.post-grid:not(.post-grid--related)>.post-card:first-child .post-card__title{font-family:var(--serif);font-weight:400;line-height:1.15;letter-spacing:normal}
.post-grid:not(.post-grid--related)>.post-card:first-child .post-card__title{font-size:clamp(28px,3vw,40px)}
.post-lead{font-family:var(--sans);font-size:clamp(20px,1.8vw,24px);line-height:1.4}
.prose{font-size:20px;line-height:1.6}
.prose h2{font-size:clamp(28px,3.2vw,40px);font-weight:400;line-height:1.1;letter-spacing:normal}
.prose h3{font-size:clamp(23px,2.2vw,28px);font-weight:400;line-height:1.15;letter-spacing:normal}
.post-demos h2,.related h2{font-weight:400;line-height:1.15;letter-spacing:normal}
.demo-card__title{font-weight:400;line-height:1.2;letter-spacing:normal}
.prose strong{font-weight:600}
/* Keep code samples monospace, independent of interface typography. */
pre,code,kbd,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
@media(max-width:760px){.prose{font-size:18px;line-height:1.6}.about__cols p:first-child{font-size:20px}.hero__photo::before{font-size:12px}}
