* {
    box-sizing: border-box;
}

:root {
    --bg: #f7fafb;
    --surface: #ffffff;
    --ink: #10232a;
    --muted: #52646a;
    --line: #d9e5e7;
    --teal: #0f8f88;
    --teal-dark: #0b676f;
    --amber: #f0b04a;
    --soft-teal: #e9f7f5;
    --soft-amber: #fff7e8;
    --shadow: 0 22px 70px rgba(16, 35, 42, .10);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
    letter-spacing: 0;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
}

.brand img {
    width: 44px;
    height: 44px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 15px;
}

.nav a {
    text-decoration: none;
}

.nav a:hover {
    color: var(--teal-dark);
}

.page {
    overflow: hidden;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(520px, 1.25fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(42px, 6vw, 86px) clamp(18px, 4vw, 56px) 36px;
    background: linear-gradient(180deg, #fff 0%, #f7fafb 100%);
}

.hero-copy {
    max-width: 530px;
    min-width: 0;
}

.hero h1 {
    margin: 0;
    max-width: 700px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.hero p {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
    min-width: 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--teal-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 800;
    max-width: 100%;
    text-align: center;
}

.button svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.button.primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: #fff;
    box-shadow: 0 16px 32px rgba(15, 143, 136, .24);
}

.hero-visual {
    min-width: 0;
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.section {
    padding: 34px clamp(18px, 4vw, 56px);
}

.section-heading {
    max-width: 760px;
    min-width: 0;
    margin-bottom: 22px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
}

.section-heading p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 18px;
}

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

.check-grid {
    grid-template-columns: repeat(5, minmax(170px, 1fr));
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.card,
.panel {
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 34px rgba(16, 35, 42, .05);
}

.check-card {
    padding: 22px;
}

.feature-card {
    padding: 24px;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: var(--soft-amber);
    color: #8b5d11;
    font-size: 24px;
    font-weight: 800;
}

.check-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    font-weight: 800;
}

.check-card h3,
.feature-card h3,
.step-card h3,
.file-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
}

.check-card p,
.feature-card p,
.step-card p,
.file-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.steps {
    grid-template-columns: repeat(4, minmax(210px, 1fr));
}

.step-card {
    position: relative;
    padding: 24px;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: var(--soft-teal);
    color: var(--teal-dark);
    font-weight: 800;
}

.visual-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.setup-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
    gap: 22px;
    align-items: start;
}

.detail-list {
    grid-template-columns: repeat(2, minmax(230px, 1fr));
}

.detail-card {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.detail-card strong {
    font-size: 17px;
}

.detail-card span {
    color: var(--muted);
}

.launch-panel {
    padding: 26px;
    background: #fff;
}

.launch-panel h3 {
    margin: 0 0 14px;
    font-size: 24px;
}

.launch-panel ol {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
}

.launch-panel li + li {
    margin-top: 10px;
}

.visual-pair img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--line);
}

.files {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.file-card {
    padding: 22px;
}

.file-card .type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 30px;
    margin-bottom: 18px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--soft-amber);
    color: #8b5d11;
    font-size: 13px;
    font-weight: 800;
}

.trouble {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
    gap: 22px;
}

.trouble-list {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.trouble-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.trouble-row strong {
    display: block;
    margin-bottom: 4px;
}

.trouble-row span {
    color: var(--muted);
}

.status {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
}

.status.red {
    background: #e53935;
}

.status.amber {
    background: var(--amber);
}

.status.teal {
    background: var(--teal);
}

.side-note {
    padding: 26px;
    background: linear-gradient(180deg, var(--soft-teal), #fff);
}

.side-note h3 {
    margin: 0;
    font-size: 24px;
}

.side-note p {
    margin: 12px 0 0;
    color: var(--muted);
}

.copy-block {
    padding: 22px;
}

.copy-block code {
    display: block;
    white-space: pre-wrap;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #10232a;
    color: #e9f7f5;
    font-family: Consolas, monospace;
    line-height: 1.5;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    margin: 34px clamp(18px, 4vw, 56px) 42px;
    padding: 24px;
    border-radius: 8px;
    background: #10232a;
    color: #fff;
}

.footer p {
    margin: 0;
    color: #c7d6d8;
}

@media (max-width: 1120px) {
    .hero,
    .trouble,
    .visual-pair,
    .setup-detail {
        grid-template-columns: 1fr;
    }

    .check-grid,
    .feature-grid,
    .steps,
    .files {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 700px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero {
        padding-top: 34px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 34px;
        line-height: 1.12;
        overflow-wrap: anywhere;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-visual {
        overflow: hidden;
    }

    .hero-visual img {
        min-width: 0;
    }

    .check-grid,
    .feature-grid,
    .detail-list,
    .steps,
    .files {
        grid-template-columns: 1fr;
    }

    .actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
        min-height: 54px;
        padding: 0 14px;
        font-size: 15px;
        line-height: 1.2;
        white-space: normal;
    }
}
