:root {
    --color-background: #faf9f7;
    --color-on-background: #3d3a38;
    --color-surface: #ffffff;
    --color-surface-container: #f5f2ef;
    --color-surface-container-low: #fbfaf8;
    --color-surface-container-high: #efebe8;
    --color-surface-container-lowest: #ffffff;
    --color-surface-variant: #f0ece9;
    --color-inverse-on-surface: #ffffff;
    --color-primary: #e8a0b8;
    --color-primary-fixed: #ffe8f0;
    --color-primary-container: #ffe8f0;
    --color-on-primary: #3d3a38;
    --color-on-primary-fixed-variant: #c87898;
    --color-primary-ink: #c87898;
    --color-secondary: #b8a9e8;
    --color-secondary-fixed: #ede7f9;
    --color-secondary-container: #c9bbf0;
    --color-secondary-ink: #8b7cc9;
    --color-on-secondary-fixed: #3d3a38;
    --color-tertiary: #c9896a;
    --color-tertiary-fixed: #fff0e6;
    --color-on-surface: #3d3a38;
    --color-on-surface-variant: #7a7570;
    --color-warm-gray: #f0ece9;
    --color-outline-variant: #e8e0e4;
    --color-ink: #3d3a38;
    --color-muted-ink: #a8a4a0;
    --color-surface-dim: #a8a4a0;
    --color-danger: #e88888;
    --color-dot: rgba(120, 110, 130, 0.22);
    --color-paper: #fffefb;
    --tape-pink: rgba(255, 182, 193, 0.78);
    --tape-purple: rgba(184, 169, 232, 0.78);
    --tape-mint: rgba(123, 201, 166, 0.72);
    --shadow-card: 0 8px 22px rgba(201, 160, 174, 0.16);
    --container-max: 1200px;
    --gutter: 24px;
    --margin-mobile: 16px;
    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body.landing {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-on-background);
    background-color: var(--color-background);
    overflow-x: hidden;
}

#dots-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

body.landing.theme-dark {
    --color-background: #1a1918;
    --color-on-background: #f5f2ef;
    --color-surface: #242322;
    --color-surface-container: #2a2928;
    --color-surface-container-low: #161514;
    --color-surface-container-high: #323130;
    --color-surface-container-lowest: #161514;
    --color-surface-variant: #353332;
    --color-inverse-on-surface: #242322;
    --color-primary: #f5b8cc;
    --color-primary-fixed: #3d2830;
    --color-primary-container: #3d2830;
    --color-on-primary: #3d3a38;
    --color-on-primary-fixed-variant: #f5b8cc;
    --color-primary-ink: #f5b8cc;
    --color-secondary: #c4b5e8;
    --color-secondary-fixed: #2a2438;
    --color-secondary-container: #9a8ad0;
    --color-secondary-ink: #c4b5e8;
    --color-on-secondary-fixed: #f5f2ef;
    --color-tertiary: #f5c4a8;
    --color-tertiary-fixed: #3d3028;
    --color-on-surface: #f5f2ef;
    --color-on-surface-variant: #b8b2ac;
    --color-warm-gray: #353332;
    --color-outline-variant: #4a4548;
    --color-ink: #f5f2ef;
    --color-muted-ink: #9a9692;
    --color-surface-dim: #b8b2ac;
    --color-danger: #f5a0a0;
    --color-dot: rgba(200, 190, 210, 0.16);
    --color-paper: #1a1918;
    --tape-pink: rgba(245, 184, 204, 0.45);
    --tape-purple: rgba(196, 181, 232, 0.45);
    --tape-mint: rgba(123, 201, 166, 0.4);
    --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.35);
}

body.landing ::selection {
    background: var(--color-primary-fixed);
    color: var(--color-on-surface);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined--fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.landing-container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--margin-mobile);
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-primary-ink), var(--color-secondary-ink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-nav {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    border: 0;
    pointer-events: none;
}

.landing-nav__bar {
    position: relative;
    width: min(980px, calc(100% - 32px));
    height: 64px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 8px 0 18px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--color-primary) 22%, var(--color-outline-variant));
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
    pointer-events: auto;
}

.landing-nav__logo,
.landing-nav__links,
.landing-nav__actions {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.landing-nav__tape {
    position: absolute;
    height: 16px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 2;
}

.landing-nav__tape--pink {
    top: -9px;
    left: 34px;
    width: 74px;
    background: var(--tape-pink);
    transform: rotate(-8deg);
}

.landing-nav__tape--purple {
    top: -8px;
    right: 46px;
    width: 52px;
    background: var(--tape-purple);
    transform: rotate(9deg);
}

.landing-nav.is-scrolled .landing-nav__bar {
    box-shadow: 0 14px 32px rgba(201, 160, 174, 0.22);
}

.landing-nav__logo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0;
}

