/**
 * Frontend Unified Stylesheet
 * All frontend pages: homepage, docs, learn, changelog
 *
 * Structure:
 * 1. Variables & Reset
 * 2. Base Styles
 * 3. Header & Navigation
 * 4. Mobile Menu
 * 5. Footer
 * 6. CTA Section
 * 7. Content Layout
 * 8. Prose (Markdown)
 * 9. Cards & Grids
 * 10. Homepage
 * 11. Docs Layout
 * 12. Changelog Layout
 * 13. Responsive
 */

/* ============================================================
   1. VARIABLES & RESET
   ============================================================ */

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

:root {
    /* Surfaces */
    --surface-dim: #000000;
    --surface: #0a0a0a;
    --surface-elevated: #111111;
    --surface-muted: #161616;
    --border: #1f1f23;

    /* Text */
    --text: #fafafa;
    --text-emphasis: #e4e4e7;
    --text-prose: #d4d4d8;
    --text-muted: #a1a1aa;
    --text-dim: #52525b;

    /* Status Colors */
    --success: #22c55e;
    --success-glow: #4ade80;
    --warning: #eab308;
    --error: #ef4444;
    --teal: #2dd4bf;
}

/* ============================================================
   2. BASE STYLES
   ============================================================ */

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--surface-dim);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Content pages gradient background */
body.content-page-bg {
    background: linear-gradient(180deg, #0a0a0b 0%, #0b0b0c 30%, #0d0d0f 70%, #0f0f11 100%);
    background-attachment: fixed;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* ============================================================
   3. HEADER & NAVIGATION
   ============================================================ */

.frontend-header {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text);
}
.logo span { color: var(--text-dim); font-size: 0.9rem; }

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-login {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.header-login:hover { color: var(--text); }

.header-cta {
    background: var(--text);
    color: var(--surface-dim);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.9; color: var(--surface-dim); }

/* Header with nav */
.frontend-header--with-nav {
    gap: 32px;
}

.header-nav {
    display: flex;
    gap: 24px;
    margin-right: auto;
}

.header-nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.header-nav__link:hover { color: var(--text); }
.header-nav__link--active { color: var(--text); }

/* ============================================================
   4. MOBILE MENU
   ============================================================ */

.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 12px;
}

.header-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}
.header-hamburger:hover {
    background: var(--surface-muted);
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 100;
    backdrop-filter: blur(4px);
}

.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--surface);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.mobile-menu__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu__close:hover {
    background: var(--surface-muted);
    color: var(--text);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 60px;
}

.mobile-menu__link {
    display: block;
    padding: 14px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.mobile-menu__link:hover {
    background: var(--surface-muted);
    color: var(--text);
}
.mobile-menu__link--active {
    color: var(--text);
    background: var(--surface-muted);
}

.mobile-menu__footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.mobile-menu__cta {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--text);
    color: var(--surface-dim);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s;
}
.mobile-menu__cta:hover {
    opacity: 0.9;
    color: var(--surface-dim);
}

/* ============================================================
   5. FOOTER
   ============================================================ */

.frontend-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--text-dim);
}

.frontend-footer a {
    color: var(--text-muted);
    text-decoration: none;
}

.frontend-footer a:hover { color: var(--text); }

/* ============================================================
   6. CTA SECTION
   ============================================================ */

.frontend-cta {
    padding: 120px 40px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--surface-dim) 0%, var(--surface) 100%);
}

.frontend-cta h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.frontend-cta p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text);
    color: var(--surface-dim);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,255,255,0.1);
    color: var(--surface-dim);
}

/* ============================================================
   7. CONTENT LAYOUT
   ============================================================ */

.content-bg {
    min-height: 100vh;
    padding-bottom: 80px;
}

.content-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.content-page--narrow {
    max-width: 900px;
}

.content-layout--wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 60px;
}

/* Article layout with floating TOC */
.content-article {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0 60px;
}

