/* Base */

:root {
    color-scheme: light;
    --yurba-brand-color: #3b6fff;
    --yurba-brand-color-opacity: #3b6fff25;
    --yurba-on-brand-color: #fff;
    --yurba-main-color: #fff;
    --yurba-body-color: #e7e7e7;
    --yurba-soft-color: #f0f2f8;
    --yurba-text-color: #121212;
    --yurba-border-color: #00000014;
    --yurba-hover-color: #0000000f;
    --yurba-red-color: #ff4444;
    --yurba-star-color: var(--landing-blue);
    --yurba-star-soft-color: #f0f2f8;
    --landing-blue: #3b6fff;
    --landing-red: #ff3b5c;
    --landing-header-height: 64px;
    --landing-story-ring: var(--landing-blue);
    --landing-story-seen: #8c8c8c80;
    --landing-gold-text: #a36600;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --yurba-brand-color: #fff;
    --yurba-brand-color-opacity: #ffffff17;
    --yurba-on-brand-color: #0e0e0e;
    --yurba-main-color: #0e0e0e;
    --yurba-body-color: #141414;
    --yurba-soft-color: #040404;
    --yurba-text-color: #fff;
    --yurba-border-color: #ffffff14;
    --yurba-hover-color: #ffffff0f;
    --yurba-star-color: #262626;
    --yurba-star-soft-color: #040404;
    --landing-gold-text: #ffb02e;
}

/* A phone's browser paints a blue box over whatever is tapped; every element shows its own pressed state instead */
*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--landing-header-height) + 16px);
}

body {
    margin: 0;
    background: var(--yurba-main-color);
    color: var(--yurba-text-color);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin: 0;
}

/* a class that sets display would otherwise show a hidden element */
[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
}

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 100px;
    background: none;
    color: var(--yurba-text-color);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s, background .15s, transform .15s;
}

.btn:active {
    transform: scale(.98);
}

.btn .material-symbols-rounded {
    font-size: 20px;
}

.btn-lg {
    min-height: 56px;
    padding: 0 28px;
    font-size: 16px;
}

.btn-primary {
    background: var(--yurba-brand-color);
    color: var(--yurba-on-brand-color);
}

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

.btn-outline {
    border-color: var(--yurba-border-color);
    background: var(--yurba-main-color);
}

.btn-outline:hover {
    background: var(--yurba-hover-color);
}

.btn-light {
    background: #fff;
    color: #121212;
}

.btn-light:hover {
    filter: brightness(.95);
}

.btn-ghost {
    border-color: #ffffff59;
    color: #fff;
}

.btn-ghost:hover {
    background: #ffffff1a;
}

@media (max-width: 520px) {
    .btn-fluid {
        width: 100%;
    }
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--yurba-border-color);
    background: var(--yurba-main-color);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: var(--landing-header-height);
}

.header-brand {
    display: flex;
    justify-self: start;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.header-brand__logo {
    width: 26px;
    height: 26px;
    background: var(--yurba-brand-color);
    -webkit-mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
    mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
}

.header-nav {
    display: flex;
    align-self: stretch;
    gap: 35px;
}

.header-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    opacity: .55;
    transition: opacity .15s;
}

.header-nav__link:hover {
    opacity: .85;
}

.header-nav__link.is-active {
    opacity: 1;
}

.header-nav__link.is-active::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -1px;
    left: -6px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--yurba-text-color);
}

.header-actions {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 8px;
}

.header-lang__button,
.header-theme,
.header-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 100px;
    background: var(--yurba-main-color);
    color: var(--yurba-text-color);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.header-theme,
.header-burger {
    padding: 0;
}

.header-lang__button:hover,
.header-theme:hover,
.header-burger:hover {
    background: var(--yurba-hover-color);
}

.header-lang__button .material-symbols-rounded,
.header-theme__icon {
    font-size: 20px;
}

.header-burger {
    position: relative;
    display: none;
}

.header-burger::before,
.header-burger::after {
    content: "";
    position: absolute;
    left: 11px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: top .3s ease, transform .3s ease;
}

.header-burger::before {
    top: 14px;
}

.header-burger::after {
    top: 22px;
}

.header.is-open .header-burger::before,
.header.is-open .header-burger::after {
    top: 18px;
}

.header.is-open .header-burger::before {
    transform: rotate(45deg);
}

