:root {
    --bg: #efebf2;
    --bg-2: #f7f4f9;
    --text: #2d1b47;
    --muted: #6a5a7d;
    --primary: #45207b;
    --primary-2: #5f3298;
    --primary-dark: #2f1658;
    --accent: #e5a11a;
    --accent-dark: #c68712;
    --white: #ffffff;
    --border: rgba(69, 32, 123, 0.12);
    --shadow: 0 20px 60px rgba(49, 24, 84, 0.10);
    --radius: 24px;
    --radius-sm: 16px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(229, 161, 26, 0.15), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

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

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

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(247, 244, 249, 0.78);
    border-bottom: 1px solid rgba(69, 32, 123, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(69, 32, 123, 0.12);
}

.brand-text,
.footer-brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

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

.top-nav a {
    color: var(--muted);
    font-weight: 600;
}

.top-nav a:hover {
    color: var(--primary);
}

.hero-section {
    padding: 52px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 28px;
    align-items: center;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(69, 32, 123, 0.08);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-copy h1,
.section-head h2,
.bottom-cta h2,
.legal-page h1 {
    margin: 0;
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    max-width: 11ch;
}

.hero-text,
.plan-subtext,
.feature-card p,
.bottom-cta p,
.legal-card p,
.legal-card li,
.footer-copy,
.site-footer p,
.coming-soon-note {
    color: var(--muted);
    line-height: 1.7;
}

.hero-text {
    max-width: 60ch;
    font-size: 1.08rem;
    margin: 20px 0 0;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.cta-row.compact {
    justify-content: flex-start;
}

.store-button {
    min-width: 205px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 14px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 18px 36px rgba(49, 24, 84, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.store-button.secondary {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #3c2400;
    box-shadow: 0 18px 36px rgba(229, 161, 26, 0.22);
}

.store-button:hover {
    transform: translateY(-2px);
}

.store-button.is-disabled {
    opacity: 0.72;
    cursor: default;
    box-shadow: none;
}

.store-label {
    font-size: 0.78rem;
    opacity: 0.82;
}

.store-name {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.coming-soon-note code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    padding: 2px 6px;
    border-radius: 8px;
    background: rgba(69, 32, 123, 0.08);
    color: var(--primary);
}

.hero-card,
.feature-card,
.bottom-cta,
.legal-card {
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.hero-card {
    border-radius: 32px;
    padding: 28px;
}

.plan-card {
    background:
        radial-gradient(circle at top right, rgba(229, 161, 26, 0.16), transparent 26%),
        linear-gradient(180deg, rgba(69, 32, 123, 0.08), rgba(69, 32, 123, 0.03));
    border-radius: 24px;
    padding: 28px;
}

.plan-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

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

.price-box {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(69, 32, 123, 0.10);
    border-radius: 20px;
    padding: 18px;
}

.price-box.featured {
    outline: 2px solid rgba(229, 161, 26, 0.35);
}

.price-caption {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--muted);
}

.price-value {
    margin-top: 10px;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.price-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.94rem;
}

.features-section,
.page-section {
    padding: 44px 0 28px;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 28px;
}

.section-head.left {
    text-align: left;
    margin-left: 0;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    border-radius: 24px;
    padding: 24px;
    min-height: 190px;
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
}

.bottom-cta-section {
    padding: 28px 0 48px;
}

.bottom-cta {
    border-radius: 30px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer {
    padding: 24px 0 42px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(69, 32, 123, 0.10);
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.legal-container {
    max-width: 940px;
}

.legal-card {
    border-radius: 28px;
    padding: 30px;
}

.legal-card h2 {
    margin: 28px 0 10px;
    font-size: 1.28rem;
    letter-spacing: -0.02em;
}

.legal-card ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 980px) {
    .hero-grid,
    .bottom-cta,
    .footer-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .bottom-cta {
        align-items: flex-start;
    }
}

@media (max-width: 720px) {
    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-nav {
        gap: 16px;
    }

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

    .hero-copy h1 {
        max-width: none;
    }

    .hero-card,
    .legal-card,
    .bottom-cta,
    .feature-card,
    .plan-card {
        padding: 22px;
    }

    .plan-prices {
        grid-template-columns: 1fr;
    }

    .store-button {
        width: 100%;
        min-width: 0;
    }
}
