:root {
    --bg: #ffffff;
    --text-main: #000000;
    --text-muted: #626262;
    --accent: #a259ff;
    /* Figma Purple */
    --border: #e6e6e6;
    --dot: #c8c8c8;
    --max-width: 720px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    background-image: radial-gradient(var(--dot) 1.25px, transparent 1.25px);
    background-size: 32px 32px;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 120px;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
.ui-font {
    font-family: var(--font-main);
    color: #000;
    letter-spacing: -0.03em;
}

.category-tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2.5rem;
}

h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-top: 7rem;
    margin-bottom: 2.5rem;
    line-height: 1.1;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.375rem;
    margin-bottom: 2.5rem;
    color: #333;
    letter-spacing: -0.01em;
    font-weight: 400;
}

.subtitle {
    font-size: 1.875rem;
    color: var(--text-muted);
    margin-bottom: 5rem;
    font-weight: 500;
    line-height: 1.4;
}

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.full-width {
    max-width: 1000px;
    margin: 6rem auto;
    padding: 0 2rem;
}

/* --- Header & Nav --- */
header {
    padding: 120px 0 80px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
    text-decoration: none;
    color: #000;
}

.anchor-nav {
    display: flex;
    gap: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
}

.anchor-nav a {
    text-decoration: none;
    color: var(--text-muted);
    transition: color 0.2s;
}

.anchor-nav a:hover {
    color: #000;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.avatar {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

/* --- Team Grid Styles --- */
.team-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.team-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 2rem 0;
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.team-member a {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.team-member a:hover {
    color: #444;
    text-decoration-thickness: 2.5px;
}

.team-member span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 800px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TL;DR Text --- */
.tldr-text {
    border-left: 4px solid #000;
    padding-left: 1.5rem;
    margin: 4rem 0;
    font-family: 'Inter', sans-serif;
}

.tldr-text h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.tldr-summary {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tldr-item-text p {
    font-size: 1.2rem;
    line-height: 1.4;
    color: #000;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.tldr-item-text span {
    font-size: 1rem;
    color: var(--text-muted);
    font-family: 'Lora', serif;
    font-style: italic;
}

/* --- Components --- */
.grid-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: #fdfdfd;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.info-item h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

.stat-banner {
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    margin: 3.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-card h4 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: #000;
}

.stat-card span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

blockquote {
    font-style: italic;
    border-left: 3px solid #242424;
    padding-left: 1.5rem;
    margin: 3rem 0;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.pull-quote {
    font-family: 'Lora', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-main);
    text-align: center;
    margin: 5rem 0;
    padding: 0 2rem;
    line-height: 1.3;
}

.list-style {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.list-style li {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
}

img,
video {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
    display: block;
}

.caption {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 3rem;
}

footer {
    margin-top: 6rem;
    border-top: 1px solid var(--border);
    padding-top: 3rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    .grid-info,
    .stat-banner {
        grid-template-columns: 1fr;
    }

    .anchor-nav {
        display: none;
    }
}

.back-link {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.back-link:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateX(-2px);
}

@media (max-width: 768px) {
    .back-link {
        top: 12px;
        left: 12px;
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}