.header.is-open .header-burger::after {
    transform: rotate(-45deg);
}

/* closed, it is kept for the slide but taken out of focus and reading order */
.header-menu {
    position: fixed;
    top: var(--landing-header-height);
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    background: var(--yurba-main-color);
    box-shadow: 0 24px 40px -20px #00000040;
    transition: max-height .35s ease, visibility 0s .35s;
}

.header.is-open .header-menu {
    max-height: calc(100dvh - var(--landing-header-height));
    overflow-y: auto;
    visibility: visible;
    transition: max-height .35s ease;
}

.header-menu__inner {
    display: flex;
    flex-direction: column;
    padding: 8px 0 24px;
}

.header-menu__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--yurba-border-color);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
}

.header-menu__link.is-active {
    color: var(--yurba-brand-color);
}

.header-menu__login {
    width: 100%;
    margin-top: 24px;
}

.has-menu {
    overflow: hidden;
}

@media (max-width: 991px) {
    .header-inner {
        grid-template-columns: auto 1fr;
    }

    .header-nav,
    .header-login {
        display: none;
    }

    .header-burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header-lang__code {
        display: none;
    }

    .header-lang__button {
        padding: 0;
    }
}

@media (min-width: 992px) {
    .header-menu {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-burger::before,
    .header-burger::after,
    .header-menu,
    .header.is-open .header-menu {
        transition: none;
    }
}

/* Reveal */

/* hidden only once the script is there to show it again */
.has-reveal .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1);
    transition-delay: calc(var(--i, 0) * 80ms);
}

.has-reveal .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .has-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Section */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--yurba-brand-color-opacity);
    color: var(--yurba-brand-color);
    font-size: 13px;
    font-weight: 700;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.section-desc {
    font-size: 17px;
    line-height: 1.6;
    opacity: .6;
}

@media (max-width: 991px) {
    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .section-head {
        align-items: flex-start;
        margin-left: 0;
        text-align: left;
    }

    .section-title {
        font-size: 30px;
    }
}

/* Hero */

.hero {
    position: relative;
    overflow-x: clip;
    padding: 96px 0 120px;
}

.hero-star {
    position: absolute;
    z-index: -1;
    aspect-ratio: 1;
    -webkit-mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    rotate: var(--star-angle);
    pointer-events: none;
    animation: star-sway 14s ease-in-out infinite;
}

.hero-star--top {
    top: 0;
    right: 0;
    width: 60vw;
    max-width: 760px;
    background: var(--yurba-star-color);
    translate: 40% -45%;
    --star-angle: -12deg;
}

.hero-star--bottom {
    bottom: 0;
    left: 0;
    width: 60vw;
    max-width: 720px;
    background: var(--yurba-star-soft-color);
    translate: -35% 55%;
    --star-angle: 20deg;
    animation-delay: -7s;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    margin-top: 20px;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3.5px;
}

.hero-desc {
    max-width: 560px;
    margin-top: 24px;
    font-size: 18px;
    line-height: 1.6;
    opacity: .65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 600;
    opacity: .6;
}

.hero-note__flag {
    width: 18px;
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(#0057b7 50%, #ffd700 50%);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 560px;
    --mock-blue: var(--landing-blue);
    --mock-red: #ff4d6a;
}

/* rotate is its own property, so the sway turns the star in place rather than around its corner */
@keyframes star-sway {
    0%,
    15% {
        rotate: var(--star-angle);
    }

    45%,
    60% {
        rotate: calc(var(--star-angle) + 45deg);
    }

    90%,
    100% {
        rotate: var(--star-angle);
    }
}

@media (max-width: 1199px) {
    .hero-title {
        font-size: 58px;
        letter-spacing: -3px;
    }
}

@media (max-width: 991px) {
    .hero {
        padding: 64px 0 80px;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-title {
        font-size: 52px;
        letter-spacing: -2.5px;
    }

    .hero-visual {
        min-height: 520px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
        letter-spacing: -2px;
    }
}

@media (max-width: 520px) {
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-desc {
        font-size: 16px;
    }

    .hero-star--top {
        translate: 55% -60%;
    }

    .hero-visual {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-star {
        animation: none;
    }
}

/* Mockups */

.mock-line {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background: var(--yurba-text-color);
    opacity: .12;
}

.mock-line--mid {
    width: 64%;
}

.mock-line--short {
    width: 38%;
}

.mock-phone {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 290px;
    height: 560px;
    padding: 20px 16px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 42px;
    background: var(--yurba-main-color);
    box-shadow: 0 32px 64px -24px #0f1f5526, 0 0 0 8px var(--yurba-soft-color);
    overflow: hidden;
}

.mock-phone__top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-phone__logo {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--yurba-brand-color);
    -webkit-mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
    mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
}

.mock-phone__stories {
    display: flex;
    gap: 10px;
}

.mock-phone__story {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 2px solid var(--yurba-main-color);
    border-radius: 50%;
    background: color-mix(in srgb, var(--mock-blue) calc(40% - var(--i) * 7%), var(--yurba-main-color));
    box-shadow: 0 0 0 2px var(--landing-story-ring);
}

.mock-phone__story:nth-child(n + 4) {
    box-shadow: 0 0 0 2px var(--landing-story-seen);
}

.mock-post {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 20px;
}

.mock-post__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-post__avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--mock-blue) 45%, var(--yurba-main-color));
}

