* {
    box-sizing: border-box;
}

:root {
    --primary: rgb(70,139,223);
    --primary-soft: rgba(70,139,223,.12);
    --primary-pale: rgba(70,139,223,.07);
    --ink: #122136;
    --muted: #68758a;
    --line: #dce8f7;
    --panel: #f6faff;
    --paper: #ffffff;
    --deep: #0d2746;
    --radius: 22px;
    --shadow: 0 18px 48px rgba(23, 66, 119, .10);
}

html {
    scroll-behavior: smooth;
}

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

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(70,139,223,.14);
}

.nav-shell,
.footer-shell,
.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-shell {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

.brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.brand-name {
    color: var(--deep);
    font-size: 1.05rem;
}

.nav-check {
    display: none;
}

.nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #fff;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--deep);
    border-radius: 999px;
}

.site-nav {
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.98);
    box-shadow: var(--shadow);
}

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

.site-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: .95rem;
    color: #263b57;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
    color: var(--primary);
    background: var(--primary-pale);
}

.section {
    padding: 64px 0;
}

.section-compact {
    padding: 42px 0;
}

.eyebrow,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-pale);
    border: 1px solid rgba(70,139,223,.16);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.kicker {
    color: var(--primary);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .78rem;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    line-height: 1.15;
    color: var(--deep);
}

h1 {
    font-size: clamp(2.35rem, 12vw, 4.85rem);
    letter-spacing: -.065em;
}

h2 {
    font-size: clamp(1.75rem, 7vw, 3.1rem);
    letter-spacing: -.045em;
}

h3 {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
    letter-spacing: -.025em;
}

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

.lead {
    font-size: 1.05rem;
    color: #485a74;
}

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

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(70,139,223,.34);
}

.magazine-hero {
    padding: 54px 0 72px;
}

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

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

.hero-copy .lead {
    max-width: 620px;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hero-tags span,
.check-pill {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.78);
    color: #42536c;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .88rem;
}

.product-visual {
    position: relative;
    min-height: 430px;
    border-radius: 34px;
    padding: 28px;
    background: linear-gradient(145deg, rgba(70,139,223,.16), rgba(255,255,255,.95) 54%, rgba(70,139,223,.08));
    border: 1px solid rgba(70,139,223,.18);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-visual::before {
    content: "";
    position: absolute;
    inset: 12% auto auto 52%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(70,139,223,.25), transparent 64%);
    filter: blur(8px);
}

.app-image {
    position: relative;
    width: min(330px, 80%);
    margin: 8px auto 0;
    filter: drop-shadow(0 22px 42px rgba(27,72,128,.18));
}

