/* =========================================
BASE
========================================= */

:root {
--background: #f7f7f5;
--surface: #ffffff;
--dark: #111111;
--text: #181818;
--muted: #707070;
--line: #ddddda;
--accent: #d85c3a;

--max-width: 1180px;

}

    {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    }

html {
scroll-behavior: smooth;
}

body {
background: var(--background);
color: var(--text);

font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

line-height: 1.6;

}

a {
color: inherit;
text-decoration: none;
}

/* =========================================
LAYOUT
========================================= */

.content-width {
width: min(var(--max-width), calc(100% - 48px));
margin: 0 auto;
}

.section {
padding: 110px 0;
}

.section-light {
background: #eeeeeb;
}

.section-dark {
background: var(--dark);
color: white;
}

/* =========================================
HEADER
========================================= */

.site-header {
height: 76px;

border-bottom: 1px solid var(--line);

background: rgba(247, 247, 245, 0.94);

position: sticky;
top: 0;
z-index: 10;

backdrop-filter: blur(12px);

}

.header-inner {
width: min(var(--max-width), calc(100% - 48px));
height: 100%;
margin: 0 auto;

display: flex;
align-items: center;
justify-content: space-between;

}

.logo {
font-size: 15px;
font-weight: 800;
letter-spacing: 1.5px;
}

.main-nav {
display: flex;
gap: 34px;
}

.main-nav a {
font-size: 14px;
color: #555;

transition: color 0.2s ease;

}

.main-nav a:hover {
color: var(--text);
}

.search-button {
border: none;
background: transparent;

font-size: 26px;

cursor: pointer;

color: #333;

}

/* =========================================
HERO
========================================= */

.hero {
padding: 150px 0 130px;

border-bottom: 1px solid var(--line);

}

.eyebrow {
margin-bottom: 20px;

font-size: 11px;
font-weight: 700;

letter-spacing: 2.5px;
text-transform: uppercase;

color: var(--accent);

}

.hero h1 {
max-width: 900px;

font-size: clamp(54px, 8vw, 100px);
line-height: 0.95;

letter-spacing: -5px;
font-weight: 750;

}

.hero h1 span {
color: var(--accent);
}

.hero-intro {
max-width: 580px;

margin-top: 36px;

color: var(--muted);

font-size: 19px;
line-height: 1.7;

}

/* =========================================
SECTION HEADERS
========================================= */

.section-header {
display: flex;
justify-content: space-between;
align-items: end;

margin-bottom: 45px;

}

.section-header h2 {
font-size: 42px;
line-height: 1.1;

letter-spacing: -1.8px;

}

.section-link {
font-size: 14px;
color: var(--muted);
}

.section-link:hover {
color: var(--text);
}

/* =========================================
FEATURED ARTICLE
========================================= */

.featured-card {
display: grid;
grid-template-columns: 1.2fr 0.8fr;

min-height: 430px;

background: var(--surface);

border: 1px solid var(--line);

transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

}

.featured-card:hover {
transform: translateY(-4px);

box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);

}

.featured-text {
padding: 55px;

display: flex;
flex-direction: column;
justify-content: center;

}

.article-meta {
display: flex;
flex-wrap: wrap;
gap: 8px;

margin-bottom: 22px;

font-size: 11px;
font-weight: 650;

color: var(--accent);

text-transform: uppercase;
letter-spacing: 0.8px;

}

.article-meta span:not(:last-child)::after {
content: "·";

margin-left: 8px;

color: #aaa;

}

.featured-text h3 {
max-width: 650px;

font-size: clamp(34px, 4vw, 58px);

line-height: 1.05;

letter-spacing: -2.5px;

}

.featured-text p {
max-width: 560px;

margin-top: 22px;

color: var(--muted);

font-size: 16px;

}

.read-link {
margin-top: 35px;

font-size: 14px;
font-weight: 650;

}

.featured-placeholder {
background:
linear-gradient(
135deg,
#d9d9d4,
#bcbcb5
);

display: flex;
align-items: center;
justify-content: center;

color: rgba(0, 0, 0, 0.3);

text-transform: uppercase;
letter-spacing: 2px;
font-size: 11px;

}

/* =========================================
ARTICLE LIST
========================================= */

.article-list {
border-top: 1px solid var(--line);
}

.article-row {
display: grid;

grid-template-columns: 70px 1fr 40px;

gap: 25px;

padding: 34px 0;

border-bottom: 1px solid var(--line);

transition: padding 0.2s ease;

}