.content-article__toc {
    position: sticky;
    top: 100px;
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.content-article__main {
    min-width: 0;
    max-width: 760px;
    grid-column: 2;
    grid-row: 2;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.content-hero {
    padding: 80px 0 64px;
    grid-column: 2;
    grid-row: 1;
    max-width: 760px;
}

/* Breadcrumb */
.content-breadcrumb {
    font-size: 0.8125rem;
    margin-bottom: 32px;
}

.content-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.content-breadcrumb a:hover {
    color: var(--text);
}

.content-breadcrumb span {
    color: var(--text-dim);
    margin: 0 8px;
}

.content-breadcrumb span[aria-current="page"] {
    color: var(--text-muted);
    margin: 0;
}

/* Meta (date, author) */
.content-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Title */
.content-title {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.025em;
}

.content-title--large {
    font-size: 3.25rem;
}

/* Description */
.content-description {
    font-size: 1.1875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   CONTENT BODY
   ============================================================ */

.content-body {
    padding-bottom: 80px;
}

.content-body__inner {
    max-width: 720px;
}

.content-body__inner--wide {
    max-width: 900px;
}

/* ============================================================
   TABLE OF CONTENTS
   ============================================================ */

.content-toc {
    padding-top: 8px;
}

.content-toc__title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.content-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-toc__item {
    margin: 0;
}

/* H2 links */
.content-toc__link {
    display: block;
    padding: 6px 0;
    padding-left: 12px;
    border-left: 1px solid var(--border);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8125rem;
    line-height: 1.5;
    transition: all 0.15s;
}

.content-toc__link:hover {
    color: var(--text-muted);
    border-left-color: var(--text-dim);
}

.content-toc__link--active {
    color: var(--text);
    border-left-color: var(--text);
}

/* H3 sublist */
.content-toc__sublist {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.2s ease-out;
}

.content-toc__item--expanded .content-toc__sublist {
    max-height: 300px;
    opacity: 1;
    padding: 4px 0 8px;
}

.content-toc__sublink {
    display: block;
    padding: 4px 0;
    padding-left: 24px;
    border-left: 1px solid var(--border);
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.75rem;
    line-height: 1.5;
    transition: all 0.15s;
}

.content-toc__sublink:hover {
    color: var(--text-muted);
}

.content-toc__sublink--active {
    color: var(--text-muted);
    border-left-color: var(--text-muted);
}

/* TOC Toggle (mobile) */
.content-toc__toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    align-items: center;
    justify-content: space-between;
    transition: all 0.15s;
}

.content-toc__toggle:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.content-toc__toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.content-toc__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.content-toc__collapse {
    overflow: hidden;
}

/* ============================================================
   8. PROSE (Markdown content)
   ============================================================ */

.prose {
    line-height: 1.85;
    font-size: 1.0625rem;
    color: var(--text-prose);
}

/* Headings */
.prose h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-top: 56px;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -0.01em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text);
}

.prose h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 8px;
    color: var(--text);
}

/* Paragraphs */
.prose p {
    margin-bottom: 24px;
}

/* Links */
.prose a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--text-dim);
    transition: text-decoration-color 0.15s;
}

.prose a:hover {
    text-decoration-color: var(--text);
}

/* Strong/Bold */
.prose strong {
    font-weight: 600;
    color: var(--text-emphasis);
}

/* Lists */
.prose ul,
.prose ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.prose li {
    margin-bottom: 10px;
}

.prose li::marker {
    color: var(--text-dim);
}

/* Nested lists */
.prose li ul,
.prose li ol {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Tables */
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.9375rem;
}

.prose th,
.prose td {
    border: 1px solid var(--border);
    padding: 14px 18px;
    text-align: left;
}

.prose th {
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    color: var(--text);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.prose td {
    color: var(--text-prose);
}

.prose tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Code */
.prose code {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-emphasis);
}

.prose pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
    border: 1px solid var(--border);
}

.prose pre code {
    background: none;
    padding: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Blockquotes */
.prose blockquote {
    border-left: 2px solid var(--text-dim);
    padding: 20px 24px;
    margin: 32px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
}

.prose blockquote p {
    margin: 0;
    color: var(--text-muted);
    font-style: italic;
}

/* Images */
.prose img {
    max-width: 100%;
    border-radius: 8px;
    margin: 32px 0;
    border: 1px solid var(--border);
}

/* Horizontal rules */
.prose hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 56px 0;
}

/* Checklists */
.prose ul:has(input[type="checkbox"]) {
    list-style: none;
    padding-left: 0;
}

.prose li:has(input[type="checkbox"]) {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    margin-bottom: 8px;
}

.prose input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-dim);
    border-radius: 4px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================================
   9. CARDS & GRIDS
   ============================================================ */

