/* ==========================================================================
   AFFILIATE SHOP SETUP GUIDE — picture guide, mobile-first
   Written for first-time, non-technical affiliates: larger text, big tap
   targets, and drawn phone screens that mirror the real My Shop pages.
   ========================================================================== */

:root {
    --sg-primary: #0046be;
    --sg-primary-dark: #013196;
    --sg-dark: #001e73;
    --sg-accent: #ffce00;
    --sg-accent-dark: #fab528;
    --sg-green: #10b981;
    --sg-purple: #8b5cf6;
    --sg-red: #ef4444;
    --sg-text: #1f2937;
    --sg-muted: #4b5563;
    --sg-line: #e5e7eb;
    --sg-bg-light: #f0f4ff;
    --sg-bg-section: #f8fafc;
    --sg-gradient: linear-gradient(135deg, #0046be 0%, #001e73 100%);
    --sg-radius: 1rem;
    --sg-radius-sm: 0.75rem;
    --sg-shadow: 0 4px 24px rgba(0, 70, 190, 0.08);
    --sg-shadow-lg: 0 12px 40px rgba(0, 70, 190, 0.14);
}

/* ---------- Colour helpers ---------- */
.sg-c-blue { color: var(--sg-primary); background: rgba(0, 70, 190, 0.08); }
.sg-c-amber { color: #b45309; background: rgba(250, 181, 40, 0.15); }
.sg-c-green { color: #047857; background: rgba(16, 185, 129, 0.12); }
.sg-c-purple { color: #6d28d9; background: rgba(139, 92, 246, 0.12); }
.sg-bg-blue { background: var(--sg-primary); }
.sg-bg-amber { background: var(--sg-accent-dark); }
.sg-bg-purple { background: var(--sg-purple); }
.sg-bg-green { background: var(--sg-green); }

/* ---------- Buttons (min 48px tall for easy tapping) ---------- */
.sg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sg-btn:hover { transform: translateY(-2px); text-decoration: none; }
.sg-btn:focus-visible { outline: 3px solid var(--sg-accent); outline-offset: 2px; }
.sg-btn--primary {
    background: linear-gradient(135deg, #ffce00 0%, #fab528 100%);
    color: var(--sg-dark);
    box-shadow: 0 4px 16px rgba(250, 181, 40, 0.35);
}
.sg-btn--primary:hover { color: var(--sg-dark); }
.sg-btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
}
.sg-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.sg-btn--outline {
    background: #fff;
    color: var(--sg-primary);
    border-color: var(--sg-primary);
}
.sg-btn--outline:hover { color: var(--sg-primary); background: var(--sg-bg-light); }
.sg-btn--sm { font-size: 0.95rem; padding: 0.6rem 1.25rem; }

/* ---------- Hero ---------- */
.sg-hero {
    background: var(--sg-gradient);
    color: #fff;
    padding: 2.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}
.sg-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 206, 0, 0.08);
    pointer-events: none;
}
.sg-hero .container { position: relative; z-index: 1; }
.sg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 206, 0, 0.15);
    border: 1px solid rgba(255, 206, 0, 0.35);
    color: var(--sg-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.sg-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}
.sg-highlight { color: var(--sg-accent); display: block; }
.sg-hero-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 560px;
    margin-bottom: 1.5rem;
}
.sg-hero-cta { display: flex; flex-direction: column; gap: 0.75rem; }
.sg-hero-stats {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 440px;
}
.sg-hero-stats li {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--sg-radius-sm);
    padding: 0.75rem 0.5rem;
    text-align: center;
}
.sg-hero-stats strong { display: block; font-size: 1.35rem; color: var(--sg-accent); }
.sg-hero-stats span { font-size: 0.8rem; opacity: 0.85; }

