/* Root marketing landing — reuses openmud earth tokens + Merriweather */

:root {
    --bg: #15120f;
    --bg-card: #1d1914;
    --bg-card-hover: #241e18;
    --border: #332a22;
    --border-light: #4b3c30;
    --text: #efe8dd;
    --text-secondary: #b4a692;
    --text-tertiary: #8f7f69;
    --earth: #bb9871;
    --earth-light: #d3b48f;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body.page-root {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1rem;
    line-height: 1.6;
}

.rl-hero {
    position: relative;
    min-height: calc(100vh - 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: clamp(48px, 8vh, 96px) 24px clamp(56px, 10vh, 110px);
}

.rl-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(187, 152, 113, 0.18), transparent 55%),
        radial-gradient(ellipse 70% 50% at 20% 80%, rgba(80, 55, 35, 0.35), transparent 50%),
        linear-gradient(165deg, #1a1612 0%, #12100d 45%, #0e0c0a 100%);
}

.rl-hero-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(0.75) contrast(1.05);
    animation: rl-bg-drift 28s ease-in-out infinite alternate;
}

.rl-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(16, 12, 9, 0.55) 0%, rgba(16, 12, 9, 0.78) 45%, rgba(21, 18, 15, 0.96) 100%);
}

.rl-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    text-align: center;
    animation: rl-fade-up 0.7s ease both;
}

.rl-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
    font-size: clamp(1.65rem, 4.5vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
}

.rl-brand img {
    width: clamp(36px, 5vw, 48px);
    height: clamp(36px, 5vw, 48px);
    object-fit: contain;
}

.rl-hero h1 {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 4.2vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
}

.rl-hero h1 em {
    font-style: italic;
    color: var(--earth-light);
    font-weight: 700;
}

.rl-hero-sub {
    margin: 0 auto 32px;
    max-width: 34em;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 300;
    animation: rl-fade-up 0.7s 0.12s ease both;
}

.rl-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    animation: rl-fade-up 0.7s 0.22s ease both;
}

.rl-btn-primary,
.rl-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s, filter 0.15s;
}

.rl-btn-primary {
    background: var(--earth);
    color: #15120f;
}

.rl-btn-primary:hover {
    filter: brightness(1.08);
}

.rl-btn-secondary {
    border: 1px solid var(--border-light);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.rl-btn-secondary:hover {
    border-color: rgba(187, 152, 113, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.rl-section {
    padding: clamp(48px, 8vw, 88px) 24px;
    max-width: 1040px;
    margin: 0 auto;
}

.rl-section-label {
    margin: 0 0 10px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--earth);
    font-weight: 700;
}

.rl-section-title {
    margin: 0 0 12px;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.rl-section-sub {
    margin: 0 0 36px;
    max-width: 36em;
    color: var(--text-secondary);
    font-size: 0.98rem;
    font-weight: 300;
}

.rl-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}

.rl-outcome {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 24px;
    background: var(--bg);
    color: inherit;
    text-decoration: none;
    transition: background 0.15s;
}

.rl-outcome:hover {
    background: var(--bg-card-hover);
}

.rl-outcome-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text);
}

.rl-outcome-desc {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    font-weight: 300;
}

.rl-outcome-prompt {
    margin: 8px 0 0;
    padding: 10px 12px;
    border-left: 2px solid rgba(187, 152, 113, 0.45);
    background: rgba(187, 152, 113, 0.08);
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--earth-light);
    font-style: italic;
}

.rl-outcome-go {
    margin-top: 4px;
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.rl-outcome:hover .rl-outcome-go {
    color: var(--earth-light);
}

.rl-tools-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(29, 25, 20, 0.55);
}

.rl-tools-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 56px) 24px;
}

.rl-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.rl-tool {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 4px 0;
}

.rl-tool-name {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.rl-tool-desc {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-secondary);
    font-weight: 300;
}

.rl-tool:hover .rl-tool-name {
    color: var(--earth-light);
}

.rl-tool-note {
    margin: 22px 0 0;
    font-size: 0.82rem;
    color: var(--text-tertiary);
    font-weight: 300;
}

.rl-tool-note a {
    color: var(--earth-light);
}

.rl-closing {
    text-align: center;
    padding-bottom: clamp(64px, 10vw, 100px);
}

.rl-closing .rl-section-title {
    margin-bottom: 20px;
}

@keyframes rl-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rl-bg-drift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}

@media (max-width: 820px) {
    .rl-outcomes,
    .rl-tools-grid {
        grid-template-columns: 1fr;
    }

    .rl-hero {
        min-height: auto;
        padding-top: 56px;
        padding-bottom: 64px;
    }

    .rl-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rl-btn-primary,
    .rl-btn-secondary {
        width: 100%;
    }
}
