:root {
    --primary: rgb(70,139,223);
    --primary-dark: #1f5fa8;
    --ink: #102033;
    --muted: #63758d;
    --soft: #eef6ff;
    --soft-2: #f7fbff;
    --line: rgba(70, 139, 223, .18);
    --card: rgba(255, 255, 255, .88);
    --shadow: 0 22px 60px rgba(31, 95, 168, .10);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 36%, #f4f9ff 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; color: var(--muted); }
main { min-height: 60vh; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(70, 139, 223, .14);
}
.nav-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; }
.brand-logo { width: 36px; height: 36px; border-radius: 12px; }
.brand-text { font-size: 20px; }
.site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 12px;
    box-shadow: var(--shadow);
}
.site-nav.open { display: grid; gap: 6px; }
.site-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #526579;
    font-size: 14px;
}
.site-nav a.active, .site-nav a:hover { background: var(--soft); color: var(--primary-dark); }
.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: inline-grid;
    place-content: center;
    gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 999px; display: block; }

.container, .content-container, .section, .page-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}
.section { padding: 72px 0; }
.eyebrow, .chapter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-dark);
    background: rgba(70, 139, 223, .10);
    border: 1px solid rgba(70, 139, 223, .16);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}
.section-title, .page-title {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(30px, 7vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}
.section-lead, .page-lead {
    font-size: 17px;
    color: #58708b;
    max-width: 760px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 14px 34px rgba(70, 139, 223, .28);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.download-btn:hover { transform: translateY(-2px); background: var(--primary-dark); box-shadow: 0 18px 42px rgba(70, 139, 223, .32); }

.magazine-hero {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
    padding: 62px 0 42px;
    display: grid;
    gap: 36px;
}
.hero-copy h1 {
    font-size: clamp(40px, 12vw, 86px);
    line-height: .98;
    letter-spacing: -0.07em;
    margin: 0 0 20px;
}
.hero-copy .hero-desc { font-size: 18px; max-width: 650px; color: #4d657f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.security-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.security-tags span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    color: #33506e;
    background: rgba(255, 255, 255, .8);
    border-radius: 999px;
    font-size: 13px;
}
.product-visual {
    position: relative;
    min-height: 460px;
    padding: 28px;
    border-radius: 34px;
    background: radial-gradient(circle at 20% 20%, rgba(70,139,223,.20), transparent 30%), linear-gradient(145deg, #eef6ff, #ffffff 62%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.product-visual .app-image { width: min(72%, 360px); margin: 0 auto; filter: drop-shadow(0 28px 48px rgba(33, 74, 128, .18)); }
.status-card, .float-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(70, 139, 223, .16);
    border-radius: 20px;
    padding: 14px 16px;
    box-shadow: 0 16px 44px rgba(31, 95, 168, .10);
    color: #3f5873;
}
.status-card strong, .float-card strong { display: block; color: var(--ink); margin-bottom: 2px; }
.product-visual .status-card { position: absolute; left: 18px; bottom: 26px; width: 210px; }
.product-visual .backup-card { position: absolute; right: 16px; top: 46px; width: 202px; }
.product-visual .asset-card { position: absolute; right: 24px; bottom: 88px; width: 198px; }

.brand-statement {
    width: min(1160px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 42px 24px;
    border-radius: 34px;
    background: linear-gradient(135deg, #ffffff, #edf6ff);
    border: 1px solid var(--line);
}
.brand-statement blockquote {
    margin: 0 0 18px;
    font-size: clamp(28px, 7vw, 54px);
    line-height: 1.12;
    letter-spacing: -0.055em;
    color: var(--ink);
}
.brand-statement p { max-width: 850px; font-size: 17px; }

.story-timeline { position: relative; display: grid; gap: 18px; margin-top: 36px; }
.timeline-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 40px rgba(31, 95, 168, .07);
}
.timeline-no { color: var(--primary); font-weight: 900; letter-spacing: .10em; font-size: 13px; }
.timeline-item h3 { margin: 8px 0 8px; font-size: 22px; line-height: 1.25; }
.inline-link { color: var(--primary-dark); font-weight: 800; border-bottom: 1px solid rgba(70, 139, 223, .3); }

.split-section {
    display: grid;
    gap: 24px;
    align-items: center;
    margin-top: 34px;
}
.split-copy, .split-panel, .info-panel, .guide-card, .note-card {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 14px 42px rgba(31, 95, 168, .08);
}
.split-copy h3, .info-panel h3 { margin: 0 0 12px; font-size: clamp(24px, 5vw, 38px); line-height: 1.15; letter-spacing: -0.04em; }
.mini-stat { display: grid; gap: 12px; margin-top: 16px; }
.mini-stat div { padding: 16px; border-radius: 18px; background: var(--soft-2); border: 1px solid var(--line); }
.mini-stat strong { display: block; color: var(--ink); }

.chapter-index {
    display: grid;
    gap: 28px;
    align-items: start;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    box-shadow: var(--shadow);
}
.chapter-list { display: grid; gap: 0; }
.chapter-row {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(70, 139, 223, .14);
}
.chapter-row:last-child { border-bottom: 0; }
.chapter-row .num { color: var(--primary); font-weight: 900; letter-spacing: .12em; }
.chapter-row h3 { margin: 0 0 4px; font-size: 20px; }
.chapter-row p { margin-bottom: 8px; }

.scenario-story-grid { display: grid; gap: 18px; margin-top: 32px; }
.scenario-card {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(145deg, #fff, #f1f8ff);
    border: 1px solid var(--line);
    box-shadow: 0 14px 38px rgba(31, 95, 168, .07);
}
.scenario-card h3 { margin: 0 0 10px; font-size: 24px; letter-spacing: -0.03em; }
.risk-panel {
    margin-top: 32px;
    padding: 26px;
    border-radius: 34px;
    background: linear-gradient(135deg, rgba(70,139,223,.12), rgba(255,255,255,.88));
    border: 1px solid rgba(70,139,223,.18);
}
.risk-grid { display: grid; gap: 16px; }
.risk-item {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(70,139,223,.15);
    border-radius: 20px;
    padding: 18px;
}
.risk-item h3 { margin: 0 0 8px; font-size: 19px; }
.faq-list { display: grid; gap: 14px; margin-top: 28px; }
.faq-item {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
}
.faq-item h3 { margin: 0 0 8px; font-size: 20px; }
.cta-section {
    width: min(960px, calc(100% - 32px));
    margin: 50px auto 88px;
    text-align: center;
    padding: 44px 24px;
    border-radius: 34px;
    background: linear-gradient(135deg, #eaf5ff, #ffffff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.cta-section h2 { margin: 0 0 14px; font-size: clamp(30px, 7vw, 52px); line-height: 1.12; letter-spacing: -0.05em; }
.cta-section .download-btn { margin-top: 12px; }

.page-hero { padding: 66px 0 34px; }
.page-grid {
    display: grid;
    gap: 24px;
    align-items: start;
    padding-bottom: 74px;
}
.article-body {
    background: rgba(255,255,255,.9);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow);
}
.article-body h2 { margin: 28px 0 10px; font-size: 26px; line-height: 1.2; letter-spacing: -0.03em; }
.article-body h2:first-child { margin-top: 0; }
.article-body ul, .article-body ol { padding-left: 20px; color: var(--muted); }
.article-body li { margin: 8px 0; }
.side-panel { display: grid; gap: 16px; }
.note-card h3, .guide-card h3 { margin: 0 0 10px; font-size: 20px; }
.check-list { list-style: none; padding: 0 !important; margin: 0; }
.check-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid rgba(70,139,223,.12); }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }
.check-list li:last-child { border-bottom: 0; }
.download-line { margin-top: 26px; }
.download-page-panel { text-align: center; padding: 34px 24px; border-radius: 30px; background: linear-gradient(145deg, #fff, #eef6ff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.download-steps { counter-reset: step; display: grid; gap: 14px; margin-top: 24px; }
.download-steps li { list-style: none; padding: 18px 18px 18px 56px; background: #fff; border: 1px solid var(--line); border-radius: 18px; position: relative; color: var(--muted); }
.download-steps li:before { counter-increment: step; content: counter(step); position: absolute; left: 18px; top: 18px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 800; }

.site-footer { background: #f6faff; border-top: 1px solid var(--line); }
.footer-shell { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0; display: grid; gap: 24px; }
.footer-logo { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
.footer-brand p { max-width: 560px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #4d657f; }
.footer-links a:hover { color: var(--primary-dark); }
.footer-bottom { width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 18px 0 28px; color: #71839a; font-size: 13px; border-top: 1px solid rgba(70,139,223,.12); }

@media (min-width: 700px) {
    .scenario-story-grid, .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-shell { grid-template-columns: 1.5fr .7fr; }
}

@media (min-width: 920px) {
    .nav-toggle { display: none; }
    .site-nav { position: static; display: flex; align-items: center; gap: 4px; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .site-nav a { padding: 9px 12px; }
    .magazine-hero { grid-template-columns: 1.04fr .96fr; align-items: center; padding: 92px 0 58px; }
    .brand-statement { padding: 64px 62px; }
    .section { padding: 96px 0; }
    .story-timeline { grid-template-columns: repeat(2, 1fr); gap: 24px 34px; }
    .timeline-item:nth-child(even) { transform: translateY(38px); }
    .split-section { grid-template-columns: 1fr 1fr; gap: 34px; }
    .split-section.reverse .split-copy { order: 2; }
    .chapter-index { grid-template-columns: .82fr 1.18fr; padding: 44px; }
    .scenario-story-grid { grid-template-columns: repeat(3, 1fr); }
    .scenario-card.featured { grid-column: span 2; }
    .page-grid { grid-template-columns: minmax(0, 1fr) 330px; }
    .article-body { padding: 40px; }
    .page-hero { padding-top: 92px; }
}

@media (max-width: 480px) {
    .product-visual { min-height: 390px; padding: 22px 14px; }
    .product-visual .app-image { width: 70%; }
    .product-visual .status-card, .product-visual .backup-card, .product-visual .asset-card { position: static; width: auto; margin-top: 10px; }
    .brand-statement { padding: 32px 20px; }
    .chapter-index, .risk-panel { padding: 22px; }
    .chapter-row { grid-template-columns: 42px 1fr; }
    .download-btn { width: 100%; }
    .hero-actions .download-btn { width: auto; min-width: 166px; }
}