.content-grid {
    display: grid;
    gap: 24px;
}

.content-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}

.content-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.content-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
}

.content-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border);
}

.content-card__meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.content-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.content-card__excerpt {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Pillar cards (larger) */
.content-card--pillar {
    padding: 48px;
    min-height: 260px;
    border: 1px solid var(--border);
}

.content-card--pillar:hover {
    border-color: var(--text-dim);
    transform: translateY(-2px);
}

.content-card--pillar .content-card__title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.content-card--pillar .content-card__excerpt {
    font-size: 0.9375rem;
    flex: 1;
}

.content-card__cta {
    margin-top: 24px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.15s;
}

.content-card:hover .content-card__cta {
    color: var(--text);
}

.content-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.15s;
}

.content-card:hover .content-card__cta svg {
    transform: translateX(4px);
}

/* ============================================================
   RELATED POSTS
   ============================================================ */

.content-related {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.content-related__title {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    color: var(--text-dim);
}

.content-related__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content-related__link {
    display: block;
    padding: 20px 24px;
    background: transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    margin: 0 -24px;
}

.content-related__link:hover {
    background: rgba(255, 255, 255, 0.03);
}

.content-related__link-title {
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text);
}

.content-related__link-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-dim);
}

/* ============================================================
   CTA BOX
   ============================================================ */

.content-cta {
    margin-top: 64px;
    padding: 48px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.content-cta__title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.content-cta__text {
    color: var(--text-muted);
    margin-bottom: 28px;
}

.content-cta__button {
    display: inline-block;
    background: var(--text);
    color: var(--surface-dim);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.content-cta__button:hover {
    opacity: 0.9;
    color: var(--surface-dim);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */

.content-section {
    padding-top: 64px;
    border-top: 1px solid var(--border);
    margin-top: 64px;
}

.content-section__label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.content-section__title {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}

/* ============================================================
   PAGE HEADER (for index pages)
   ============================================================ */

.content-header {
    margin-bottom: 80px;
    max-width: 700px;
}

.content-header__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.content-header__description {
    color: var(--text-muted);
    font-size: 1.1875rem;
    line-height: 1.6;
}

/* ============================================================
   10. HOMEPAGE
   ============================================================ */

/* Hero */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 40px 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.pulse-container {
    margin-bottom: 48px;
    position: relative;
}

.pulse-wrapper {
    position: relative;
    width: 360px;
    height: 100px;
    margin: 0 auto;
    cursor: pointer;
}

.pulse-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.9;
}

.pulse-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transition: opacity 0.5s;
}

.pulse-status {
    margin-top: 20px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    min-height: 52px;
}

.pulse-status-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.875rem;
    margin-bottom: 6px;
    transition: opacity 0.2s ease-out;
}

.pulse-status .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
    transition: all 0.5s;
}

.pulse-status .label {
    font-weight: 600;
    transition: color 0.5s;
}

.pulse-status .detail {
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: opacity 0.2s ease-out, color 0.3s;
}

.headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.input-row {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto 24px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-row:focus-within {
    border-color: var(--text-dim);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.05);
}

.input-row input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
}

.input-row input::placeholder { color: var(--text-dim); }

.input-row button {
    padding: 16px 28px;
    background: var(--text);
    color: var(--surface-dim);
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.input-row button:hover { opacity: 0.9; }

.trust-line {
    font-size: 0.8125rem;
    color: var(--text-dim);
}

/* What We Watch Section */
.what-section {
    padding: 120px 40px;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.what-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.0625rem;
}

.watch-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.watch-tab {
    padding: 10px 20px;
    font-size: 0.875rem;
    font-family: inherit;
    font-weight: 500;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.watch-tab:hover {
    border-color: var(--text-dim);
    color: var(--text);
}

.watch-tab.active {
    background: var(--text);
    border-color: var(--text);
    color: var(--surface-dim);
}

.watch-panel {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 200px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.watch-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.watch-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.watch-visual-box {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 16 / 10;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    overflow: hidden;
    position: relative;
}

/* Visual styles */
.vis-uptime {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px;
    width: 100%;
}
.vis-uptime .nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}
.vis-uptime .node {
    padding: 14px 20px;
    border-radius: 8px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
.vis-uptime .connection {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
}
.vis-uptime .ping {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--success);
    opacity: 0;
    animation: ping-travel 2s ease-in-out infinite;
}
.vis-uptime .ping:nth-child(2) { animation-delay: 0.2s; }
.vis-uptime .ping:nth-child(3) { animation-delay: 0.4s; }
.vis-uptime .status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--success);
}
.vis-uptime .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes ping-travel {
    0%, 100% { opacity: 0; transform: translateX(-8px); }
    50% { opacity: 1; transform: translateX(8px); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.vis-errors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.vis-errors .error-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 8px;
}
.vis-errors .error-count {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}
.vis-errors .error-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.vis-errors .baseline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
}
.vis-errors .baseline-bar {
    width: 80px;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.vis-errors .baseline-fill {
    height: 100%;
    width: 15%;
    background: var(--success);
    border-radius: 2px;
}
.vis-errors .baseline-text {
    color: var(--success);
}

.vis-conversions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.vis-conversions .conv-metric {
    text-align: center;
}
.vis-conversions .conv-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--success);
}
.vis-conversions .conv-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}
.vis-conversions .conv-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--success);
}
.vis-conversions .conv-trend svg {
    width: 12px;
    height: 12px;
}

