:root {
    color-scheme: dark;
    --bg: #0b0b14;
    --surface: #151521;
    --surface-2: #1b1229;
    --surface-3: #221636;
    --border: rgba(147, 51, 234, 0.22);
    --border-strong: rgba(147, 51, 234, 0.45);
    --text: #ffffff;
    --text-soft: #e0e0ff;
    --text-muted: #a0a0c0;
    --text-dim: #8080a0;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-grad: linear-gradient(135deg, #9333ea, #7e22ce);
    --green-400: #34d399;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text-soft);
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.55;
    font-size: 15px;
}
section[id] { scroll-margin-top: 80px; }
body { padding-top: 72px; }

a { color: var(--purple-400); text-decoration: none; }
a:hover { color: var(--text); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== Breadcrumb ===== */
.subpage-head {
    border-bottom: 1px solid var(--border);
    background: rgba(15, 15, 24, 0.6);
}
.subpage-head .wrap {
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
}
.crumb { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.crumb a { color: var(--purple-400); }
.crumb a:hover { color: var(--text); }
.crumb span[aria-hidden] { color: var(--text-dim); }

/* ===== Hero ===== */
.hero {
    padding: 56px 24px 48px;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(147, 51, 234, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(126, 34, 206, 0.18) 0%, transparent 70%);
}
.hero-grid {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}
.hero-copy { padding-top: 12px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(147, 51, 234, 0.16);
    border: 1px solid var(--border-strong);
    color: var(--purple-300);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--purple-400);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--text);
    margin: 18px 0 16px;
}
.gradient-text {
    background: linear-gradient(110deg, #c084fc, #9333ea 60%, #7e22ce);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.lede {
    font-size: 16.5px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 0 24px;
    line-height: 1.6;
}

.cta-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: filter 0.15s, transform 0.1s, border-color 0.15s, background 0.15s, color 0.15s;
    border: 1px solid transparent;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}
.btn.primary {
    background: var(--purple-grad);
    color: white;
    box-shadow: 0 6px 18px rgba(147, 51, 234, 0.4);
}
.btn.primary:hover { filter: brightness(1.1); color: white; }
.btn.ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-soft);
    border-color: var(--border-strong);
}
.btn.ghost:hover { background: rgba(147, 51, 234, 0.14); color: var(--text); }
.btn.sm { padding: 8px 14px; font-size: 12.5px; }
.btn:active { transform: translateY(1px); }
.btn.claim {
    width: 100%;
    justify-content: center;
    background: linear-gradient(95deg, #d946ef 0%, #a855f7 50%, #6366f1 100%);
    color: white;
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.45), 0 0 0 1px rgba(255,255,255,0.06) inset;
    padding: 13px 20px;
    font-size: 14.5px;
}
.btn.claim:hover { filter: brightness(1.08); color: white; }

/* ===== Status card (sidebar) ===== */
.status-card {
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(147, 51, 234, 0.22), transparent 70%),
        linear-gradient(180deg, var(--surface-3), var(--surface));
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(168, 85, 247, 0.08) inset;
    position: sticky;
    top: 96px;
}
.status-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.status-eyebrow {
    font-size: 11.5px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.status-title {
    color: var(--text);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-top: 2px;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: var(--green-400);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 600;
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green-400);
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
    animation: pa-pulse 1.6s ease-in-out infinite;
}
@keyframes pa-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px 10px 10px;
    transition: border-color 0.2s, background 0.2s;
}
.status-row.is-done {
    border-color: rgba(52, 211, 153, 0.4);
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.08), rgba(52, 211, 153, 0.02));
}
.status-toggle {
    all: unset;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}
.status-toggle:hover { border-color: var(--purple-400); }
.status-num {
    color: var(--text-soft);
    font-weight: 700;
    font-size: 13px;
    transition: opacity 0.15s;
}
.status-check {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #062e22;
    opacity: 0;
    transition: opacity 0.15s;
}
.status-check svg { width: 16px; height: 16px; }
.status-row.is-done .status-toggle {
    background: var(--green-400);
    border-color: var(--green-400);
}
.status-row.is-done .status-num { opacity: 0; }
.status-row.is-done .status-check { opacity: 1; }
.status-label {
    font-size: 13.5px;
    color: var(--text-soft);
    line-height: 1.4;
}
.status-row.is-done .status-label { color: var(--text); }