.mock-post__meta {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
}

.mock-post__avatar--alt {
    background: color-mix(in srgb, var(--mock-blue) 22%, var(--yurba-main-color));
}

.mock-post__image {
    height: 190px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--mock-blue) 20%, var(--yurba-main-color));
}

.mock-post__actions {
    display: flex;
    gap: 16px;
}

.mock-post__action {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    opacity: .6;
}

.mock-post__action .material-symbols-rounded {
    font-size: 18px;
}

.mock-post__action.is-liked {
    color: var(--mock-red);
    opacity: 1;
}

.mock-post__action.is-liked .material-symbols-rounded {
    font-variation-settings: "FILL" 1;
}

.mock-float {
    position: absolute;
    z-index: 2;
    display: flex;
    border: 1px solid var(--yurba-border-color);
    border-radius: 20px;
    background: var(--yurba-main-color);
    box-shadow: 0 20px 40px -16px #0f1f5526;
    animation: mock-float 6s ease-in-out infinite;
}

.mock-float--chat {
    top: 70px;
    left: 0;
    flex-direction: column;
    gap: 8px;
    width: 210px;
    padding: 14px;
}

.mock-float--player {
    right: 0;
    bottom: 110px;
    align-items: center;
    gap: 12px;
    width: 240px;
    padding: 12px;
    animation-delay: -2s;
}

.mock-float--like {
    top: 230px;
    right: 20px;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--mock-red) 16%, var(--yurba-main-color));
    color: var(--mock-red);
    animation-delay: -4s;
}

.mock-float--like .material-symbols-rounded {
    font-size: 28px;
    font-variation-settings: "FILL" 1;
}

.mock-bubble {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-self: flex-start;
    width: 78%;
    padding: 10px 12px;
    border-radius: 16px 16px 16px 4px;
    background: var(--yurba-soft-color);
}

.mock-bubble--mine {
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    background: var(--mock-blue);
}

.mock-bubble--mine .mock-line {
    background: #fff;
    opacity: .7;
}

.mock-player__cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: color-mix(in srgb, var(--mock-blue) 18%, var(--yurba-main-color));
    color: var(--mock-blue);
}

.mock-player__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.mock-player__progress {
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--mock-blue) 45%, var(--yurba-border-color) 45%);
}

.mock-player__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--yurba-text-color);
    color: var(--yurba-main-color);
    font-size: 22px;
    font-variation-settings: "FILL" 1;
}

@keyframes mock-float {
    50% {
        transform: translateY(-12px);
    }
}

@media (max-width: 991px) {
    .mock-float--chat {
        left: calc(50% - 250px);
    }

    .mock-float--player,
    .mock-float--like {
        right: calc(50% - 250px);
    }
}

@media (max-width: 520px) {
    .mock-float--chat {
        left: -8px;
    }

    .mock-float--player,
    .mock-float--like {
        right: -8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mock-float {
        animation: none;
    }
}

/* Showcase */

.showcase {
    padding: 100px 0 40px;
}

.showcase-tabs {
    display: flex;
    gap: 4px;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 32px;
    padding: 4px;
    overflow-x: auto;
    border-radius: 999px;
    background: var(--yurba-soft-color);
    scrollbar-width: none;
}

.showcase-tab {
    position: relative;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: inherit;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, box-shadow .2s;
}

.showcase-tab .material-symbols-rounded {
    font-size: 20px;
}

.showcase-tabs.is-rotating .showcase-tab.is-active::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 4px;
    left: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--yurba-brand-color);
    opacity: .6;
    transform-origin: left;
    animation: showcase-progress 7s linear forwards;
}