.vis-speed {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
}
.vis-speed .metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.vis-speed .metric-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    width: 40px;
}
.vis-speed .metric-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}
.vis-speed .metric-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.6s ease-out;
}
.vis-speed .metric-fill.good { background: var(--success); }
.vis-speed .metric-fill.mid { background: var(--warning); }
.vis-speed .metric-value {
    font-size: 0.7rem;
    width: 45px;
    text-align: right;
}

.vis-crawls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 75%;
}
.vis-crawls .crawl-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--surface-muted);
    border-radius: 6px;
    font-size: 0.75rem;
}
.vis-crawls .crawl-label {
    color: var(--text-muted);
}
.vis-crawls .crawl-status {
    color: var(--text);
    font-weight: 500;
}
.vis-crawls .scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--success), transparent);
    animation: scan 3s ease-in-out infinite;
}

@keyframes scan {
    0%, 100% { top: 20%; opacity: 0; }
    50% { opacity: 0.6; }
    100% { top: 80%; opacity: 0; }
}

.vis-alerts {
    display: flex;
    align-items: center;
    gap: 24px;
}
.vis-alerts .alert-bell {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    position: relative;
    animation: bell-ring 3s ease-in-out infinite;
    transform-origin: top center;
}
.vis-alerts .alert-bell::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--error);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes bell-ring {
    0%, 90%, 100% { transform: rotate(0); }
    92%, 96% { transform: rotate(8deg); }
    94%, 98% { transform: rotate(-8deg); }
}

.vis-alerts .alert-channels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.vis-alerts .alert-channel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--surface-muted);
    border-radius: 6px;
    font-size: 0.7rem;
    color: var(--text-muted);
}
.vis-alerts .alert-channel .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.watch-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.watch-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Pricing */
.pricing-section {
    padding: 120px 40px;
    border-top: 1px solid var(--border);
}

.pricing-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.pricing-card {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--text-muted);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: var(--surface-dim);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
}

.pricing-period {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pricing-features li::before {
    content: '\2713';
    color: var(--success);
    font-size: 0.75rem;
    margin-top: 2px;
}

.pricing-cta {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-cta.primary {
    background: var(--text);
    color: var(--surface-dim);
}

.pricing-cta.primary:hover { opacity: 0.9; }

.pricing-cta.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.pricing-cta.secondary:hover {
    border-color: var(--text-dim);
    color: var(--text);
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 0.8125rem;
    color: var(--text-dim);
}

/* ============================================================
   11. DOCS LAYOUT
   ============================================================ */

/* Three-column docs layout */
.docs-layout {
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 70px);
}

/* Left sidebar - Docs navigation */
.docs-nav-sidebar {
    padding: 40px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--border);
}

/* Center - Main content */
.docs-main {
    padding: 40px 60px 80px;
    min-width: 0;
    max-width: 100%;
}

.docs-main .prose {
    max-width: 720px;
}

/* Right sidebar - TOC */
.docs-toc-sidebar {
    padding: 40px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-left: 1px solid var(--border);
}

.docs-toc-sidebar .content-toc {
    padding-top: 0;
}

