.idb-remo-guide {
    --rmg-bg: #f3efe5;
    --rmg-paper: #fffdf8;
    --rmg-ink: #1f2925;
    --rmg-muted: #617065;
    --rmg-line: rgba(39, 58, 49, 0.12);
    --rmg-brand: #155e63;
    --rmg-brand-deep: #10383c;
    --rmg-sand: #d6b17c;
    --rmg-sand-soft: #f0e1c9;
    --rmg-shadow: 0 18px 44px rgba(24, 38, 33, 0.08);
    --rmg-radius-xl: 32px;
    --rmg-radius-lg: 24px;
    --rmg-radius-md: 18px;
    background:
        radial-gradient(circle at top left, rgba(214, 177, 124, 0.18), transparent 22%),
        linear-gradient(180deg, #f3efe5 0%, #f7f4ee 38%, #fcfaf6 100%);
}

.idb-remo-guide .idb-container {
    max-width: 1180px;
}

.rmg-badge,
.rmg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(16, 56, 60, 0.08);
    color: var(--rmg-brand);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.rmg-kicker.light {
    background: rgba(255, 255, 255, 0.14);
    color: #fff3db;
}

.rmg-hero {
    position: relative;
    overflow: hidden;
    padding: 26px 0 34px;
}

.rmg-hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 245, 214, 0.14), transparent 18%),
        radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.08), transparent 16%),
        linear-gradient(135deg, #143b40 0%, #165d63 42%, #1c757a 68%, #d2a56a 100%);
}

.rmg-hero-with-dashboard-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.rmg-hero-with-dashboard-inner .rmg-hero-grid {
    flex: 1;
    min-width: 0;
}

.rmg-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.rmg-hero-copy,
.rmg-hero-panel,
.rmg-moment-card,
.rmg-roadmap-step,
.rmg-balance-cards article,
.rmg-trust-card,
.rmg-faq-grid article,
.rmg-form-card,
.rmg-consult-copy {
    border: 1px solid var(--rmg-line);
    background: rgba(255, 253, 248, 0.92);
    box-shadow: var(--rmg-shadow);
}

.rmg-hero-copy {
    padding: 42px;
    border-radius: var(--rmg-radius-xl);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.94), rgba(251, 246, 236, 0.94)),
        linear-gradient(135deg, rgba(21, 94, 99, 0.08), rgba(214, 177, 124, 0.1));
}

.rmg-hero-copy h1,
.rmg-section-head h2,
.rmg-balance-copy h2,
.rmg-cta-band-inner h2,
.rmg-consult-copy h2 {
    margin: 18px 0 0;
    font-size: clamp(2.4rem, 4.6vw, 4.5rem);
    line-height: 1.06;
    letter-spacing: -0.05em;
    color: #fdfcf8;
}

.rmg-hero-copy h1 {
    color: var(--rmg-ink);
}

.rmg-hero-copy h1 span,
.rmg-section-head h2 span,
.rmg-balance-copy h2 span,
.rmg-consult-copy h2 span {
    color: var(--rmg-brand);
}

.rmg-hero-description,
.rmg-section-head p,
.rmg-balance-copy p,
.rmg-cta-band-inner p,
.rmg-consult-copy > p,
.rmg-other-note {
    margin: 20px 0 0;
    color: var(--rmg-muted);
    font-size: 1.03rem;
    line-height: 1.8;
}

.rmg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.rmg-secondary-btn,
.rmg-band-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 24px;
    border-radius: 18px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rmg-secondary-btn {
    color: var(--rmg-brand-deep);
    background: rgba(255, 248, 236, 0.94);
    border: 1px solid rgba(214, 177, 124, 0.42);
}

.rmg-band-btn {
    color: var(--rmg-brand-deep);
    background: #fff7eb;
    box-shadow: 0 16px 32px rgba(16, 56, 60, 0.18);
}

.rmg-secondary-btn:hover,
.rmg-band-btn:hover {
    transform: translateY(-2px);
}

.rmg-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
    color: var(--rmg-brand-deep);
    font-weight: 700;
}

.rmg-hero-trust i {
    color: var(--rmg-sand);
    margin-right: 6px;
}

.rmg-hero-panel {
    padding: 26px;
    border-radius: var(--rmg-radius-xl);
    background: linear-gradient(180deg, rgba(16, 41, 44, 0.98), rgba(19, 67, 71, 0.96));
    color: #f8f2e7;
}

.rmg-panel-card,
.rmg-panel-stats article {
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.06);
}

.rmg-panel-primary strong {
    display: block;
    margin-top: 8px;
    font-size: 1.28rem;
    line-height: 1.45;
    color: #fff8eb;
}

.rmg-panel-primary p,
.rmg-panel-stats p {
    margin: 10px 0 0;
    color: rgba(248, 242, 231, 0.82);
    line-height: 1.7;
}

.rmg-panel-eyebrow,
.rmg-panel-stats span {
    margin: 0;
    color: #f2c785;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.rmg-panel-stats {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.rmg-panel-stats strong {
    display: block;
    margin-top: 8px;
    color: #fff8eb;
    font-size: 1.08rem;
}

.rmg-moment-strip,
.rmg-roadmap-section,
.rmg-balance-section,
.rmg-trust-section,
.rmg-faq-section,
.rmg-other-section {
    padding: 34px 0;
}