.showcase-tabs.is-paused .showcase-tab.is-active::after {
    animation-play-state: paused;
}

.showcase-tab__short {
    display: none;
}

.showcase-tab:hover {
    background: var(--yurba-hover-color);
}

.showcase-tab.is-active {
    background: var(--yurba-main-color);
    box-shadow: 0 2px 8px #00000014;
}

.showcase-panel {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 64px;
    min-height: 536px;
    padding: 48px;
    border-radius: 32px;
    background: var(--yurba-soft-color);
}

.showcase-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.showcase-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.showcase-desc {
    font-size: 17px;
    line-height: 1.6;
    opacity: .65;
}

.showcase-points {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.showcase-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.showcase-point__icon {
    flex-shrink: 0;
    color: var(--yurba-brand-color);
    font-size: 20px;
}

.demo {
    overflow: hidden;
    border: 1px solid var(--yurba-border-color);
    border-radius: 20px;
    background: var(--yurba-main-color);
    box-shadow: 0 24px 60px #0000001a;
    font-size: 14px;
}

.demo-feed {
    position: relative;
}

.demo-post {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 440px;
}

.demo-post::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 40px;
    background: linear-gradient(0deg, var(--yurba-main-color), transparent);
}

.demo-post__stories {
    display: flex;
    gap: 14px;
    padding: 12px 16px 10px;
    border-bottom: 1px solid var(--yurba-border-color);
}

.demo-post__story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 52px;
    font-size: 11px;
    font-weight: 600;
}

.demo-post__ring {
    position: relative;
    display: flex;
    padding: 2px;
    border-radius: 50%;
    background: var(--landing-story-ring);
}

.demo-post__ring--seen {
    background: var(--landing-story-seen);
}

.demo-post__face,
.demo-post__avatar {
    display: block;
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}

.demo-post__face {
    width: 44px;
    height: 44px;
    border: 2px solid var(--yurba-main-color);
}

.demo-post__add {
    position: absolute;
    right: -2px;
    bottom: -2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--yurba-main-color);
    border-radius: 50%;
    background: var(--landing-blue);
    color: #fff;
    font-size: 14px;
}

.demo-post__avatar {
    width: 36px;
    height: 36px;
}

.demo-post__avatar--small {
    width: 28px;
    height: 28px;
}

.demo-post__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px 0;
}

.demo-post__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-post__meta {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.demo-post__author {
    font-weight: 600;
    line-height: 1.2;
}

.demo-post__time {
    font-size: 12px;
    opacity: .55;
}

.demo-post__more {
    opacity: .45;
}

.demo-post__image {
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 160px;
    border-radius: 14px;
    object-fit: cover;
    object-position: center 55%;
}

.demo-post__actions {
    display: flex;
    gap: 16px;
}

.demo-post__action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    opacity: .6;
}

.demo-post__action .material-symbols-rounded {
    font-size: 20px;
}

.demo-post__action.is-liked {
    color: var(--landing-red);
    opacity: 1;
}

.demo-post__action.is-liked .material-symbols-rounded {
    font-variation-settings: "FILL" 1;
}

.demo-post__reply {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.demo-post__field {
    flex: 1;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--yurba-soft-color);
    opacity: .7;
}

.demo-post__toast {
    position: absolute;
    top: 118px;
    right: -28px;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 16px;
    background: var(--yurba-main-color);
    box-shadow: 0 12px 32px #00000024;
    font-size: 13px;
    animation: demo-toast 4s ease-in-out infinite;
}

.demo-post__heart {
    color: var(--landing-red);
    font-size: 18px;
    font-variation-settings: "FILL" 1;
}

.demo-chat {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    height: 440px;
}

.demo-chat__side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    border-right: 1px solid var(--yurba-border-color);
}

.demo-chat__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 12px;
}

.demo-chat__item.is-active {
    background: var(--yurba-brand-color-opacity);
}

