:root {
    --purple: #6d28da;
    --purple-dark: #4c1d95;
    --lavender: #ddd8ff;
    --lavender-soft: #f3f0ff;
    --ink: #111111;
    --muted: rgba(17, 17, 17, 0.72);
    --ph: #da552f;
    --line: rgba(109, 40, 218, 0.16);
    --shadow: 0 30px 90px rgba(48, 28, 92, 0.16);
    --display:
        "Staatliches", "Arial Narrow",
        "HelveticaNeue-CondensedBold", Impact, system-ui, sans-serif;
    --body:
        Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a {
    color: inherit;
    text-underline-offset: 0.18em;
}
img {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}
.display {
    margin: 0;
    font-family: var(--display);
    letter-spacing: -0.015em;
    line-height: 0.94;
    text-transform: uppercase;
}
.purple {
    color: var(--purple);
}
.section {
    padding: clamp(76px, 10vw, 130px) 0;
}
.section-lavender {
    background: var(--lavender);
}
.lead {
    color: var(--muted);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.65;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: clamp(64px, 9vw, 118px) 0 78px;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(52px);
    pointer-events: none;
}
.hero::before {
    top: 120px;
    left: -120px;
    width: 280px;
    height: 280px;
    background: rgba(221, 216, 255, 0.85);
}
.hero::after {
    top: -80px;
    right: -90px;
    width: 430px;
    height: 430px;
    background: rgba(237, 233, 254, 0.9);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: clamp(42px, 7vw, 96px);
}
.brand-lockup {
    position: relative;
    width: min(340px, 82vw);
    margin: 0 auto;
}
.brand-logo {
    width: 260px;
    height: auto;
    border-radius: 22.5%;
    /* The multi-layered shadow stack mimicking Liquid Glass depth */
    box-shadow:
        /* 1. Subtle, crisp outer drop shadow on the wallpaper */
        0px 8px 16px rgba(0, 0, 0, 0.15),
        /* 2. Soft, wide ambient occlusion shadow below the icon */
        0px 16px 32px rgba(0, 0, 0, 0.1),
        /* 3. Outer glowing edge ring characteristic of iOS 26 dark/clear themes */
        0px 0px 0px 1px rgba(255, 255, 255, 0.25),
        /* 4. Internal top reflection/highlight (glossy glass edge) */
        inset 0px 1.5px 2px rgba(255, 255, 255, 0.4),
        /* 5. Internal bottom ambient shadow inside the squircle boundary */
        inset 0px -2px 4px rgba(0, 0, 0, 0.15);

    /* Essential blur effect for the underlying background content */
    backdrop-filter: blur(20px) saturate(190%);
    -webkit-backdrop-filter: blur(20px) saturate(190%);

    /* Smooth hardware-accelerated transitions */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /*transition:
        transform 200ms ease,
        box-shadow 200ms ease;*/
}
.brand-logo:hover {
    transform: translateY(-4px);
    /*box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, 0.75),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.5),
        0 0 0 1px rgba(140, 110, 245, 0.24),
        0 26px 56px rgba(109, 40, 218, 0.34),
        0 12px 24px rgba(48, 28, 92, 0.22),
        0 0 88px rgba(160, 130, 255, 0.5);*/
}
.hero-kicker {
    margin: 0 0 12px;
    font-family: var(--display);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(72px, 10vw, 132px);
}
.hero-copy {
    max-width: 610px;
    margin: 26px 0 0;
}
.store-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}
.store-link {
    display: inline-flex;
    transition:
        transform 160ms ease,
        filter 160ms ease;
}
.store-link:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.16));
}
.store-link img {
    height: 52px;
    width: auto;
}
.product-hunt {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    border-radius: 10px;
}
.product-hunt:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(218, 85, 47, 0.16);
}
.ph-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 999px;
    background: var(--ph);
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}
.ph-count {
    border-radius: 999px;
    background: #fff1ed;
    padding: 5px 9px;
    font-size: 13px;
}
.hero-phone {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    margin-top: 58px;
}

.developer-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 7vw, 84px);
}
.portrait-card {
    display: grid;
    width: 220px;
    height: 220px;
    place-items: center;
    border-radius: 999px;
    background: #111;
    box-shadow: 17px 17px 0 rgba(109, 40, 218, 0.22);
}
.portrait-face {
    display: grid;
    width: 224px;
    height: 224px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--purple);
    filter: grayscale(100%);
    font:
        900 44px/1 ui-monospace,
        SFMono-Regular,
        Menlo,
        monospace;
    letter-spacing: -0.14em;
}
.portrait-photo {
    object-fit: cover;
}
.section-title {
    font-size: clamp(48px, 6vw, 82px);
    color: var(--purple);
}
.developer-copy {
    max-width: 790px;
    margin: 24px 0 0;
}
.developer-copy a,
.faq-card a {
    color: var(--purple);
}