/* ---------- Next step card ---------- */
.sg-next-wrap { margin-top: -3rem; position: relative; z-index: 2; }
.sg-next {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow-lg);
    padding: 1.25rem;
    border-left: 6px solid var(--sg-primary);
    max-width: 880px;
    margin: 0 auto;
}
.sg-next--pending { border-left-color: var(--sg-accent-dark); }
.sg-next--rejected,
.sg-next--suspended,
.sg-next--closed { border-left-color: var(--sg-red); }
.sg-next--approved { border-left-color: var(--sg-green); }
.sg-next__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--sg-primary);
    background: var(--sg-bg-light);
}
.sg-next--approved .sg-next__icon { color: #047857; background: rgba(16, 185, 129, 0.12); }
.sg-next--pending .sg-next__icon { color: #b45309; background: rgba(250, 181, 40, 0.15); }
.sg-next--rejected .sg-next__icon,
.sg-next--suspended .sg-next__icon,
.sg-next--closed .sg-next__icon { color: var(--sg-red); background: rgba(239, 68, 68, 0.1); }
.sg-next__body { flex: 1; min-width: 0; }
.sg-next__body h2 { font-size: 1.25rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.4rem; }
.sg-next__body p { font-size: 1rem; color: var(--sg-muted); line-height: 1.55; margin-bottom: 0.75rem; }
.sg-next__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sg-next__small { font-size: 0.95rem !important; font-weight: 600; color: var(--sg-text) !important; }
.sg-next__warn {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b !important;
    border-radius: var(--sg-radius-sm);
    padding: 0.6rem 0.8rem;
}

.sg-progress { list-style: none; padding: 0; margin: 0 0 1rem; }
.sg-progress li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--sg-line);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sg-text);
}
.sg-progress li:last-child { border-bottom: none; }
.sg-progress li > i { font-size: 1.35rem; color: #cbd5e1; }
.sg-progress li.is-done > i { color: var(--sg-green); }
.sg-progress li.is-done > span { color: var(--sg-muted); text-decoration: line-through; }
.sg-progress__go {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--sg-primary);
    text-decoration: none;
    padding: 0.4rem 0;
}

/* ---------- Sections ---------- */
.sg-section { padding: 3rem 0; }
.sg-section-header { text-align: center; margin-bottom: 2rem; }
.sg-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sg-primary);
    background: var(--sg-bg-light);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}
.sg-title { font-size: 1.6rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.5rem; }
.sg-desc { font-size: 1.05rem; color: var(--sg-muted); max-width: 620px; margin: 0 auto; line-height: 1.6; }

/* ---------- What is it ---------- */
.sg-what-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.sg-what-card {
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    padding: 1.25rem 1rem;
    text-align: center;
}
.sg-what-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}
.sg-what-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.3rem; }
.sg-what-card p { font-size: 0.95rem; color: var(--sg-muted); margin: 0; line-height: 1.5; }

/* ---------- Steps ---------- */
.sg-steps { background: var(--sg-bg-section); }
.sg-tap-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--sg-red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.1rem 0.6rem;
    white-space: nowrap;
}
.sg-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    scroll-margin-top: 90px;
}
/* Grid items default to min-width: auto; this keeps a long word or link
   from pushing a column past the card on a narrow phone. */
.sg-step > * { min-width: 0; }
.sg-step__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.sg-step__num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--sg-gradient);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 70, 190, 0.3);
}
.sg-step__head h3 { font-size: 1.3rem; font-weight: 800; color: var(--sg-dark); margin: 0 0 0.15rem; }
.sg-step__time { font-size: 0.9rem; color: var(--sg-muted); font-weight: 600; }
.sg-step__time i { color: var(--sg-primary); margin-right: 0.2rem; }

.sg-path {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.sg-path span {
    background: var(--sg-bg-light);
    color: var(--sg-primary-dark);
    font-weight: 700;
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
}
.sg-path i { color: #94a3b8; font-size: 0.7rem; }

.sg-list { list-style: none; counter-reset: sg-li; padding: 0; margin: 0 0 1rem; }
.sg-list li {
    counter-increment: sg-li;
    position: relative;
    padding: 0.55rem 0 0.55rem 2.6rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--sg-text);
}
.sg-list li::before {
    content: counter(sg-li, lower-alpha);
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--sg-primary);
    color: var(--sg-primary);
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sg-note {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    background: rgba(255, 206, 0, 0.12);
    border-radius: var(--sg-radius-sm);
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--sg-text);
    margin-bottom: 0.6rem;
}
.sg-note > i { color: #b45309; margin-top: 0.2rem; }
.sg-note--warn { background: rgba(239, 68, 68, 0.07); }
.sg-note--warn > i { color: var(--sg-red); }

.sg-linkchip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    background: var(--sg-bg-light);
    border: 2px dashed var(--sg-primary);
    color: var(--sg-primary-dark);
    font-weight: 700;
    border-radius: var(--sg-radius-sm);
    padding: 0.55rem 0.9rem;
    margin-bottom: 0.85rem;
    word-break: break-all;
}

