@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
    --bg: #FAF8F3;
    --bg2: #EEF3F1;
    --ink: #1F2A2E;
    --body: #4F5D61;
    --teal: #2F7C85;
    --teal-d: #256770;
    --blue: #8FA8D6;
    --card: #fff;
    --line: #E1E7E4;
    --sage: #DCEBE6;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

:root:not([data-theme="light"]) {
    color-scheme: light dark
}

@media(prefers-color-scheme:dark) {
    :root:not([data-theme="light"]) {
        --bg: #131B1D;
        --bg2: #1B2629;
        --ink: #F1F5F4;
        --body: #B9C6C8;
        --teal: #5FB3BD;
        --teal-d: #2F7C85;
        --card: #1D282B;
        --line: #2D3C40;
        --sage: #22363A
    }
}

:root[data-theme="dark"] {
    --bg: #131B1D;
    --bg2: #1B2629;
    --ink: #F1F5F4;
    --body: #B9C6C8;
    --teal: #5FB3BD;
    --teal-d: #2F7C85;
    --card: #1D282B;
    --line: #2D3C40;
    --sage: #22363A
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 110px)
}

*,
*:before,
*:after {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--body);
    font: 400 16.5px/1.7 Inter, system-ui, sans-serif
}

body:before {
    content: "";
    position: fixed;
    inset: 0 0 auto;
    height: env(safe-area-inset-top, 0px);
    background: var(--ink);
    z-index: 50
}

h1,
h2,
h3 {
    font-family: "Roboto", sans-serif;
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 .5em;
    font-weight: 500
}

h1 {
    font-size: clamp(2.3rem, 5.5vw, 3.2rem)
}

h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem)
}

h3 {
    font-size: 1.2rem
}

p {
    margin: 0 0 1em
}

a {
    color: var(--teal-d)
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px
}

section {
    padding: 68px 0
}

.top {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 40
}

.ann {
    background: var(--ink);
    color: #fff;
    text-align: center;
    font-size: .82rem;
    padding: 9px 14px
}

.ann a {
    color: #fff
}

.hd {
    background: var(--bg);
    border-bottom: 1px solid var(--line)
}

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 18px
}

.brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0
}

nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 500
}

nav a:hover {
    color: var(--teal)
}

#menu {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--ink)
}

.btn {
    display: inline-block;
    background: var(--teal-d);
    color: #fff;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: .95rem;
    transition: transform .2s, background .2s
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--teal)
}

.btn.out {
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff
}

.btn.sm {
    padding: 9px 20px;
    font-size: .85rem;
    white-space: nowrap;
    margin-left: auto
}

.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px
}

:where(a, button):focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(76vh, 620px);
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #cfe2dd, #a9bfe0);
    color: #fff
}

.hero .wrap {
    margin: 0;
}

.hero>.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(15, 30, 33, .75), rgba(15, 30, 33, .4) 50%, rgba(15, 30, 33, 0) 85%)
}

.hero h1,
.hero p {
    color: #fff
}

.hero .copy {
    max-width: 580px
}

.eyebrow {
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px
}

.hero .eyebrow {
    color: #CFE8E4
}

.grid {
    display: grid;
    gap: 20px
}

.tiles {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 30px
}

.tile {
    position: relative;
    display: block;
    border-radius: 22px;
    overflow: hidden;
    background: var(--sage);
    color: var(--ink);
    text-decoration: none;
    border: 1px solid var(--line);
    transition: transform .25s
}

.tile:hover {
    transform: translateY(-4px)
}

.tile img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    background: var(--sage)
}

.tile div {
    padding: 18px
}

.tile h3 {
    margin: 0 0 6px
}

.tile p {
    margin: 0;
    font-size: .9rem
}

.prod {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden
}

.card img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background: var(--sage)
}

.card div {
    padding: 18px 20px 22px
}

.card p {
    font-size: .92rem;
    margin: 0 0 12px
}

.alt {
    background: var(--bg2)
}

.trio {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px
}