.demo-chat__avatar {
    display: block;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.demo-chat__meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.demo-chat__title {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.demo-chat__kind {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--yurba-body-color);
    font-size: 12px;
    font-variation-settings: "FILL" 1;
}

.demo-chat__name {
    overflow: hidden;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.demo-chat__bot {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    height: 16px;
    padding: 0 5px;
    border-radius: 6px;
    background: var(--yurba-brand-color-opacity);
    color: var(--yurba-brand-color);
    font-size: 10px;
    font-weight: 700;
}

.demo-chat__last {
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .55;
}

.demo-chat__main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.demo-chat__bubble {
    align-self: flex-start;
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 16px 16px 16px 4px;
    background: var(--yurba-soft-color);
    line-height: 1.4;
}

.demo-chat__bubble--mine {
    align-self: flex-end;
    border-radius: 16px 16px 4px 16px;
    background: var(--landing-blue);
    color: #fff;
}

.demo-chat__emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 96px;
    height: 96px;
}

.demo-chat__still {
    font-size: 72px;
    line-height: 1;
}

.demo-chat__emoji.is-ready .demo-chat__still {
    display: none;
}

.demo-chat__bubble--voice {
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-chat__play {
    color: var(--yurba-brand-color);
    font-size: 20px;
}

.demo-chat__wave {
    width: 120px;
    height: 18px;
    background: repeating-linear-gradient(90deg, var(--yurba-text-color) 0 2px, transparent 2px 5px);
    opacity: .3;
}

.demo-chat__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 10px 14px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 14px;
    color: var(--yurba-text-color);
    opacity: .6;
}

.demo-list {
    position: relative;
    height: 440px;
    padding: 16px;
}

.demo-list::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 56px;
    background: linear-gradient(transparent, var(--yurba-main-color));
    pointer-events: none;
}

.demo-list__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.demo-list__cover {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff5fa2, #7b61ff);
    color: #fff;
}

.demo-list__cover .material-symbols-rounded {
    font-size: 40px;
}

.demo-list__cover--project {
    width: 56px;
    height: 56px;
    background: var(--landing-blue);
}

.demo-list__cover--project .material-symbols-rounded {
    font-size: 28px;
}

.demo-list__info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.demo-list__title {
    overflow: hidden;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.demo-list__sub {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    opacity: .6;
}

.demo-list__verified {
    margin-left: 4px;
    color: var(--landing-blue);
    font-size: 16px;
    vertical-align: -3px;
    font-variation-settings: "FILL" 1;
}

.demo-list__tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #1f9d5526;
    color: #1f9d55;
    font-size: 12px;
    font-weight: 700;
}

.demo-list__tag .material-symbols-rounded {
    font-size: 14px;
}

.demo-list__row {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
}

.demo-list__row.is-active {
    background: var(--yurba-brand-color-opacity);
}

.demo-list__num {
    font-size: 14px;
    text-align: center;
    opacity: .5;
}

.demo-list__num.material-symbols-rounded {
    font-size: 20px;
}

.demo-list__row.is-active .demo-list__num,
.demo-list__num.is-folder {
    color: var(--landing-blue);
    opacity: 1;
}

.demo-list__name {
    overflow: hidden;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.demo-list__time {
    opacity: .5;
}

@keyframes showcase-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes demo-toast {
    50% {
        transform: translateY(-6px);
    }
}

@media (max-width: 900px) {
    .showcase {
        padding: 64px 0 24px;
    }

    .showcase-panel {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        min-height: 0;
        padding: 24px;
        border-radius: 24px;
    }

    .showcase-title {
        font-size: 26px;
    }

    .showcase-desc {
        font-size: 16px;
    }

    .demo-post__toast {
        right: -12px;
    }
}

@media (max-width: 560px) {
    .showcase-tabs {
        width: 100%;
    }

    .showcase-tab {
        flex: 1;
        justify-content: center;
        padding: 10px 8px;
        font-size: 14px;
    }

    .showcase-tab .material-symbols-rounded,
    .showcase-tab__label {
        display: none;
    }

    .showcase-tab__short {
        display: inline;
    }

    .demo-chat {
        grid-template-columns: minmax(0, 1fr);
    }

    .demo-chat__side {
        display: none;
    }

    .demo-post__toast {
        top: auto;
        right: 12px;
        bottom: 116px;
        left: 12px;
    }

    .demo-list__cover {
        width: 64px;
        height: 64px;
    }

    .demo-list__cover--project {
        width: 48px;
        height: 48px;
    }

    .demo-post__stories {
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
        mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-post__toast {
        animation: none;
    }
}

/* Features */

.features {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 16px;
}

.feature-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--yurba-border-color);
    border-radius: 24px;
    background: var(--yurba-soft-color);
    transition: transform .25s, border-color .25s;
}

