.logo {
    display: inline-flex;
    align-items: flex-end;
    gap: 0;
    text-decoration: none;
    color: #6200EE;
    line-height: 0.85;
    letter-spacing: -0.045em;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}
.logo .wordmark-r {
    font-size: 34px;
    font-weight: 900;
    color: #6200EE;
}
.logo .wordmark-rest {
    font-size: 26px;
    font-weight: 700;
    color: #6200EE;
    padding-bottom: 2px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 12px 10px;
    cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    height: 2px;
    background: #1A1A1A;
    border-radius: 2px;
    position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.site-nav a {
    text-decoration: none;
    color: #5A5A64;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    letter-spacing: -0.01em;
}
.site-nav a:hover { color: #6200EE; background: rgba(98, 0, 238, 0.06); }
.site-nav a.is-active {
    color: #6200EE;
    background: #EFE8FF;
}
.header-home {
    text-decoration: none;
    color: #6200EE;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #EFE8FF;
    letter-spacing: -0.01em;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin: 0 0 20px;
}
.footer-nav a {
    color: #6200EE;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}
.footer-nav a:hover { text-decoration: underline; }

.page {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
    padding: 24px 0 40px;
}
.page-kicker {
    color: #6200EE;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.page h1 {
    font-size: 48px;
    text-align: left;
    margin: 0 0 20px;
}
.page .lede {
    font-size: 20px;
    color: #5A5A64;
    font-weight: 300;
    line-height: 1.55;
    margin: 0 0 36px;
}
.prose h2 {
    font-size: 26px;
    margin: 36px 0 12px;
    letter-spacing: -0.5px;
}
.prose p, .prose li {
    color: #5A5A64;
    font-weight: 300;
    line-height: 1.65;
    font-size: 17px;
}
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 1.2em; }
.prose a { color: #6200EE; font-weight: 600; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

.news-list, .blog-list { display: flex; flex-direction: column; gap: 20px; }
.news-card, .blog-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px 28px;
    text-align: left;
    box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}
.news-card time, .blog-card time {
    display: block;
    font-size: 13px;
    color: #6200EE;
    font-weight: 600;
    margin-bottom: 8px;
}
.news-card h2, .blog-card h2 {
    margin: 0 0 8px;
    font-size: 22px;
}
.news-card p, .blog-card p {
    margin: 0;
    color: #5A5A64;
    font-weight: 300;
    line-height: 1.55;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    width: 100%;
    margin: 32px 0;
}
.app-grid figure { margin: 0; }
.app-grid img {
    width: 100%;
    border-radius: 18px;
    display: block;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}
.app-grid figcaption {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #5A5A64;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    header { position: sticky; }
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 20px 20px;
        background: var(--wash, #F3DCC4);
        border-bottom: 1px solid rgba(58, 31, 110, 0.12);
        z-index: 120;
        box-shadow: 0 16px 32px rgba(40, 20, 10, 0.08);
    }
    .site-nav.is-open { display: flex; }
    header.is-away .nav-toggle,
    header.is-away .site-nav {
        display: none !important;
        pointer-events: none;
        visibility: hidden;
    }
    .page h1 { font-size: 36px; }
}