.landing-nav__logo img {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.landing-nav__logo:hover img {
    transform: scale(1.05);
}

.landing-nav__center {
    display: none;
    align-items: center;
    gap: 14px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.landing-nav__links {
    display: flex;
    align-items: center;
    gap: 4px;
    height: auto;
    padding: 0;
    border-radius: 0;
}

.landing-nav__links .landing-nav__link {
    padding: 6px 12px;
    border-radius: 10px 14px 12px 16px;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 800;
    color: var(--color-on-surface-variant);
    transition: color 0.2s, background 0.2s, transform 0.2s;
}

.landing-nav__links .landing-nav__link:hover {
    color: var(--color-ink);
    background: transparent;
}

.landing-nav__links .landing-nav__link.is-active {
    color: var(--color-secondary-ink);
    background: var(--color-secondary-fixed);
    background-image: none;
    -webkit-text-fill-color: currentColor;
    font-weight: 800;
    box-shadow: none;
    transform: rotate(-2deg);
}

.landing-nav__cta {
    display: inline-flex;
    align-items: center;
    height: 38px;
    margin: 0;
    padding: 0 14px;
    border-radius: 7px;
    background: var(--tape-pink);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: none;
    transform: rotate(2deg);
    transition: transform 0.2s, background 0.2s;
}

.landing-nav__cta:hover {
    transform: rotate(0deg) translateY(-1px);
    background: var(--color-primary);
    color: var(--color-ink);
    box-shadow: none;
    opacity: 1;
}

.landing-nav__actions {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 2px;
    height: auto;
    padding: 0;
    border-radius: 0;
}

.landing-lang {
    position: relative;
    display: inline-flex;
}

.landing-lang__trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    border: none;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.landing-lang__trigger:hover {
    transform: translateY(-1px);
}

.landing-lang__icon {
    font-size: 20px;
    color: var(--color-ink);
}

.landing-lang__chevron {
    font-size: 16px;
    color: var(--color-on-surface-variant);
    transition: transform 0.2s;
}

.landing-lang.is-open .landing-lang__chevron {
    transform: rotate(180deg);
}

.landing-lang__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 176px;
    padding: 16px 6px 6px;
    border-radius: 16px;
    border: none;
    background: var(--color-paper);
    box-shadow: 0 4px 10px rgba(201, 160, 174, 0.22);
    transform: rotate(1.2deg);
    transform-origin: top right;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.landing-lang__menu[hidden] {
    display: none;
}

.landing-lang__tape {
    position: absolute;
    top: -6px;
    left: 50%;
    width: 42px;
    height: 12px;
    margin-left: -21px;
    border-radius: 2px;
    background: var(--tape-purple);
    transform: rotate(-8deg);
    pointer-events: none;
}

.landing-lang__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #6b6560;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    line-height: 20px;
    border-radius: 10px;
    padding: 9px 10px;
    margin-bottom: 2px;
    text-align: left;
    cursor: pointer;
}

.landing-lang__option:last-child {
    margin-bottom: 0;
}

.landing-lang__option:hover:not(.is-active) {
    background: color-mix(in srgb, var(--color-secondary-fixed) 70%, transparent);
}

.landing-lang__option.is-active {
    background: var(--color-secondary-fixed);
    color: var(--color-secondary-ink);
    font-weight: 800;
}

.landing-lang__flag {
    width: 20px;
    height: 14px;
    flex: none;
    display: block;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(61, 58, 56, 0.14);
}

.landing-lang__name {
    flex: 1;
    min-width: 0;
}

.landing-lang__check {
    width: 14px;
    font-size: 14px;
    color: var(--color-secondary-ink);
    opacity: 0;
}

.landing-lang__option.is-active .landing-lang__check {
    opacity: 1;
}

.landing-theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid var(--color-warm-gray);
    background: var(--color-surface);
    color: var(--color-on-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.landing-theme-toggle:hover {
    transform: translateY(-1px);
    border-color: var(--color-primary);
}

.landing-nav__actions .landing-lang__trigger,
.landing-nav__actions .landing-theme-toggle {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.landing-main {
    padding-top: 112px;
}

.landing-hero {
    position: relative;
    padding-top: 48px;
    padding-bottom: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-hero__deco {
    position: absolute;
    display: none;
    color: var(--color-secondary);
}

.landing-hero__deco--star {
    top: 40px;
    left: 40px;
}

.landing-hero__deco--spark {
    top: 80px;
    right: 80px;
    color: var(--color-primary);
}

.landing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    margin-bottom: 24px;
    border-radius: 9999px;
    border: 1px solid var(--color-primary-fixed);
    background: rgba(255, 217, 225, 0.5);
    color: var(--color-on-primary-fixed-variant);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.landing-hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
    animation: pulse 2s infinite;
}

.landing-hero__title {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-on-surface);
    max-width: 56rem;
    margin: 0 0 24px;
}

.landing-hero__subtitle {
    font-size: 18px;
    line-height: 1.55;
    color: var(--color-on-surface-variant);
    max-width: 42rem;
    margin: 0 0 40px;
}

.landing-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
}

.landing-btn--secondary {
    width: 100%;
    background: var(--color-surface);
    color: var(--color-on-surface);
    border: 1px solid var(--color-warm-gray);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.landing-btn--secondary:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.landing-btn--secondary .material-symbols-outlined {
    color: var(--color-primary);
}

.landing-phones {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
}

.landing-phone-stage {
    position: relative;
    width: min(100%, 400px);
    height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-phone-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 44%, rgba(232, 160, 184, 0.16), rgba(196, 181, 232, 0.04) 42%, transparent 62%);
}

.landing-phone-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
    --progress-bar-color: #c4b5e8;
    outline: none;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.landing-phone-viewer.is-ready {
    opacity: 1;
}

.landing-phone-loader {
    position: absolute;
    left: 50%;
    top: 46%;
    z-index: 3;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 148px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--color-paper);
    box-shadow: var(--shadow-card);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: 14px;
}