.feature-tile:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--yurba-brand-color) 40%, transparent);
}

.feature-tile--wide {
    grid-column: span 2;
}

.feature-tile--tall {
    grid-row: span 2;
    background: var(--landing-blue);
    color: #fff;
}

.feature-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: auto;
    border-radius: 14px;
    background: var(--yurba-main-color);
    color: var(--yurba-brand-color);
    font-size: 26px;
}

.feature-tile--tall .feature-tile__icon {
    background: #ffffff26;
    color: #fff;
}

.feature-tile__title {
    position: relative;
    margin-top: 24px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.3px;
}

.feature-tile__desc {
    position: relative;
    font-size: 15px;
    line-height: 1.5;
    opacity: .65;
}

.feature-tile--tall .feature-tile__desc {
    opacity: .85;
}

.feature-tile__glyph {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 180px;
    opacity: .03;
    pointer-events: none;
}

.feature-tile--tall .feature-tile__glyph {
    top: auto;
    bottom: 40px;
    font-size: 240px;
    opacity: .07;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .features {
        padding: 64px 0;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature-tile--wide,
    .feature-tile--tall {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Coins */

.coins {
    padding: 100px 0;
    background: var(--yurba-soft-color);
}

.coins-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
}

.coins-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.coins-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.coins-desc {
    font-size: 17px;
    line-height: 1.6;
    opacity: .7;
}

.coins-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.coins-terms {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--yurba-border-color);
    font-size: 13px;
    line-height: 1.5;
    opacity: .5;
}

.coins-terms__link {
    text-decoration: underline;
}

.coins-point {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 10px;
    background: var(--yurba-main-color);
    font-size: 14px;
    font-weight: 600;
}

.coins-point .material-symbols-rounded {
    color: var(--landing-gold-text);
    font-size: 18px;
}

.coins-wallet {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 24px;
    background: var(--yurba-main-color);
}

.coins-wallet__balance {
    display: flex;
    align-items: center;
    gap: 14px;
}

.coins-wallet__coin {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
}

.coins-wallet__sum {
    display: flex;
    flex-direction: column;
}

.coins-wallet__amount {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.coins-wallet__label {
    font-size: 13px;
    opacity: .5;
}

.coins-wallet__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.coins-wallet__day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 10px;
    background: var(--yurba-hover-color);
    color: color-mix(in srgb, var(--yurba-text-color) 50%, transparent);
    font-size: 13px;
    font-weight: 700;
}

.coins-wallet__day.is-done {
    background: #ffb02e;
    color: #412402;
}

.coins-wallet__day.is-bonus {
    border: 1px dashed #ffb02e;
    background: transparent;
    color: var(--landing-gold-text);
}

.coins-wallet__log {
    display: flex;
    flex-direction: column;
}

.coins-wallet__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--yurba-border-color);
    font-size: 14px;
}

.coins-wallet__plus {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--landing-gold-text);
    font-weight: 700;
}

.coins-wallet__icon {
    width: 16px;
    height: 16px;
}

.coins-wallet__note {
    font-size: 13px;
    opacity: .5;
}

.has-reveal .coins-wallet__row {
    opacity: 0;
}

.has-reveal .coins-inner.is-visible .coins-wallet__row {
    animation: coins-row .4s ease forwards;
    animation-delay: calc(var(--i) * 180ms + 400ms);
}

@keyframes coins-row {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991px) {
    .coins-title {
        font-size: 34px;
    }
}

@media (max-width: 900px) {
    .coins {
        padding: 64px 0;
    }

    .coins-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .coins-terms {
        margin-top: 32px;
    }
}

@media (max-width: 768px) {
    .coins-title {
        font-size: 28px;
    }
}

