.blog-shell,
.article-page {
    flex: 1;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

.blog-eyebrow {
    margin-bottom: 12px;
    color: #ff6a2b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.blog-heading {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.blog-intro {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 40px;
}

.article-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    min-height: 0;
    padding: 28px 0;
    overflow: hidden;
    isolation: isolate;
    transition: color .25s ease;
}

.article-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--border);
    box-shadow: 0 0 0 rgba(255, 75, 0, 0);
    transition:
        background-color .3s ease,
        box-shadow .3s ease;
}

.article-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -1px;
    left: 50%;
    width: 110%;
    height: 120px;
    background: radial-gradient(
        ellipse at 50% 100%,
        rgba(255, 75, 0, .24) 0%,
        rgba(255, 75, 0, .09) 42%,
        transparent 74%
    );
    filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 28px) scale(.82);
    transform-origin: 50% 100%;
    transition:
        opacity .35s ease,
        transform .5s cubic-bezier(.22, 1, .36, 1);
}

.article-card:hover {
    text-decoration: none;
}

@media (hover: hover) {
    .article-card:hover::before {
        background: #ff6a2b;
        box-shadow: 0 -2px 10px rgba(255, 75, 0, .72);
    }

    .article-card:hover::after {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.article-card:focus-visible {
    outline: none;
}

.article-card:focus-visible::before {
    background: #ff6a2b;
    box-shadow: 0 -2px 10px rgba(255, 75, 0, .72);
}

.article-card:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.article-card > * { position: relative; z-index: 1; }

.article-kicker,
.article-meta {
    color: var(--muted);
    font-size: 13px;
}

.article-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.article-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    color: var(--text);
    line-height: 1;
    background: rgba(255, 255, 255, .055);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.article-card h2 {
    margin: 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.article-card p {
    max-width: 760px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.article-meta {
    white-space: nowrap;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin-bottom: 40px;
    padding: 0 14px;
    color: var(--muted);
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: color .3s ease, border-color .3s ease, background-color .3s ease;
}

.article-back__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-1px);
}

.article-back:hover {
    color: var(--text);
    text-decoration: none;
    background: #111;
    border-color: rgba(255,255,255,.16);
}

.article-page h1 {
    margin: 12px 0 16px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.article-deck {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.article-byline {
    flex-wrap: wrap;
    display: flex;
    gap: 12px;
    margin: 24px 0 48px;
    color: var(--muted);
    font-size: 13px;
}

.article-content {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.article-content h2 {
    margin: 40px 0 12px;
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -.01em;
}

.article-content h3 {
    margin: 30px 0 10px;
    color: var(--text);
    font-size: 17px;
    font-weight: 500;
}

.article-content p,
.article-content ul,
.article-content ol { margin: 0 0 22px; }

.article-content ul,
.article-content ol { padding-left: 24px; }
.article-content li { margin-bottom: 8px; }

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-content a {
    color: #ff8a57;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-note {
    margin: 30px 0;
    padding: 22px 24px;
    color: var(--text);
    background:
        linear-gradient(90deg, rgba(255, 75, 0, .11), rgba(255, 75, 0, .025) 55%, transparent),
        #111;
    border: 1px solid var(--border);
    border-left: 3px solid #ff6a2b;
    border-radius: 18px;
    box-shadow: inset 18px 0 34px -30px rgba(255, 75, 0, .9);
}

.article-note strong {
    color: #ff8a57;
    font-weight: 600;
}

.article-cta {
    margin-top: 52px;
    padding: 28px;
    color: var(--muted);
    background: #111;
    border: 1px solid var(--border);
    border-radius: 20px;
}

.article-cta h2 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.article-cta > p:last-child {
    margin-bottom: 0;
}

.article-cta .article-cta__store {
    width: fit-content;
    height: 48px;
    min-height: 48px;
    padding: 0 11px;
    border: 0;
}

.article-cta .article-cta__store .app-store-badge {
    width: auto;
    height: 42px;
}

.post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 52px;
}

.post-navigation a {
    display: flex;
    min-height: 126px;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    color: var(--text);
    text-decoration: none;
    background: #111;
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s ease;
}

.post-navigation a:hover {
    border-color: rgba(255,106,43,.42);
    transform: translateY(-3px);
}

.post-navigation span {
    color: var(--muted);
    font-size: 12px;
}

.post-navigation strong {
    font-size: 15px;
    line-height: 1.35;
}

@media (max-width: 720px) {
    .blog-shell,
    .article-page {
        padding-top: 40px;
        padding-bottom: 64px;
    }
    .article-grid { margin-top: 36px; }
    .article-card { grid-template-columns: 1fr; gap: 12px; }
    .article-page { padding-top: 40px; }
    .article-back { margin-bottom: 32px; }
    .post-navigation { grid-template-columns: 1fr; }
    .header-nav { gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .article-card,
    .article-card::after,
    .article-back,
    .article-cta__store,
    .post-navigation a {
        transition: none;
    }
}