.features {
    display: grid;
    gap: clamp(90px, 12vw, 150px);
}
.feature-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(42px, 8vw, 108px);
}
.feature-copy {
    max-width: 560px;
}
.feature-title {
    font-size: clamp(46px, 5.4vw, 78px);
    color: var(--purple);
}
.phone-wrap {
    display: flex;
    justify-content: center;
}
.tilt-left {
    transform: rotate(-3deg);
}
.tilt-right {
    transform: rotate(3deg);
}
.phone-shell {
    width: min(318px, 82vw);
    border-radius: 48px;
    background: linear-gradient(145deg, #f7f7fb, #c9c8d2);
    padding: 14px;
    box-shadow:
        var(--shadow),
        inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}
.phone-screen {
    min-height: 610px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 35px;
    background: #fff;
}
img.phone-screen {
    min-height: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.phone-status {
    display: flex;
    justify-content: space-between;
    padding: 18px 22px 8px;
    font-size: 12px;
    font-weight: 850;
}
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
}
.app-eyebrow {
    margin: 0 0 2px;
    color: var(--purple);
    font-size: 13px;
    font-weight: 850;
}
.app-header h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}
.add-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}
.rate-list,
.currency-list {
    display: grid;
    gap: 14px;
    padding: 10px 16px 24px;
}
.rate-row,
.currency-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border-radius: 22px;
    background: #f8f7ff;
    padding: 16px;
}
.rate-row.is-active {
    background: var(--lavender);
    box-shadow: inset 0 0 0 2px rgba(109, 40, 218, 0.18);
}
.rate-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.flag {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    font-size: 24px;
    box-shadow: 0 6px 16px rgba(39, 22, 84, 0.08);
}
.rate-meta strong,
.currency-row strong {
    display: block;
    font-size: 15px;
}
.rate-meta small,
.currency-row span:last-child {
    color: var(--purple);
    font-size: 12px;
    font-weight: 850;
}
.rate-value {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.04em;
}
.search-pill,
.offline-card {
    border-radius: 999px;
    background: var(--lavender-soft);
    padding: 14px 18px;
    color: var(--purple);
    font-weight: 850;
}
.currency-row {
    justify-content: flex-start;
}
.currency-row strong {
    flex: 1;
}
.offline-card {
    display: grid;
    gap: 3px;
    border-radius: 24px;
    background: #111;
    color: #fff;
}
.offline-card span {
    color: var(--lavender);
    font-size: 13px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 46px;
}
.faq-card {
    min-height: 245px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.52);
    padding: 28px;
}
.faq-card h3 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(26px, 2.7vw, 34px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.02;
    text-transform: uppercase;
}
.faq-card p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.footer {
    padding: 34px 0;
}
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: rgba(17, 17, 17, 0.62);
    font-size: 14px;
}
.footer-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
}
.footer-stores,
.footer-textlinks {
    display: flex;
    align-items: center;
    gap: 18px;
}
.footer .store-link img {
    height: 38px;
}
.footer-textlinks > a {
    color: var(--purple);
}

@media (max-width: 860px) {
    .hero {
        min-height: auto;
        text-align: center;
    }
    .hero-grid,
    .developer-grid,
    .feature-row,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .hero-copy,
    .feature-copy,
    .developer-copy {
        margin-left: auto;
        margin-right: auto;
    }
    .store-row {
        justify-content: center;
    }
    .developer-grid {
        text-align: center;
    }
    .portrait-card {
        margin: 0 auto;
    }
    .feature-row.reverse-mobile .phone-wrap {
        order: 2;
    }
    .feature-row.reverse-mobile .feature-copy {
        order: 1;
    }
    .feature-copy {
        text-align: center;
    }
    #faq-title {
        text-align: center;
    }
    .footer-row {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        justify-content: center;
    }
}
@media (max-width: 520px) {
    .container {
        width: min(100% - 28px, 1120px);
    }
    .brand-logo {
        width: 160px;
    }
    .brand-lockup {
        width: 160px;
    }
    .store-row {
        flex-direction: column;
    }
    .store-link img {
        height: 48px;
    }
    .phone-shell {
        border-radius: 42px;
    }
    .phone-screen {
        min-height: 560px;
    }
    .faq-card {
        min-height: auto;
    }
}

/* ── Legal / prose pages (privacy, terms) ───────────────────────── */
.page-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}
.page-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    font-size: 22px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none;
}
.page-brand img {
    width: 38px;
    height: 38px;
    border-radius: 22.5%;
    /* Same Liquid Glass shadow stack as the hero .brand-logo on index */
    box-shadow:
        0px 8px 16px rgba(0, 0, 0, 0.15),
        0px 16px 32px rgba(0, 0, 0, 0.1),
        0px 0px 0px 1px rgba(255, 255, 255, 0.25),
        inset 0px 1.5px 2px rgba(255, 255, 255, 0.4),
        inset 0px -2px 4px rgba(0, 0, 0, 0.15);
}
.back-link {
    color: var(--purple);
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
}
.back-link:hover {
    text-decoration: underline;
}

.legal {
    padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 110px);
}
.legal-head {
    max-width: 820px;
    margin: 0 0 clamp(32px, 5vw, 56px);
}
.legal-head .section-title {
    margin-bottom: 14px;
}
.prose {
    max-width: 820px;
}
.prose h2 {
    margin: clamp(40px, 5vw, 60px) 0 18px;
    font-family: var(--display);
    font-size: clamp(30px, 3.4vw, 42px);
    letter-spacing: -0.01em;
    line-height: 1.04;
    text-transform: uppercase;
    color: var(--purple);
}
.prose h3 {
    margin: 30px 0 12px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.prose p {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}
.prose a {
    color: var(--purple);
    font-weight: 700;
}
.prose ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.prose ul li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}
.prose ul li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--purple);
}
.prose ul li strong {
    color: var(--ink);
}
.prose dl {
    margin: 0 0 18px;
    display: grid;
    gap: 16px;
}
.prose dl div {
    border-left: 3px solid var(--lavender);
    padding-left: 18px;
}
.prose dt {
    font-weight: 800;
    color: var(--ink);
    font-size: 17px;
}
.prose dd {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
}
.legal-contact {
    margin-top: clamp(36px, 5vw, 56px);
    border-radius: 28px;
    background: var(--lavender-soft);
    padding: clamp(24px, 4vw, 36px);
}
.legal-contact h2 {
    margin-top: 0;
}
.legal-contact p:last-child {
    margin-bottom: 0;
}

@media (max-width: 520px) {
    .page-brand {
        font-size: 18px;
    }
    .back-link {
        font-size: 14px;
    }
}
