/*
Theme Name: 2080
Theme URI:
Author:
Description: Minimalist theme for 2080 Productivity App
Version: 1.0
License: Private
Text Domain: 2080
*/

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

:root {
    --bg-primary: #f9f7f4;
    --bg-secondary: #fff;
    --bg-tertiary: #f0ebe3;
    --bg-card: #f9f7f4;
    --bg-accent: #e4ddd1;
    --text-primary: #3d332d;
    --text-secondary: #6b5a49;
    --text-tertiary: #9d8d77;
    --border-color: #d1c7b7;
    --accent-primary: #d4a574;
    --accent-secondary: #9d8d77;
    --button-bg: #6b5a49;
    --button-hover: #554740;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* WordPress content containers */
.hero .wp-block-group__inner-container,
.why-section .wp-block-group__inner-container,
.how-section .wp-block-group__inner-container,
.what-section .wp-block-group__inner-container,
.name-section .wp-block-group__inner-container,
.download-section .wp-block-group__inner-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
}

.logo {
    width: 32px;
    height: 32px;
}

.site-name,
.site-tagline {
    transition: opacity 0.3s ease;
}

.site-name {
    opacity: 1;
}

.site-tagline {
    position: absolute;
    left: 44px;
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
    white-space: nowrap;
}

.site-title:hover .site-name {
    opacity: 0;
}

