:root {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --line: #e5e7eb;
    --primary: #2563eb;
    --primary-soft: #dbeafe;
    --success: #16a34a;
    --shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    padding: 20px;
}

.page-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.band,
.panel,
.question-card,
.status-bar {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.band {
    padding: 22px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    flex: 0 0 auto;
}

.brand-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-tag {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
}

.hero-copy h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lead {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

.hero-action {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.panel {
    padding: 18px;
    margin-bottom: 18px;
}

.share-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 18px;
    align-items: center;
}

.section-label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.link-box {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
}

.action-row,
.meta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.action-row {
    margin-top: 12px;
}

.meta-row {
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.share-code {
    display: flex;
    justify-content: center;
}

.qr-image {
    width: 220px;
    max-width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

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

.question-card {
    padding: 16px;
}

.question-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.question-index {
    min-width: 42px;
    height: 28px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.question-text {
    font-size: 16px;
    line-height: 1.6;
    word-break: break-word;
}

.option-list {
    display: grid;
    gap: 8px;
}

.option-row {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    line-height: 1.55;
    word-break: break-word;
}

.option-row strong {
    color: var(--primary);
}

.status-bar {
    padding: 14px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.status-text {
    color: var(--muted);
    font-size: 14px;
}

.question {
    background: transparent;
}

@media (max-width: 860px) {
    .band,
    .share-grid {
        grid-template-columns: 1fr;
    }

    .band {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-code {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body {
        padding: 12px;
    }

    .band {
        padding: 18px;
    }

    .brand-lockup {
        gap: 12px;
        margin-bottom: 12px;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .brand-name {
        font-size: 18px;
    }

    .hero-copy h1 {
        font-size: 24px;
    }

    .panel {
        padding: 16px;
    }

    .status-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}