@media (max-width: 520px) {
    .coins-wallet {
        padding: 18px;
    }

    .coins-wallet__day {
        height: 32px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .has-reveal .coins-wallet__row {
        opacity: 1;
    }

    .has-reveal .coins-inner.is-visible .coins-wallet__row {
        animation: none;
    }
}

/* Download */

.download {
    padding: 100px 0;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.download-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--yurba-border-color);
    border-radius: 28px;
    background: var(--yurba-soft-color);
}

.download-card--mobile {
    border-color: transparent;
    background: var(--landing-blue);
    color: #fff;
}

.download-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 40px 40px 24px;
}

.download-card__icon {
    font-size: 36px;
}

.download-card__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.download-card__desc {
    font-size: 16px;
    opacity: .75;
}

.download-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.download-card__image {
    display: block;
    width: 100%;
    max-width: 460px;
    margin: auto auto 0;
    padding: 0 24px;
}

.download-web {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    opacity: .6;
    transition: opacity .15s;
}

.download-web:hover {
    opacity: 1;
}

@media (max-width: 900px) {
    .download-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .download {
        padding: 64px 0;
    }

    .download-card__body {
        padding: 28px 24px 16px;
    }
}

@media (max-width: 520px) {
    .download-card__actions {
        width: 100%;
    }
}

/* Story */

.story {
    padding: 80px 0 100px;
    overflow-x: clip;
    background: var(--yurba-soft-color);
}

.story-head {
    margin-bottom: 48px;
}

.story-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-top: 12px;
}

.story-head .section-desc {
    max-width: 560px;
}

.story-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-arrow {
    width: 44px;
    padding: 0;
}

.story-arrow:disabled {
    background: transparent;
    opacity: .35;
    cursor: default;
}

/* the steps run on to the window edges and fade there, yet start in line with the heading */
.story-slider {
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    --story-fade: 16px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--story-fade), #000 calc(100% - var(--story-fade)), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 var(--story-fade), #000 calc(100% - var(--story-fade)), transparent);
}

.story-line {
    display: flex;
    gap: 24px;
}

.story-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 260px;
    padding-top: 32px;
}

/* each step draws its piece of the line, so the line scrolls with the steps */
.story-step::before {
    content: "";
    position: absolute;
    top: 8px;
    right: -24px;
    left: 0;
    height: 2px;
    background: var(--yurba-border-color);
}

.story-step:last-child::before {
    right: 0;
}

.story-step__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 4px solid var(--yurba-soft-color);
    border-radius: 50%;
    background: var(--yurba-brand-color);
}

.story-step__date {
    font-size: 14px;
    font-weight: 700;
    color: var(--yurba-brand-color);
}

.story-step__text {
    font-size: 15px;
    line-height: 1.5;
    opacity: .75;
}

@media (min-width: 1184px) {
    .story-slider {
        --story-fade: calc(50vw - 576px);
    }
}

@media (max-width: 768px) {
    .story {
        padding: 64px 0;
    }

    .story-step {
        width: 240px;
    }
}

@media (hover: none) {
    .story-arrow {
        display: none;
    }
}

@media (max-width: 520px) {
    .story-actions {
        width: 100%;
    }
}

/* FAQ */

.faq {
    padding: 100px 0;
}

.faq-inner {
    display: grid;
    grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: 64px;
}

.faq-title {
    position: sticky;
    top: calc(var(--landing-header-height) + 32px);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--yurba-border-color);
    border-radius: 18px;
    transition: background .3s;
}

/* the reveal transition would otherwise replace the background one */
.has-reveal .faq-item.reveal {
    transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1), background .3s;
    transition-delay: calc(var(--i, 0) * 80ms), calc(var(--i, 0) * 80ms), 0s;
}

.faq-item.is-moving {
    overflow: hidden;
}