/* Mobile menu toggle */
.docs-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    width: 100%;
    margin-bottom: 16px;
}
.docs-menu-toggle svg { width: 18px; height: 18px; }
.docs-menu-toggle .chevron {
    margin-left: auto;
    transition: transform 0.2s;
}
.docs-menu-toggle[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* Nav sections */
.docs-nav-section { margin-bottom: 24px; }

.docs-nav-header {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    text-decoration: none;
    transition: all 0.15s;
    border-radius: 6px;
}
.docs-nav-header:hover { background: rgba(255, 255, 255, 0.04); }
.docs-nav-header:hover .docs-nav-title { color: var(--text); }
.docs-nav-header.active { background: rgba(255, 255, 255, 0.06); }
.docs-nav-header.active .docs-nav-title { color: var(--text); }

.docs-nav-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
}

/* Nav items */
.docs-nav-items {
    list-style: none;
    display: none;
    padding: 0;
    margin-top: 6px;
}
.docs-nav-section.active .docs-nav-items { display: block; }

.docs-nav-items a {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
}
.docs-nav-items a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.docs-nav-items a.active {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 500;
}

/* Root items always visible */
.docs-nav-root .docs-nav-items { display: block; }

/* Hero styling */
.docs-hero {
    margin-bottom: 40px;
}
.docs-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.docs-hero p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Prose overrides for docs */
.docs-main .prose h2 {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.docs-main .prose h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.docs-main .prose hr + h2 { border-top: none; padding-top: 0; margin-top: 0; }

/* Docs navigation group */
.docs-nav__group {
    margin-bottom: 32px;
}

.docs-nav__group-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    margin-bottom: 12px;
    padding: 0 14px;
}

.docs-nav__link {
    display: block;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.15s;
}

.docs-nav__link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.docs-nav__link--active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

/* ============================================================
   12. CHANGELOG LAYOUT
   ============================================================ */

.changelog-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 40px;
}

.timeline {
    position: relative;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 109px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-entry {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-date {
    width: 80px;
    flex-shrink: 0;
    text-align: right;
    padding-top: 2px;
    padding-right: 16px;
}
.timeline-date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dim);
}
.timeline-date-month {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* Latest entry gets white date */
.timeline-entry:first-child .timeline-date-day {
    color: var(--text);
}

.timeline-dot {
    width: 10px;
    height: 10px;
    background: var(--text-dim);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px var(--surface-dim);
}
/* Latest entry gets white dot */
.timeline-entry:first-child .timeline-dot {
    background: var(--text);
}

.timeline-content {
    flex: 1;
    padding-bottom: 16px;
}

.timeline-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.timeline-title a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}
.timeline-title a:hover {
    color: var(--text);
}
/* Latest entry gets white title */
.timeline-entry:first-child .timeline-title a {
    color: var(--text);
}

.timeline-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.timeline-tags {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.timeline-tag {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
}

/* Changelog list (alternate style) */
.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.changelog-entry {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: background 0.15s;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
}

.changelog-entry:first-child {
    padding-top: 0;
}

.changelog-entry:last-child {
    border-bottom: none;
}

.changelog-entry:hover {
    background: rgba(255, 255, 255, 0.02);
}

.changelog-entry__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-dim);
    flex-shrink: 0;
    margin-top: 8px;
}

.changelog-entry__indicator--latest {
    background: var(--text);
}

.changelog-entry__content {
    flex: 1;
    min-width: 0;
}

.changelog-entry__date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.changelog-entry__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.changelog-entry__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

/* ============================================================
   13. RESPONSIVE
   ============================================================ */

/* Docs: Tablet */
@media (max-width: 1100px) {
    .docs-layout {
        grid-template-columns: 240px 1fr;
    }
    .docs-toc-sidebar {
        display: none;
    }

    .content-article {
        grid-template-columns: 180px 1fr;
        gap: 40px;
    }
}

/* Content: Tablet */
@media (max-width: 900px) {
    .content-page {
        padding: 0 40px;
    }

    .content-article {
        display: block;
    }

    .content-article__toc {
        position: static;
        margin-bottom: 32px;
    }

    .content-grid--2,
    .content-grid--3 {
        grid-template-columns: 1fr;
    }

    .content-layout--wide {
        padding: 60px 40px;
    }

    .content-header__title {
        font-size: 2.5rem;
    }

    /* TOC collapsed on mobile */
    .content-toc__title {
        display: none;
    }

    .content-toc__toggle {
        display: flex;
    }

    .content-toc__collapse {
        max-height: 0;
        transition: max-height 0.25s ease-out;
    }

    .content-toc__collapse.is-open {
        max-height: 500px;
    }

    .content-toc__list {
        padding: 16px 0 8px;
    }
}

