:root {
    --vatican-gold: #a88d37;
    --helper-text: #515356;
    --option-blue: #357cd2;
    --selected-gold: #c9bc89;
    --green: #106438;
    --charcoal: #525456;
    --action-red: #cc0000;
    --yellow: #ffcc20;
    --soft-gray: #bdbfbf;
    --white: #ffffff;
    --line: #eee6d1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--charcoal);
    font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #eeeeee;
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--vatican-gold);
    font-size: 15px;
    font-weight: 900;
}

.brand img,
.hero-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 800;
}

.hero {
    position: relative;
    min-height: calc(100vh - 58px);
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 72px 22px 88px;
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    object-fit: cover;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.72);
}

.hero-content {
    position: relative;
    width: min(100%, 720px);
    margin: 0 auto;
    text-align: center;
}

.hero-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.eyebrow {
    margin: 14px 0 8px;
    color: var(--vatican-gold);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

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

h1 {
    margin-bottom: 14px;
    color: var(--vatican-gold);
    font-size: clamp(42px, 8vw, 74px);
    line-height: 1;
    font-weight: 900;
}

.hero-copy {
    width: min(100%, 620px);
    margin: 0 auto 24px;
    color: var(--charcoal);
    font-size: clamp(18px, 2.5vw, 22px);
    line-height: 1.45;
    font-weight: 700;
}

.hero-actions,
.download-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.store-button {
    min-width: 210px;
    padding: 12px 18px;
    border-radius: 12px;
    color: var(--white);
    text-align: left;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.store-button.apple {
    background: var(--charcoal);
}

.store-button.android {
    background: var(--green);
}

.store-kicker {
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.store-button strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 900;
}

.section {
    padding: 56px 18px;
}

.section-heading {
    width: min(100%, 860px);
    margin: 0 auto 24px;
    text-align: center;
}

.section-heading h2,
.download-copy h2,
.preview-copy h2 {
    color: var(--vatican-gold);
    font-size: clamp(28px, 4.5vw, 42px);
    line-height: 1.12;
    font-weight: 900;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 1060px);
    margin: 0 auto;
}

.feature-card {
    padding: 18px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.feature-mark {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 12px;
    background: var(--option-blue);
    color: var(--white);
    font-weight: 900;
}

.feature-card h3 {
    color: var(--vatican-gold);
    font-size: 19px;
    font-weight: 900;
}

.feature-card p,
.preview-copy p,
.download-copy p {
    color: var(--charcoal);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.screenshots-section {
    background: #fafafa;
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 920px);
    margin: 0 auto;
}

.screenshots figure {
    margin: 0;
}

.screenshots img {
    display: block;
    width: 100%;
    max-height: 640px;
    object-fit: contain;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.screenshots figcaption {
    padding: 10px 4px 0;
    color: var(--vatican-gold);
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.lesson-preview {
    padding: 56px 18px;
}

.preview-inner {
    display: grid;
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
    align-items: center;
    gap: 34px;
    width: min(100%, 1040px);
    margin: 0 auto;
}

.phone-panel {
    padding: 20px 16px 16px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--vatican-gold);
    font-size: 16px;
    font-weight: 800;
}

.voice-pill {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 900;
}

.phone-panel h2 {
    margin: 12px 0 10px;
    color: var(--vatican-gold);
    font-size: 28px;
    text-align: center;
}

.progress {
    color: var(--charcoal);
    font-size: 15px;
    font-weight: 600;
}

.level-picker {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    padding: 10px;
    border-radius: 12px;
    background: var(--soft-gray);
}

.level-picker span {
    flex: 1;
    padding: 10px 4px;
    border-radius: 8px;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.level-picker .active {
    background: var(--charcoal);
    color: var(--white);
}

.sound-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.image-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    height: 150px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8f5ec;
}

.image-placeholder strong {
    color: var(--vatican-gold);
    font-size: 44px;
    line-height: 48px;
    font-weight: 900;
}

.image-placeholder span {
    color: var(--charcoal);
    font-size: 16px;
    font-weight: 900;
}

.sound-card h3 {
    margin: 0;
    color: var(--vatican-gold);
    font-size: 34px;
    font-weight: 900;
}

.example {
    color: var(--vatican-gold);
    font-size: 24px;
    line-height: 30px;
    font-weight: 900;
}

.example span {
    color: var(--green);
}

.sound-card p {
    margin-bottom: 0;
    color: var(--charcoal);
    font-size: 14px;
    line-height: 20px;
}

.reference {
    font-size: 13px;
    font-style: italic;
    font-weight: 700;
}

.control {
    padding: 12px;
    border-radius: 10px;
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    text-align: center;
}

.control.dark {
    background: var(--charcoal);
}

.control.gold {
    background: var(--vatican-gold);
}

.control.red {
    background: var(--action-red);
}

.match-panel {
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: 10px;
    background: var(--white);
}

.match-panel span {
    color: var(--vatican-gold);
    font-size: 13px;
    font-weight: 900;
}

.match-panel strong {
    display: block;
    color: var(--action-red);
    font-size: 30px;
    font-weight: 900;
}

.match-panel p {
    font-size: 13px;
    font-weight: 700;
}

.primary-link {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 12px;
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    font-weight: 900;
}

.download-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    width: min(calc(100% - 36px), 1040px);
    margin: 0 auto 38px;
    padding: 26px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.download-copy p {
    margin-bottom: 0;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 18px;
    border-top: 1px solid #eeeeee;
    color: var(--charcoal);
    font-size: 14px;
    font-weight: 800;
}

.site-footer span {
    color: var(--vatican-gold);
}

@media (max-width: 800px) {
    .site-header,
    .download-section,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-grid,
    .screenshots,
    .preview-inner,
    .download-section {
        grid-template-columns: 1fr;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        min-height: 86vh;
        align-items: end;
    }

    .hero-content {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .store-button {
        width: 100%;
    }

    .match-panel {
        grid-template-columns: 1fr;
    }
}
