:root {
    --ink: #15131f;
    --muted: #5f6472;
    --paper: #fffaf2;
    --surface: #ffffff;
    --plum: #742a54;
    --plum-dark: #4a1736;
    --rose: #d94f86;
    --gold: #c88b4a;
    --sage: #56736a;
    --line: rgba(21, 19, 31, 0.12);
    --shadow: 0 24px 80px rgba(74, 23, 54, 0.14);
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 250, 242, 0.9) 0%, rgba(255, 255, 255, 1) 34%),
        var(--paper);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 32px, var(--max));
    margin: 16px auto 0;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 44px rgba(21, 19, 31, 0.08);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 900;
    color: var(--plum-dark);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.brand__logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    color: #3d4150;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
    color: var(--plum);
    background: rgba(116, 42, 84, 0.08);
}

.site-nav .nav-cta {
    color: #fff;
    background: var(--plum);
    box-shadow: 0 10px 28px rgba(116, 42, 84, 0.22);
}

.site-nav .nav-cta:hover {
    color: #fff;
    background: var(--plum-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    position: relative;
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: var(--plum);
    cursor: pointer;
}

.nav-toggle::before,
.nav-toggle::after,
.nav-toggle__label {
    position: absolute;
    left: 13px;
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    color: transparent;
    overflow: hidden;
}

.nav-toggle::before,
.nav-toggle::after {
    content: "";
}

.nav-toggle::before {
    top: 15px;
}

.nav-toggle__label {
    top: 21px;
}

.nav-toggle::after {
    top: 27px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.8fr);
    gap: clamp(36px, 6vw, 80px);
    align-items: center;
    width: min(100% - 40px, var(--max));
    min-height: calc(100vh - 98px);
    margin: 0 auto;
    padding: clamp(54px, 8vw, 96px) 0 70px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--sage);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.showcase h2,
.download h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 800;
    line-height: 0.96;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(3.15rem, 8.4vw, 6.85rem);
}

.hero__copy {
    max-width: 660px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1.06rem, 1.7vw, 1.28rem);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: var(--plum);
    box-shadow: 0 18px 36px rgba(116, 42, 84, 0.24);
}

.button--secondary {
    color: var(--plum-dark);
    border-color: rgba(116, 42, 84, 0.24);
    background: rgba(255, 255, 255, 0.74);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 640px;
    margin: 42px 0 0;
    padding: 0;
    list-style: none;
}

.hero__stats li {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.68);
}

.hero__stats strong {
    display: block;
    color: var(--plum);
    font-size: 1.08rem;
    font-weight: 900;
}

.hero__stats span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.hero__media {
    position: relative;
    min-height: 640px;
}

.phone-stack {
    position: relative;
    height: 640px;
}

.phone {
    position: absolute;
    width: min(72vw, 320px);
    margin: 0;
    overflow: hidden;
    border: 10px solid #15131f;
    border-radius: 42px;
    background: #15131f;
    box-shadow: var(--shadow);
}

.phone img {
    width: 100%;
    aspect-ratio: 1284 / 2778;
    object-fit: cover;
}

.phone--front {
    right: 18px;
    top: 22px;
    z-index: 2;
}

.phone--back {
    left: 0;
    top: 110px;
    z-index: 1;
    width: min(66vw, 285px);
    opacity: 0.95;
    transform: rotate(-5deg);
}

.verse-card {
    position: absolute;
    right: 0;
    bottom: 60px;
    z-index: 3;
    width: min(280px, 72vw);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 52px rgba(21, 19, 31, 0.14);
    backdrop-filter: blur(16px);
}

.verse-card__label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.verse-card strong {
    display: block;
    color: var(--plum-dark);
    font-size: 1.1rem;
}

.verse-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.5;
}

.section-pad,
.section-band,
.download,
.site-footer {
    width: min(100% - 40px, var(--max));
    margin: 0 auto;
}

.section-pad {
    padding: 88px 0;
}

.section-band {
    display: grid;
    grid-template-columns: 0.92fr 1fr;
    gap: 42px;
    align-items: start;
    padding: 48px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 18px 70px rgba(21, 19, 31, 0.07);
}