.landing-phone-loader[hidden] {
    display: none;
}

.landing-phone-loader__track {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: var(--color-secondary-fixed);
    overflow: hidden;
}

.landing-phone-loader__track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

@media (max-width: 720px) {
    .landing-phone-stage {
        height: 400px;
    }
}

.landing-section {
    padding-block: 80px;
    scroll-margin-top: 120px;
}

.landing-section--compact {
    padding-block: 48px;
}

.landing-section__header {
    text-align: center;
    margin-bottom: 64px;
}

.landing-section__title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-on-surface);
    margin: 0 0 16px;
}

.landing-section__desc {
    font-size: 18px;
    color: var(--color-on-surface-variant);
    max-width: 42rem;
    margin: 0 auto;
}

.landing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gutter);
}

.landing-card {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-warm-gray);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.landing-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.landing-card__icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 16px;
    background: var(--color-surface-container);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.landing-card:hover .landing-card__icon {
    transform: scale(1.1);
}

.landing-card__icon--primary { color: var(--color-primary); }
.landing-card__icon--secondary { color: var(--color-secondary); }
.landing-card__icon--tertiary { color: var(--color-tertiary); }

.landing-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--color-on-surface);
}

.landing-card__text {
    margin: 0;
    color: var(--color-on-surface-variant);
    line-height: 1.625;
}

.landing-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.landing-card__tag {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--color-surface-variant);
    color: var(--color-on-surface-variant);
}

.landing-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.landing-bento__large {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    padding: 32px;
    border-radius: 2rem;
    background: var(--color-inverse-on-surface);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.landing-bento__label {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 16px;
    border-radius: 9999px;
    background: var(--color-primary);
    color: var(--color-on-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.landing-bento__image-wrap {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 66%;
    height: 66%;
    padding: 16px;
    background: #fff;
    border-top: 1px solid var(--color-warm-gray);
    border-left: 1px solid var(--color-warm-gray);
    border-radius: 3rem 0 0 0;
    transform: rotate(3deg);
    transition: transform 0.5s;
}

.landing-bento__large:hover .landing-bento__image-wrap {
    transform: rotate(0);
}

.landing-bento__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
}

.landing-bento__purple {
    position: relative;
    overflow: hidden;
    padding: 32px;
    border-radius: 2rem;
    background: var(--color-secondary-fixed);
    display: flex;
    align-items: center;
    min-height: 160px;
}

.landing-bento__purple h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-on-secondary-fixed);
    margin: 0 0 8px;
    max-width: 66%;
}

.landing-bento__purple p {
    margin: 0;
    font-size: 14px;
    color: rgba(35, 0, 92, 0.8);
    max-width: 66%;
}

