/* ==========================================================================
   爱加速下载 - 全局样式
   主色 Emerald / 辅助 Teal，移动优先，纯原生 CSS
   ========================================================================== */

:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --teal-50: #f0fdfa;
    --teal-200: #99f6e4;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-900: #111827;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --shadow-card: 0 1px 2px rgba(17, 24, 39, 0.04), 0 8px 24px -12px rgba(17, 24, 39, 0.12);
    --shadow-hover: 0 24px 48px -24px rgba(5, 150, 105, 0.35);
    --header-h: 72px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
        "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--gray-700);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

h1,
h2,
h3 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 768px;
}

/* ------------------------------ 通用按钮 ------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease,
        color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    border-radius: var(--radius-2xl);
    padding: 1rem 2rem;
    box-shadow: 0 12px 24px -12px rgba(5, 150, 105, 0.6);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 1rem 2rem;
}

.btn-ghost:hover {
    border-color: var(--emerald-200);
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.btn-sm {
    padding: 0.6rem 1.1rem;
    font-size: 0.9rem;
    border-radius: var(--radius-xl);
}

.animate-glow {
    animation: glow 2.8s ease-in-out infinite;
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 12px 24px -12px rgba(5, 150, 105, 0.55);
    }
    50% {
        box-shadow: 0 12px 34px -8px rgba(5, 150, 105, 0.75);
    }
}

/* ------------------------------ 顶部导航 ------------------------------ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(243, 244, 246, 0.9);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    color: var(--gray-900);
    font-size: 1.05rem;
}

.brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

.nav-desktop a {
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-lg);
    font-size: 0.95rem;
    color: var(--gray-600);
    transition: background-color 0.2s, color 0.2s;
}

.nav-desktop a:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-desktop a.active {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.header-cta {
    display: none;
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: #fff;
    color: var(--gray-900);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    border-top: 1px solid var(--gray-100);
    background: #fff;
    padding: 0.75rem 1rem 1.25rem;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    font-size: 1rem;
}

.mobile-nav a.active {
    color: var(--emerald-600);
    background: var(--emerald-50);
}

.mobile-nav .btn {
    width: 100%;
    margin-top: 0.75rem;
}

/* ------------------------------ Hero ------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 2.5rem) 0 4rem;
    background: linear-gradient(160deg, #ffffff 0%, var(--teal-50) 45%, #ffffff 100%);
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-blob.one {
    width: 320px;
    height: 320px;
    background: #34d399;
    top: -80px;
    right: -60px;
}

.hero-blob.two {
    width: 300px;
    height: 300px;
    background: #99f6e4;
    bottom: -100px;
    left: -80px;
}

.hero-inner {
    position: relative;
    display: grid;
    gap: 2.5rem;
    text-align: center;
}

.hero-copy {
    max-width: 640px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--emerald-100);
    color: var(--emerald-700);
    border-radius: 9999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    font-size: clamp(2.5rem, 9vw, 4.6rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--emerald-600), #14b8a6 60%, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 34rem;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-meta svg {
    width: 15px;
    height: 15px;
    color: var(--emerald-600);
}

.hero-visual {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 560px;
}

.hero-visual svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-3xl);
    box-shadow: 0 40px 80px -40px rgba(17, 24, 39, 0.35);
}

/* ------------------------------ 数据信任条 ------------------------------ */
.stats {
    background: var(--gray-900);
    color: #fff;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat svg {
    width: 32px;
    height: 32px;
    color: var(--emerald-400);
    margin: 0 auto 0.75rem;
}

.stat-num {
    font-size: clamp(1.6rem, 5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ------------------------------ 区块通用 ------------------------------ */
.section {
    padding: 5rem 0;
}

.section-tint {
    background: var(--gray-50);
}

.section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.section-head h2 {
    font-size: clamp(1.75rem, 5vw, 2.4rem);
    margin-bottom: 0.85rem;
}

.section-head p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
}

.section-head.left > div {
    max-width: 40rem;
}

.link-more {
    display: none;
    color: var(--emerald-600);
    font-weight: 600;
    font-size: 0.95rem;
    align-items: center;
    gap: 0.35rem;
}

.link-more:hover {
    color: var(--emerald-700);
}

/* ------------------------------ 功能卡片 ------------------------------ */
.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.feature-card:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1.25rem;
    transition: transform 0.25s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.g-purple {
    background: linear-gradient(135deg, #a855f7, #ec4899);
}
.g-cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}
.g-amber {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}
.g-emerald {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--gray-600);
}

/* ------------------------------ 平台卡片 ------------------------------ */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.platform-card {
    display: block;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-3xl);
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.platform-card:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.platform-card svg {
    width: 48px;
    height: 48px;
    color: var(--gray-700);
    margin: 0 auto 0.9rem;
    transition: color 0.25s;
}

.platform-card:hover svg {
    color: var(--emerald-600);
}

.platform-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.platform-ver {
    color: var(--gray-500);
    font-size: 0.85rem;
}

.platform-dl {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.75rem;
    color: var(--emerald-600);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s;
}

.platform-card:hover .platform-dl,
.platform-card:focus-visible .platform-dl {
    opacity: 1;
    transform: none;
}

