/* Shared between standalone pages and ShopLeaf template. Namespaced under .td-site. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Nunito:wght@500;600;700;800;900&display=swap');

:root {
    --td-ink: #392638;
    --td-plum: #562f50;
    --td-leaf: #70842a;
    --td-brown: #95612e;
    --td-peach: #f8e0d0;
    --td-cream: #faf7ef;
    --td-white: #fff;
    --td-sky: #e3f3f7;
    --td-lilac: #f2eaf5;
    --td-radius: 28px
}

*,
*:before,
*:after {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--td-cream);
    color: var(--td-ink)
}

.td-site {
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: clip
}

.td-site img {
    max-width: 100%;
    display: block
}

.td-site a {
    color: inherit
}

.td-site h1,
.td-site h2,
.td-site h3,
.td-site .td-brand {
    font-family: Nunito, 'Trebuchet MS', sans-serif;
    line-height: 1.14
}

.td-site h1 {
    font-size: clamp(2.85rem, 6vw, 5.7rem);
    letter-spacing: -.055em;
    margin: 0 0 18px;
    font-weight: 900
}

.td-site h2 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    letter-spacing: -.04em;
    margin: 0 0 15px
}

.td-site h3 {
    font-size: 1.45rem;
    margin: 0 0 9px
}

.td-site p {
    margin: 0 0 1rem
}

.td-site .td-wrap {
    width: min(1160px, calc(100% - 40px));
    margin-inline: auto
}

.td-site .td-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fffdf5ef;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #ebdfcd
}

.td-site .td-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 15px
}

.td-site .td-brand {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--td-plum);
    letter-spacing: -.06em
}

.td-site .td-brand img {
    width: 55px;
    height: 55px
}

.td-site .td-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-weight: 700;
    font-size: .95rem
}

.td-site .td-nav-links a {
    text-decoration: none
}

.td-site .td-nav-links a:hover,
.td-site .td-nav-links a:focus-visible {
    color: var(--td-leaf)
}

.td-site .td-menu {
    display: none;
    border: 1px solid #d9d1c3;
    border-radius: 12px;
    background: white;
    padding: 9px 13px;
    font-weight: 800
}

.td-site .td-hero {
    background: radial-gradient(ellipse at 65% 10%, #e8f6f7, transparent 55%), linear-gradient(160deg, #f8f6ec, #f7eddd);
    padding: 76px 0 84px;
    position: relative;
    isolation: isolate
}

.td-site .td-hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: radial-gradient(42px 22px at 42px 0, #f8f6ec 99%, transparent 101%) repeat-x;
    background-size: 84px 28px
}

.td-site .td-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.02fr;
    align-items: center;
    gap: 55px
}

.td-site .td-overline {
    font-size: .83rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--td-leaf);
    font-weight: 900;
    display: block;
    margin-bottom: 16px
}

.td-site .td-hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 520px;
    color: #675361
}

.td-site .td-hero-image {
    position: relative;
    border-radius: 50% 50% 35% 35%;
    background: #e8efda;
    padding: 16px;
    box-shadow: 0 22px 55px #7c724121;
    min-width: 0
}

.td-site .td-hero-image:before {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px dotted #a9bd84;
    border-radius: 50% 50% 35% 35%;
    pointer-events: none
}

.td-site .td-hero-image img {
    height: 435px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 52%;
    border-radius: 48% 48% 30% 30%
}

.td-site .td-hero-image figcaption {
    position: absolute;
    right: -11px;
    bottom: 24px;
    background: #fff;
    border-radius: 50px;
    padding: 10px 19px;
    box-shadow: 0 6px 22px #271c241a;
    font-weight: 800;
    font-size: .9rem;
    color: var(--td-plum)
}

.td-site .td-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 27px
}

.td-site .td-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background: var(--td-plum);
    color: #fff;
    border-radius: 100px;
    padding: 13px 23px;
    font-weight: 800;
    min-height: 47px
}

.td-site .td-button:hover {
    background: #75446a
}

.td-site .td-button-alt {
    background: #fff;
    color: var(--td-plum);
    border: 2px solid #bba3ad
}

.td-site .td-button-alt:hover {
    background: #f0e8eb
}

.td-site .td-section {
    padding: 92px 0
}

.td-site .td-centered {
    text-align: center
}

.td-site .td-muted {
    color: #6f6470
}

.td-site .td-intro {
    max-width: 690px;
    margin: 0 auto 36px;
    font-size: 1.15rem
}

.td-site .td-book {
    background: #fff
}

.td-site .td-book-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 55px;
    align-items: center
}

.td-site .td-book-image {
    border-radius: var(--td-radius);
    overflow: hidden;
    box-shadow: 0 20px 55px #49362a20
}

.td-site .td-book-image img {
    width: 100%;
    max-height: 540px;
    object-fit: cover
}

.td-site .td-tag {
    background: #e8f0cf;
    padding: 6px 13px;
    border-radius: 50px;
    font-size: .8rem;
    letter-spacing: .08em;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 18px
}

.td-site .td-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px
}

.td-site .td-card {
    background: #fff;
    border: 1px solid #ede5d9;
    border-radius: 23px;
    overflow: hidden;
    box-shadow: 0 8px 18px #57482d0b
}

.td-site .td-card img {
    width: 100%;
    height: 240px;
    object-fit: cover
}

.td-site .td-card-body {
    padding: 24px
}

.td-site .td-roots {
    background: var(--td-lilac)
}

.td-site .td-app-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px
}

.td-site .td-app {
    background: #fff;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #e5daed;
    min-height: 185px
}

.td-site .td-app .td-app-symbol {
    height: 65px;
    font-family: Nunito, sans-serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--td-plum);
    display: grid;
    place-items: center
}

.td-site .td-app:nth-child(2) .td-app-symbol {
    color: #bd7543
}

.td-site .td-app:nth-child(3) .td-app-symbol {
    color: #70842a
}

.td-site .td-app:nth-child(4) .td-app-symbol {
    color: #578fa1
}

.td-site .td-small {
    font-size: .9rem
}

.td-site .td-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px
}

.td-site .td-person {
    background: #fff;
    padding: 32px;
    border: 1px solid #e9e2d5;
    border-radius: 24px
}

.td-site .td-person .td-role {
    color: var(--td-leaf);
    font-weight: 900;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .12em
}

.td-site .td-banner {
    background: var(--td-plum);
    color: #fff;
    text-align: center;
    padding: 70px 0
}

.td-site .td-banner p {
    color: #f3e6ee
}

.td-site .td-footer {
    background: #322533;
    color: #f5efe4;
    padding: 55px 0 25px
}

.td-site .td-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px
}

.td-site .td-footer a {
    text-decoration: none
}

.td-site .td-footer a:hover {
    text-decoration: underline
}

.td-site .td-footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px
}

.td-site .td-footer .td-brand {
    color: #fff;
    font-size: 1.45rem
}

.td-site .td-footer .td-brand img {
    width: 46px;
    height: 46px
}

.td-site .td-copyright {
    border-top: 1px solid #675568;
    margin-top: 36px;
    padding-top: 19px;
    font-size: .82rem;
    color: #d0c5cc
}

.td-site .td-policy {
    background: #fff
}

.td-site .td-prose {
    max-width: 800px;
    margin: 0 auto;
    padding: 75px 0 100px
}

.td-site .td-prose h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -.04em
}

.td-site .td-prose h2 {
    font-size: 1.6rem;
    margin-top: 37px
}

.td-site .td-prose li {
    margin-bottom: 10px
}

.td-site .td-prose a {
    color: #6e4470;
    text-decoration-thickness: 1px
}

.td-site .td-note {
    background: #fff8e5;
    border-left: 4px solid #a68b44;
    padding: 18px 22px;
    border-radius: 6px;
    margin: 20px 0
}

.td-site .td-figure {
    margin: 0
}

.td-site .td-image-triptych {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px
}

.td-site .td-image-triptych img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px
}

.td-site [data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1)
}

.td-site [data-reveal].td-visible {
    opacity: 1;
    transform: translateY(0)
}

.td-site .td-floating-leaf {
    position: absolute;
    top: 6%;
    right: 6%;
    color: var(--td-leaf);
    font-size: 42px;
    opacity: .65;
    pointer-events: none
}

.td-site .td-reader-box {
    background: var(--td-sky);
    border-radius: 24px;
    padding: 30px;
    margin-top: 22px
}

.td-site .td-reader-box p:last-child {
    margin: 0
}

.td-site .td-legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 25px
}

.td-site :focus-visible {
    outline: 3px solid #e39348;
    outline-offset: 4px
}

@media(max-width:900px) {

    .td-site .td-hero-grid,
    .td-site .td-book-grid {
        grid-template-columns: 1fr
    }

    .td-site .td-hero-image {
        max-width: 590px;
        margin: auto
    }

    .td-site .td-app-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .td-site .td-cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .td-site .td-team {
        grid-template-columns: 1fr
    }

    .td-site .td-book-grid .td-book-image {
        order: -1
    }
}

@media(max-width:640px) {
    .td-site .td-wrap {
        width: min(100% - 30px, 1160px)
    }

    .td-site .td-nav-inner {
        min-height: 68px
    }

    .td-site .td-brand {
        font-size: 1.47rem
    }

    .td-site .td-brand img {
        width: 45px;
        height: 45px
    }

    .td-site .td-menu {
        display: block
    }

    .td-site .td-nav-links {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 68px;
        padding: 18px 22px;
        background: #fffdf7;
        flex-direction: column;
        align-items: flex-start;
        box-shadow: 0 10px 20px #352e301a
    }

    .td-site .td-nav-links.td-open {
        display: flex
    }

    .td-site .td-hero {
        padding: 54px 0 66px
    }

    .td-site .td-hero-grid {
        gap: 43px
    }

    .td-site .td-hero-image img {
        height: 320px
    }

    .td-site .td-hero-image figcaption {
        right: 5px
    }

    .td-site .td-section {
        padding: 65px 0
    }

    .td-site .td-cards,
    .td-site .td-app-grid,
    .td-site .td-footer-grid,
    .td-site .td-image-triptych {
        grid-template-columns: 1fr
    }

    .td-site .td-app {
        min-height: 140px
    }

    .td-site .td-image-triptych img {
        height: auto
    }

    .td-site .td-prose {
        padding: 60px 0
    }

    .td-site .td-footer-grid {
        gap: 24px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .td-site [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none !important
    }

    .td-site [data-parallax] {
        transform: none !important
    }
}