.sg-step__visual { text-align: center; }
.sg-caption { font-size: 0.9rem; color: var(--sg-muted); margin: 0.75rem 0 0; }

/* ---------- Drawn phone screens ---------- */
.sg-phone {
    width: 260px;
    max-width: 100%;
    margin: 0 auto;
    background: #0f172a;
    border-radius: 34px;
    padding: 10px;
    box-shadow: var(--sg-shadow-lg);
    position: relative;
}
.sg-phone::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 6px;
    border-radius: 6px;
    background: #334155;
    z-index: 1;
}
.sg-phone__screen {
    background: #fff;
    border-radius: 26px;
    min-height: 380px;
    padding: 30px 12px 16px;
    text-align: left;
    overflow: hidden;
    font-size: 12px;
    color: var(--sg-text);
}
.sg-phone--hero { width: 290px; }
.sg-phone--hero .sg-phone__screen { padding-top: 0; }

.sg-mock-bar {
    font-weight: 800;
    font-size: 14px;
    color: var(--sg-dark);
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--sg-line);
}
.sg-mock-bar i { color: var(--sg-primary); margin-right: 4px; }
.sg-mock-tabs {
    display: flex;
    gap: 8px;
    overflow: hidden;
    border-bottom: 1px solid var(--sg-line);
    margin-bottom: 12px;
    white-space: nowrap;
}
.sg-mock-tabs span { padding: 6px 2px; color: #64748b; font-weight: 600; font-size: 11px; border-bottom: 3px solid transparent; }
.sg-mock-tabs span.is-active { color: var(--sg-primary); border-bottom-color: var(--sg-primary); }
/* The tabs are wider than the drawn phone, as on a real phone, where the
   bar scrolls sideways. Show the end of the strip when the last tab is the
   one being taught, and fade the cut-off side. */
.sg-mock-tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent);
    mask-image: linear-gradient(90deg, #000 80%, transparent);
}
.sg-mock-tabs:has(.is-active:last-child) {
    justify-content: flex-end;
    -webkit-mask-image: linear-gradient(270deg, #000 80%, transparent);
    mask-image: linear-gradient(270deg, #000 80%, transparent);
}
.sg-mock-hero {
    background: var(--sg-gradient);
    color: #fff;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    margin-bottom: 12px;
}
.sg-mock-hero .sg-mock-muted { color: rgba(255, 255, 255, 0.8); }
.sg-mock-code {
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.2em;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    margin-top: 4px;
    padding: 4px;
}
.sg-mock-box { border: 1px solid var(--sg-line); border-radius: 12px; padding: 12px; }
.sg-mock-strong { font-weight: 800; font-size: 13px; color: var(--sg-dark); margin-bottom: 4px; }
.sg-mock-strong i { color: var(--sg-primary); }
.sg-mock-muted { color: #64748b; font-size: 11px; line-height: 1.4; }
.sg-mock-field { margin-bottom: 12px; }
.sg-mock-field label { display: block; font-weight: 700; font-size: 11px; margin-bottom: 4px; }
.sg-mock-input {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sg-mock-input--sm { font-size: 10px; background: #f8fafc; margin: 6px 0 8px; }
.sg-mock-photo { display: flex; align-items: center; gap: 10px; }
.sg-mock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 12px;
    position: relative;
    margin-top: 8px;
}
.sg-mock-btn--primary { background: var(--sg-primary); color: #fff; }
.sg-mock-btn--light { background: #f1f5f9; border: 1px solid #cbd5e1; margin-top: 0; }
.sg-mock-btn--block { display: flex; width: 100%; margin-top: 16px; }
.sg-mock-share { display: flex; gap: 4px; margin-top: 8px; }
.sg-mock-share span {
    flex: 1;
    text-align: center;
    border: 1px solid var(--sg-primary);
    color: var(--sg-primary);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 2px;
    white-space: nowrap;
}
.sg-mock-share span.is-green { border-color: #198754; color: #198754; }

/* minmax(0, 1fr): a long button label must not widen its card past the mock
   screen; it wraps inside the card instead. */
.sg-mock-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sg-mock-product { border: 1px solid var(--sg-line); border-radius: 10px; padding: 8px; }
.sg-mock-thumb {
    height: 90px;
    border-radius: 8px;
    background: var(--sg-bg-light);
    color: var(--sg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.sg-mock-line { height: 8px; border-radius: 4px; background: #e2e8f0; margin: 8px 0; width: 80%; }
.sg-mock-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 1px solid var(--sg-primary);
    color: var(--sg-primary);
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    padding: 6px 2px;
    position: relative;
}
.sg-mock-toggle.is-on { background: var(--sg-primary); color: #fff; }

.sg-mock-cover {
    height: 90px;
    margin: 0 -12px;
    background: linear-gradient(120deg, #93c5fd 0%, #c4b5fd 50%, #fde68a 100%);
}
.sg-mock-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--sg-primary);
    color: #fff;
    font-weight: 800;
    font-size: 24px;
    border: 3px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -29px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.sg-mock-avatar--sm { width: 44px; height: 44px; font-size: 18px; margin-top: 0; }
.sg-mock-title { font-weight: 800; font-size: 15px; color: var(--sg-dark); margin-top: 6px; }
.sg-mock-label { font-weight: 800; font-size: 11px; margin: 12px 0 6px; color: var(--sg-dark); }
.sg-mock-label i { color: var(--sg-primary); }
.sg-mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sg-mock-card { border: 1px solid var(--sg-line); border-radius: 8px; padding: 6px; text-align: center; }
.sg-mock-card i { display: block; font-size: 24px; color: var(--sg-primary); background: var(--sg-bg-light); border-radius: 6px; padding: 10px 0; }
.sg-mock-card span { display: block; height: 6px; border-radius: 3px; background: #e2e8f0; margin: 6px 4px; }
.sg-mock-card b { display: block; font-size: 9px; background: var(--sg-accent); color: var(--sg-dark); border-radius: 4px; padding: 3px 0; }

/* "Tap here" markers on the drawings. */
.sg-has-tap { position: relative; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.55); }
.sg-tap {
    position: absolute;
    right: -6px;
    top: -14px;
    background: var(--sg-red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 50px;
    padding: 2px 7px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
.sg-tap::before { content: '\261D'; margin-right: 3px; font-size: 10px; }

@media (prefers-reduced-motion: no-preference) {
    .sg-has-tap { animation: sgPulse 1.8s ease-in-out infinite; }
    @keyframes sgPulse {
        0%, 100% { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.55); }
        50% { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0.15); }
    }
}

/* ---------- Optional extras ---------- */
.sg-bonus {
    background: #fff;
    border: 2px dashed #c7d2fe;
    border-radius: var(--sg-radius);
    padding: 1.5rem 1.25rem;
}
.sg-bonus__head { text-align: center; margin-bottom: 1.25rem; }
.sg-bonus__badge {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    background: rgba(255, 206, 0, 0.2);
    color: #92400e;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
}
.sg-bonus__head h3 { font-size: 1.3rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.25rem; }
.sg-bonus__head p { color: var(--sg-muted); margin: 0; }
.sg-bonus__grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.sg-bonus__item { background: var(--sg-bg-section); border-radius: var(--sg-radius-sm); padding: 1rem; }
.sg-bonus__item > i {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.sg-bonus__item h4 { font-size: 1.05rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.25rem; }
.sg-bonus__item p { font-size: 0.95rem; color: var(--sg-muted); margin: 0; line-height: 1.5; }

/* ---------- Where to share ---------- */
.sg-where-grid { display: grid; grid-template-columns: 1fr; gap: 0.85rem; }
.sg-where-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 0.85rem;
    align-items: start;
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius);
    padding: 1rem;
}
.sg-where-card > i { grid-row: span 2; font-size: 2.1rem; text-align: center; }
.sg-where-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--sg-dark); margin: 0 0 0.2rem; }
.sg-where-card p { font-size: 0.95rem; color: var(--sg-muted); margin: 0; line-height: 1.5; }
.sg-brand-fb { color: #1877f2; }
.sg-brand-msg { color: #0084ff; }
.sg-brand-wa { color: #25d366; }
.sg-brand-ig { color: #e1306c; }

/* ---------- After you share ---------- */
.sg-flow { background: var(--sg-bg-section); }
.sg-flow-row { list-style: none; padding: 0; margin: 0 auto 1.5rem; max-width: 1000px; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.sg-flow-row li {
    position: relative;
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow);
    padding: 1.25rem 1rem 1.25rem 4.75rem;
    min-height: 88px;
}
.sg-flow-dot {
    position: absolute;
    left: 1rem;
    top: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.sg-flow-row h3 { font-size: 1.05rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.2rem; }
.sg-flow-row p { font-size: 0.95rem; color: var(--sg-muted); margin: 0; line-height: 1.5; }
.sg-rules { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; }
.sg-rules li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--sg-muted); padding: 0.35rem 0; line-height: 1.5; }
.sg-rules i { color: var(--sg-primary); margin-top: 0.25rem; }

/* ---------- Quick fixes ---------- */
.sg-fixes-list { max-width: 820px; margin: 0 auto; }
.sg-fixes-list details {
    background: #fff;
    border: 1px solid var(--sg-line);
    border-radius: var(--sg-radius-sm);
    margin-bottom: 0.6rem;
    overflow: hidden;
}
.sg-fixes-list summary {
    list-style: none;
    cursor: pointer;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sg-dark);
}
.sg-fixes-list summary::-webkit-details-marker { display: none; }
.sg-fixes-list summary::before {
    content: '+';
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sg-bg-light);
    color: var(--sg-primary);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sg-fixes-list details[open] summary::before { content: '\2212'; background: var(--sg-primary); color: #fff; }
.sg-fixes-list summary:focus-visible { outline: 3px solid var(--sg-accent); outline-offset: -3px; }
.sg-fixes-list details p {
    padding: 0 1rem 1rem 3.75rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--sg-muted);
}

/* ---------- Glossary ---------- */
.sg-words { background: var(--sg-bg-section); }
.sg-words-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; max-width: 1000px; margin: 0 auto; }
.sg-words-grid > div { background: #fff; border-radius: var(--sg-radius-sm); border: 1px solid var(--sg-line); padding: 0.9rem 1rem; }
.sg-words-grid dt { font-size: 1.05rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.2rem; }
.sg-words-grid dt i { color: var(--sg-primary); width: 1.25rem; }
.sg-words-grid dd { margin: 0; font-size: 0.95rem; color: var(--sg-muted); line-height: 1.5; }

/* ---------- Help ---------- */
.sg-help-card {
    background: #fff;
    border-radius: var(--sg-radius);
    box-shadow: var(--sg-shadow-lg);
    border-top: 6px solid var(--sg-accent);
    padding: 1.5rem 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}
.sg-help-card__intro { text-align: center; margin-bottom: 1.25rem; }
.sg-help-card__intro > i { font-size: 2.25rem; color: var(--sg-primary); margin-bottom: 0.5rem; }
.sg-help-card__intro h2 { font-size: 1.4rem; font-weight: 800; color: var(--sg-dark); margin-bottom: 0.4rem; }
.sg-help-card__intro p { color: var(--sg-muted); font-size: 1rem; max-width: 560px; margin: 0 auto; }
.sg-help-card__ways { display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
.sg-help-way {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 64px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--sg-line);
    border-radius: var(--sg-radius-sm);
    text-decoration: none;
    color: var(--sg-text);
    transition: border-color 0.2s ease, background 0.2s ease;
}
.sg-help-way:hover { border-color: var(--sg-primary); background: var(--sg-bg-light); color: var(--sg-text); text-decoration: none; }
.sg-help-way > i { font-size: 1.6rem; color: var(--sg-primary); width: 2rem; text-align: center; }
.sg-help-way strong { display: block; font-size: 1.05rem; }
.sg-help-way small { display: block; color: var(--sg-muted); font-size: 0.9rem; word-break: break-all; }

/* ---------- Final CTA ---------- */
.sg-cta { background: var(--sg-gradient); color: #fff; text-align: center; padding: 3rem 0; }
.sg-cta h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.sg-cta p { opacity: 0.9; font-size: 1.05rem; margin-bottom: 1.5rem; }
.sg-cta__actions { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }

/* ==========================================================================
   ≥576px
   ========================================================================== */
@media (min-width: 576px) {
    .sg-hero h1 { font-size: 2.4rem; }
    .sg-hero-cta, .sg-cta__actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .sg-hero-cta { justify-content: flex-start; }
    .sg-next { padding: 1.5rem 1.75rem; gap: 1.25rem; }
    .sg-bonus__grid, .sg-where-grid, .sg-words-grid { grid-template-columns: repeat(2, 1fr); }
    .sg-help-card__ways { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   ≥768px
   ========================================================================== */
@media (min-width: 768px) {
    .sg-what-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
    .sg-step { grid-template-columns: 1.25fr 1fr; align-items: center; padding: 2rem; gap: 2rem; }
    .sg-step--flip .sg-step__text { order: 2; }
    .sg-step--flip .sg-step__visual { order: 1; }
    .sg-flow-row { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   ≥992px
   ========================================================================== */
@media (min-width: 992px) {
    .sg-hero { padding: 4rem 0 6rem; }
    .sg-hero h1 { font-size: 3rem; }
    .sg-highlight { display: inline; }
    .sg-section { padding: 4.5rem 0; }
    .sg-title { font-size: 2rem; }
    .sg-step { padding: 2.5rem 3rem; }
    .sg-bonus { padding: 2rem; }
    .sg-bonus__grid, .sg-where-grid, .sg-words-grid { grid-template-columns: repeat(4, 1fr); }
    .sg-words-grid { grid-template-columns: repeat(3, 1fr); }
    .sg-flow-row { grid-template-columns: repeat(4, 1fr); }
    .sg-flow-row li { padding: 4.75rem 1.25rem 1.5rem; text-align: center; }
    .sg-flow-dot { left: 50%; transform: translateX(-50%); }
    .sg-flow-row li:not(:last-child)::after {
        content: '\2192';
        position: absolute;
        right: -0.85rem;
        top: 1.85rem;
        color: #94a3b8;
        font-size: 1.25rem;
        z-index: 1;
    }
    .sg-help-card { padding: 2rem 2.5rem; }
}

/* ==========================================================================
   Print / Save as PDF — just the guide, no site chrome.
   ========================================================================== */
@media print {
    header, #navigation, footer, #footer, #newsletter, .offcanvas,
    .mobile-bn, .sg-no-print, [class*="chipp-chat"], nav[aria-label="breadcrumb"],
    #cookie-consent-banner, .sg-hero::before {
        display: none !important;
    }
    body { background: #fff !important; }
    .sg-hero { background: #fff !important; color: var(--sg-dark) !important; padding: 1rem 0 !important; }
    .sg-hero .sg-hero-sub, .sg-hero-stats span { color: var(--sg-text) !important; }
    .sg-highlight, .sg-hero-stats strong, .sg-hero-badge { color: var(--sg-primary) !important; }
    .sg-hero-stats li { border: 1px solid var(--sg-line); }
    .sg-section { padding: 1.25rem 0 !important; }
    .sg-step, .sg-bonus, .sg-flow-row li, .sg-help-card, .sg-fixes-list details { box-shadow: none !important; break-inside: avoid; }
    .sg-step { border: 1px solid var(--sg-line); }
    .sg-has-tap { animation: none !important; }
    * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