.landing-bento__purple-icon {
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--color-surface);
    border: 4px solid var(--color-secondary-fixed);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    transition: transform 0.3s;
}

.landing-bento__purple:hover .landing-bento__purple-icon {
    transform: translateY(-50%) scale(1.1);
}

.landing-bento__small {
    padding: 32px;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.landing-bento__small--card {
    align-items: center;
    text-align: center;
}

.landing-bento__small--muted {
    align-items: flex-start;
}

.landing-bento__small--card {
    background: var(--color-surface);
    border: 1px solid var(--color-warm-gray);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.landing-bento__small--muted {
    background: var(--color-surface-container-high);
}

.landing-bento__round-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--color-tertiary-fixed);
    color: var(--color-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.landing-bento__small:hover .landing-bento__round-icon {
    transform: rotate(12deg);
}

.landing-bento__small h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--color-on-surface);
}

.landing-bento__small p {
    margin: 0;
    font-size: 12px;
    color: var(--color-on-surface-variant);
}

.landing-bento__brush {
    align-self: flex-start;
    margin-bottom: 16px;
    color: var(--color-on-surface);
    transition: transform 0.3s;
}

.landing-bento__small:hover .landing-bento__brush {
    transform: translateY(-8px);
}

.landing-download {
    position: relative;
    padding: 40px;
    border-radius: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.landing-download__content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.landing-download__content h2 {
    font-family: var(--font-display);
    font-size: 40px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-on-surface);
    margin: 0 0 24px;
}

.landing-download__content > p {
    font-size: 18px;
    color: var(--color-on-surface-variant);
    margin: 0 0 32px;
    max-width: 28rem;
    margin-inline: auto;
}

.landing-download__stores {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.landing-store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px;
    border: none;
    font-weight: 700;
    text-decoration: none;
}

.landing-store-btn__label {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.landing-store-btn__title {
    font-size: 14px;
    line-height: 1.2;
}

.landing-footer {
    margin-top: 80px;
    padding-block: 48px;
    background: var(--color-surface-container-low);
    border-top: 1px solid var(--color-warm-gray);
    scroll-margin-top: 120px;
}

body.landing.theme-dark .landing-footer {
    background: #17171b;
}

.landing-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.landing-footer__logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.landing-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.landing-footer__links a {
    color: var(--color-on-surface-variant);
    transition: color 0.3s;
}

.landing-footer__links a:hover {
    color: var(--color-secondary);
}

.footer-credits {
    width: 100%;
    max-width: 42rem;
    padding-top: 32px;
}

.footer-credits-divider {
    height: 1px;
    margin-bottom: 32px;
    background: linear-gradient(90deg, transparent, #e2bdc5 20%, #b6005b 50%, #6b38d4 80%, transparent);
    opacity: 0.7;
}

.footer-credits__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-crafted {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    color: var(--color-on-surface-variant);
    background: linear-gradient(135deg, rgba(255, 217, 225, 0.45), rgba(233, 221, 255, 0.45));
    border: 1px solid rgba(226, 189, 197, 0.35);
}

.footer-crafted .material-symbols-outlined {
    color: var(--color-primary);
    font-size: 18px;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.floating-element-delayed {
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (min-width: 640px) {
    .landing-btn--secondary { width: auto; }
    .landing-hero__actions { flex-direction: row; }
    .landing-download__stores { flex-direction: row; }
    .landing-store-btn { width: auto; }
}

@media (min-width: 768px) {
    .landing-nav__center { display: flex; }
    .landing-hero__deco { display: block; }
    .landing-hero__title { font-size: 64px; }
    .landing-hero__title .gradient-text { display: inline; }
    .landing-phone-stage { width: min(100%, 420px); height: 490px; }
    .landing-cards { grid-template-columns: repeat(2, 1fr); }
    .landing-bento { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .landing-bento__large { grid-column: span 2; grid-row: span 2; padding: 40px; }
    .landing-bento__purple { grid-column: span 2; }
    .landing-download { flex-direction: row; align-items: center; justify-content: space-between; padding: 56px 64px; gap: 28px; }
    .landing-download__content { text-align: left; width: auto; flex: 1; max-width: 34rem; margin-bottom: 0; }
    .landing-download__content > p { margin-inline: 0; }
    .landing-download__stores { align-items: flex-start; }
    .landing-download__content h2 { font-size: 48px; }
    .footer-credits__row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
    .footer-credits__legal { text-align: left; }
}

.policy-page {
    min-height: 100vh;
    background: var(--color-background);
    color: var(--color-on-background);
    font-family: var(--font-body);
}

.policy-page__main {
    padding-top: 120px;
    padding-bottom: 64px;
}

.policy-page__container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--margin-mobile);
}

.policy-page__card {
    background: var(--color-surface);
    border: 1px solid var(--color-warm-gray);
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-page__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-on-surface);
}

.policy-page__meta {
    margin-top: 10px;
    margin-bottom: 28px;
    color: var(--color-on-surface-variant);
    font-size: 14px;
}

.policy-page__section {
    margin-top: 28px;
}

.policy-page__section h2 {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--color-on-surface);
}

.policy-page__section p,
.policy-page__section li {
    color: var(--color-on-surface-variant);
    line-height: 1.75;
    font-size: 15px;
}

.policy-page__section ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

@media (min-width: 1024px) {
    .landing-cards { grid-template-columns: repeat(3, 1fr); }
}

#navLogo,
#footerLogo {
    width: auto;
    height: 34px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

#footerLogo {
    height: 28px;
}

