/**
 * 文件：assets/css/index.css
 * 作用：前台首页（对齐参考 UI，单文件合并样式）
 * @version 1.0.1
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ── Design tokens（来自参考 routes-eOqbWmJV.css） ── */
.home-theme {
    --home-bg: oklch(99% 0.005 250);
    --home-fg: oklch(22% 0.03 260);
    --home-card: oklch(100% 0 0);
    --home-primary: oklch(52% 0.2 262);
    --home-primary-fg: oklch(99% 0.005 250);
    --home-muted: oklch(96.5% 0.012 250);
    --home-muted-fg: oklch(50% 0.03 255);
    --home-border: oklch(91% 0.02 250);
    --home-header-bg: rgba(224, 242, 254, 0.72);
    --home-header-border: rgba(186, 230, 253, 0.7);
    --home-header-h: 3.5rem;
    --home-wrap: 72rem;
    --home-radius-lg: 1rem;
    --home-radius-xl: 1.25rem;
    --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
    min-height: 100svh;
    background: var(--home-bg);
    color: var(--home-fg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.body:has(.home-theme) {
    margin: 0;
    background: var(--home-bg);
}

html.home-dark .home-theme {
    --home-bg: oklch(18% 0.02 260);
    --home-fg: oklch(98% 0.005 250);
    --home-card: oklch(22% 0.02 260);
    --home-primary: oklch(75% 0.12 250);
    --home-primary-fg: oklch(18% 0.02 260);
    --home-muted: oklch(26% 0.02 260);
    --home-muted-fg: oklch(72% 0.02 250);
    --home-border: oklch(32% 0.02 260);
    --home-header-bg: rgba(15, 23, 42, 0.86);
    --home-header-border: rgba(51, 65, 85, 0.8);
}

html.home-dark body.body:has(.home-theme) {
    background: var(--home-bg);
}

.home-wrap {
    width: 100%;
    max-width: var(--home-wrap);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .home-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.home-gradient-text {
    background: linear-gradient(90deg, #60a5fa, #a78bfa, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ── Animations ── */
@keyframes home-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes home-scale-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.home-animate {
    opacity: 0;
}

.home-animate.is-visible {
    animation: 0.7s var(--home-ease) both home-fade-up;
    animation-delay: calc(var(--delay, 0) * 1ms);
}

.home-animate--scale.is-visible {
    animation-name: home-scale-in;
    animation-duration: 0.65s;
}

@media (prefers-reduced-motion: reduce) {
    .home-animate,
    .home-animate.is-visible {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

/* ── Buttons ── */
.home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.home-btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.home-btn--primary {
    background: var(--home-primary);
    color: var(--home-primary-fg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.home-btn--primary:hover {
    filter: brightness(0.95);
    color: var(--home-primary-fg);
}

.home-btn--outline {
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    background: var(--home-card);
    color: var(--home-fg);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home-btn--outline:hover {
    background: color-mix(in oklch, var(--home-muted) 50%, transparent);
    border-color: var(--home-border);
    color: var(--home-fg);
}

.home-btn--header {
    height: 2rem;
    padding: 0 0.625rem;
    font-size: 0.75rem;
}

.home-btn--hero {
    width: 100%;
    height: 2.75rem;
    padding: 0 1.25rem;
    font-size: 0.875rem;
}

.home-btn--cta {
    height: 2.75rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.home-btn--cta svg {
    width: 0.875rem;
    height: 0.875rem;
}

@media (min-width: 640px) {
    .home-btn--header {
        height: 2rem;
        padding: 0 0.75rem;
        font-size: 0.875rem;
    }

    .home-btn--hero {
        width: auto;
    }

    .home-btn--cta {
        height: 2.25rem;
    }
}

/* ── Header ── */
.home-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    border-bottom: 1px solid var(--home-header-border);
    background: var(--home-header-bg);
    color: #0f172a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

@media (min-width: 640px) {
    .home-header {
        --home-header-h: 4rem;
    }

    .home-header__bar {
        gap: 0.75rem;
    }
}

.home-header__brand {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 640px) {
    .home-header__brand {
        gap: 0.625rem;
    }
}

.home-brand__logo-img {
    display: block;
    max-height: 2rem;
    max-width: min(200px, 60vw);
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (min-width: 640px) {
    .home-brand__logo-img {
        max-height: 2.25rem;
    }
}

.home-brand__icon {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: var(--home-primary);
    color: #fff;
}

.home-brand__icon img {
    width: 1.125rem;
    height: 1.125rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.home-brand__text {
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 640px) {
    .home-brand__text {
        font-size: 1.125rem;
    }
}

.home-header__actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.25rem;
}

.home-theme-btn {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.home-theme-btn:hover {
    background: rgba(148, 163, 184, 0.2);
}

.home-theme-btn svg {
    width: 1.125rem;
    height: 1.125rem;
}

.home-theme-btn__moon {
    display: none;
}

html.home-dark .home-theme-btn__sun {
    display: none;
}

html.home-dark .home-theme-btn__moon {
    display: block;
}

/* ── Hero ── */
.home-hero {
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 2.5rem 0 3rem;
}

@media (min-width: 640px) {
    .home-hero {
        padding: 5rem 0 4rem;
    }
}

@media (min-width: 1024px) {
    .home-hero {
        padding: 7rem 0 6rem;
    }
}

.home-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: 0.3;
    background:
        radial-gradient(60% 50% at 20% 20%, oklch(0.72 0.18 250 / 0.8) 0%, transparent 70%),
        radial-gradient(50% 40% at 80% 15%, oklch(0.65 0.15 200 / 0.6) 0%, transparent 70%),
        radial-gradient(40% 35% at 40% 80%, oklch(0.7 0.12 280 / 0.4) 0%, transparent 70%);
}

.home-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.1;
    background-image:
        linear-gradient(to right, var(--home-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--home-border) 1px, transparent 1px);
    background-size: 4rem 4rem;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, black 20%, transparent 100%);
}

.home-hero__layout {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-hero__layout {
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }

    .home-hero__copy {
        grid-column: span 6;
    }

    .home-hero__aside {
        grid-column: span 6;
    }
}

.home-pill {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
    padding: 0.25rem 0.625rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.05);
    color: #2563eb;
    font-size: 10px;
    font-weight: 500;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
    .home-pill {
        margin-bottom: 1.25rem;
        padding: 0.375rem 0.75rem;
        font-size: 11px;
    }
}

.home-pill__dot {
    position: relative;
    display: flex;
    width: 0.375rem;
    height: 0.375rem;
    flex-shrink: 0;
}

.home-pill__dot::before,
.home-pill__dot span {
    position: absolute;
    border-radius: 999px;
}

.home-pill__dot::before {
    inset: 0;
    background: #60a5fa;
    opacity: 0.75;
    animation: home-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    content: '';
}

.home-pill__dot span {
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 100%;
    background: #3b82f6;
}

@keyframes home-ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

.home-hero__title {
    margin: 0;
    font-size: clamp(1.75rem, 7vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

@media (min-width: 640px) {
    .home-hero__title {
        line-height: 1.15;
    }
}

.home-hero__desc {
    margin: 1rem 0 0;
    max-width: 36rem;
    color: color-mix(in oklch, var(--home-muted-fg) 80%, transparent);
    font-size: 0.875rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .home-hero__desc {
        margin-top: 1.25rem;
        font-size: 1rem;
    }
}

.home-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .home-hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        margin-top: 2rem;
    }
}

.home-tags {
    margin-top: 2rem;
    max-width: 36rem;
}

@media (min-width: 640px) {
    .home-tags {
        margin-top: 2.5rem;
    }
}

.home-tags__label {
    margin-bottom: 0.625rem;
    color: color-mix(in oklch, var(--home-muted-fg) 50%, transparent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.home-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

@media (min-width: 640px) {
    .home-tags__list {
        gap: 0.5rem;
    }
}

.home-tags__item {
    padding: 0.25rem 0.625rem;
    border: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    border-radius: 999px;
    background: color-mix(in oklch, var(--home-muted) 15%, transparent);
    color: color-mix(in oklch, var(--home-fg) 70%, transparent);
    font-size: 11px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
    .home-tags__item {
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
    }
}

/* ── Preview card ── */
.home-hero__aside {
    display: flex;
    justify-content: center;
    width: 100%;
}

.home-preview {
    width: 100%;
    max-width: 32rem;
    overflow: hidden;
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    border-radius: var(--home-radius-xl);
    background: color-mix(in oklch, var(--home-card) 80%, transparent);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(4px);
}

.home-preview__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-bottom: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
}

@media (min-width: 640px) {
    .home-preview__head {
        padding: 0.75rem 1rem;
    }
}

.home-preview__head-main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
}

.home-preview__head-icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.home-preview__head-icon svg {
    width: 1rem;
    height: 1rem;
}

.home-preview__title {
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-preview__sub {
    overflow: hidden;
    color: var(--home-muted-fg);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-preview__badge {
    flex-shrink: 0;
    padding: 0.125rem 0.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    font-size: 10px;
    font-weight: 600;
}

.home-preview__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
}

@media (min-width: 640px) {
    .home-preview__body {
        gap: 0.625rem;
        padding: 1rem;
    }
}

.home-preview__item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    border-radius: var(--home-radius-lg);
    background: color-mix(in oklch, var(--home-card) 70%, transparent);
    transition: background 0.2s;
}

.home-preview__item:hover {
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
}

@media (min-width: 640px) {
    .home-preview__item {
        gap: 0.75rem;
        padding: 0.75rem 0.875rem;
    }
}

.home-preview__item-icon {
    display: flex;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin-top: 0.125rem;
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    border-radius: 0.5rem;
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
    color: var(--home-muted-fg);
}

@media (min-width: 640px) {
    .home-preview__item-icon {
        width: 2.25rem;
        height: 2.25rem;
    }
}

.home-preview__item-icon svg {
    width: 1rem;
    height: 1rem;
}

.home-preview__item-title {
    font-size: 0.875rem;
    font-weight: 500;
}

.home-preview__item-desc {
    margin-top: 0.125rem;
    color: var(--home-muted-fg);
    font-size: 0.75rem;
    line-height: 1.6;
}

.home-preview__foot {
    padding: 0.625rem 0.75rem;
    border-top: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    background: color-mix(in oklch, var(--home-muted) 20%, transparent);
    color: var(--home-muted-fg);
    font-size: 11px;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .home-preview__foot {
        padding: 0.75rem 1rem;
    }
}

/* ── Metrics ── */
.home-metrics {
    position: relative;
    z-index: 10;
    border-top: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    border-bottom: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    background: color-mix(in oklch, var(--home-muted) 10%, transparent);
}

.home-metrics__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0.75rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .home-metrics__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        padding: 3rem 0;
    }
}

.home-metrics__item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    padding: 0 0.25rem;
    text-align: center;
}

.home-metrics__item strong {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    word-break: break-all;
}

@media (min-width: 640px) {
    .home-metrics__item strong {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .home-metrics__item strong {
        font-size: 1.875rem;
    }
}

.home-metrics__item span {
    margin-top: 0.25rem;
    color: var(--home-muted-fg);
    font-size: 11px;
    line-height: 1.4;
}

@media (min-width: 640px) {
    .home-metrics__item span {
        margin-top: 0.375rem;
        font-size: 0.75rem;
    }
}

/* ── Sections ── */
.home-section {
    position: relative;
    z-index: 10;
    scroll-margin-top: 5rem;
    padding: 3.5rem 0;
}

@media (min-width: 640px) {
    .home-section {
        padding: 5rem 0;
    }
}

@media (min-width: 768px) {
    .home-section {
        padding: 7rem 0;
    }
}

.home-section--border {
    border-top: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
}

.home-section__intro {
    max-width: 32rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .home-section__intro {
        margin-bottom: 3rem;
    }
}

@media (min-width: 768px) {
    .home-section__intro {
        margin-bottom: 3.5rem;
    }
}

.home-section__intro--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-section__intro--center .home-section__desc {
    margin-left: auto;
    margin-right: auto;
}

.home-eyebrow {
    margin: 0 0 0.5rem;
    color: var(--home-muted-fg);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

@media (min-width: 640px) {
    .home-section__title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .home-section__title {
        font-size: 1.875rem;
    }
}

.home-section__desc {
    margin: 0.5rem 0 0;
    color: var(--home-muted-fg);
    font-size: 0.875rem;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .home-section__desc {
        margin-top: 0.75rem;
        font-size: 15px;
    }
}

/* ── Bento grid ── */
.home-bento {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
    border-radius: var(--home-radius-lg);
    background: color-mix(in oklch, var(--home-border) 40%, transparent);
}

@media (min-width: 768px) {
    .home-bento {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-bento__cell {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--home-card);
    transition: background 0.3s;
}

.home-bento__cell:hover {
    background: color-mix(in oklch, var(--home-muted) 20%, transparent);
}

@media (min-width: 640px) {
    .home-bento__cell {
        padding: 1.75rem;
    }
}

@media (min-width: 768px) {
    .home-bento__cell {
        padding: 2rem;
    }

    .home-bento__cell--wide {
        grid-column: span 2;
    }
}

.home-bento__head {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

@media (min-width: 640px) {
    .home-bento__head {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

.home-bento__head-icon {
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    border-radius: var(--home-radius-lg);
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
    color: var(--home-muted-fg);
    transition: color 0.3s;
}

.home-bento__cell:hover .home-bento__head-icon {
    color: var(--home-fg);
}

.home-bento__head-icon svg {
    width: 1rem;
    height: 1rem;
}

.home-bento__cell h3 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
}

.home-bento__cell p {
    margin: 0;
    color: var(--home-muted-fg);
    font-size: 0.875rem;
    line-height: 1.65;
}

.home-bento-extra {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .home-bento-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

.home-bento-extra__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-bento-extra__icon {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    border-radius: var(--home-radius-lg);
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
    color: var(--home-muted-fg);
}

@media (min-width: 640px) {
    .home-bento-extra__icon {
        width: 3rem;
        height: 3rem;
    }
}

.home-bento-extra__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.home-bento-extra__item h3 {
    margin: 0 0 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.home-bento-extra__item p {
    margin: 0;
    max-width: 280px;
    color: var(--home-muted-fg);
    font-size: 0.75rem;
    line-height: 1.65;
}

/* ── Steps ── */
.home-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .home-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .home-steps {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
}

.home-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-step__icon-wrap {
    position: relative;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .home-step__icon-wrap {
        margin-bottom: 1.5rem;
    }
}

.home-step__icon {
    display: flex;
    width: 3.5rem;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in oklch, var(--home-border) 50%, transparent);
    border-radius: 1rem;
    background: color-mix(in oklch, var(--home-muted) 30%, transparent);
    color: var(--home-muted-fg);
    transition: color 0.2s;
}

@media (min-width: 640px) {
    .home-step__icon {
        width: 4rem;
        height: 4rem;
    }
}

.home-step__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

@media (min-width: 640px) {
    .home-step__icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.home-step__num {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    display: flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--home-fg);
    color: var(--home-bg);
    font-size: 0.75rem;
    font-weight: 700;
}

.home-step h3 {
    margin: 0 0 0.375rem;
    font-size: 1rem;
    font-weight: 600;
}

.home-step p {
    margin: 0;
    max-width: 15rem;
    color: var(--home-muted-fg);
    font-size: 0.875rem;
    line-height: 1.65;
}

/* ── CTA ── */
.home-cta {
    position: relative;
    z-index: 10;
    overflow: hidden;
    padding: 3.5rem 0;
}

@media (min-width: 640px) {
    .home-cta {
        padding: 5rem 0;
    }
}

@media (min-width: 768px) {
    .home-cta {
        padding: 7rem 0;
    }
}

.home-cta__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.2;
    background:
        radial-gradient(50% 50% at 30% 50%, oklch(0.7 0.15 250 / 0.7) 0%, transparent 70%),
        radial-gradient(40% 40% at 70% 40%, oklch(0.65 0.12 200 / 0.5) 0%, transparent 70%);
}

.home-cta__inner {
    max-width: 42rem;
    text-align: center;
}

.home-cta__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

@media (min-width: 640px) {
    .home-cta__title {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .home-cta__title {
        font-size: 2.25rem;
    }
}

.home-cta__desc {
    margin: 1rem auto 0;
    max-width: 28rem;
    color: color-mix(in oklch, var(--home-muted-fg) 80%, transparent);
    font-size: 0.875rem;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .home-cta__desc {
        margin-top: 1.25rem;
        font-size: 1rem;
    }
}

.home-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .home-cta__actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 2rem;
    }
}

/* ── Footer ── */
.home-footer {
    border-top: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
}

.home-footer__legal {
    border-top: 1px solid color-mix(in oklch, var(--home-border) 40%, transparent);
}

.home-footer__legal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 0.5rem;
    padding: 1.25rem 0;
    color: var(--home-muted-fg);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
    word-break: break-word;
}

@media (min-width: 640px) {
    .home-footer__legal-inner {
        padding: 1.5rem 0;
    }
}

.home-footer__legal-inner a {
    color: var(--home-muted-fg);
    text-decoration: none;
    transition: color 0.2s;
}

.home-footer__legal-inner a:hover {
    color: var(--home-fg);
}

.home-footer__dot {
    color: color-mix(in oklch, var(--home-muted-fg) 60%, transparent);
}

.home-footer__gongan {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.home-footer__gongan img {
    flex-shrink: 0;
    object-fit: contain;
}
