:root {
    --night: #17163a;
    --night-soft: #282654;
    --ink: #23223a;
    --muted: #66647b;
    --paper: #fffaf4;
    --white: #ffffff;
    --coral: #ff5875;
    --coral-dark: #e23b5a;
    --lavender: #8170d7;
    --sky: #4d95d8;
    --green: #3c9b77;
    --line: rgba(23, 22, 58, 0.12);
    --shadow: 0 24px 80px rgba(23, 22, 58, 0.15);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

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

h1,
h2,
h3 {
    letter-spacing: -0.035em;
    line-height: 1.08;
}

h1 {
    max-width: 790px;
    margin-bottom: 26px;
    font-size: clamp(3rem, 7.5vw, 6.8rem);
    font-weight: 790;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2.25rem, 5vw, 4.65rem);
}

h3 {
    margin-bottom: 12px;
    font-size: 1.45rem;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 110px 0;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--white);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(23, 22, 58, 0.9);
    color: var(--white);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 34px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: inherit;
    font-size: 1.18rem;
    font-weight: 760;
    text-decoration: none;
}

.brand img {
    border-radius: 12px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.2);
}

.desktop-nav {
    display: flex;
    margin-left: auto;
    gap: 26px;
}

.desktop-nav a,
.footer-links a {
    text-decoration: none;
}

.desktop-nav a:hover,
.footer-links a:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.language-switcher {
    position: relative;
}

.language-switcher summary {
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.88rem;
    list-style: none;
}

.language-switcher summary::-webkit-details-marker {
    display: none;
}

.language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 190px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    color: var(--ink);
}

.language-menu a {
    padding: 11px 16px;
    text-decoration: none;
}

.language-menu a:hover,
.language-menu a[aria-current="page"] {
    background: #f0eefb;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 85px 0 105px;
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 88, 117, 0.23), transparent 34%),
        radial-gradient(circle at 85% 50%, rgba(129, 112, 215, 0.3), transparent 30%),
        var(--night);
    color: var(--white);
}

.hero-grid {
    display: grid;
    min-height: 720px;
    align-items: center;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    gap: 70px;
}

.eyebrow {
    margin-bottom: 18px;
    color: #ffb0be;
    font-size: 0.82rem;
    font-weight: 780;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-body {
    max-width: 690px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1.1rem, 2vw, 1.34rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.app-store-button {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border-radius: 17px;
    background: var(--coral);
    color: var(--white);
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(255, 88, 117, 0.28);
    transition: transform 160ms ease, background 160ms ease;
}

.app-store-button:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
}

.app-store-mark {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 8px;
    font-size: 0.58rem;
}

.app-store-button--secondary {
    background: var(--white);
    color: var(--night);
    box-shadow: none;
}

.app-store-button--secondary:hover {
    background: #f3f0ff;
}

.cta-note,
.availability-note {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.63);
    font-size: 0.84rem;
}

.availability-note {
    margin-top: 4px;
}

.hero-visual {
    position: relative;
    min-height: 660px;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(255, 220, 177, 0.14);
    filter: blur(3px);
}

.phone-frame {
    position: relative;
    overflow: hidden;
    border: 7px solid #090817;
    border-radius: 44px;
    background: #090817;
    box-shadow: var(--shadow);
}

.phone-frame > img {
    width: 100%;
    height: auto;
}

.phone-frame::before {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 50%;
    width: 28%;
    height: 17px;
    border-radius: 999px;
    background: #090817;
    content: "";
    transform: translateX(-50%);
}