.faq-item[open]:not(.is-closing) {
    background: var(--yurba-soft-color);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.faq-item__question::-webkit-details-marker {
    display: none;
}

.faq-item__toggle {
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.faq-item[open]:not(.is-closing) .faq-item__toggle {
    transform: rotate(45deg);
}

.faq-item__answer {
    padding: 0 24px 22px;
    font-size: 16px;
    line-height: 1.6;
    opacity: .7;
}

.faq-item__link {
    color: var(--yurba-brand-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 900px) {
    .faq {
        padding: 64px 0;
    }

    .faq-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .faq-title {
        position: static;
    }
}

@media (prefers-reduced-motion: reduce) {
    .has-reveal .faq-item.reveal {
        transition: none;
    }
}

/* CTA */

.cta {
    padding: 0 0 100px;
}

.cta-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 88px 24px;
    overflow: hidden;
    border-radius: 36px;
    background: var(--landing-blue);
    color: #fff;
    text-align: center;
}

.cta-card__star {
    position: absolute;
    width: 420px;
    aspect-ratio: 1;
    background: #ffffff1a;
    -webkit-mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    rotate: var(--star-angle);
    animation: star-sway 14s ease-in-out infinite;
}

.cta-card__star--left {
    bottom: 0;
    left: 0;
    translate: -40% 45%;
    --star-angle: 15deg;
}

.cta-card__star--right {
    top: 0;
    right: 0;
    translate: 40% -45%;
    --star-angle: -10deg;
    animation-delay: -7s;
}

.cta-card__title {
    position: relative;
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.cta-card__desc {
    position: relative;
    font-size: 18px;
    opacity: .85;
}

.cta-card__actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

@media (max-width: 991px) {
    .cta-card__title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .cta {
        padding-bottom: 64px;
    }

    .cta-card {
        padding: 56px 20px;
        border-radius: 28px;
    }

    .cta-card__title {
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .cta-card__actions {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cta-card__star {
        animation: none;
    }
}

/* Page */

.page-hero {
    position: relative;
    padding: 96px 0 56px;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 45vw;
    max-width: 460px;
    aspect-ratio: 1;
    background: var(--yurba-star-color);
    translate: 45% -55%;
    rotate: var(--star-angle);
    -webkit-mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    mask: url("/landing-assets/images/star.svg") center / 100% 100% no-repeat;
    --star-angle: -12deg;
    animation: star-sway 14s ease-in-out infinite;
}

.page-hero__title {
    position: relative;
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2.5px;
}

.page-hero__desc {
    position: relative;
    max-width: 720px;
    margin: 20px auto 0;
    font-size: 17px;
    line-height: 1.6;
    opacity: .6;
}

@media (max-width: 991px) {
    .page-hero__title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 56px 0 32px;
        text-align: left;
    }

    .page-hero__title {
        font-size: 48px;
    }

    .page-hero__desc {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .page-hero__title {
        font-size: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-hero::before {
        animation: none;
    }
}

/* Subnav */

.page-nav {
    position: sticky;
    top: var(--landing-header-height);
    z-index: 5;
    border-bottom: 1px solid var(--yurba-border-color);
    background: var(--yurba-main-color);
}

.page-nav__inner {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.page-nav__link {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
}

.page-nav__link:hover {
    background: var(--yurba-hover-color);
}

.page-nav__link.is-active {
    background: var(--yurba-text-color);
    color: var(--yurba-main-color);
}

@media (max-width: 520px) {
    .page-nav__inner {
        justify-content: flex-start;
    }
}

/* Footer */

.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--yurba-border-color);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 48px;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
}

.footer-brand__logo {
    width: 28px;
    height: 28px;
    background: var(--yurba-brand-color);
    -webkit-mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
    mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
}

.footer-tagline {
    font-size: 15px;
    opacity: .6;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--yurba-border-color);
    border-radius: 10px;
    text-decoration: none;
}

.footer-social:hover {
    background: var(--yurba-hover-color);
}

.footer-social__logo {
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
    mask: url("/landing-assets/images/mark.svg") center / contain no-repeat;
}

.footer-social__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-cols {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col__title {
    font-size: 14px;
    font-weight: 700;
}

.footer-col__link {
    font-size: 14px;
    text-decoration: none;
    opacity: .6;
    transition: opacity .15s;
}

.footer-col__link:hover {
    opacity: 1;
}

.footer-copy {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--yurba-border-color);
    font-size: 13px;
    opacity: .45;
}

.footer-copy__link {
    font-weight: 600;
    text-decoration: none;
    transition: color .15s;
}

.footer-copy__link:hover {
    color: var(--yurba-brand-color);
}

.footer-requisites {
    margin: 8px 0 0;
    font-size: 12px;
    opacity: .45;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-cols {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 32px 48px;
    }
}

/* An icon is its name until its font is in, so it stays unseen while the page waits for the font */
html.icons-loading .material-symbols-rounded {
    color: transparent !important;
}