/* Mobile: 768px */
@media (max-width: 768px) {
    /* Header */
    .frontend-header { padding: 16px 20px; }

    /* CTA & Footer */
    .frontend-cta { padding: 80px 20px; }
    .frontend-cta p { font-size: 0.8rem; }
    .frontend-footer { padding: 30px 20px; }

    /* Hide desktop nav and actions when nav is shown */
    .frontend-header--with-nav .header-nav,
    .frontend-header--with-nav .header-actions {
        display: none;
    }

    /* Show mobile actions */
    .frontend-header--with-nav .header-mobile-actions {
        display: flex;
    }

    .header-cta--mobile {
        padding: 8px 16px;
        font-size: 0.8125rem;
    }

    /* Homepage */
    .hero { padding: 30px 20px 40px; }
    .pulse-wrapper { width: 300px; height: 80px; }

    /* Hero text - smaller on mobile */
    .pulse-status-row { font-size: 0.7rem; }
    .pulse-status .detail { font-size: 0.65rem; }
    .subheadline { font-size: 0.875rem; margin-bottom: 32px; }

    .what-section { padding: 80px 20px; }

    /* Watch tabs - horizontal scroll with gradient edges (full viewport width) */
    .watch-tabs-wrapper {
        position: relative;
        width: 100vw;
        left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
    }
    .watch-tabs-wrapper::before,
    .watch-tabs-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        pointer-events: none;
        z-index: 1;
    }
    .watch-tabs-wrapper::before {
        left: 0;
        background: linear-gradient(to right, var(--surface-dim), transparent);
    }
    .watch-tabs-wrapper::after {
        right: 0;
        background: linear-gradient(to left, var(--surface-dim), transparent);
    }
    .watch-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 4px 20px;
    }
    .watch-tabs::-webkit-scrollbar { display: none; }
    .watch-tab { flex-shrink: 0; }
    .watch-panel {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    .watch-visual { order: -1; }
    .pricing-section { padding: 80px 20px; }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card.featured::before { top: -8px; }

    /* Docs */
    .docs-layout {
        display: block;
    }
    .docs-nav-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        top: 0;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .docs-main {
        padding: 32px 24px;
    }
    .docs-menu-toggle { display: flex; }
    .docs-nav { display: none; }
    .docs-nav.open { display: block; }

    /* Content */
    .content-page {
        padding: 0 24px;
    }

    .content-hero {
        padding: 60px 0 48px;
    }

    .content-title {
        font-size: 2rem;
    }

    .content-title--large {
        font-size: 2.25rem;
    }

    .content-description {
        font-size: 1.0625rem;
    }

    .content-body {
        padding-bottom: 64px;
    }

    .content-card {
        padding: 24px;
    }

    .content-card--pillar {
        padding: 28px;
        min-height: auto;
    }

    .content-related__link {
        margin: 0 -24px;
        padding: 16px 24px;
    }

    /* Tables mobile scroll */
    .prose table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .prose th,
    .prose td {
        padding: 10px 12px;
    }

    .prose th {
        white-space: nowrap;
    }

    .content-layout--wide {
        padding: 48px 24px;
    }

    .content-header__title {
        font-size: 2rem;
    }

    .changelog-entry {
        flex-direction: column;
        gap: 0;
    }

    .changelog-entry__indicator {
        display: none;
    }
}

/* Mobile: 600px */
@media (max-width: 600px) {
    .content-page {
        padding: 0 20px;
    }

    .content-hero {
        padding: 48px 0 40px;
    }

    .content-body {
        padding-bottom: 56px;
    }

    .prose {
        font-size: 1rem;
    }

    .content-cta {
        padding: 32px 24px;
    }

    .content-layout--wide {
        padding: 40px 20px;
    }

    /* Changelog mobile */
    .changelog-page { padding: 60px 20px; }
    .timeline::before { left: 5px; }
    .timeline-date { display: none; }
    .timeline-entry { gap: 20px; }
    .timeline-content::before {
        content: attr(data-date);
        display: block;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.6875rem;
        color: var(--text-dim);
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }
}