.claim-box {
    background:
        radial-gradient(ellipse 60% 80% at 50% 0%, rgba(217, 70, 239, 0.18), transparent 60%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 16px 18px;
}
.claim-h {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.claim-d {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* ===== Section base ===== */
.section { padding: 56px 0; }
.section h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}
@media (max-width: 640px) {
    .section h2 { font-size: 28px; }
}
.kicker {
    color: var(--purple-400);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.kicker-sm {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ===== Walkthrough ===== */
.walkthrough { padding-top: 72px; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 0; }
.hint-pill {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 500;
}

.step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.step-card {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.step-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.step-card.highlight {
    background:
        radial-gradient(ellipse 100% 80% at 0% 0%, rgba(147, 51, 234, 0.18), transparent 60%),
        linear-gradient(180deg, var(--surface-3), var(--surface));
    border-color: var(--border-strong);
}
.step-card header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.req {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--purple-300);
    background: rgba(147, 51, 234, 0.14);
    border: 1px solid var(--border);
    padding: 3px 9px;
    border-radius: 999px;
}
.step-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.018em;
    line-height: 1.2;
}
.step-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}
.card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    flex-wrap: wrap;
}

/* ===== Inline video pill (used on step 2) ===== */
.video-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    background:
        radial-gradient(ellipse 60% 100% at 0% 50%, rgba(217, 70, 239, 0.18), transparent 70%),
        var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-soft);
    transition: border-color 0.2s, transform 0.15s, background 0.2s;
}
.video-pill:hover {
    border-color: var(--border-strong);
    color: var(--text);
    transform: translateY(-1px);
}
.video-thumb {
    position: relative;
    flex-shrink: 0;
    width: 84px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}
.video-pill:hover .video-thumb img {
    opacity: 1;
    transform: scale(1.04);
}
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.video-play::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.video-play svg {
    position: relative;
    margin-left: 2px;
}
.video-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.video-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}
.video-sub {
    font-size: 11.5px;
    color: var(--text-dim);
    line-height: 1.3;
}
.video-go {
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.15s;
}
.video-pill:hover .video-go {
    color: var(--purple-400);
    transform: translate(2px, -2px);
}

/* Inline docs link (sits in card-actions) */
.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    padding: 6px 4px;
    transition: color 0.2s;
}
.doc-link:hover { color: var(--purple-400); }
.mark-btn {
    all: unset;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-dim);
    padding: 6px 4px;
    transition: color 0.2s;
}
.mark-btn:hover { color: var(--text-soft); }
.mark-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dim);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.mark-icon svg { width: 10px; height: 10px; }
.step-card.is-done {
    border-color: rgba(52, 211, 153, 0.4);
    background:
        radial-gradient(ellipse 100% 80% at 0% 0%, rgba(52, 211, 153, 0.08), transparent 60%),
        linear-gradient(180deg, var(--surface-2), var(--surface));
}
.step-card.is-done .req {
    color: var(--green-400);
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
}
.step-card.is-done .req::before { content: "Done · "; opacity: 0.8; }
.step-card.is-done .mark-btn { color: var(--green-400); }
.step-card.is-done .mark-icon {
    background: var(--green-400);
    border-color: var(--green-400);
    color: #062e22;
}
.step-card.is-done .mark-label::before { content: "Marked done"; }
.step-card.is-done .mark-label { font-size: 0; }
.step-card.is-done .mark-label::before { font-size: 12.5px; }

/* ===== Dual section: callout + faq ===== */
.dual { padding-top: 8px; }
.dual-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.callout, .faq {
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}
.callout h2, .faq h2 { font-size: 26px; margin-bottom: 12px; }
.callout p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0 0 14px;
}
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.check-list li {
    position: relative;
    padding-left: 26px;
    color: var(--text-soft);
    font-size: 13.5px;
    line-height: 1.5;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--purple-grad);
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
}

.faq details {
    border-top: 1px solid var(--border);
    padding: 14px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--border); }
.faq summary {
    cursor: pointer;
    list-style: none;
    color: var(--text);
    font-weight: 600;
    font-size: 14.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-size: 22px;
    color: var(--purple-400);
    line-height: 1;
    font-weight: 400;
    transition: transform 0.2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 10px 0 0;
}
.faq details p strong { color: var(--text); }
.inline-cta {
    color: var(--purple-400);
    font-weight: 600;
    font-size: 13.5px;
}
.inline-cta:hover { color: var(--purple-300); }

/* ===== Final CTA ===== */
.cta { padding: 24px 0 64px; }
.cta-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background:
        linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(147, 51, 234, 0.05)),
        var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 14px;
    padding: 22px 26px;
}
.cta-t {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}
.cta-s { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

/* ===== Footer ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 20px 0 32px;
    color: var(--text-dim);
    font-size: 12px;
}
.footer .wrap { max-width: 1180px; display: flex; justify-content: space-between; align-items: center; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--text-dim); }
.footer a:hover { color: var(--purple-400); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .status-card { position: static; }
    .step-grid { grid-template-columns: 1fr; }
    .dual-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 40px; }
}
@media (max-width: 640px) {
    .hero { padding: 40px 16px 36px; }
    .hero h1 { font-size: 32px; }
    .lede { font-size: 15px; }
    .section { padding: 40px 0; }
    .walkthrough { padding-top: 48px; }
    .step-card { padding: 18px; }
    .step-card h3 { font-size: 19px; }
    .callout, .faq { padding: 22px; }
    .cta-box { flex-direction: column; text-align: center; align-items: stretch; }
    .cta-box .btn { justify-content: center; }
    .footer .wrap { flex-direction: column; gap: 10px; }
}
