/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #f8f8f4;
    --color-bg-secondary: #f0f1ec;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #f3f5f9;
    --color-text: #202b36;
    --color-text-secondary: #58616b;
    --color-text-muted: #68717b;
    --color-primary: #305bd4;
    --color-primary-hover: #2247b1;
    --color-border: #dfe2dd;
    --color-border-light: #b7c0c9;
    --color-accent: #f59e0b;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --container-max: 1200px;
    --container-padding: 24px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 2px rgba(32, 43, 54, 0.04);
    --shadow-md: 0 4px 12px rgba(32, 43, 54, 0.06);
    --shadow-lg: 0 16px 48px rgba(32, 43, 54, 0.12);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 5px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(248, 248, 244, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo-icon {
    width: 28px;
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-text);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    text-align: center;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--color-text);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.platform-badge {
    background: var(--color-bg-card);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.platform-badge:hover {
    color: var(--color-text);
    background: var(--color-bg-card-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    color: white;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-card-hover);
    color: var(--color-text);
    border-color: var(--color-border-light);
}

/* Screenshot Section */
.screenshot-section {
    padding: 0 0 80px;
}

.screenshot-wrapper {
    background: var(--color-bg-card);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    max-width: 900px;
    margin: 0 auto;
}

.screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

/* The homepage pairs a source excerpt with an unedited desktop app capture. */
.home-page .hero {
    padding: 116px 0 22px;
}

.hero-eyebrow {
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px 7px 8px;
    border: 1px solid rgba(47, 100, 223, 0.18);
    border-radius: 999px;
    background: rgba(47, 100, 223, 0.06);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-eyebrow strong {
    padding: 3px 7px;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.hero-eyebrow span {
    line-height: 1;
}

.home-page .hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
}

.home-page .hero h1 em {
    font-weight: 400;
    color: var(--color-primary);
}

.home-page .hero-subtitle {
    font-size: 1.12rem;
    max-width: 680px;
    margin-bottom: 8px;
}

.hero-analogy {
    color: var(--color-text);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.home-page .hero-buttons {
    gap: 12px;
    margin-bottom: 18px;
}

.home-page .hero-buttons .btn {
    padding: 12px 23px;
    font-size: 0.9rem;
    border-radius: 8px;
}

.home-page .platform-badge {
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
}

.home-page .platform-badge + .platform-badge::before {
    content: '·';
    color: var(--color-text-muted);
    margin-right: 12px;
}

.hero-reassurance {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.home-page .screenshot-section {
    padding-bottom: 76px;
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 0.27fr) minmax(0, 0.73fr);
    gap: 24px 32px;
    align-items: center;
    padding: 18px 16px 0;
    position: relative;
    isolation: isolate;
}

.product-showcase::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 85px -12px 56px;
    border-radius: 40% 35% 30% 25%;
    background: radial-gradient(ellipse, #d9e3ef 0%, #eef0ec 55%, transparent 72%);
}

.showcase-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.showcase-label > span:first-child {
    font-size: 0.65rem;
    color: var(--color-primary);
    font-variant-numeric: tabular-nums;
}

.showcase-arrow {
    margin-left: auto;
    color: var(--color-primary);
    font-size: 1rem;
}

.source-window {
    overflow: hidden;
    background: #fdfefa;
    border: 1px solid #d9ddd9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(32, 43, 54, 0.04);
}

.source-title {
    display: flex;
    gap: 9px;
    align-items: center;
    border-bottom: 1px solid #e5e8e2;
    padding: 12px 16px;
    font-size: 0.65rem;
    color: #58616b;
}

.source-file-icon {
    color: var(--color-primary);
    font-family: monospace;
    font-size: 1rem;
}

.source-window pre {
    padding: 18px 20px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font: 0.7rem/1.8 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    color: #58616b;
}

.source-window code {
    font: inherit;
    padding: 0;
    color: inherit;
    background: transparent;
}

.source-window .syntax {
    color: #305bd4;
}

.source-footnote {
    padding: 11px 16px;
    border-top: 1px solid #e5e8e2;
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

.app-capture-link {
    display: block;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 50px -12px rgba(24, 39, 62, 0.3), 0 2px 6px rgba(24, 39, 62, 0.1);
    transition: transform 0.2s ease;
}

.app-capture-link:hover {
    transform: translateY(-3px);
}

.app-capture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.product-showcase figcaption {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

.product-showcase figcaption span {
    display: block;
    margin-top: 5px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.features h2, .download h2, .why-section h2, .about-section h2, .faq-section h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: transparent;
    border-top: 1px solid var(--color-border);
    padding: 32px;
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: var(--color-border-light);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Download Section */
.download {
    padding: 100px 0;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    text-align: center;
}

.download-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
}

.download-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-text-secondary);
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.download-version {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.platform-detail-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.btn-download:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-primary);
}

.btn-label {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.btn-sublabel {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.why-content {
    max-width: 720px;
    margin: 0 auto;
}

.why-lead {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 32px;
    color: var(--color-text);
}

.why-text p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.why-text strong {
    color: var(--color-text);
}

/* Product identity and disambiguation */
.identity-section {
    padding: 80px 0;
    background: var(--color-bg-secondary);
}

.identity-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
}

.identity-card h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 16px;
}

.identity-card p {
    color: var(--color-text-secondary);
    line-height: 1.75;
}

.identity-card p + p {
    margin-top: 12px;
}

.identity-card strong {
    color: var(--color-text);
}

.identity-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.identity-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.why-text code {
    background: var(--color-bg-card);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
}

.why-text ul {
    margin: 20px 0 20px 24px;
    color: var(--color-text-secondary);
}

.why-text li {
    margin-bottom: 12px;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.about-text strong {
    color: var(--color-text);
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.about-link:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-light);
    color: var(--color-text);
}

.about-link svg {
    width: 18px;
    height: 18px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--color-bg-secondary);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--color-border-light);
}

.faq-item summary {
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    outline-offset: -5px;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item summary:hover {
    background: var(--color-bg-card-hover);
}

.faq-item p {
    padding: 0 24px 20px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-item code {
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--color-primary);
}

/* Support Section */
.support-section {
    padding: 20px 0 60px;
}

.support-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.support-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.support-card p {
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.btn-coffee {
    background: var(--color-accent);
    color: #000;
    padding: 14px 32px;
    font-weight: 600;
}

.btn-coffee:hover {
    background: #d97706;
    color: #000;
    transform: translateY(-1px);
}

.coffee-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
}

.footer-logo .logo-icon {
    width: 24px;
    height: 24px;
}

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

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    margin-top: 8px;
}

.footer-trademark {
    max-width: 700px;
    color: var(--color-text-muted);
    font-size: 0.68rem;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .download-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .home-page .hero {
        padding: 106px 0 26px;
    }

    .home-page .hero-subtitle br {
        display: none;
    }

    .product-showcase {
        grid-template-columns: minmax(0, 1fr);
        max-width: 480px;
        margin-inline: auto;
        padding: 8px 0 0;
        gap: 20px;
    }

    .source-window pre {
        padding: 16px;
        font-size: 0.75rem;
        line-height: 1.65;
    }

    .source-context, .source-footnote {
        display: none;
    }

    .app-capture-link {
        position: relative;
        overflow: hidden;
        aspect-ratio: 370 / 162;
        border-radius: 10px;
        box-shadow: 0 12px 32px -12px rgba(24, 39, 62, 0.2);
    }

    /* Show the matching checklist detail from the unedited 1152 × 768 capture:
       crop x=32, y=514, width=370, height=162. The link opens the full window. */
    .app-capture {
        position: absolute;
        width: calc(1152 / 370 * 100%);
        max-width: none;
        left: calc(-32 / 370 * 100%);
        top: calc(-514 / 162 * 100%);
        border-radius: 0;
    }

    .home-page .hero h1 em {
        display: block;
    }

    .product-showcase::before {
        inset: 0 0 60px;
    }

    .product-showcase figcaption {
        margin-top: 0;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .features, .download, .why-section, .identity-section, .about-section, .faq-section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .download-buttons {
        align-items: center;
    }

    .about-links {
        flex-direction: column;
    }

    .about-link {
        justify-content: center;
    }

    .identity-card {
        padding: 28px 24px;
    }
}

@media (max-width: 360px) {
    .hero-eyebrow {
        gap: 7px;
        padding: 6px 9px 6px 6px;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        transition: none !important;
    }
}

/* Release history shares the homepage's paper background and serif headline. */
.skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 101;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-text);
    color: #fff;
}
.skip-link:focus { top: 12px; }
.nav-links a[aria-current="page"] { color: var(--color-primary); }
.notes-main { max-width: 1080px; padding-top: 118px; padding-bottom: 96px; }
.notes-intro { margin-bottom: 48px; }
.notes-eyebrow {
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.notes-intro h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.7rem, 5.3vw, 4.1rem);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
}
.notes-intro h1 em { color: var(--color-primary); font-weight: 400; }
.notes-lead { color: var(--color-text-secondary); font-size: 1.075rem; line-height: 1.75; }
.notes-mobile-download { display: none; }
.notes-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 80px; align-items: start; }
.notes-sidebar { position: sticky; top: 104px; }
.notes-sidebar-label { color: var(--color-text-muted); font-size: 0.73rem; letter-spacing: 0.07em; text-transform: uppercase; }
.notes-current-version { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.04em; margin: 4px 0 12px; }
.notes-download-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 0.9rem; font-weight: 600; }
.notes-platforms { margin-top: 10px; color: var(--color-text-muted); font-size: 0.75rem; }
.notes-in-app { margin-top: 30px; padding: 23px 20px; border: 1px solid #d8e0ef; border-radius: var(--radius-md); background: #eef2fa; }
.notes-in-app svg { width: 25px; height: 25px; color: var(--color-primary); margin-bottom: 8px; }
.notes-in-app h2 { font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }
.notes-in-app p { font-size: 0.8rem; line-height: 1.85; color: var(--color-text-secondary); }
.notes-in-app strong { color: var(--color-text); font-weight: 500; }
.notes-editorial-note { margin-top: 22px; font-size: 0.77rem; line-height: 1.8; color: var(--color-text-muted); }
.notes-feedback { display: inline-block; margin-top: 17px; font-size: 0.8rem; }
.notes-history-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border-light); }
.notes-history-heading h2 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.025em; }
.notes-expand { border: 0; padding: 4px 0; background: none; color: var(--color-primary); font: inherit; font-size: 0.78rem; cursor: pointer; }
.notes-expand:hover { text-decoration: underline; text-underline-offset: 4px; }
.notes-year { margin: 26px 0 2px; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.09em; color: var(--color-text-muted); }
.release-entry { border-bottom: 1px solid var(--color-border); scroll-margin-top: 90px; }
.release-entry summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 0; cursor: pointer; list-style: none; border-radius: 3px; }
.release-entry summary::-webkit-details-marker { display: none; }
.release-entry summary:hover h3 { color: var(--color-primary); }
.release-title { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.release-title h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.025em; }
.release-entry time { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: 0.78rem; }
.notes-latest-label { color: #345a46; background: #e6ede6; border: 1px solid #d4e1d5; border-radius: 999px; padding: 2px 8px; font-size: 0.65rem; font-weight: 500; }
.release-chevron { width: 20px; height: 20px; flex: 0 0 auto; color: var(--color-text-muted); transition: transform 0.15s; }
.release-entry[open] .release-chevron { transform: rotate(180deg); }
.release-body { padding: 0 0 28px; color: var(--color-text-secondary); font-size: 0.875rem; line-height: 1.85; overflow-wrap: anywhere; }
.notes-category { display: inline-block; margin: 20px 0 10px; padding: 2px 8px; border-radius: 4px; background: var(--color-bg-secondary); color: var(--color-text); font-size: 0.67rem; font-weight: 600; letter-spacing: 0.045em; text-transform: uppercase; }
.release-body > .notes-category:first-child { margin-top: 0; }
.release-body ul, .release-body ol { padding-left: 19px; }
.release-body li { padding-left: 3px; margin-bottom: 9px; }
.release-body li:last-child { margin-bottom: 0; }
.release-body li::marker { color: #8c98a6; }
.release-body p + p, .release-body ul + p { margin-top: 12px; }
.release-body a { text-decoration: underline; text-underline-offset: 3px; }
.release-body code { padding: 2px 4px; border: 1px solid var(--color-border); border-radius: 4px; color: var(--color-text); background: #f0f1ef; font-size: 0.85em; }
.release-body pre { margin: 12px 0; overflow-x: auto; padding: 14px; background: var(--color-bg-secondary); border-radius: var(--radius-sm); }
.release-body pre code { padding: 0; border: 0; }
.release-body .release-permalink { display: inline-block; margin-top: 20px; text-decoration: none; font-size: 0.73rem; color: var(--color-text-muted); }
.release-permalink:hover { color: var(--color-primary); text-decoration: underline; }
.release-entry:target { border-left: 2px solid var(--color-primary); padding-left: 18px; margin-left: -20px; }
.notes-unavailable { padding: 32px 0; color: var(--color-text-secondary); }
.notes-unavailable h3 { margin-bottom: 10px; font-size: 1rem; color: var(--color-text); }
.notes-unavailable p { font-size: 0.9rem; }
.notes-footer-links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 0.8rem; }

@media (min-width: 769px) and (max-width: 1000px) {
    .nav-links { gap: 20px; }
    .notes-layout { gap: 44px; grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 768px) {
    /* Keep release notes discoverable when the desktop navigation is hidden. */
    .nav-links { display: flex; }
    .nav-links > li:not(.nav-release-notes) { display: none; }
    .notes-main { padding-top: 105px; padding-bottom: 56px; }
    .notes-intro { margin-bottom: 36px; }
    .notes-intro h1 { font-size: clamp(2.55rem, 8.5vw, 3.5rem); }
    .notes-lead { font-size: 0.95rem; }
    .notes-layout { display: flex; flex-direction: column; gap: 32px; }
    .notes-sidebar { position: static; order: 2; width: 100%; }
    .notes-download { display: none; }
    .notes-mobile-download { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; color: var(--color-text-muted); font-size: 0.75rem; }
    .notes-mobile-download strong { color: var(--color-text); font-weight: 500; }
    .notes-mobile-download a { margin-left: auto; }
    .notes-in-app { margin-top: 0; padding: 16px; }
    .notes-in-app svg { display: none; }
    .notes-current-version { font-size: 1.5rem; }
    .notes-editorial-note { margin-top: 18px; }
    .notes-history { width: 100%; }
    .release-body { font-size: 0.875rem; }
}
@media (max-width: 400px) {
    .notes-in-app { padding: 16px 18px; }
    .notes-in-app h2 { margin-bottom: 4px; }
    .notes-lead br { display: none; }
    .notes-latest-label { font-size: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .release-chevron { transition: none; }
}