.intro p {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.section-heading {
    max-width: 780px;
}

.section-heading--center {
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2,
.showcase h2,
.download h2 {
    font-size: clamp(2.25rem, 5vw, 4.4rem);
}

.feature-grid,
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.step-card {
    min-height: 230px;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 50px rgba(21, 19, 31, 0.06);
}

.feature-card__icon,
.step-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    border-radius: 16px;
    color: #fff;
    background: var(--plum);
    font-size: 0.88rem;
    font-weight: 900;
}

.feature-card:nth-child(2n) .feature-card__icon,
.step-card:nth-child(2) span {
    background: var(--sage);
}

.feature-card:nth-child(3n) .feature-card__icon,
.step-card:nth-child(3) span {
    background: var(--gold);
}

.feature-card h3,
.step-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.feature-card p,
.step-card p,
.showcase p,
.download p,
.site-footer p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.showcase {
    display: grid;
    grid-template-columns: 0.72fr 1fr;
    gap: 44px;
    align-items: center;
}

.showcase__text p {
    margin-top: 22px;
    font-size: 1.04rem;
}

.text-link {
    display: inline-flex;
    margin-top: 24px;
    color: var(--plum);
    font-weight: 900;
    border-bottom: 2px solid rgba(116, 42, 84, 0.25);
}

.screen-gallery {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 1fr);
    gap: 16px;
    overflow-x: auto;
    padding: 12px 6px 22px;
    scrollbar-color: rgba(116, 42, 84, 0.24) transparent;
}

.screen-gallery img {
    width: 100%;
    min-width: 190px;
    aspect-ratio: 1284 / 2778;
    object-fit: cover;
    border: 8px solid #15131f;
    border-radius: 32px;
    box-shadow: 0 18px 48px rgba(21, 19, 31, 0.12);
}

.steps {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto;
}

.faq-list details {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 42px rgba(21, 19, 31, 0.05);
}

.faq-list summary {
    position: relative;
    padding: 22px 58px 22px 24px;
    color: var(--ink);
    cursor: pointer;
    font-weight: 900;
    list-style: none;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    color: var(--plum);
    font-size: 1.45rem;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list p {
    margin: 0;
    padding: 0 24px 24px;
    color: var(--muted);
    line-height: 1.7;
}

.download {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 88px;
    padding: clamp(34px, 6vw, 58px);
    border-radius: 36px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(74, 23, 54, 0.96), rgba(86, 115, 106, 0.94)),
        var(--plum-dark);
    box-shadow: var(--shadow);
}

.download .eyebrow,
.download p {
    color: rgba(255, 255, 255, 0.78);
}

.download h2 {
    color: #fff;
}

.download p {
    margin-top: 18px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.store-button,
.store-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    transition: transform 180ms ease, background 180ms ease;
}

.store-button {
    flex-direction: column;
    color: #fff;
}

.store-button span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

.store-button strong {
    font-size: 1.15rem;
}

.store-button:hover,
.store-badge:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.store-badge img {
    max-height: 48px;
    object-fit: contain;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: start;
    padding: 34px 0 42px;
    border-top: 1px solid var(--line);
}

.brand--footer {
    margin-bottom: 12px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 14px 22px;
    font-weight: 800;
    color: #3d4150;
}

.site-footer nav a:hover {
    color: var(--plum);
}

.copyright {
    grid-column: 1 / -1;
    font-size: 0.92rem;
}

@media (max-width: 980px) {
    .hero,
    .section-band,
    .showcase,
    .download {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 58px;
    }

    .hero__content {
        text-align: center;
    }

    .hero__copy,
    .hero__stats {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__media {
        min-height: 600px;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .feature-grid,
    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-header {
        width: min(100% - 24px, var(--max));
        margin-top: 10px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 52px rgba(21, 19, 31, 0.12);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        justify-content: center;
    }

    .hero,
    .section-pad,
    .section-band,
    .download,
    .site-footer {
        width: min(100% - 28px, var(--max));
    }

    .hero h1 {
        font-size: clamp(2.85rem, 15vw, 4.2rem);
    }

    .hero__stats,
    .feature-grid,
    .step-grid,
    .store-grid,
    .site-footer {
        grid-template-columns: 1fr;
    }

    .hero__media {
        min-height: 520px;
    }

    .phone-stack {
        height: 520px;
    }

    .phone {
        width: min(66vw, 275px);
        border-width: 8px;
        border-radius: 34px;
    }

    .phone--front {
        right: 0;
    }

    .phone--back {
        width: min(58vw, 235px);
        left: 0;
        top: 92px;
    }

    .verse-card {
        bottom: 34px;
    }

    .section-pad {
        padding: 66px 0;
    }

    .section-band,
    .download {
        padding: 28px;
        border-radius: 26px;
    }

    .feature-card,
    .step-card {
        min-height: auto;
    }

    .site-footer nav {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .brand span {
        font-size: 1rem;
    }

    .brand__logo {
        width: 36px;
        height: 36px;
    }

    .button,
    .hero__actions {
        width: 100%;
    }

    .hero__media {
        min-height: 480px;
    }

    .phone-stack {
        height: 480px;
    }

    .verse-card {
        left: 14px;
        right: 14px;
        width: auto;
    }
}