.landing-nav,
body.landing.theme-dark .landing-nav,
.landing-nav.is-scrolled {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.landing.theme-dark .landing-nav__bar {
    background: var(--color-surface);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body.landing.theme-dark .landing-nav__logo,
body.landing.theme-dark .landing-nav__links,
body.landing.theme-dark .landing-nav__actions {
    background: transparent;
    box-shadow: none;
}

body.landing.theme-dark .landing-nav__cta {
    background: var(--color-primary);
    color: #3d3a38;
    box-shadow: none;
}

body.landing.theme-dark .landing-nav__links .landing-nav__link.is-active {
    background: var(--color-secondary-fixed);
    color: var(--color-secondary);
    box-shadow: none;
}

.landing-nav__actions .landing-lang__trigger,
.landing-nav__actions .landing-theme-toggle {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

body.landing.theme-dark .landing-lang__menu {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.landing.theme-dark .landing-lang__option {
    color: var(--color-on-surface-variant);
}

.landing-nav__links .landing-nav__link.is-active {
    color: var(--color-secondary-ink);
    background: var(--color-secondary-fixed);
    background-image: none;
    box-shadow: none;
    transform: rotate(-2deg);
}

.landing-hero__badge {
    border-color: rgba(232, 160, 184, 0.35);
    background: rgba(255, 232, 240, 0.88);
    color: var(--color-primary-ink);
}

body.landing.theme-dark .landing-hero__badge {
    border-color: rgba(245, 184, 204, 0.28);
    background: rgba(245, 184, 204, 0.12);
    color: var(--color-primary);
}

body.landing.theme-dark .landing-phone-wrap {
    background: radial-gradient(ellipse at 50% 44%, rgba(245, 184, 204, 0.16), transparent 58%);
}

.landing-card,
.landing-bento__large,
.landing-bento__purple,
.landing-bento__small--card,
.landing-bento__small--muted,
.policy-page__card,
.landing-download {
    border: none;
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.landing-card,
.landing-bento__purple,
.landing-bento__small,
.policy-page__card,
.landing-download {
    position: relative;
    overflow: visible;
}

.landing-card::before,
.landing-card::after,
.landing-bento__purple::before,
.landing-bento__small--card::before,
.landing-bento__small--muted::after,
.policy-page__card::before,
.landing-download::before {
    content: "";
    position: absolute;
    z-index: 4;
    height: 16px;
    border-radius: 2px;
    pointer-events: none;
}

.landing-card::before,
.landing-bento__purple::before,
.landing-bento__small--card::before,
.policy-page__card::before,
.landing-download::before {
    top: -8px;
    left: 28px;
    width: 72px;
    background: var(--tape-pink);
    transform: rotate(-11deg);
}

.landing-card::after {
    top: -7px;
    right: 36px;
    width: 58px;
    background: var(--tape-purple);
    transform: rotate(12deg);
}

.landing-card:nth-child(2)::before { background: var(--tape-purple); }
.landing-card:nth-child(2)::after { background: var(--tape-mint); }
.landing-card:nth-child(3)::before { background: var(--tape-mint); }
.landing-card:nth-child(3)::after { background: var(--tape-pink); }

.landing-bento__small--muted::after {
    top: -8px;
    right: 24px;
    width: 64px;
    background: var(--tape-mint);
    transform: rotate(8deg);
}

.landing-card__icon--primary {
    color: var(--color-primary-ink);
    background: var(--color-primary-fixed);
}

.landing-card__icon--secondary {
    color: var(--color-secondary-ink);
    background: var(--color-secondary-fixed);
}

.landing-card__icon--tertiary {
    color: var(--color-tertiary);
    background: var(--color-tertiary-fixed);
}

.landing-bento__large {
    background: var(--color-surface);
    border: 1px solid var(--color-outline-variant);
}

.landing-bento__purple {
    background: var(--color-secondary-fixed);
}

.landing-bento__purple p {
    color: var(--color-on-surface-variant);
}

.landing-bento__label {
    background: var(--color-primary-fixed);
    color: var(--color-primary-ink);
}

body.landing.theme-dark .landing-download,
body.landing.theme-dark .landing-footer {
    background: var(--color-surface);
}

.landing-store-btn {
    border-radius: 9999px;
    background: linear-gradient(90deg, #e4d9fb, #c4b5e8);
    color: #3d3a38;
    box-shadow: var(--shadow-card);
    cursor: default;
    pointer-events: none;
}

.landing-store-btn--android .material-symbols-outlined {
    color: #3d9b74;
}

.landing-footer {
    background: transparent;
    border-top-color: transparent;
}

.footer-credits-divider {
    background: linear-gradient(90deg, transparent, var(--tape-pink) 20%, #f5b8cc 50%, #c4b5e8 80%, transparent);
}

.footer-crafted {
    background: linear-gradient(135deg, rgba(255, 232, 240, 0.9), rgba(237, 231, 249, 0.9));
    border-color: rgba(232, 160, 184, 0.35);
}

body.landing.theme-dark .footer-crafted {
    background: linear-gradient(135deg, rgba(61, 40, 48, 0.95), rgba(42, 36, 56, 0.95));
    border-color: rgba(245, 184, 204, 0.28);
}

.policy-page {
    background: transparent;
}

.landing-download__stack {
    position: relative;
    z-index: 1;
    width: min(100%, 280px);
    height: 250px;
    flex: none;
}

.landing-shot {
    position: absolute;
    width: 118px;
    margin: 0;
    padding: 7px 7px 8px;
    background: #fffefb;
    border-radius: 16px;
    box-shadow: 0 14px 28px rgba(61, 58, 56, 0.16);
}

.landing-shot::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 18px;
    width: 46px;
    height: 14px;
    border-radius: 2px;
    background: var(--tape-purple);
    transform: rotate(-8deg);
}

.landing-shot img {
    display: block;
    width: 100%;
    height: 168px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
}

.landing-shot figcaption {
    margin: 7px 0 1px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #3d3a38;
}

.landing-shot--map {
    left: 0;
    top: 36px;
    transform: rotate(-8deg);
}

.landing-shot--blinq {
    right: 0;
    top: 22px;
    transform: rotate(8deg);
}

.landing-shot--blinq::before {
    left: auto;
    right: 16px;
    background: var(--tape-mint);
    transform: rotate(9deg);
}

@media (min-width: 768px) {
    .landing-download__stack { width: 360px; height: 340px; }
    .landing-shot { width: 150px; }
    .landing-shot img { height: 228px; }
}

.landing-shot--home {
    left: 50%;
    top: 8px;
    z-index: 2;
    transform: translateX(-50%) rotate(-2deg);
}

.landing-shot--home::before {
    left: 50%;
    margin-left: -23px;
    background: var(--tape-pink);
    transform: rotate(-4deg);
}

html:has(.splash) {
    overflow: hidden;
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1918;
    opacity: 1;
    transition: opacity 480ms ease;
}

.splash.is-leaving {
    opacity: 0;
    pointer-events: none;
}

.splash__mark {
    width: 84px;
    height: 84px;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.splash__credit {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(44px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    pointer-events: none;
}

.splash__from {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #9a9692;
}

.splash__brand {
    display: inline-block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    padding: 0.05em 0.08em 0.28em 0;
    text-decoration: none;
    color: #f5b8cc;
    background: linear-gradient(90deg, #f5c4a8 0%, #f5b8cc 46%, #c4b5e8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: auto;
}

.splash__brand-underscore {
    color: #c4b5e8;
    -webkit-text-fill-color: #c4b5e8;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
}

.footer-handle {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.footer-handle:hover {
    color: var(--color-primary-ink);
}

@media (max-width: 640px) {
    .splash__mark {
        width: 76px;
        height: 76px;
    }

    .splash__credit {
        bottom: calc(36px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .splash {
        transition: none;
    }
}