.rmg-strip-head,
.rmg-section-head {
    max-width: 760px;
    margin-bottom: 22px;
}

.rmg-section-head.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rmg-section-head h2,
.rmg-balance-copy h2,
.rmg-consult-copy h2,
.rmg-cta-band-inner h2 {
    color: var(--rmg-ink);
    font-size: clamp(2rem, 3.3vw, 3.1rem);
}

.rmg-moment-grid,
.rmg-trust-grid,
.rmg-faq-grid,
.rmg-copy-list {
    display: grid;
    gap: 16px;
}

.rmg-moment-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rmg-moment-card {
    padding: 24px;
    border-radius: 24px;
}

.rmg-moment-card i,
.rmg-other-section .idb-other-card i {
    color: var(--rmg-brand);
    font-size: 1.35rem;
}

.rmg-moment-card h3,
.rmg-roadmap-step h3,
.rmg-trust-card h3,
.rmg-faq-grid h3,
.rmg-form-card h3 {
    margin: 16px 0 8px;
    font-size: 1.18rem;
    color: var(--rmg-ink);
}

.rmg-moment-card p,
.rmg-roadmap-step p,
.rmg-trust-card p,
.rmg-faq-grid p,
.rmg-copy-list p,
.rmg-copy-list li,
.rmg-balance-cards p {
    margin: 0;
    color: var(--rmg-muted);
    line-height: 1.75;
}

.rmg-roadmap {
    display: grid;
    gap: 14px;
}

.rmg-roadmap-step {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 24px;
}

.rmg-step-no {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rmg-brand-deep), var(--rmg-brand));
    color: #fff;
    font-size: 1.28rem;
    font-weight: 800;
}

.rmg-balance-grid,
.rmg-consult-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
    gap: 24px;
    align-items: start;
}

.rmg-balance-copy,
.rmg-consult-copy {
    padding: 12px 4px 0;
}

.rmg-balance-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rmg-balance-cards article {
    padding: 24px;
    border-radius: 24px;
}

.rmg-balance-cards strong,
.rmg-copy-list strong {
    display: block;
    margin-bottom: 10px;
    color: var(--rmg-brand-deep);
    font-size: 1.08rem;
}

.rmg-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rmg-trust-card,
.rmg-faq-grid article,
.rmg-copy-list > div {
    padding: 24px;
    border-radius: 24px;
}

.rmg-cta-band {
    padding: 10px 0 34px;
}

.rmg-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 30px;
    border-radius: 28px;
    background: linear-gradient(135deg, #143b40 0%, #1a666b 58%, #d2a56a 100%);
    box-shadow: 0 24px 48px rgba(19, 43, 41, 0.16);
}

.rmg-cta-band-inner h2,
.rmg-cta-band-inner p {
    color: #fff8eb;
}

.rmg-cta-band-inner p {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(255, 248, 235, 0.86);
}

.rmg-consult-section {
    padding: 6px 0 34px;
}

.rmg-form-card {
    border-radius: 30px;
    padding: 26px;
    background: rgba(255, 253, 248, 0.98);
}

.rmg-form-card h3 {
    margin-top: 0;
}

.rmg-copy-list ul {
    margin: 0;
    padding-left: 18px;
}

.rmg-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rmg-other-section .idb-other-card {
    background: rgba(255, 253, 248, 0.96);
    border-color: var(--rmg-line);
}

@media (max-width: 980px) {
    .rmg-hero-grid,
    .rmg-balance-grid,
    .rmg-consult-grid,
    .rmg-moment-grid,
    .rmg-trust-grid,
    .rmg-faq-grid,
    .rmg-balance-cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .rmg-cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .rmg-hero {
        padding: 16px 0 22px;
    }

    .rmg-hero-copy,
    .rmg-hero-panel,
    .rmg-moment-card,
    .rmg-roadmap-step,
    .rmg-balance-cards article,
    .rmg-trust-card,
    .rmg-faq-grid article,
    .rmg-form-card,
    .rmg-copy-list > div {
        border-radius: 22px;
    }

    .rmg-hero-copy,
    .rmg-hero-panel,
    .rmg-moment-card,
    .rmg-roadmap-step,
    .rmg-balance-cards article,
    .rmg-trust-card,
    .rmg-faq-grid article,
    .rmg-form-card,
    .rmg-copy-list > div {
        padding: 20px;
    }

    .rmg-hero-copy h1 {
        font-size: clamp(1.95rem, 8vw, 2.8rem);
        line-height: 1.16;
    }

    .rmg-hero-description,
    .rmg-section-head p,
    .rmg-balance-copy p,
    .rmg-cta-band-inner p,
    .rmg-consult-copy > p,
    .rmg-other-note {
        font-size: 0.94rem;
        line-height: 1.7;
        margin-top: 14px;
    }

    .rmg-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rmg-secondary-btn,
    .rmg-band-btn {
        min-height: 52px;
        width: 100%;
        border-radius: 16px;
    }

    .rmg-hero-trust {
        gap: 10px;
        font-size: 0.9rem;
    }

    .rmg-roadmap-step {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px;
    }

    .rmg-step-no {
        width: 56px;
        height: 56px;
        font-size: 0.95rem;
    }

    .rmg-cta-band-inner {
        padding: 22px 20px;
        border-radius: 24px;
    }
}