.floating-card {
    position: relative;
    margin: 14px 0 0;
    padding: 14px 16px;
    border: 1px solid rgba(70,139,223,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 30px rgba(43,86,136,.08);
}

.floating-card strong {
    display: block;
    color: var(--deep);
}

.floating-card small {
    color: var(--muted);
}

.brand-statement {
    border-radius: 32px;
    padding: 34px 24px;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    border: 1px solid rgba(70,139,223,.16);
    box-shadow: var(--shadow);
}

.statement-quote {
    font-size: clamp(1.75rem, 8vw, 3.25rem);
    line-height: 1.15;
    letter-spacing: -.05em;
    color: var(--deep);
    margin-bottom: 22px;
}

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

.statement-note {
    border-left: 3px solid var(--primary);
    padding-left: 18px;
    color: #3d4d63;
}

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

.timeline-item {
    position: relative;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(33,73,120,.06);
}

.timeline-item .num,
.chapter-num {
    display: inline-flex;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.inline-link {
    color: var(--primary);
    font-weight: 800;
    border-bottom: 1px solid rgba(70,139,223,.35);
}

.split-section {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-top: 30px;
}

.split-panel,
.info-panel,
.guide-card,
.faq-item,
.scenario-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 34px rgba(34,79,128,.06);
}

.split-panel {
    padding: 24px;
    background: linear-gradient(160deg, #ffffff, #f3f8ff);
}

.metric-row {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.metric {
    padding: 16px;
    border-radius: 18px;
    background: rgba(70,139,223,.08);
    border: 1px solid rgba(70,139,223,.12);
}

.metric span {
    display: block;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.35rem;
}

.chapter-index {
    display: grid;
    gap: 26px;
    align-items: start;
}

.chapter-list {
    display: grid;
    gap: 12px;
}

.chapter-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

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

.chapter-row h3 {
    margin-bottom: 6px;
}

.scenario-story-grid {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.scenario-card {
    padding: 22px;
    min-height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scenario-card.featured {
    background: linear-gradient(135deg, rgba(70,139,223,.12), #fff);
}

.risk-panel {
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(70,139,223,.14), rgba(255,255,255,.92));
    border: 1px solid rgba(70,139,223,.18);
    padding: 28px;
}

.risk-grid {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.risk-item {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(70,139,223,.14);
}

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

.faq-item {
    padding: 22px;
}

.faq-item h3 {
    font-size: 1.12rem;
}

.cta-section {
    margin: 28px 0 70px;
    padding: 38px 24px;
    text-align: center;
    border-radius: 34px;
    background: linear-gradient(135deg, #f4f9ff, #ffffff 52%, rgba(70,139,223,.12));
    border: 1px solid rgba(70,139,223,.16);
    box-shadow: var(--shadow);
}

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

.page-hero {
    padding: 58px 0 36px;
}

.page-hero-inner {
    display: grid;
    gap: 20px;
    align-items: end;
}

.page-hero p {
    max-width: 760px;
}

.guide-layout {
    display: grid;
    gap: 24px;
    align-items: start;
    padding-bottom: 70px;
}

.article-body {
    min-width: 0;
}

.article-body p {
    font-size: 1rem;
}

.article-body .download-btn {
    margin-top: 18px;
}

.guide-card {
    padding: 22px;
    margin-bottom: 18px;
}

.guide-card.soft {
    background: linear-gradient(150deg, #fff, #f5f9ff);
}

.guide-steps,
.check-list,
.numbered-list {
    display: grid;
    gap: 12px;
    margin: 22px 0;
    padding: 0;
    list-style: none;
}

.guide-steps li,
.check-list li,
.numbered-list li {
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    color: #4b5c72;
}

.guide-steps strong,
.numbered-list strong {
    display: block;
    color: var(--deep);
    margin-bottom: 5px;
}

.sidebar {
    padding: 22px;
    border: 1px solid rgba(70,139,223,.16);
    border-radius: 24px;
    background: linear-gradient(180deg, #f7fbff, #ffffff);
    box-shadow: 0 12px 34px rgba(35,84,136,.06);
}

.sidebar h2 {
    font-size: 1.25rem;
    letter-spacing: -.02em;
}

.sidebar a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    color: #42536b;
    font-weight: 700;
}

.sidebar a:last-child {
    border-bottom: 0;
}

.download-steps {
    counter-reset: step;
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.download-step {
    counter-increment: step;
    padding: 22px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    position: relative;
}

.download-step::before {
    content: counter(step, decimal-leading-zero);
    display: inline-flex;
    color: var(--primary);
    font-weight: 900;
    margin-bottom: 8px;
}

.about-grid {
    display: grid;
    gap: 20px;
    margin-top: 28px;
}

.about-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 34px rgba(33,73,120,.06);
}

.site-footer {
    padding: 44px 0 24px;
    background: #f3f8ff;
    border-top: 1px solid rgba(70,139,223,.16);
}

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

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

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #42536b;
    font-weight: 700;
}

.footer-bottom {
    width: min(1120px, calc(100% - 32px));
    margin: 28px auto 0;
    color: #7b8799;
    font-size: .88rem;
}

@media (min-width: 720px) {
    .section {
        padding: 84px 0;
    }

    .hero-grid,
    .page-hero-inner,
    .statement-grid,
    .split-section,
    .chapter-index,
    .guide-layout,
    .about-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .risk-grid,
    .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

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

    .magazine-hero {
        padding: 88px 0 100px;
    }

    .product-visual {
        min-height: 520px;
        padding: 34px;
    }

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

    .floating-card.card-a {
        top: 38px;
        left: 28px;
    }

    .floating-card.card-b {
        right: 24px;
        top: 44%;
    }

    .floating-card.card-c {
        bottom: 34px;
        left: 44px;
    }

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

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

    .scenario-story-grid {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

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

    .guide-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
    }

    .sidebar {
        position: sticky;
        top: 96px;
    }

    .footer-shell {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: end;
        min-width: 380px;
    }
}

@media (max-width: 420px) {
    .nav-shell,
    .footer-shell,
    .container {
        width: min(100% - 24px, 1120px);
    }

    .download-btn {
        width: 100%;
    }

    .product-visual,
    .brand-statement,
    .risk-panel,
    .cta-section {
        border-radius: 24px;
    }
}