.phone-frame--hero {
    z-index: 2;
    width: min(330px, 78vw);
    transform: rotate(2.5deg);
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 0.86rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.floating-card span {
    color: #ffd0d8;
}

.floating-card--top {
    top: 18%;
    left: -9%;
}

.floating-card--bottom {
    right: -12%;
    bottom: 20%;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(23, 22, 58, 0.92);
    box-shadow: 0 12px 32px rgba(9, 8, 23, 0.28);
}

.trust-strip {
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.trust-strip ul {
    display: grid;
    margin: 0;
    padding: 30px 0;
    list-style: none;
    grid-template-columns: repeat(4, 1fr);
}

.trust-strip li {
    display: grid;
    gap: 3px;
    padding: 0 24px;
    border-left: 1px solid var(--line);
}

.trust-strip li:first-child {
    padding-left: 0;
    border-left: 0;
}

.trust-strip li:last-child {
    padding-right: 0;
}

.trust-strip span {
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.story {
    padding-bottom: 0;
}

.story-card {
    padding: clamp(34px, 7vw, 88px);
    border-radius: 36px;
    background: #efeafb;
}

.story-card h2 {
    max-width: 950px;
}

.story-card > p:last-child {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.18rem;
}

.section-heading {
    display: grid;
    align-items: end;
    margin-bottom: 48px;
    grid-template-columns: minmax(0, 1.4fr) minmax(270px, 0.6fr);
    gap: 50px;
}

.section-heading p {
    margin-bottom: 9px;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 270px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.feature-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 35px;
    place-items: center;
    border-radius: 16px;
    background: #eeeafd;
    color: var(--lavender);
    font-size: 1.4rem;
    font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
    background: #e6f2fb;
    color: var(--sky);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
    background: #e8f5ef;
    color: var(--green);
}

.feature-card:nth-child(4) .feature-icon {
    background: #fee9ed;
    color: var(--coral);
}

.how {
    background: var(--night);
    color: var(--white);
}

.how-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.step {
    display: grid;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    grid-template-columns: 70px 1fr;
    gap: 15px;
}

.step > span {
    color: #ffb0be;
    font-size: 0.85rem;
    font-weight: 760;
}

.step p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.66);
}

.gallery {
    overflow: hidden;
    background: #f0ecf7;
}

.screenshot-grid {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.screenshot-card {
    margin: 0;
    text-align: center;
}

.screenshot-card:nth-child(2) {
    padding-top: 70px;
}

.screenshot-card figcaption {
    margin-top: 20px;
    font-weight: 720;
}

.plan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.plan-card {
    padding: clamp(30px, 5vw, 56px);
    border-radius: 32px;
}

.plan-card--free {
    border: 1px solid var(--line);
    background: var(--white);
}

.plan-card--premium {
    background: var(--night-soft);
    color: var(--white);
}

.plan-kicker {
    margin-bottom: 14px;
    font-size: 2rem;
    font-weight: 780;
    letter-spacing: -0.03em;
}

.plan-card > p:nth-child(2) {
    color: var(--muted);
}

.plan-card--premium > p:nth-child(2) {
    color: rgba(255, 255, 255, 0.65);
}

.plan-card ul {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    gap: 15px;
}

.plan-card li {
    position: relative;
    padding-left: 28px;
}

.plan-card li::before {
    position: absolute;
    left: 0;
    color: var(--coral);
    content: "✓";
    font-weight: 850;
}

.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.faq-item {
    border-top: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    padding: 24px 45px 24px 0;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 730;
    list-style: none;
}

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

.faq-item summary::after {
    position: absolute;
    top: 22px;
    right: 4px;
    content: "+";
    color: var(--coral);
    font-size: 1.5rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    max-width: 720px;
    padding-right: 40px;
    color: var(--muted);
}

.final-cta {
    background: var(--night);
    color: var(--white);
}

.final-card {
    display: grid;
    justify-items: center;
    max-width: 880px;
    text-align: center;
}

.final-card img {
    margin-bottom: 30px;
    border-radius: 24px;
}

.final-card p {
    max-width: 690px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.15rem;
}

.site-footer {
    padding: 48px 0;
    background: #0d0c24;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 1fr auto;
    gap: 22px 60px;
}

.brand--footer {
    color: var(--white);
}

.footer-grid > div > p {
    margin: 10px 0 0;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-legal {
    margin-bottom: 0;
    font-size: 0.82rem;
    grid-column: 1 / -1;
}

.privacy-page {
    min-height: calc(100vh - 74px);
    padding: 80px 0 110px;
    background: var(--white);
}

.privacy-container {
    max-width: 820px;
}

.privacy-container h1 {
    margin: 35px 0 12px;
    font-size: clamp(2.6rem, 6vw, 4.7rem);
}

.privacy-updated {
    color: var(--muted);
    font-size: 0.9rem;
}

.privacy-intro {
    margin: 45px 0 60px;
    padding: 30px;
    border-radius: 22px;
    background: #f0ecfa;
    font-size: 1.15rem;
}

.privacy-container section {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

.privacy-container section h2 {
    font-size: 1.75rem;
}

.privacy-container section p {
    color: var(--muted);
}

.back-link {
    color: var(--coral-dark);
    font-weight: 720;
    text-decoration: none;
}

.language-entry {
    display: grid;
    min-height: 100vh;
    place-content: center;
    justify-items: center;
    padding: 30px;
    background: var(--night);
    color: var(--white);
    text-align: center;
}

.language-entry img {
    border-radius: 25px;
}

.language-entry h1 {
    margin: 20px 0;
    font-size: 3rem;
}

.language-entry ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    list-style: none;
    gap: 15px;
}

.language-entry a {
    color: #ffb0be;
}

:focus-visible {
    outline: 3px solid #ffbdc9;
    outline-offset: 4px;
}

@media (max-width: 960px) {
    .desktop-nav {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
    }

    .hero-grid,
    .how-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

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

    .floating-card--top {
        left: 4%;
    }

    .floating-card--bottom {
        right: 2%;
    }

    .trust-strip ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip li:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .trust-strip li:nth-child(n + 3) {
        margin-top: 24px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-grid,
    .faq-grid {
        gap: 35px;
    }
}

@media (max-width: 720px) {
    body {
        font-size: 16px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 78px 0;
    }

    .header-inner {
        min-height: 66px;
    }

    .brand span {
        display: none;
    }

    .language-switcher summary {
        font-size: 0.78rem;
    }

    .hero {
        padding: 65px 0 75px;
    }

    h1 {
        font-size: clamp(2.75rem, 14vw, 4.6rem);
    }

    h2 {
        font-size: clamp(2.15rem, 10vw, 3.3rem);
    }

    .hero-grid {
        gap: 35px;
    }

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

    .phone-frame--hero {
        width: min(285px, 78vw);
    }

    .floating-card {
        font-size: 0.72rem;
    }

    .trust-strip ul,
    .feature-grid,
    .plan-grid,
    .section-heading {
        grid-template-columns: 1fr;
    }

    .trust-strip li,
    .trust-strip li:nth-child(3) {
        margin: 0;
        padding: 16px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .trust-strip li:first-child {
        border-top: 0;
    }

    .section-heading {
        gap: 5px;
    }

    .feature-card {
        min-height: 0;
    }

    .screenshot-grid {
        width: max-content;
        max-width: none;
        grid-template-columns: repeat(3, 255px);
        gap: 20px;
    }

    .gallery .container {
        overflow-x: auto;
        padding-bottom: 20px;
    }

    .screenshot-card:nth-child(2) {
        padding-top: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-legal {
        grid-column: auto;
    }

    .privacy-page {
        padding-top: 55px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
