* {
    box-sizing: border-box;
}

:root {
    --primary: rgb(70,139,223);
    --primary-dark: #1c5fa8;
    --ink: #102033;
    --muted: #64748b;
    --line: #dbe7f6;
    --soft: #f4f8fd;
    --soft-blue: #eaf3ff;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(32, 81, 134, .10);
    --radius: 22px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 52%, #ffffff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(219,231,246,.82);
    backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
.section,
.hero-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo,
.footer-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.brand-text {
    font-weight: 760;
    letter-spacing: .02em;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 4px;
}

.site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
}

.nav-toggle:checked ~ .site-nav {
    display: flex;
}

.site-nav a {
    padding: 12px 14px;
    color: #35465d;
    border-radius: 12px;
    font-size: 15px;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--primary-dark);
    background: var(--soft-blue);
}

.magazine-hero {
    padding: 54px 0 34px;
    position: relative;
}

.hero-inner {
    display: grid;
    gap: 34px;
    align-items: center;
}

.eyebrow,
.badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.78);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 650;
}

h1,
h2,
h3 {
    line-height: 1.16;
    letter-spacing: -.035em;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(38px, 10vw, 82px);
}

h2 {
    font-size: clamp(29px, 6vw, 52px);
}

h3 {
    font-size: 22px;
}

p {
    margin: 0 0 16px;
    color: var(--muted);
}

.lead {
    font-size: clamp(17px, 3.2vw, 21px);
    color: #40536d;
    max-width: 680px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 760;
    box-shadow: 0 15px 34px rgba(70,139,223,.28);
    border: 1px solid rgba(70,139,223,.2);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(70,139,223,.35);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 26px 0 22px;
}

.security-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.security-tags li {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--soft-blue);
    color: #245c9b;
    font-size: 13px;
    border: 1px solid rgba(70,139,223,.16);
}

.product-visual {
    position: relative;
    min-height: 430px;
    border-radius: 32px;
    padding: 26px;
    background: radial-gradient(circle at top left, #ffffff 0%, #eaf4ff 42%, #f7fbff 100%);
    box-shadow: var(--shadow);
    border: 1px solid rgba(219,231,246,.85);
    overflow: hidden;
}

.product-visual::before {
    content: "";
    position: absolute;
    inset: 12% -20% auto 22%;
    height: 190px;
    background: rgba(70,139,223,.15);
    filter: blur(42px);
    border-radius: 999px;
}

.app-image {
    width: min(270px, 82%);
    margin: 12px auto 0;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 26px 42px rgba(33,68,108,.18));
}

.floating-card {
    position: relative;
    z-index: 3;
    margin-top: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(219,231,246,.9);
    box-shadow: 0 12px 32px rgba(31,78,126,.08);
}

.floating-card strong {
    display: block;
    margin-bottom: 4px;
}

.floating-card span {
    color: var(--muted);
    font-size: 13px;
}

