*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-subtle: #f5f5f7;
    --text: #1d1d1f;
    --text-muted: #6e6e73;
    --border: #d2d2d7;
    --accent: #0071e3;
    --nav-height: 52px;
    --content-width: 980px;
    --font: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* NAV */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-height);
    background: rgba(255,255,255,0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.nav-inner {
    max-width: var(--content-width);
    margin: 0 auto; padding: 0 22px;
    height: 100%;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo { font-size: 1rem; font-weight: 600; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.2rem; cursor: pointer; padding: 0.25rem; }

/* LAYOUT */
.page { padding-top: var(--nav-height); }
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 22px; }
section { padding: 6rem 0; }

/* TYPOGRAPHY */
.eyebrow { font-size: 0.75rem; font-weight: 600; color: var(--accent); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
h1 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.65rem 1.35rem; border-radius: 980px; font-size: 0.875rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0077ed; }
.btn-secondary { background: var(--bg-subtle); color: var(--text); }
.btn-secondary:hover { background: #e8e8ed; }

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag { padding: 0.22rem 0.7rem; background: rgba(0,0,0,0.06); border-radius: 980px; font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }

/* FOOTER */
footer { background: var(--bg-subtle); border-top: 1px solid var(--border); padding: 2rem 0; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 0.75rem; color: var(--text-muted); }
footer .footer-links { display: flex; gap: 1.5rem; }
footer .footer-links a { font-size: 0.75rem; color: var(--text-muted); text-decoration: none; }
footer .footer-links a:hover { color: var(--text); }

/* MOBILE */
@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--border); padding: 1rem 22px 1.5rem; gap: 1rem; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    section { padding: 4rem 0; }
    footer .container { flex-direction: column; gap: 1rem; text-align: center; }
}
