:root {
    --brand: rgb(70,139,223);
    --brand-deep: #1d4f91;
    --ink: #102033;
    --muted: #64748b;
    --line: #dce8f7;
    --soft: #f5f9ff;
    --soft-blue: #eef6ff;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(36, 94, 160, .10);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

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, #f9fcff 0%, #ffffff 36%, #f6faff 100%);
    line-height: 1.75;
    overflow-x: hidden;
}

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

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

p {
    margin: 0 0 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(220,232,247,.85);
}

.nav-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

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

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

.brand-text {
    font-size: 19px;
}

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

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

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

.site-nav.open {
    display: flex;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 15px;
}

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

.content-container,
.section,
.magazine-hero,
.brand-statement,
.cta-section,
.page-hero,
.article-wrap {
    width: min(1120px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.section {
    padding: 64px 0;
}

.kicker,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-deep);
    background: rgba(70,139,223,.10);
    border: 1px solid rgba(70,139,223,.18);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 650;
}

.section-title {
    font-size: clamp(30px, 6vw, 56px);
    line-height: 1.08;
    letter-spacing: -.05em;
    margin: 14px 0 18px;
}

.section-lead {
    color: var(--muted);
    font-size: 17px;
    max-width: 760px;
}

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

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

.magazine-hero {
    padding: 54px 0 40px;
    display: grid;
    gap: 34px;
}

.hero-copy h1 {
    font-size: clamp(42px, 12vw, 82px);
    line-height: .98;
    letter-spacing: -.07em;
    margin: 18px 0 22px;
}

.hero-copy p {
    color: var(--muted);
    font-size: 18px;
    max-width: 640px;
}

.security-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.security-tags span {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.72);
    color: #456174;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
}

.product-visual {
    position: relative;
    padding: 24px;
    min-height: 470px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 24% 20%, rgba(70,139,223,.20), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #eef7ff 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.product-visual .app-shot {
    width: min(260px, 72vw);
    margin: 0 auto;
    filter: drop-shadow(0 26px 45px rgba(33,80,135,.20));
}

.status-card,
.float-card {
    position: absolute;
    background: rgba(255,255,255,.92);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 13px 15px;
    box-shadow: 0 16px 35px rgba(36,94,160,.10);
    max-width: 210px;
}

.status-card strong,
.float-card strong {
    display: block;
    font-size: 14px;
}

.status-card span,
.float-card span {
    color: var(--muted);
    font-size: 12px;
}

.status-card {
    left: 18px;
    bottom: 24px;
}

.float-card.backup {
    right: 18px;
    top: 26px;
}

.float-card.asset {
    right: 16px;
    bottom: 96px;
}

.brand-statement {
    padding: 42px 28px;
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(70,139,223,.12), rgba(255,255,255,.9)),
        #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.statement-quote {
    font-size: clamp(28px, 7vw, 54px);
    line-height: 1.15;
    letter-spacing: -.05em;
    max-width: 980px;
    margin: 0 0 24px;
}

.statement-grid {
    display: grid;
    gap: 18px;
    color: var(--muted);
}

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

.timeline-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 14px 38px rgba(36,94,160,.07);
}

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

.timeline-item h3,
.chapter-row h3,
.scenario-card h3,
.risk-item h3,
.info-panel h3 {
    margin: 8px 0 8px;
    line-height: 1.25;
}

.text-link {
    color: var(--brand-deep);
    font-weight: 700;
    display: inline-flex;
    margin-top: 6px;
}

.split-section {
    display: grid;
    gap: 22px;
    margin-top: 34px;
}

.split-card {
    display: grid;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.split-card.reverse .info-panel {
    order: -1;
}

.info-panel {
    background: linear-gradient(160deg, #eef7ff, #ffffff);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
}

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

.info-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(220,232,247,.8);
}

.chapter-index {
    display: grid;
    gap: 24px;
    padding: 30px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

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

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

.chapter-row p {
    color: var(--muted);
}

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

.scenario-card {
    min-height: 188px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(255,255,255,.9), rgba(245,249,255,.96));
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 14px 36px rgba(36,94,160,.06);
}

.risk-panel {
    background: linear-gradient(135deg, #eef7ff, #ffffff 70%);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 28px;
    box-shadow: var(--shadow);
}

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

.risk-item {
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(220,232,247,.9);
    border-radius: 20px;
    padding: 18px;
}

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

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

.faq-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.cta-section {
    margin-top: 28px;
    margin-bottom: 72px;
    padding: 42px 24px;
    text-align: center;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(70,139,223,.18), transparent 36%),
        linear-gradient(135deg, #f7fbff, #ffffff);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.cta-section p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    color: var(--muted);
}

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

.page-hero h1 {
    font-size: clamp(36px, 9vw, 68px);
    line-height: 1.05;
    letter-spacing: -.06em;
    margin: 14px 0 18px;
}

.article-wrap {
    display: grid;
    gap: 24px;
    padding-bottom: 70px;
}

.article-main {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.article-main h2 {
    font-size: 24px;
    line-height: 1.25;
    margin: 30px 0 12px;
}

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

.article-aside {
    background: linear-gradient(160deg, #eef7ff, #fff);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px;
    align-self: start;
}

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

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

.notice-box {
    margin: 22px 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(70,139,223,.09);
    border: 1px solid rgba(70,139,223,.20);
}

.button-row {
    margin-top: 26px;
}

.download-steps {
    counter-reset: dlstep;
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.download-steps div {
    counter-increment: dlstep;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px;
    background: #fff;
}

.download-steps div::before {
    content: "0" counter(dlstep);
    display: inline-flex;
    color: var(--brand);
    font-weight: 800;
    margin-bottom: 6px;
}

.site-footer {
    background: #0f253b;
    color: rgba(255,255,255,.78);
    padding: 42px 0 24px;
}

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

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

.footer-brand span {
    color: #fff;
    font-size: 18px;
}

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

.footer-links a {
    color: rgba(255,255,255,.76);
}

.copyright {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    font-size: 13px;
    color: rgba(255,255,255,.56);
}

@media (min-width: 760px) {
    .magazine-hero {
        grid-template-columns: minmax(0, 1.04fr) minmax(320px, .86fr);
        align-items: center;
        padding-top: 78px;
    }

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

    .split-card {
        grid-template-columns: 1fr .86fr;
        align-items: center;
        padding: 34px;
    }

    .split-card.reverse {
        grid-template-columns: .86fr 1fr;
    }

    .split-card.reverse .info-panel {
        order: 0;
    }

    .chapter-index {
        grid-template-columns: .72fr 1.28fr;
        align-items: start;
        padding: 40px;
    }

    .chapter-row {
        grid-template-columns: 80px 1fr auto;
        align-items: center;
    }

    .article-wrap {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }

    .article-main {
        padding: 38px;
    }
}

@media (min-width: 1024px) {
    .nav-toggle {
        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: 8px 12px;
    }

    .section {
        padding: 82px 0;
    }

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

    .story-timeline::before {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 50%;
        width: 1px;
        background: var(--line);
    }

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

    .scenario-story-grid {
        grid-template-columns: 1.15fr .85fr .85fr;
    }

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