section {
    text-align: center;
    padding: var(--spacing-4xl) var(--spacing-2xl);
}
section:not(:first-of-type) {
    background: white;
}
ul {
    list-style: none;
    width: var(--safe-area);
    margin-left: auto;
    margin-right: auto;
    margin-block: var(--spacing-5xl) 0;
}
ul li h2 {
    line-height: unset;
}
ul li h3 {
    color: gray;
    line-height: 125%;
    text-wrap: unset;
}
hgroup {
    text-wrap: balance;
    width: min(1024px, 100%);
    margin: var(--spacing-3xl) auto var(--spacing-4xl) auto;
}
hgroup p {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: color-mix(in srgb, black, var(--dimmed-color) 25%);
}
img.icon {
    width: 4rem;
    height: 4rem;
    margin-block: var(--spacing-md) var(--spacing-lg);
    display: block;
}
section#welcome {
    background: linear-gradient(to bottom, rgb(249 233 246), rgb(197 216 252) 75%);
}
section#welcome hgroup {
    margin-top: var(--spacing-4xl);
}
section#welcome .controls {
    display: flex;
    flex-flow: row wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-4xl);
}
section#welcome .controls a {
    flex-grow: 1;
}
@media (min-width: 560px) {
    section#welcome .controls a {
        flex-grow: unset;
    }
}
section#welcome button {
    font-size: var(--font-size-lg);
    padding: var(--spacing-lg) var(--spacing-3xl);
    width: 100%;
}
section#welcome hgroup p {
    margin-top: var(--spacing-3xl);
}
section#highlights ul {
    gap: var(--spacing-2xl);
    display: grid;
    grid: auto-flow dense / repeat(auto-fit, minmax(250px, 1fr));
}
section#highlights ul li {
    --shadow-color: rgb(0 0 0 / 0.05);
    text-align: left;
    padding: var(--spacing-3xl);
    border-radius: 14px;
    box-shadow:
        0px 0px 0px 1px var(--shadow-color),
        0px 1px 1px -0.5px var(--shadow-color),
        0px 3px 3px -1.5px var(--shadow-color),
        0px 6px 6px -3px var(--shadow-color),
        0px 12px 12px -6px var(--shadow-color),
        0px 24px 24px -12px var(--shadow-color);
}
section#highlights ul li h2 {
    margin-block: var(--spacing-3xl) var(--spacing-2xl);
}
.mockups {
    position: relative;
    height: clamp(768px, 75lvh, 1024px);
}
.mockups .window {
    border-top-left-radius: 14px;
    border-bottom-left-radius: 14px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 1px solid slategray;
    border-right-color: transparent;
}
@media (min-width: 768px) {
    .mockups .window {
        width: 95%;
        border-radius: 14px;
        border-right-color: slategray;
    }
}
.mockups .window .header {
    width: 100%;
    height: 36px;
    background:
        radial-gradient(circle at 20px 50%, var(--dimmed-color) 7px, transparent 7px),
        radial-gradient(circle at 40px 50%, var(--dimmed-color) 7px, transparent 7px),
        radial-gradient(circle at 60px 50%, var(--dimmed-color) 7px, transparent 7px),
        slategray;
    background-repeat: no-repeat;
}
.mockups .iphone {
    position: absolute;
    translate: 0 5px;
    bottom: 0;
    right: 0;
    z-index: 1;
    height: 75%;
    aspect-ratio: 0.489;
}
.mockups .iphone img {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.mockups object {
    width: 100%;
    height: 100%;
    pointer-events: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.mockups .iphone object {
    padding-block: 60px 0;
    width: calc(100% - 28px);
    height: calc(100% - 12px);
    background: var(--primary-color);
    border-radius: 50px;
    margin-top: 5px;
}
:is(section#stats, section#tools) .description {
    display: grid;
    gap: var(--spacing-3xl);
    background: color-mix(in oklch, var(--secondary-color), transparent 80%);
    border-radius: 32px;
    padding-block: var(--spacing-2xl);
    overflow-x: hidden;
}
:is(section#stats, section#tools) .description > .mockups {
    margin-left: var(--spacing-2xl);
}
:is(section#stats, section#tools) .description > ul {
    padding: 0 var(--spacing-2xl);
}
@media (min-width: 768px) {
    :is(section#stats, section#tools) .description > * {
        margin: 0 var(--spacing-2xl);
    }
    section#stats .description {
        grid-template-columns: minmax(0, 60%) 1fr;
    }
    section#tools .description {
        grid-template-columns: 1fr minmax(0, 60%);
    }
}
:is(section#stats, section#tools) .description ul {
    width: unset;
    margin: 0;
}
:is(section#stats, section#tools) .description ul li {
    text-align: left;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--spacing-2xl);
    row-gap: var(--spacing-sm);
    margin-block: var(--spacing-xl) var(--spacing-md);
}
:is(section#stats, section#tools) .description ul li img {
    width: 4rem;
    height: 4rem;
    margin: 0;
    grid-row: 1 / span 3;
}
:is(section#stats, section#tools) .description ul li h2 {
    font-size: var(--font-size-xl);
}
section#tools .mockups .iphone {
    right: unset;
    left: 0;
}
section#tools .mockups .window {
    margin-left: auto;
}
section#advantages ul {
    gap: var(--spacing-xl);
    display: grid;
    grid: auto-flow dense / repeat(auto-fit, minmax(250px, 1fr));
}
section#advantages ul li {
    border-radius: 3px;
    padding: var(--spacing-xl);
    display: flex;
    flex-flow: column nowrap;
}
section#advantages ul li h2 {
    display: inline-flex;
    flex-flow: row wrap;
    gap: var(--spacing-lg);
    align-items: center;
    justify-content: center;
    margin-block: var(--spacing-4xl) var(--spacing-2xl);
}
section#reasons ul {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: var(--spacing-2xl);
}
@media (min-width: 1024px) {
    section#reasons ul {
        grid-template-columns: repeat(3, 1fr);
    }
}
section#reasons ul li {
    text-align: left;
    padding: var(--spacing-3xl);
}
section#reasons ul li h2 {
    font-size: var(--font-size-lg);
    margin-block: var(--spacing-3xl) var(--spacing-2xl);
}
:is(section#networks, section#brands) {
    background: var(--dimmed-color);
}
:is(section#networks, section#brands) ul {
    display: grid;
    grid-auto-flow: dense;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: var(--spacing-2xl);
}
@media (min-width: 1024px) {
    :is(section#networks, section#brands) ul {
        grid-template-columns: repeat(4, 1fr);
    }
}
:is(section#networks, section#brands) ul li {
    border-radius: 16px;
    overflow: hidden;
    background: white;
}
:is(section#networks, section#brands) ul li img {
    width: 100%;
    height: 100%;
}
:is(section#networks, section#brands) ul li:last-child {
    font-size: var(--font-size-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dimmed-color);
    font-weight: 300;
    min-height: 100px;
}
section#impact .description {
    width: var(--safe-area);
    margin: 0 auto;
    border-radius: 32px;
    padding: var(--spacing-2xl) var(--spacing-3xl) 0 var(--spacing-3xl);
    transition: background 0.5s ease-out;
}
section#impact .description:has(.tab.active#for-publishers) {
    background: linear-gradient(to bottom, rgb(252 236 232), rgb(251 236 197) 75%);
}
section#impact .description:has(.tab.active#for-advertisers) {
    background: linear-gradient(to bottom, rgb(249 233 246), rgb(197 216 252) 75%);
}
section#impact .description .controls {
    background: black;
    width: fit-content;
    display: inline-flex;
    gap: var(--spacing-md);
    border-radius: 26px;
    padding: 8px;
}
section#impact .description .controls button {
    border-radius: 18px;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-md);
    background: transparent;
    transition: background 250ms ease-out;
}
@media (hover) {
    section#impact .description .controls button:hover {
        background: color-mix(in srgb, gray, transparent 50%);
    }
}
section#impact .description .controls button.active {
    background: color-mix(in srgb, gray, transparent 25%);
}
section#impact .description .tab {
    display: none;
    grid: auto-flow dense / repeat(auto-fit, minmax(25%, 1fr));
    margin-top: var(--spacing-2xl);
}
section#impact .description .tab.active {
    display: grid;
}
section#impact .description .tab .text {
    display: flex;
    flex-flow: column nowrap;
    justify-content: end;
    text-align: left;
    margin-bottom: var(--spacing-4xl);
}
section#impact .description .tab .text h2 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-block: var(--spacing-xl) var(--spacing-2xl);
}
section#impact .description .tab .text p {
    font-size: var(--font-size-lg);
    color: color-mix(in srgb, black, var(--dimmed-color) 25%);
    margin-block: var(--spacing-xl) var(--spacing-3xl);
}
section#impact .description .tab img {
    display: none;
    width: clamp(256px, 70%, 968px);
    margin-left: auto;
    margin-top: auto;
}
@media (min-width: 768px) {
    section#impact .description .tab img {
        display: block;
    }
}
