:root {
    --bark-1: #6e4f3a; /* deep bark */
    --bark-2: #8b674e; /* mid bark */
    --bark-3: #a57e60; /* light bark */
    --leaf-1: #2f7d32; /* deep leaf */
    --leaf-2: #56a36f; /* light leaf */
    --bg: #f5f2ee; /* paper-like bg */
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --radius: 20px;
}

html,
body {
    height: 100%;
}
body {
    margin: 0;
    display: grid;
    place-items: center;
    background: var(--bg);
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Tree mark (inline SVG sized via CSS) */
.mark {
    inline-size: 56px; /* logical width */
    block-size: 56px; /* logical height */
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: radial-gradient(
        120% 120% at 20% 15%,
        #e8f3ea 0%,
        #d9efe0 50%,
        #cce7d5 100%
    );
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.75),
        0 8px 20px rgba(47, 125, 50, 0.18);
}

/* Wordmark with wood grain text */
.word {
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    font-size: clamp(30px, 6vw, 44px);
    position: relative;
    color: transparent;

    /* Simple layered grain using gradients, clipped to text */
    background:
        repeating-linear-gradient(
            18deg,
            var(--bark-1) 0 6px,
            var(--bark-2) 6px 12px,
            var(--bark-3) 12px 18px
        ),
        repeating-linear-gradient(
            -18deg,
            rgba(0, 0, 0, 0.05) 0 8px,
            rgba(0, 0, 0, 0) 8px 16px
        );
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.08));
}

/* Subtle "root" underline */
.rootline {
    display: block;
    height: 6px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        var(--leaf-1),
        var(--leaf-2)
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 2px 6px rgba(47, 125, 50, 0.25);
}

@media (max-width: 420px) {
    .logo {
        padding: 12px 14px;
        border-radius: 16px;
        gap: 12px;
    }
    .mark {
        inline-size: 48px;
        block-size: 48px;
        border-radius: 12px;
    }
    .rootline {
        height: 5px;
    }
}