.brand-statement,
.cta-section {
    width: min(1120px, calc(100% - 32px));
    margin: 54px auto;
    padding: clamp(28px, 6vw, 64px);
    border-radius: 32px;
    background: linear-gradient(135deg, #f8fbff 0%, #eaf3ff 100%);
    border: 1px solid rgba(219,231,246,.9);
}

.statement-quote {
    font-size: clamp(28px, 7vw, 56px);
    line-height: 1.15;
    letter-spacing: -.04em;
    margin: 16px 0 24px;
    color: #142236;
}

.statement-grid {
    display: grid;
    gap: 18px;
}

.statement-grid p {
    color: #465a74;
}

.section {
    padding: 52px 0;
}

.section-header {
    margin-bottom: 28px;
}

.kicker {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.story-timeline {
    display: grid;
    gap: 18px;
    position: relative;
}

.timeline-item {
    padding: 22px;
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 14px 32px rgba(31,78,126,.06);
}

.timeline-num,
.chapter-num {
    color: var(--primary);
    font-weight: 850;
    letter-spacing: .08em;
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    color: var(--primary-dark);
    font-weight: 750;
    margin-top: 6px;
}

.split-section {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: clamp(24px, 5vw, 46px);
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-bottom: 22px;
}

.info-panel,
.note-panel,
.check-panel {
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(145deg, #f6fbff, #eaf3ff);
    border: 1px solid rgba(70,139,223,.16);
}

.info-row,
.check-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(70,139,223,.14);
    color: #40536d;
}

.info-row:last-child,
.check-row:last-child {
    border-bottom: 0;
}

.chapter-index {
    display: grid;
    gap: 26px;
    padding: clamp(24px, 6vw, 54px);
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--line);
}

.chapter-list {
    display: grid;
    gap: 0;
}

.chapter-entry {
    display: grid;
    gap: 8px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.chapter-entry:last-child {
    border-bottom: 0;
}

.scenario-story-grid {
    display: grid;
    gap: 16px;
}

.scenario-card {
    min-height: 210px;
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 36px rgba(31,78,126,.06);
}

.scenario-card.featured {
    background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
}

.risk-panel {
    display: grid;
    gap: 18px;
    padding: clamp(24px, 6vw, 52px);
    border-radius: 32px;
    background: linear-gradient(135deg, #edf6ff 0%, #f8fbff 100%);
    border: 1px solid rgba(70,139,223,.16);
}

.risk-item {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(219,231,246,.92);
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

.faq-item h3 {
    font-size: 18px;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.cta-section {
    text-align: center;
}

.cta-section p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    padding: 54px 0 30px;
}

.page-hero-inner {
    width: min(920px, calc(100% - 32px));
    margin: 0 auto;
}

.page-layout {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 70px;
    display: grid;
    gap: 24px;
}

.article-card,
.side-card {
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: clamp(22px, 5vw, 42px);
    box-shadow: 0 14px 34px rgba(31,78,126,.06);
}

.article-card h2 {
    font-size: clamp(24px, 5vw, 38px);
    margin-top: 28px;
}

.article-card h2:first-child {
    margin-top: 0;
}

.step-list,
.clean-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: grid;
    gap: 12px;
}

.step-list li,
.clean-list li {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--soft);
    border: 1px solid var(--line);
    color: #40536d;
}

.download-wrap {
    margin-top: 28px;
}

.site-footer {
    padding: 42px 0 20px;
    background: #f8fbff;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    gap: 24px;
}

.footer-brand p {
    margin: 4px 0 0;
    max-width: 520px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    color: #40536d;
    font-size: 14px;
}

.footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 0;
    color: #7d8ca1;
    font-size: 13px;
}

@media (min-width: 720px) {
    .statement-grid,
    .scenario-story-grid,
    .risk-panel {
        grid-template-columns: repeat(2, 1fr);
    }

    .chapter-entry {
        grid-template-columns: 70px 1fr 120px;
        align-items: center;
    }
}

@media (min-width: 960px) {
    .nav-toggle-label {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        gap: 4px;
    }

    .site-nav a {
        padding: 9px 12px;
    }

    .magazine-hero {
        padding: 86px 0 48px;
    }

    .hero-inner {
        grid-template-columns: 1.05fr .95fr;
        gap: 54px;
    }

    .product-visual {
        min-height: 560px;
    }

    .floating-card {
        position: absolute;
        width: 210px;
        margin: 0;
    }

    .floating-card.status {
        top: 34px;
        left: 28px;
    }

    .floating-card.backup {
        right: 26px;
        top: 118px;
    }

    .floating-card.assets {
        left: 44px;
        bottom: 38px;
    }

    .story-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-item:nth-child(even) {
        transform: translateY(42px);
    }

    .split-section {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 28px;
    }

    .split-section.reverse .info-panel,
    .split-section.reverse .note-panel {
        order: -1;
    }

    .chapter-index {
        grid-template-columns: .72fr 1.28fr;
        gap: 54px;
    }

    .scenario-story-grid {
        grid-template-columns: 1.2fr .8fr .8fr;
    }

    .scenario-card.featured {
        grid-row: span 2;
    }

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 320px;
        align-items: start;
    }

    .side-card {
        position: sticky;
        top: 96px;
    }

    .footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}