.val img {
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 20px;
    background: var(--sage);
    margin-bottom: 16px
}

.val i {
    color: var(--teal)
}

.steps {
    counter-reset: s;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr)
}

.steps li {
    counter-increment: s;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px
}

.steps li:before {
    content: "0" counter(s);
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--teal);
    margin-bottom: 4px
}

.note {
    font-size: .88rem;
    border-left: 3px solid var(--teal);
    padding-left: 14px
}

.faq {
    max-width: 820px
}

.faq h3 {
    margin: 0;
    font: 600 1rem Inter, sans-serif
}

.faq button {
    all: unset;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 4px;
    cursor: pointer;
    color: var(--ink);
    font-weight: 600;
    border-bottom: 1px solid var(--line)
}

.faq button:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px
}

.faq button i {
    color: var(--teal);
    transition: transform .25s
}

.faq button[aria-expanded=true] i {
    transform: rotate(180deg)
}

.ans {
    display: none;
    padding: 14px 4px 4px
}

.ans.open {
    display: block
}

.cta {
    position: relative;
    isolation: isolate;
    text-align: center;
    color: #fff;
    background: var(--teal-d);
    padding: 84px 0
}

.cta>.bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2
}

.cta:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(20, 50, 55, .7)
}

.cta h2,
.cta p {
    color: #fff
}

.cta p {
    max-width: 60ch;
    margin: 0 auto 1em
}

.cta .row {
    justify-content: center
}

footer {
    background: var(--ink);
    color: #D5DEDF;
    padding: 44px 0 30px;
    font-size: .88rem
}

footer a {
    color: #fff
}

footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding: 0;
    margin: 0 0 20px
}

footer p {
    max-width: 85ch
}

/* added sections: reuse existing tokens */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1.8fr !important;
}

.lola-period-care-split {
    display: grid;
    grid-template-columns: 1.8fr 1fr !important;
}

.lola-sexual-wellness-split {
    display: grid;
    grid-template-columns: 1.8fr 1fr !important;
}

.lola-education-community-split {
    display: grid;
    grid-template-columns: 1.8fr 1fr !important;
}

.lola-ingredients-split {
    display: grid;
    grid-template-columns: 1fr 1.8fr !important;
}

.split img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 22px;
    background: var(--sage);
    border: 1px solid var(--line)
}

.split.rev img {
    order: 2
}

.quad {
    grid-template-columns: repeat(4, 1fr);
    margin-top: 26px
}

.tri2 {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 26px
}

.info {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px
}

.info i {
    color: var(--teal);
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: block
}

.info h3 {
    margin-bottom: 6px
}

.info p {
    font-size: .92rem;
    margin: 0 0 10px
}

.tw {
    overflow-x: auto;
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--card)
}

table {
    border-collapse: collapse;
    width: 100%;
    min-width: 640px;
    font-size: .92rem
}

th,
td {
    text-align: left;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    vertical-align: top
}

th {
    color: var(--ink);
    background: var(--sage);
    font-weight: 600
}

tr:last-child td {
    border-bottom: 0
}

@media(max-width:1080px) {
    #menu {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 12px 22px
    }

    nav.open {
        display: block
    }

    nav ul {
        flex-direction: column;
        gap: 12px
    }
}

@media(max-width:900px) {

    .tiles,
    .quad {
        grid-template-columns: repeat(2, 1fr)
    }

    .prod,
    .trio,
    .steps,
    .tri2,
    .split {
        grid-template-columns: 1fr !important;
    }

    .split.rev img {
        order: 0
    }

    .split img {
        aspect-ratio: 3/2
    }

    section {
        padding: 50px 0
    }

    .hero {
        min-height: auto;
        padding: 70px 0
    }

    .hero:before {
        background: rgba(15, 30, 33, .6)
    }
}

@media(max-width:520px) {

    .tiles,
    .quad {
        grid-template-columns: 1fr
    }

    .brand {
        font-size: 1rem
    }

    .btn.sm {
        padding: 8px 14px;
        font-size: .8rem
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important
    }
}