:root {
    --guide-surface: #141a2a;
    --guide-surface-strong: #171f31;
    --guide-border: rgba(132, 150, 206, 0.14);
    --guide-text: #f5f7ff;
    --guide-muted: #a8b0c8;
    --guide-blue: #7684ff;
    --guide-green: #3ddc97;
    --guide-gold: #ffbd59;
    --guide-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

body.guide-page {
    background: #0d1220;
    color: var(--guide-text);
}

.guide-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(13, 18, 32, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.guide-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.guide-brand-mark {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--guide-blue);
}

.guide-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--guide-muted);
    font-size: 0.95rem;
}

.guide-nav-links a:hover {
    color: var(--guide-text);
}

.guide-hero {
    padding: 64px 0 28px;
}

.guide-hero .container {
    display: block;
    max-width: 980px;
}

.guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(118, 132, 255, 0.1);
    border: 1px solid rgba(118, 132, 255, 0.16);
    color: #dce0ff;
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.guide-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    line-height: 1.02;
    margin-bottom: 14px;
    max-width: 12ch;
}

.guide-lead {
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--guide-muted);
    max-width: 58ch;
    margin-bottom: 20px;
}

.guide-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.guide-flow-step {
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--guide-border);
    color: #eaf0ff;
    font-weight: 600;
    font-size: 0.95rem;
}

.guide-flow-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--guide-muted);
    padding: 0 2px;
}

.guide-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.guide-meta-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--guide-border);
}

.guide-meta-card strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.guide-meta-card span {
    color: var(--guide-muted);
    font-size: 0.95rem;
}

.guide-section {
    padding: 20px 0 52px;
}

.guide-section-heading {
    max-width: 700px;
    margin-bottom: 28px;
}

.guide-section-heading h2 {
    margin-bottom: 12px;
}

.guide-section-heading p {
    color: var(--guide-muted);
    font-size: 1.05rem;
}

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

.guide-step {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
    gap: 20px;
    align-items: center;
    padding: 22px;
    border-radius: 22px;
    background: var(--guide-surface-strong);
    border: 1px solid var(--guide-border);
}

.guide-step:nth-child(even) {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 0.88fr);
}

.guide-step:nth-child(even) .guide-step-copy {
    order: 2;
}

.guide-step:nth-child(even) .guide-shot {
    order: 1;
}

.guide-step-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 14px;
    background: rgba(118, 132, 255, 0.18);
    color: white;
    font-weight: 800;
}

.guide-step-copy h3 {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    margin-bottom: 10px;
}

.guide-step-copy p {
    color: var(--guide-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.guide-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.guide-chip {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--guide-border);
    background: rgba(255, 255, 255, 0.04);
    color: #edf2ff;
    font-size: 0.88rem;
}

.guide-chip-accent {
    background: rgba(255, 189, 89, 0.12);
    border-color: rgba(255, 189, 89, 0.22);
}

.guide-chip-success {
    background: rgba(61, 220, 151, 0.12);
    border-color: rgba(61, 220, 151, 0.22);
}

.guide-shot {
    position: relative;
}

.guide-shot-frame {
    position: relative;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-shot img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.guide-shot-note {
    margin-top: 12px;
    color: var(--guide-muted);
    font-size: 0.92rem;
    text-align: center;
}

.guide-callout {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-callout strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.guide-callout p {
    color: var(--guide-muted);
}

.guide-link-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(118, 132, 255, 0.14);
    border: 1px solid rgba(118, 132, 255, 0.2);
    color: var(--guide-text);
    font-size: 1rem;
    font-weight: 700;
}

.guide-link-cta:hover {
    background: rgba(118, 132, 255, 0.2);
}

.guide-footer {
    padding: 0 0 52px;
}

.guide-summary {
    padding: 22px;
    border-radius: 22px;
    background: var(--guide-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-summary h2 {
    margin-bottom: 10px;
}

.guide-summary p {
    color: var(--guide-muted);
    font-size: 1.04rem;
    max-width: 60ch;
}

.guide-search-shell {
    margin-bottom: 24px;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-search-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--guide-text);
}

.guide-search-input-wrap {
    position: relative;
}

.guide-search-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--guide-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--guide-text);
    font: inherit;
    transition: border-color 180ms ease, background 180ms ease;
}

.guide-search-input::placeholder {
    color: var(--guide-muted);
}

.guide-search-input:focus {
    outline: none;
    border-color: rgba(118, 132, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.guide-search-meta {
    margin-top: 10px;
    color: var(--guide-muted);
    font-size: 0.94rem;
}

.guide-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.guide-index-card {
    display: block;
    padding: 22px;
    border-radius: 22px;
    background: var(--guide-surface-strong);
    border: 1px solid var(--guide-border);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.guide-index-card:hover {
    transform: translateY(-2px);
    border-color: rgba(118, 132, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

.guide-index-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(118, 132, 255, 0.12);
    border: 1px solid rgba(118, 132, 255, 0.2);
    color: #dce0ff;
    font-size: 0.84rem;
    font-weight: 700;
}

.guide-index-card h3 {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.guide-index-card p {
    color: var(--guide-muted);
    line-height: 1.65;
}

.guide-empty-state {
    margin-top: 22px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.14);
}

.guide-empty-state strong {
    display: block;
    margin-bottom: 8px;
}

.guide-empty-state p {
    color: var(--guide-muted);
}

@media (max-width: 980px) {
    .guide-step,
    .guide-step:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .guide-step:nth-child(even) .guide-step-copy,
    .guide-step:nth-child(even) .guide-shot {
        order: initial;
    }

    .guide-meta {
        grid-template-columns: 1fr;
    }

    .guide-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .guide-nav .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .guide-nav-links {
        flex-wrap: wrap;
        gap: 12px;
    }

    .guide-hero {
        padding-top: 60px;
    }

    .guide-step,
    .guide-summary {
        padding: 18px;
        border-radius: 18px;
    }

    .guide-shot img {
        max-width: 280px;
    }
}