/* ------------------------------ 文章卡片 ------------------------------ */
.post-grid {
    display: grid;
    gap: 1.5rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 100%;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.post-card:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-hover);
}

.post-cover {
    position: relative;
    height: 176px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-500), #14b8a6);
}

.post-cover svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}

.post-card:hover .post-cover svg {
    transform: scale(1.05);
}

.post-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--emerald-500);
    color: #fff;
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-lg);
}

.post-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-body h3 {
    font-size: 1.05rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.post-card:hover .post-body h3 {
    color: var(--emerald-600);
}

.post-excerpt {
    color: var(--gray-500);
    font-size: 0.88rem;
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.9rem;
    border-top: 1px solid var(--gray-50);
    font-size: 0.75rem;
    color: var(--gray-400);
}

.post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.post-meta svg {
    width: 13px;
    height: 13px;
}

/* ------------------------------ FAQ ------------------------------ */
.faq-list {
    max-width: 768px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
    border-color: var(--emerald-200);
    box-shadow: 0 12px 28px -20px rgba(5, 150, 105, 0.5);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: none;
    border: 0;
    font-family: inherit;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    cursor: pointer;
}

.faq-q:hover {
    color: var(--emerald-700);
}

.faq-q svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: var(--emerald-600);
    transition: transform 0.25s;
}

.faq-item.open .faq-q svg {
    transform: rotate(45deg);
}

.faq-a {
    display: none;
    padding: 0 1.25rem 1.2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.faq-item.open .faq-a {
    display: block;
}

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-brand .brand {
    color: #fff;
    margin-bottom: 0.9rem;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 22rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: var(--gray-500);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
}

/* ------------------------------ 子页面 ------------------------------ */
.page-hero {
    padding: calc(var(--header-h) + 3rem) 0 2.5rem;
    background: linear-gradient(160deg, #fff 0%, var(--teal-50) 100%);
    border-bottom: 1px solid var(--gray-100);
}

.page-hero h1 {
    font-size: clamp(1.9rem, 5.5vw, 2.8rem);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: var(--gray-600);
    max-width: 44rem;
}

.breadcrumb {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.breadcrumb a:hover {
    color: var(--emerald-600);
}

.dl-panel {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
}

.dl-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.dl-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dl-row:first-child {
    padding-top: 0;
}

.dl-name {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.dl-name svg {
    width: 26px;
    height: 26px;
    color: var(--emerald-600);
}

.dl-name strong {
    display: block;
    color: var(--gray-900);
}

.dl-name small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.steps li {
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-2xl);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    background: var(--emerald-50);
    color: var(--emerald-700);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article {
    padding: 2.5rem 0 4rem;
}

.article-body {
    max-width: 768px;
    margin: 0 auto;
    color: var(--gray-700);
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.75rem;
}

.article-body h3 {
    font-size: 1.15rem;
    margin: 1.5rem 0 0.5rem;
}

.article-body p {
    margin: 0 0 1rem;
}

.article-body ul,
.article-body ol {
    margin: 0 0 1rem;
    padding-left: 1.4rem;
    display: grid;
    gap: 0.4rem;
}

.article-body li::marker {
    color: var(--emerald-600);
}

.article-body a {
    color: var(--emerald-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.note {
    background: var(--emerald-50);
    border-left: 3px solid var(--emerald-500);
    border-radius: var(--radius-lg);
    padding: 0.9rem 1.1rem;
    font-size: 0.92rem;
    margin: 1.2rem 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.article-cta {
    max-width: 768px;
    margin: 2.5rem auto 0;
    padding: 1.75rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--emerald-600), #0d9488);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.article-cta strong {
    font-size: 1.1rem;
}

.article-cta .btn {
    background: #fff;
    color: var(--emerald-700);
}

/* 滚动进入动画 */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* 首页更多教程文字链 */
.link-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem 1.5rem;
    margin-top: 1.25rem;
}

.link-grid a {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.link-grid a::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    margin-top: 0.5rem;
    border-radius: 50%;
    background: var(--emerald-400);
}

.link-grid a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
    border-color: var(--emerald-100);
}

.link-group {
    margin-top: 1.75rem;
}

.link-group h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
}

/* 文章页相关教程 */
.related {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--gray-200);
}

.related h2 {
    margin: 0 0 0.9rem;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.related li a {
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    color: var(--gray-700);
    font-size: 0.95rem;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.related li a:hover {
    border-color: var(--emerald-200);
    background: var(--emerald-50);
    color: var(--emerald-700);
}

/* ------------------------------ 响应式 ------------------------------ */
@media (min-width: 768px) {
    .nav-desktop,
    .header-cta {
        display: flex;
    }

    .menu-toggle,
    .mobile-nav {
        display: none !important;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 720px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .link-more {
        display: inline-flex;
    }

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

@media (min-width: 1024px) {
    .hero {
        padding: calc(var(--header-h) + 4rem) 0 5rem;
    }

    .hero-inner {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: center;
        text-align: left;
    }

    .hero-copy {
        max-width: none;
        margin: 0;
    }

    .hero-sub {
        margin-left: 0;
    }

    .hero-actions,
    .hero-meta {
        justify-content: flex-start;
    }

    .hero-visual {
        margin: 0;
    }

    .platform-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .section {
        padding: 6rem 0;
    }
}

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

    .animate-glow {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}
