:root {
    --bg: #090909;
    --bg-soft: #121212;
    --card: #1c1c1e;
    --card-2: #242428;
    --gold: #d7b46a;
    --gold-soft: #f0d58c;
    --text: #ffffff;
    --text-soft: #ededf1;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: rgba(0, 0, 0, 0.45);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background:
        radial-gradient(circle at top, rgba(215, 180, 106, 0.13), transparent 32%),
        linear-gradient(135deg, #050505, var(--bg), #141414);
    color: var(--text);
}

body.menu-open {
    overflow: hidden;
}

a {
    color: var(--gold-soft);
}

a:hover {
    color: #fff3cf;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 9, 9, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.site-brand:hover {
    color: #fff;
}

.site-brand-mark,
.home-brand-mark {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(215,180,106,0.24), rgba(215,180,106,0.05)), #111;
    border: 1px solid rgba(215,180,106,0.4);
    color: var(--gold-soft);
    box-shadow: 0 0 28px rgba(215,180,106,0.12);
}

.site-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}

.desktop-nav a:hover {
    color: var(--gold-soft);
}

.mobile-menu-button,
.mobile-menu-close {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
}

.mobile-menu-button {
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-button span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding: 22px;
    background:
        radial-gradient(circle at top left, rgba(215, 180, 106, 0.18), transparent 30%),
        #090909;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    display: block;
    font-size: 42px;
    font-weight: 200;
    line-height: 1;
    padding: 0 8px;
}

.mobile-menu-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.mobile-menu-links a {
    color: #fff;
    text-decoration: none;
    font-size: clamp(1.8rem, 8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    padding: 8px 0;
}

.mobile-menu-links a:hover {
    color: var(--gold-soft);
}

.home-page {
    min-height: calc(100vh - 108px);
}

.home-hero {
    padding: 90px 0 34px;
}

.home-brand-mark {
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    border-radius: 26px;
    font-size: 2rem;
    font-weight: 800;
}

.home-hero h1 {
    margin: 0;
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.home-hero p {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--text-soft);
    font-size: 1.1rem;
    line-height: 1.7;
}

.apps-section {
    padding: 20px 0 92px;
}

.app-card,
.app-hero-card,
.content-panel {
    background: linear-gradient(145deg, var(--card-2), var(--card));
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px var(--shadow);
}

.app-card {
    border-radius: 28px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: rgba(215,180,106,0.28);
    box-shadow: 0 28px 70px rgba(0,0,0,0.5), 0 0 30px rgba(215,180,106,0.05);
}

.app-card-icon-wrap {
    margin-bottom: 24px;
}

.app-card-icon,
.app-hero-icon {
    display: block;
    object-fit: cover;
    background: #101010;
    border: 1px solid rgba(215,180,106,0.32);
    box-shadow: 0 0 28px rgba(215,180,106,0.12);
}

.app-card-icon {
    width: 82px;
    height: 82px;
    border-radius: 22px;
}

.app-card-icon-placeholder {
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
}

.app-card h2 {
    margin: 0 0 12px;
    font-size: 1.65rem;
    letter-spacing: -0.03em;
}

.app-card-text,
.content-panel p,
.feature-item span,
.policy-page p {
    color: var(--text-soft);
    line-height: 1.72;
}

.app-card-text {
    margin-bottom: 22px;
}

.platforms {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.price-line {
    color: var(--gold-soft);
    font-size: 1.2rem;
    font-weight: 800;
}

.purchase-note {
    color: var(--text-soft);
    font-size: 0.88rem;
    margin: 4px 0 22px;
}

.gold-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 13px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    color: #111;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(215,180,106,0.18);
}

.gold-button:hover {
    color: #111;
    transform: translateY(-1px);
}

.app-hero {
    padding: 62px 0 26px;
}

.app-hero-card {
    border-radius: 34px;
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
}

.app-hero-icon {
    width: 132px;
    height: 132px;
    border-radius: 30px;
}

.eyebrow,
.section-label {
    display: inline-block;
    color: var(--gold-soft);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.app-hero h1,
.policy-page h1 {
    margin: 8px 0 10px;
    font-size: clamp(2.6rem, 6vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.06em;
}

.hero-tagline {
    margin: 0;
    color: #fff;
    font-size: 1.3rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
    color: var(--text-soft);
    font-size: 0.94rem;
}

.hero-meta span:not(:last-child)::after {
    content: '';
}

.app-store-link {
    display: inline-block;
    margin-top: 24px;
}

.app-store-link img {
    height: 48px;
    width: auto;
}

.store-note {
    margin: 20px 0 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.content-section {
    padding: 18px 0 76px;
}

.app-content-width {
    max-width: 980px;
}

.content-panel {
    border-radius: 26px;
    padding: 30px;
    margin-top: 18px;
}

.content-panel h2 {
    margin: 7px 0 14px;
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -0.03em;
}

.content-panel p {
    margin-bottom: 14px;
}

.content-panel p:last-child {
    margin-bottom: 0;
}

.feature-grid {
    margin-top: 8px;
}

.feature-item {
    height: 100%;
    padding: 18px;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.feature-item strong,
.feature-item span {
    display: block;
}

.feature-item strong {
    margin-bottom: 5px;
    color: var(--gold-soft);
}

.screenshot-tabs {
    gap: 8px;
    margin-top: 18px;
}

.screenshot-tabs .nav-link {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: #fff;
    padding: 10px 18px;
    font-weight: 700;
}

.screenshot-tabs .nav-link:hover,
.screenshot-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--gold-soft), var(--gold));
    border-color: transparent;
    color: #111;
}

.screenshot-strip {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
}

.screenshot-strip img {
    flex: 0 0 auto;
    width: min(270px, 72vw);
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 42px rgba(0,0,0,0.35);
    scroll-snap-align: start;
}

.screenshot-strip-mac img {
    width: min(620px, 86vw);
}

.screenshot-empty {
    padding: 22px;
    border: 1px dashed rgba(215,180,106,0.35);
    border-radius: 18px;
    color: var(--text-soft);
    line-height: 1.8;
}

.screenshot-empty code {
    color: var(--gold-soft);
}

.support-panel .gold-button {
    margin-top: 8px;
}

.support-email {
    display: inline-block;
    margin-left: 14px;
    color: #fff;
    text-decoration: none;
}

.policy-page .content-section {
    padding-top: 50px;
}

.policy-intro {
    margin-top: 0;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 26px 0 34px;
    text-align: center;
    color: #fff;
    font-size: 0.9rem;
}

.site-footer p {
    margin: 0 0 5px;
    color: #fff;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold-soft);
}

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

    .mobile-menu-button {
        display: flex;
    }

    .site-header-inner {
        min-height: 68px;
    }

    .home-hero {
        padding: 62px 0 28px;
    }

    .apps-section {
        padding-bottom: 62px;
    }

    .app-card {
        border-radius: 24px;
        padding: 24px;
    }

    .app-hero {
        padding-top: 28px;
    }

    .app-hero-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px;
        border-radius: 28px;
    }

    .app-hero-icon {
        width: 102px;
        height: 102px;
        border-radius: 24px;
    }

    .content-panel {
        padding: 24px;
        border-radius: 22px;
    }

    .support-email {
        display: block;
        margin: 16px 0 0;
    }
}