.site-title:hover .site-tagline {
    opacity: 1;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.header-nav a.cta-primary {
    color: var(--bg-primary);
}

.header-nav a.cta-primary:hover {
    color: var(--bg-primary);
}


/* Hero Section */
.hero {
    padding: 96px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #d4a574 0%, #9d8d77 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #e4ddd1 0%, #c4b5a0 100%);
    bottom: -150px;
    right: -150px;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 32px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #3d332d 0%, #6b5a49 50%, #3d332d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: shimmer 8s ease-in-out infinite, scaleIn 0.8s ease-out both;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.lead {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.lead.highlight {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 40px;
}

.hero-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-tertiary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.hero-tag svg {
    flex-shrink: 0;
    opacity: 0.75;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-buttons .cta {
}

@media (max-width: 540px) {
    .download-buttons {
        flex-direction: column;
        width: 100%;
    }

    .download-buttons .cta {
        width: 100%;
        justify-content: center;
    }
}

.cta-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Hero Screenshot */
.hero-screenshot {
    margin-top: 12px;
    position: relative;
    display: flex;
    justify-content: center;
    animation: slideUp 1.2s ease-out 0.8s both;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 350px;
    overflow: hidden;
}

.hero-screenshot::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: top;
}

/* Buttons */
.cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.cta svg {
    flex-shrink: 0;
}

.cta-primary {
    background: var(--button-bg);
    color: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover {
    background: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.cta-primary:hover::before {
    left: 100%;
}

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

.cta-secondary:hover {
    background: var(--bg-tertiary);
}

.cta-large {
    padding: 18px 36px;
    font-size: 18px;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-left: 20px;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, #d4a574, #9d8d77);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 32px;
    text-align: center;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 640px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
}

.section-link {
    text-align: center;
    margin-top: 32px;
}

.section-link a {
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-link a:hover {
    color: var(--text-primary);
}

/* Why Section */
.why-section {
    background: var(--bg-secondary);
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.problem-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.problem-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-card {
    padding: 24px;
    background: var(--bg-card);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #9d8d77);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(61, 51, 45, 0.08);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 8px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.problem-card:hover .problem-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-primary);
    color: var(--bg-secondary);
}

.problem-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* How Section */
.how-section {
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.value-card:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.value-card:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.value-card {
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--bg-accent);
}

.value-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.value-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* What Section (Features) */
.what-section {
    background: var(--bg-tertiary);
    position: relative;
}

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

.feature-item:nth-child(1) {
    animation: fadeInUp 0.5s ease-out 0.1s both;
}

.feature-item:nth-child(2) {
    animation: fadeInUp 0.5s ease-out 0.15s both;
}

.feature-item:nth-child(3) {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.feature-item:nth-child(4) {
    animation: fadeInUp 0.5s ease-out 0.25s both;
}

.feature-item:nth-child(5) {
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.feature-item:nth-child(6) {
    animation: fadeInUp 0.5s ease-out 0.35s both;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: default;
}

.feature-item:hover {
    transform: translateX(4px);
    background: var(--bg-secondary);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: var(--bg-secondary);
    transform: rotate(-5deg) scale(1.05);
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Name Section */
.name-section {
    background: var(--bg-secondary);
    text-align: center;
}

.name-section .section-desc {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.name-section .section-desc:last-child {
    margin-bottom: 0;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.download-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        opacity: 0.8;
    }
}

.download-section .section-title {
    margin-bottom: 32px;
}

.download-section .section-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

.note {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Footer */
footer {
    padding: 48px 0;
    text-align: center;
}

footer.site-footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand .footer-logo img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-brand p {
    margin-top: 12px;
    max-width: 280px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-brand .footer-download {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg-primary);
}

.footer-brand .footer-download:hover {
    color: var(--bg-primary);
    text-decoration: none;
}

.footer-col h4 {
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 13px;
}

/* Legal lives down here rather than in a nav column — quieter than the
   Company links it used to sit beside */
.footer-legal {
    display: flex;
    gap: 16px;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-tertiary);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--text-primary);
    text-decoration: none;
}

/* Matches the 768px breakpoint the rest of the theme uses */
@media (max-width: 768px) {
    footer.site-footer {
        padding: 48px 0 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
        margin-bottom: 28px;
    }

    /* The brand reads as the footer's header: full width, centred, and
       separated from the link columns by a hairline */
    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--border-color);
        text-align: center;
    }

    .footer-brand p {
        max-width: 32ch;
    }

    /* Download is the one action down here — give it the full column */
    .footer-brand .footer-download {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 320px;
        margin-top: 24px;
    }

    .footer-col h4 {
        margin-bottom: 2px;
    }

    /* 44px rows so the links are actually tappable */
    .footer-col a {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin-bottom: 0;
        font-size: 15px;
    }

    /* Three groups in two columns always orphans the last one — run it
       across the full width instead of leaving a hole beside it */
    .footer-col:last-child {
        grid-column: 1 / -1;
        text-align: center;
    }

    /* Symmetric margins so the centred row stays optically centred */
    .footer-col:last-child a {
        display: inline-flex;
        margin: 0 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        padding-top: 20px;
        text-align: center;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* The bottom bar stacks here, so the legal row has to centre itself */
    .footer-legal {
        justify-content: center;
    }

    .footer-legal a {
        font-size: 12px;
    }
}

/* Large phones and small tablets: enough room for all three groups side by
   side, so the columns don't drift apart across a wide two-column grid */
@media (min-width: 600px) and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-col:last-child {
        grid-column: auto;
        text-align: left;
    }

    .footer-col:last-child a {
        display: flex;
        margin: 0;
    }
}

footer p {
    font-size: 14px;
    color: var(--text-tertiary);
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.social-links {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.social-links span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    cursor: default;
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* Comparison Pages */
.compare-hero {
    padding: 80px 0 64px;
    text-align: center;
}

.compare-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.compare-hero .lead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.compare-section {
    padding: 0 0 80px;
}

.compare-table {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    padding: 20px 24px;
}

.compare-row:not(:last-child) {
    border-bottom: 1px solid var(--bg-tertiary);
}

.compare-header {
    background: var(--bg-tertiary);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    color: var(--text-secondary);
}

.compare-feature strong {
    font-weight: 600;
}

.compare-them,
.compare-us {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compare-them span,
.compare-us span {
    display: block;
}

.compare-them .note,
.compare-us .note {
    font-size: 13px;
    color: var(--text-tertiary);
}

.good {
    color: #2d5a27;
    font-weight: 600;
}

.bad {
    color: #8b3a3a;
    font-weight: 500;
}

.neutral {
    color: var(--text-secondary);
}

.compare-cta {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-secondary);
}

.compare-cta h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.compare-cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Mission Page */
.mission-hero {
    padding: 80px 0 48px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.mission-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.mission-hero .lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.mission-section {
    padding: 80px 0;
}

.mission-section:nth-child(odd) {
    background: var(--bg-secondary);
}

.mission-section:nth-child(even) {
    background: var(--bg-primary);
}

.mission-section .section-label {
    margin-bottom: 12px;
}

.mission-section .section-title {
    margin-bottom: 32px;
}

.mission-text {
    max-width: 720px;
}

.mission-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.mission-text p:last-child {
    margin-bottom: 0;
}

.mission-text strong {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-top: 32px;
}

.mission-text strong:first-child {
    margin-top: 0;
}

.mission-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.mission-cta h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 24px;
}

.mission-cta .cta-note {
    margin-top: 12px;
    display: block;
}

/* Terms Page */
.terms-content {
    max-width: 720px;
    margin: 0 auto;
}

.terms-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.terms-content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 64px 0 0;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .lead {
        font-size: 18px;
    }

    .hero-screenshot {
        margin-top: 32px;
        height: auto;
        max-width: 100%;
    }

    .section-title {
        font-size: 28px;
    }

    .problem-grid,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .header-inner {
        gap: 8px;
    }

    .site-tagline {
        display: none;
    }

    /* Replaced by the drawer — see "Mobile Navigation" at the end of this file */
    .header-nav {
        display: none;
    }

    .compare-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .compare-header {
        display: none;
    }

    .compare-them,
    .compare-us {
        padding-left: 16px;
        border-left: 2px solid #e4ddd1;
    }

    .compare-them::before {
        content: 'Them: ';
        font-weight: 600;
        font-size: 12px;
        color: #9d8d77;
    }

    .compare-us::before {
        content: '2080: ';
        font-weight: 600;
        font-size: 12px;
        color: #9d8d77;
    }

    .mission-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .mission-section {
        padding: 48px 0;
    }

    .mission-text p {
        font-size: 16px;
    }

    .mission-cta h3 {
        font-size: 24px;
    }
}

/* WordPress Block Editor Fixes */
.wp-block-group {
    width: 100%;
}

main .wp-block-group__inner-container {
    width: 100%;
}

/* Apply section padding to WordPress block groups */
.hero.wp-block-group {
    padding: 96px 0 0;
}

.why-section.wp-block-group,
.how-section.wp-block-group,
.what-section.wp-block-group,
.name-section.wp-block-group {
    padding: 80px 0;
}

.download-section.wp-block-group {
    padding: 96px 0;
}

/* Ensure WordPress blocks respect section styling */
.hero .wp-block-heading {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 32px !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #3d332d 0%, #6b5a49 50%, #3d332d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.section-title.wp-block-heading {
    margin-bottom: 16px !important;
}

.section-label.wp-block-paragraph {
    margin-bottom: 12px !important;
}

main .wp-block-paragraph {
    margin-bottom: 16px;
}

/* Support Page */
.support-hero {
    padding: 80px 0 48px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.support-hero h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.support-hero .lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.support-section {
    padding: 64px 0 80px;
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.support-message h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.support-message p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.support-list {
    list-style: none;
    margin: 24px 0;
}

.support-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--text-secondary);
}

.support-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
}

.support-note {
    font-size: 15px;
    color: var(--text-tertiary);
    margin-top: 24px;
}

.support-note a {
    color: var(--text-secondary);
    text-decoration: underline;
}

.support-note a:hover {
    color: var(--text-primary);
}

.support-form-container {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.support-form-container h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.amount-btn {
    padding: 14px 8px;
    font-size: 18px;
    font-weight: 600;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.amount-btn:hover {
    border-color: var(--accent-primary);
    background: var(--bg-tertiary);
}

.amount-btn.selected {
    border-color: var(--accent-primary);
    background: var(--accent-primary);
    color: white;
}

.custom-amount {
    margin-bottom: 24px;
}

.custom-amount label {
    display: block;
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.custom-amount-field {
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.custom-amount-field:focus-within {
    border-color: var(--accent-primary);
}

.currency-symbol {
    padding: 12px 0 12px 16px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.custom-amount-field input {
    flex: 1;
    padding: 12px 16px 12px 4px;
    font-size: 18px;
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-primary);
}

.custom-amount-field input::placeholder {
    color: var(--text-tertiary);
}

.support-cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 16px;
}

.payment-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin: 0;
}

.payment-amount-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-amount-display span {
    color: var(--text-secondary);
}

.payment-amount-display strong {
    font-size: 20px;
    color: var(--text-primary);
}

.change-amount-btn {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}

.change-amount-btn:hover {
    color: var(--text-primary);
}

#payment-element {
    margin-bottom: 20px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    margin-left: 8px;
}

.spinner.hidden {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.payment-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.payment-message.hidden {
    display: none;
}

.payment-message.error {
    background: #fee;
    color: #c00;
}

.payment-message.success {
    background: #efe;
    color: #060;
}

.success-message {
    text-align: center;
    padding: 32px 16px;
}

.success-message svg {
    color: #22c55e;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
}

.support-faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.support-faq h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 40px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Donate Banner */
.donate-banner {
    background: #f5f3f0;
    padding: 24px 0;
    text-align: center;
}

.donate-banner p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.donate-banner a {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.donate-banner a:hover {
    color: var(--accent-primary);
}

/* Pricing Section */
.pricing-section {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-primary);
}

.pricing-card-plus {
    border-style: dashed;
    opacity: 0.85;
}

.pricing-card-plus:hover {
    opacity: 1;
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--bg-tertiary);
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price .amount {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.price .period {
    font-size: 16px;
    color: var(--text-tertiary);
    font-weight: 500;
}

.price-alt {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.pricing-body {
    padding: 24px 32px 32px;
}

.pricing-desc {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--bg-tertiary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: #22c55e;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.pricing-cta-disabled {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
}

/* Bottom CTA */
.bottom-cta {
    padding: 48px 0;
    text-align: center;
    background: var(--bg-secondary);
}

.bottom-cta p {
    font-size: 15px;
    color: var(--text-tertiary);
    margin: 0;
}

.bottom-cta a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.bottom-cta a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 64px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pricing-header {
        padding: 24px 24px 20px;
    }

    .pricing-header h3 {
        font-size: 20px;
    }

    .price .amount {
        font-size: 40px;
    }

    .pricing-body {
        padding: 20px 24px 28px;
    }

    .pricing-badge {
        top: 12px;
        right: 12px;
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

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

    .support-form-container {
        padding: 24px;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Buy Page */
.buy-hero {
    padding: 80px 0 60px;
    text-align: center;
    background: var(--bg-primary);
}

.buy-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -1.5px;
}

.buy-hero .lead {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.buy-section {
    padding: 60px 0 80px;
    background: var(--bg-tertiary);
}

.buy-section .buy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.buy-message h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.buy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.buy-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-primary);
}

.buy-list li svg {
    color: #2d5a27;
    flex-shrink: 0;
}

.buy-trial-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

.buy-trial-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.buy-trial-note a:hover {
    text-decoration: underline;
}

.buy-form-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.buy-form-container h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.buy-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 24px;
}

.price-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
}

.price-period {
    font-size: 16px;
    color: var(--text-tertiary);
}

.buy-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 16px;
}

.buy-form-container .payment-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
}

.buy-faq {
    padding: 80px 0;
    background: var(--bg-primary);
}

.buy-faq h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .buy-hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .buy-section .buy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .buy-form-container {
        padding: 24px;
    }
}

/* Three feature grid */
.features-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .features-grid-three {
        grid-template-columns: 1fr;
    }
}

/* Feature showcase screenshot */
.feature-showcase {
    position: relative;
    max-width: 880px;
    margin: 56px auto 0;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Soft halo so the screenshot lifts off the section background */
.feature-showcase::before {
    content: '';
    position: absolute;
    inset: -8% -6% 2%;
    background: radial-gradient(58% 58% at 50% 46%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 72%);
    pointer-events: none;
    z-index: 0;
}

.feature-showcase img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 36px rgba(61, 51, 45, 0.16));
}

.feature-showcase figcaption {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 14px;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .feature-showcase {
        margin-top: 36px;
    }

    .feature-showcase img {
        filter: drop-shadow(0 10px 22px rgba(61, 51, 45, 0.14));
    }
}

/* Single pricing card layout */
.pricing-grid-single {
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

.pricing-note {
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 12px;
}

.pricing-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.pricing-note a:hover {
    text-decoration: underline;
}

/* Waitlist Section */
.waitlist-section {
    padding: 60px 0;
    background: var(--bg-tertiary);
}

.waitlist-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.waitlist-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: border-color 0.2s;
}

.waitlist-form:focus-within {
    border-color: var(--accent-primary);
}

.waitlist-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    font-size: 15px;
    font-family: inherit;
    border: none;
    background: transparent;
    color: var(--text-primary);
    min-width: 0;
}

.waitlist-form input[type="email"]::placeholder {
    color: var(--text-tertiary);
}

.waitlist-form input[type="email"]:focus {
    outline: none;
}

.waitlist-form button {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    white-space: nowrap;
    border: none;
    background: var(--button-bg);
    color: var(--bg-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.waitlist-form button:hover {
    background: var(--button-hover);
}

.waitlist-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.waitlist-message {
    margin-top: 16px;
    font-size: 14px;
    min-height: 20px;
}

.waitlist-message.success {
    color: var(--accent-primary);
}

.waitlist-message.error {
    color: #c45d4e;
}

@media (max-width: 480px) {
    .waitlist-form {
        flex-direction: column;
        border-radius: 8px;
    }

    .waitlist-form button {
        border-radius: 0 0 7px 7px;
    }
}

/* Download Page */
.download-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: var(--bg-tertiary);
}

.download-content {
    max-width: 600px;
    text-align: center;
}

.download-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.download-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.download-version {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.download-version a {
    color: var(--accent-primary);
    text-decoration: none;
}

.download-version a:hover {
    text-decoration: underline;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.download-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.download-card-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.download-card-disabled:hover {
    border-color: var(--border-color);
    box-shadow: none;
    transform: none;
}

.download-icon {
    color: var(--text-primary);
    flex-shrink: 0;
}

.download-info {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-platform {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.download-details {
    font-size: 14px;
    color: var(--text-tertiary);
}

.download-action {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.download-warning {
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.download-warning strong {
    color: var(--text-secondary);
}

.download-warning a {
    color: var(--accent-primary);
    text-decoration: none;
}

.download-warning a:hover {
    text-decoration: underline;
}

.download-section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    margin-top: 32px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-section-label:first-of-type {
    margin-top: 0;
}

.download-beta-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--accent-primary);
    color: #fff;
    line-height: 1.4;
}

.download-note {
    font-size: 14px;
    color: var(--text-tertiary);
}

.download-note + .download-note {
    margin-top: 16px;
}

.download-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.download-note a:hover {
    text-decoration: underline;
}

@media (max-width: 540px) {
    .download-content h1 {
        font-size: 32px;
    }

    .download-card {
        padding: 16px 20px;
    }

    .download-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* How It Works Page */
.how-hero {
    padding: 96px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.how-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.how-hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Steps layout */
.how-steps {
    padding: 32px 0 64px;
}

.how-step {
    display: flex;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.how-step:last-child {
    border-bottom: none;
}

.how-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.how-step-content {
    flex: 1;
    min-width: 0;
}

.how-step-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.how-step-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.how-subtle {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-tertiary);
}

.how-subtle code {
    background: var(--bg-tertiary);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Status grid */
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}

.status-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 16px 20px;
}

.status-card strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.status-card p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 8px;
}

/* "Try interactive demo" prompt under the status grid */
.how-demo-prompt {
    margin-top: 36px;
    text-align: center;
}

.how-try-demo {
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(61, 51, 45, 0.10);
}

.how-try-demo .how-try-demo-arrow {
    transition: transform 0.2s ease;
}

.how-try-demo:hover {
    background: #c79763;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(61, 51, 45, 0.16);
}

.how-try-demo:hover .how-try-demo-arrow {
    transform: translateX(3px);
}

.status-available { background: #34a853; }
.status-blocked { background: #ea4335; }
.status-scheduled { background: #4285f4; }
.status-waiting { background: #fbbc04; }

/* Video embed */
.how-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 24px;
    border-radius: 12px;
    overflow: hidden;
}

.how-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Dependency example */
.how-example {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 24px;
    max-width: 340px;
}

.how-example-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.how-example-row .status-dot {
    margin-bottom: 0;
    flex-shrink: 0;
}

.how-example-task {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.how-example-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
}

.how-badge-available {
    background: #e6f4ea;
    color: #137333;
}

.how-badge-blocked {
    background: #fce8e6;
    color: #c5221f;
}

.how-example-arrow {
    text-align: center;
    color: var(--border-color);
    line-height: 1;
    padding: 2px 0;
}

/* Quick add syntax */
.how-syntax {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 24px;
}

.how-syntax code {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.8;
}

.syntax-highlight {
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 13px;
}

.syntax-due { background: #e8f0fe; color: #1a73e8; }
.syntax-tag { background: #fce8e6; color: #d93025; }
.syntax-list { background: #e6f4ea; color: #137333; }

.syntax-legend {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.syntax-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.syntax-swatch {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    display: inline-block;
}

.syntax-swatch.syntax-due { color: transparent; }
.syntax-swatch.syntax-tag { color: transparent; }
.syntax-swatch.syntax-list { color: transparent; }

/* Keyboard shortcut */
.how-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-tertiary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
}

.how-shortcut kbd {
    display: inline-block;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    min-width: 28px;
    text-align: center;
}

.how-shortcut-label {
    margin-left: 6px;
    color: var(--text-tertiary);
}

/* Review checklist */
.how-checklist {
    list-style: none;
    padding: 0;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.how-checklist li {
    font-size: 15px;
    color: var(--text-secondary);
    padding-left: 28px;
    position: relative;
    line-height: 1.5;
}

.how-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--accent-primary);
    border-radius: 4px;
}

/* CTA section */
.how-cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-tertiary);
}

.how-cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.how-cta-section p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* How It Works responsive */
@media (max-width: 768px) {
    .how-hero {
        padding: 64px 0 48px;
    }

    .how-hero h1 {
        font-size: 36px;
    }

    .how-hero-sub {
        font-size: 18px;
    }

    .how-step {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .how-step-content h2 {
        font-size: 20px;
    }

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

    .how-try-demo {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .how-syntax code {
        font-size: 13px;
    }

    .syntax-legend {
        flex-wrap: wrap;
        gap: 10px;
    }

    .how-shortcut {
        flex-wrap: wrap;
    }

    .how-cta-section h2 {
        font-size: 26px;
    }
}

/* Privacy Philosophy Page */
.privacy-hero {
    padding: 96px 0 64px;
    text-align: center;
}

.privacy-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.privacy-hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Privacy sections */
.privacy-sections {
    padding: 0 0 64px;
}

.privacy-block {
    display: flex;
    gap: 24px;
    max-width: 680px;
    margin: 0 auto;
    padding: 48px 0;
}

.privacy-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: 2px;
}

.privacy-block-content {
    flex: 1;
    min-width: 0;
}

.privacy-block-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.privacy-block-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.privacy-block-content > p:last-child {
    margin-bottom: 0;
}

/* Comparison columns */
.privacy-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 24px;
}

.privacy-col {
    border-radius: 12px;
    padding: 22px 24px;
}

.privacy-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.privacy-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.privacy-col li {
    font-size: 14px;
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}

.privacy-col li::before {
    position: absolute;
    left: 0;
    top: 1px;
}

.privacy-col-them {
    background: #fdf2f2;
    border: 1px solid #f0d0d0;
}

.privacy-col-them h4 {
    color: #9b2c2c;
}

.privacy-col-them li {
    color: #744040;
}

.privacy-col-them li::before {
    content: '\2717';
    color: #c5221f;
    font-size: 12px;
}

.privacy-col-us {
    background: #f0faf0;
    border: 1px solid #c6e6c6;
}

.privacy-col-us h4 {
    color: #1a5c1a;
}

.privacy-col-us li {
    color: #3a6b3a;
}

.privacy-col-us li::before {
    content: '\2713';
    color: #137333;
    font-size: 13px;
    font-weight: 700;
}

/* No-collection grid */
.privacy-none-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.privacy-none-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 10px 14px;
}

.privacy-none-item svg {
    flex-shrink: 0;
    color: var(--text-tertiary);
}

/* Privacy responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 64px 0 48px;
    }

    .privacy-hero h1 {
        font-size: 36px;
    }

    .privacy-hero-sub {
        font-size: 18px;
    }

    .privacy-block {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .privacy-block-content h2 {
        font-size: 20px;
    }

    .privacy-comparison {
        grid-template-columns: 1fr;
    }

    .privacy-none-grid {
        grid-template-columns: 1fr;
    }
}

/* Getting Started Page */
.guide-hero {
    padding: 96px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.guide-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.guide-hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.guide-steps {
    padding: 32px 0 64px;
}

.guide-step {
    display: flex;
    gap: 32px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.guide-step:last-child {
    border-bottom: none;
}

.guide-step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-primary);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.guide-step-content {
    flex: 1;
    min-width: 0;
}

.guide-step-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.guide-step-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.guide-step-content > p:last-child {
    margin-bottom: 0;
}

.guide-step-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.guide-step-content a:hover {
    text-decoration: underline;
}

/* Chip selectors for download versions */
.guide-chips {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.guide-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 20px;
    flex: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

a.guide-chip:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.guide-chip svg {
    flex-shrink: 0;
    color: var(--text-primary);
}

.guide-chip strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.guide-chip span {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Tip box */
.guide-tip {
    font-size: 14px !important;
    color: var(--text-tertiary) !important;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 12px 16px;
    line-height: 1.6;
}

.guide-tip strong {
    color: var(--text-secondary);
}

/* DMG visual */
.guide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    margin: 20px 0;
}

.guide-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.guide-visual-item svg {
    color: var(--text-secondary);
}

.guide-visual-item span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.guide-visual-arrow svg {
    color: var(--accent-primary);
}

/* Callout box */
.guide-callout {
    display: flex;
    gap: 14px;
    background: #fdf8f0;
    border: 1px solid #e8d5b8;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
}

.guide-callout-icon {
    flex-shrink: 0;
    color: var(--accent-primary);
    margin-top: 2px;
}

.guide-callout strong {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.guide-callout p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
    font-style: italic;
}

/* Ordered instructions */
.guide-instructions {
    list-style: none;
    counter-reset: guide-counter;
    margin: 20px 0;
    padding: 0;
}

.guide-instructions li {
    counter-increment: guide-counter;
    position: relative;
    padding: 10px 0 10px 36px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--bg-tertiary);
}

.guide-instructions li:last-child {
    border-bottom: none;
}

.guide-instructions li::before {
    content: counter(guide-counter);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 12px;
}

.guide-instructions li strong {
    color: var(--text-primary);
}

.guide-instructions li em {
    font-style: italic;
    color: var(--text-tertiary);
}

.guide-reassurance {
    font-size: 14px !important;
    color: var(--accent-primary) !important;
    font-weight: 500;
    margin-top: 8px;
}

/* Next steps links */
.guide-next-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.guide-next-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.guide-next-link:hover {
    border-color: var(--accent-primary);
    text-decoration: none;
}

/* Getting Started responsive */
@media (max-width: 768px) {
    .guide-hero {
        padding: 64px 0 48px;
    }

    .guide-hero h1 {
        font-size: 36px;
    }

    .guide-hero-sub {
        font-size: 18px;
    }

    .guide-step {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .guide-chips {
        flex-direction: column;
    }

    .guide-visual {
        padding: 24px 16px;
        gap: 16px;
    }

    .guide-instructions li {
        font-size: 14px;
    }
}

/* About Page */
.about-hero {
    padding: 96px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.about-photo {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    object-fit: cover;
    margin-bottom: 28px;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.about-hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-sections {
    padding: 32px 0 64px;
}

.about-block {
    display: flex;
    gap: 24px;
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.about-block:last-child {
    border-bottom: none;
}

.about-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-top: 2px;
}

.about-block-content {
    flex: 1;
    min-width: 0;
}

.about-block-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.about-block-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-block-content > p:last-child {
    margin-bottom: 0;
}

.about-block-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.about-block-content a:hover {
    text-decoration: underline;
}

/* Principles grid */
.about-principles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.about-principle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px 20px;
}

.about-principle strong {
    display: block;
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.about-principle p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.5;
    margin: 0;
}

/* Social links */
.about-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-primary);
    text-decoration: none;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s;
}

.about-link:hover {
    border-color: var(--accent-primary);
    text-decoration: none;
}

/* About responsive */
@media (max-width: 768px) {
    .about-hero {
        padding: 64px 0 48px;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero-sub {
        font-size: 18px;
    }

    .about-block {
        flex-direction: column;
        gap: 16px;
        padding: 32px 0;
    }

    .about-block-content h2 {
        font-size: 20px;
    }

    .about-principles {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Interactive Demo Modal
   ============================================================ */

:root {
    --status-available: #34a853;
    --status-available-bg: #e6f4ea;
    --status-available-text: #137333;
    --status-blocked: #ea4335;
    --status-blocked-bg: #fce8e6;
    --status-blocked-text: #c5221f;
    --status-scheduled: #4285f4;
    --status-scheduled-bg: #e8f0fe;
    --status-scheduled-text: #1967d2;
    --status-waiting: #fbbc04;
    --status-waiting-bg: #fef7e0;
    --status-waiting-text: #b06000;
    --status-completed: #9d8d77;
    --status-completed-bg: #f0ebe3;
    --status-completed-text: #6b5a49;
}

/* Centered section link */
.section-link-center {
    text-align: center;
}

/* Learn more link inside demo modal */
.demo-learn-more {
    color: var(--accent-primary);
    text-decoration: none;
    white-space: nowrap;
}

.demo-learn-more:hover {
    text-decoration: underline;
}

.how-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Modal overlay */
.demo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.demo-modal.open {
    opacity: 1;
    visibility: visible;
}

.demo-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61, 51, 45, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.demo-modal-container {
    position: relative;
    z-index: 1;
    width: 94vw;
    max-width: 720px;
    max-height: 90vh;
    background: var(--bg-primary);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.demo-modal.open .demo-modal-container {
    transform: translateY(0) scale(1);
}

.demo-modal-scroll {
    overflow-y: auto;
    max-height: 90vh;
    -webkit-overflow-scrolling: touch;
}

.demo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.demo-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

/* Modal hero */
.demo-modal-hero {
    text-align: center;
    padding: 48px 32px 32px;
}

.demo-modal-hero h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.demo-hero-sub {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Demo sections inside modal */
.demo-section {
    padding: 36px 32px;
}

.demo-section-alt {
    background: var(--bg-tertiary);
}

.demo-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.demo-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--button-bg);
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

.demo-section-header h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.demo-section-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Quick Add */
.demo-quick-add {
    max-width: 100%;
}

.demo-input-wrapper {
    position: relative;
}

.demo-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.demo-input {
    width: 100%;
    padding: 14px 14px 14px 40px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-input::placeholder {
    color: var(--text-tertiary);
}

.demo-input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.demo-parsed {
    margin-top: 12px;
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.demo-parsed-empty {
    font-size: 13px;
    color: var(--text-tertiary);
    font-style: italic;
}

.demo-parsed-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    animation: chipIn 0.2s ease;
}

@keyframes chipIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.demo-chip-title {
    background: var(--bg-accent);
    color: var(--text-primary);
}

.demo-chip-due,
.demo-chip-start {
    background: #fef3e2;
    color: #b06000;
}

.demo-chip-tag {
    background: var(--status-available-bg);
    color: var(--status-available-text);
}

.demo-chip-list {
    background: var(--status-scheduled-bg);
    color: var(--status-scheduled-text);
}

.demo-chip-hint {
    opacity: 0.75;
}

.demo-list-suggestion {
    font-weight: 500;
    opacity: 0.85;
    margin-right: 6px;
}

.demo-list-suggestion:last-child {
    margin-right: 0;
}

.demo-chip-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    margin-right: 2px;
}

.demo-syntax-legend {
    margin-top: 12px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.syntax-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-tertiary);
}

.syntax-swatch {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.syntax-swatch.syntax-due { background: #b06000; }
.syntax-swatch.syntax-tag { background: var(--status-available); }
.syntax-swatch.syntax-list { background: var(--status-scheduled); }

/* Task lists */
.demo-task-list {
    max-width: 100%;
}

.demo-task-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 6px;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease, border-width 0.3s ease;
    max-height: 54px;
    overflow: hidden;
}

.demo-task-row.completed {
    opacity: 0.5;
}

.demo-task-row.hiding {
    opacity: 0;
    transform: translateX(-20px);
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

.demo-checkbox {
    position: relative;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.demo-checkbox::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}

.demo-checkbox.checked {
    background: var(--status-completed);
    border-color: var(--status-completed);
}

.demo-checkbox.checked::after {
    display: block;
}

.demo-checkbox.status-available { border-color: var(--status-available); }
.demo-checkbox.status-blocked { border-color: var(--status-blocked); }
.demo-checkbox.status-scheduled { border-color: var(--status-scheduled); }
.demo-checkbox.status-waiting { border-color: var(--status-waiting); }

.demo-task-title {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    min-width: 0;
}

.demo-task-row.completed .demo-task-title {
    text-decoration: line-through;
    color: var(--text-tertiary);
}

.demo-task-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.demo-badge-available {
    background: var(--status-available-bg);
    color: var(--status-available-text);
}

.demo-badge-blocked {
    background: var(--status-blocked-bg);
    color: var(--status-blocked-text);
}

.demo-badge-scheduled {
    background: var(--status-scheduled-bg);
    color: var(--status-scheduled-text);
}

.demo-badge-waiting {
    background: var(--status-waiting-bg);
    color: var(--status-waiting-text);
}

.demo-badge-completed {
    background: var(--status-completed-bg);
    color: var(--status-completed-text);
}

.demo-task-why {
    font-size: 10px;
    color: var(--text-tertiary);
    white-space: nowrap;
}

.demo-task-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

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

.demo-btn-secondary:hover {
    background: var(--bg-tertiary);
}

.demo-hint {
    font-size: 12px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Focus mode toggle */
.demo-mode-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.demo-mode-toggle {
    display: flex;
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3px;
}

.demo-mode-btn {
    position: relative;
    z-index: 1;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-tertiary);
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.demo-mode-btn.active {
    color: var(--text-primary);
}

.demo-mode-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    height: calc(100% - 6px);
    width: calc(50% - 3px);
    background: var(--bg-tertiary);
    border-radius: 6px;
    transition: transform 0.25s ease;
    z-index: 0;
}

.demo-mode-toggle.focus .demo-mode-slider {
    transform: translateX(100%);
}

.demo-task-count {
    font-size: 12px;
    color: var(--text-tertiary);
}

.demo-focus-list .demo-task-row {
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease, margin 0.3s ease, padding 0.3s ease, border-width 0.3s ease;
}

.demo-focus-list.focus-active .demo-task-row {
    text-align: center;
    justify-content: center;
}

.demo-focus-list.focus-active .demo-task-row .demo-task-title {
    font-size: 15px;
}

/* Modal CTA */
.demo-modal-cta {
    text-align: center;
    padding: 36px 32px 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-modal-container {
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .demo-modal-scroll {
        max-height: 100vh;
    }

    .demo-modal-hero {
        padding: 40px 20px 24px;
    }

    .demo-modal-hero h2 {
        font-size: 22px;
    }

    .demo-section {
        padding: 28px 20px;
    }

    .demo-section-header h3 {
        font-size: 17px;
    }

    .demo-task-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .demo-mode-toggle-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .demo-task-why {
        display: none;
    }

    .how-cta-buttons {
        flex-direction: column;
    }
}

/* Blog Post */
.post-meta-sep {
    margin: 0 6px;
    color: var(--text-secondary);
}

.post-hero {
    padding-bottom: 24px;
}

.post-body {
    padding-top: 32px;
}

.post-author-box {
    display: none;
    align-items: center;
    gap: 16px;
    max-width: 560px;
    margin: 28px auto 0;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: left;
}

.post-author-box.is-open {
    display: flex;
    animation: author-box-in 0.2s ease;
}

@keyframes author-box-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.post-author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

.post-author-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.post-author-bio {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.post-author-bio a {
    color: var(--accent-primary);
    text-decoration: none;
}

.post-author-bio a:hover {
    text-decoration: underline;
}

.post-content {
    margin-left: auto;
    margin-right: auto;
}

.post-content h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-top: 48px;
    margin-bottom: 16px;
}

.post-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 12px;
}

.post-content h4 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
}

.post-content h2:first-child,
.post-content h3:first-child,
.post-content h4:first-child {
    margin-top: 0;
}

.post-content ul,
.post-content ol {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0 28px;
    font-size: 16px;
    line-height: 1.6;
}

.post-content th,
.post-content td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.post-content th {
    font-weight: 600;
    color: var(--text-primary);
    border-bottom-width: 2px;
}

.post-content td {
    color: var(--text-secondary);
}

.post-content td:first-child {
    color: var(--text-primary);
    white-space: nowrap;
}

.post-content code {
    background: var(--bg-tertiary);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.post-content pre {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 18px;
    margin: 20px 0 24px;
    overflow-x: auto;
    line-height: 1.6;
}

.post-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    color: var(--text-primary);
    white-space: pre;
}

@media (max-width: 600px) {
    .post-content table {
        display: block;
        overflow-x: auto;
    }

    .post-content td:first-child {
        white-space: normal;
    }
}

/* Archive / Post List */
.post-list {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.post-list-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--border-color);
}

.post-list-item:first-child {
    padding-top: 0;
}

.post-list-item h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.post-list-item h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-list-item h2 a:hover {
    text-decoration: underline;
}

.post-list-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.post-list-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.post-list .pagination,
.post-list .nav-links {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.mission-hero .lead a,
.post-content a {
    color: var(--accent-primary);
    text-decoration: none;
}

.mission-hero .lead a:hover,
.post-content a:hover {
    text-decoration: underline;
}

/* Features Page */
.features-section-head {
    text-align: center;
}

.feature-content code {
    background: var(--bg-tertiary);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.what-section .feature-content code {
    background: var(--bg-accent);
}

.features-cta-section {
    border-top: 1px solid var(--border-color);
}

/* ============================================================
   Contact Page
   ============================================================ */

.contact-hero {
    padding: 96px 0 64px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.contact-hero-sub {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-options-section {
    padding: 64px 0 32px;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-option {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.contact-option:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.contact-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.contact-option h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}

.contact-option p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

/* Note sits outside the option cards — the cards are anchors, so a link
   nested inside one would be split out by the HTML parser. */
.contact-options-note {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 24px;
}

.contact-options-note a {
    color: var(--accent-primary);
    text-decoration: none;
}

.contact-options-note a:hover {
    text-decoration: underline;
}

.contact-option-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
}

.contact-form-section {
    padding: 32px 0 80px;
}

.contact-form-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 32px;
}

.contact-form-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.contact-form-header p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.contact-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-tertiary);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-field textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.contact-form-note {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 16px;
    line-height: 1.5;
}

.contact-notice {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.contact-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-notice strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-notice p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contact-notice-success {
    background: #e6f4ea;
    border: 1px solid #b7dfc2;
    color: #137333;
}

.contact-notice-error {
    background: #fce8e6;
    border: 1px solid #f0c1bc;
    color: #c5221f;
}

/* Contact responsive */
@media (max-width: 768px) {
    .contact-hero {
        padding: 64px 0 48px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero-sub {
        font-size: 18px;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-options-section {
        padding: 48px 0 24px;
    }

    .contact-form {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================================
   Getting Started — OS picker
   ============================================================ */

.os-picker-section {
    padding: 56px 0 8px;
}

.os-picker-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.os-picker {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 840px;
    margin: 0 auto;
}

.os-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
    font-family: inherit;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 24px;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.os-option:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.os-option.is-active {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary);
}

.os-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.os-option.is-active .os-option-icon {
    background: var(--accent-primary);
    color: var(--bg-secondary);
}

.os-option-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
}

.os-option-meta {
    font-size: 13.5px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.os-beta {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    background: var(--bg-accent);
    border-radius: 4px;
    padding: 2px 6px;
    vertical-align: middle;
    margin-left: 4px;
}

.os-detected:not([hidden]) {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-top: 8px;
}

.os-picker-hint {
    display: none;
    text-align: center;
    font-size: 15px;
    color: var(--text-tertiary);
    margin-top: 24px;
}

/* Panels are visible by default so the page still works without JavaScript;
   the .js class (set inline before paint) is what turns them into tabs. */
.js .os-picker-hint:not([hidden]) {
    display: block;
}

.js .os-panel {
    display: none;
}

.js .os-panel.is-active {
    display: block;
}

.os-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.6px;
    padding-top: 24px;
}

.os-panel-title svg {
    color: var(--accent-primary);
}

.os-panel-intro {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 12px;
}

.os-panel-intro a {
    color: var(--accent-primary);
    text-decoration: none;
}

.os-panel-intro a:hover {
    text-decoration: underline;
}

.guide-subhead {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.guide-command {
    background: var(--text-primary);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 12px 0 16px;
    overflow-x: auto;
}

.guide-command code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13.5px;
    line-height: 1.7;
    color: #f3ece2;
    white-space: pre;
}

/* OS picker responsive */
@media (max-width: 768px) {
    .os-picker-section {
        padding: 40px 0 8px;
    }

    .os-picker-title {
        font-size: 20px;
    }

    .os-picker {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .os-option {
        padding: 18px 20px;
    }

    .os-panel-title {
        font-size: 21px;
    }

    .guide-command code {
        font-size: 12.5px;
    }
}

/* ============================================================
   Mobile Navigation
   ============================================================ */

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
    margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Drawer */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    /* Hold visibility until the fade-out finishes, so the drawer is not
       yanked out of the layout mid-transition */
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    /* Becomes visible immediately — a hidden element cannot take focus, and
       we move focus into the drawer as soon as it opens */
    transition: opacity 0.25s ease, visibility 0s linear 0s;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(61, 51, 45, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    width: min(86vw, 340px);
    height: 100vh;
    height: 100dvh; /* iOS: track the small viewport, not the URL-bar-hidden one */
    background: var(--bg-primary);
    box-shadow: -8px 0 32px rgba(61, 51, 45, 0.18);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.mobile-nav.open .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    text-decoration: none;
}

.mobile-nav-logo img {
    width: 26px;
    height: 26px;
}

.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.mobile-nav-body {
    padding: 20px 20px 32px;
}

.mobile-nav-cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 28px;
}

.mobile-nav-group + .mobile-nav-group {
    margin-top: 24px;
}

.mobile-nav-group h4 {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.mobile-nav-group a {
    display: flex;
    align-items: center;
    min-height: 48px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-group a:last-child {
    border-bottom: none;
}

.mobile-nav-group a[aria-current="page"] {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal sits below the groups without a heading of its own, the same way it
   trails the footer columns — quieter type, but still a 44px tap target */
.mobile-nav-legal {
    display: flex;
    gap: 20px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-legal a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    color: var(--text-tertiary);
    text-decoration: none;
}

.mobile-nav-legal a[aria-current="page"] {
    color: var(--text-primary);
}

body.nav-open {
    overflow: hidden;
}

@media (hover: hover) {
    .nav-toggle:hover,
    .mobile-nav-close:hover {
        background: var(--bg-tertiary);
        color: var(--text-primary);
    }

    .mobile-nav-group a:hover,
    .mobile-nav-legal a:hover,
    .mobile-nav-logo:hover {
        color: var(--text-primary);
    }
}

.nav-toggle:focus-visible,
.mobile-nav-close:focus-visible,
.mobile-nav-logo:focus-visible,
.mobile-nav-cta:focus-visible,
.mobile-nav-group a:focus-visible,
.mobile-nav-legal a:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
}

/* Above the breakpoint the drawer is unreachable — keep it out of the
   layout entirely so it can never be left open on resize */
@media (min-width: 769px) {
    .mobile-nav {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-nav,
    .mobile-nav-panel,
    .nav-toggle-bar {
        transition: none;
    }
}