.article-row:hover {
padding-left: 12px;
}

.article-number {
color: #aaa;

font-size: 13px;

}

.article-info h3 {
font-size: 24px;
line-height: 1.2;

letter-spacing: -0.5px;

}

.article-info p {
max-width: 650px;

margin-top: 8px;

color: var(--muted);

font-size: 14px;

}

.article-arrow {
align-self: center;

font-size: 22px;

color: var(--muted);

}

/* =========================================
TOPICS
========================================= */

.topic-grid {
display: grid;

grid-template-columns: repeat(3, 1fr);

border-top: 1px solid var(--line);
border-left: 1px solid var(--line);

}

.topic-card {
min-height: 260px;

padding: 30px;

position: relative;

border-right: 1px solid var(--line);
border-bottom: 1px solid var(--line);

transition:
    background 0.2s ease,
    color 0.2s ease;

}

.topic-card:hover {
background: var(--dark);
color: white;
}

.topic-index {
font-size: 11px;
color: #999;
}

.topic-card h3 {
margin-top: 80px;

font-size: 30px;
letter-spacing: -1px;

}

.topic-card p {
margin-top: 5px;

color: #999;

font-size: 13px;

}

.topic-arrow {
position: absolute;

right: 30px;
bottom: 28px;

font-size: 20px;

}

/* =========================================
GUIDES
========================================= */

.guide-intro {
display: grid;

grid-template-columns: 1fr 1fr;

gap: 100px;

align-items: end;

}

.guide-intro h2 {
max-width: 600px;

font-size: clamp(42px, 6vw, 72px);

line-height: 0.98;

letter-spacing: -3px;

}

.guide-intro h2 span {
color: var(--accent);
}

.guide-intro > div:last-child p {
max-width: 500px;

margin-bottom: 30px;

color: #aaa;

font-size: 17px;

}

.button {
display: inline-block;

padding: 13px 20px;

border: 1px solid #555;

font-size: 14px;

transition:
    background 0.2s ease,
    color 0.2s ease;

}

.button:hover {
background: white;
color: var(--dark);
}

/* =========================================
ABOUT
========================================= */

.about-section {
display: grid;

grid-template-columns: 1fr 1fr;

gap: 100px;

}

.about-section h2 {
font-size: 50px;

letter-spacing: -2px;

}

.about-text {
max-width: 550px;

color: var(--muted);

font-size: 17px;

}

.about-text p + p {
margin-top: 20px;
}

.text-link {
display: inline-block;

margin-top: 30px;

color: var(--text);

font-size: 14px;
font-weight: 650;

}

/* =========================================
FOOTER
========================================= */

.site-footer {
padding: 50px 0;

border-top: 1px solid var(--line);

background: #eeeeeb;

}

.footer-inner {
display: grid;

grid-template-columns: 1fr 1fr 1fr;

align-items: center;

}

.footer-links {
display: flex;

justify-content: center;

gap: 25px;

font-size: 13px;

color: var(--muted);

}

.copyright {
text-align: right;

color: #999;

font-size: 12px;

}

/* =========================================
MOBILE
========================================= */

@media (max-width: 800px) {

.content-width,
.header-inner {
    width: min(100% - 32px, var(--max-width));
}

.main-nav {
    display: none;
}

.hero {
    padding: 100px 0 90px;
}

.hero h1 {
    font-size: 58px;
    letter-spacing: -3px;
}

.section {
    padding: 80px 0;
}

.section-header {
    align-items: start;
}

.section-header h2 {
    font-size: 34px;
}

.featured-card {
    grid-template-columns: 1fr;
}

.featured-placeholder {
    min-height: 230px;
}

.featured-text {
    padding: 35px;
}

.featured-text h3 {
    font-size: 38px;
}

.article-row {
    grid-template-columns: 35px 1fr;
}

.article-arrow {
    display: none;
}

.topic-grid {
    grid-template-columns: 1fr;
}

.topic-card {
    min-height: 200px;
}

.topic-card h3 {
    margin-top: 55px;
}

.guide-intro {
    grid-template-columns: 1fr;

    gap: 45px;
}

.guide-intro h2 {
    font-size: 48px;
}

.about-section {
    grid-template-columns: 1fr;

    gap: 40px;
}

.about-section h2 {
    font-size: 40px;
}

.footer-inner {
    grid-template-columns: 1fr;

    gap: 25px;
}

.footer-links {
    justify-content: flex-start;

    flex-wrap: wrap;
}

.copyright {
    text-align: left;
}

}