:root {
    color-scheme: light;
    --blue: #0c3e80;
    --blue-dark: #082856;
    --gold: #f4bd1f;
    --ink: #12213b;
    --muted: #5b687b;
    --paper: #f5f7fb;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
main { width: min(960px, 100%); margin: 0 auto; padding: 18px; }
.hero, .download-card, .features, .install-help { background: #fff; border: 1px solid #e1e7f0; border-radius: 24px; box-shadow: 0 12px 34px rgba(8, 40, 86, .08); overflow: hidden; }
.banner { display: block; width: 100%; max-height: 360px; object-fit: cover; }
.hero-copy { display: flex; align-items: center; gap: 22px; padding: 26px; background: var(--blue-dark); color: #fff; }
.crest { width: 112px; height: 112px; flex: 0 0 auto; border: 5px solid #fff; border-radius: 50%; object-fit: cover; }
.eyebrow { margin: 0 0 6px; color: #2670b2; font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: #f9cb40; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; }
.hero-copy p:last-child { margin-bottom: 0; color: #dce7f7; font-size: 1.08rem; }
.download-card, .features, .install-help { margin-top: 18px; padding: 28px; }
.download-card { text-align: center; }
.download-card h2, .features > h2, .install-help h2 { font-size: clamp(1.55rem, 4vw, 2.2rem); }
.download-button { display: block; width: min(420px, 100%); margin: 22px auto 14px; padding: 17px 24px; border-radius: 14px; background: var(--gold); color: #312500; font-size: 1.16rem; font-weight: 850; text-decoration: none; box-shadow: 0 7px 0 #c18d00; }
.download-button:active { transform: translateY(3px); box-shadow: 0 4px 0 #c18d00; }
.download-button.disabled { background: #d9dee7; color: #667080; box-shadow: none; }
.download-card small { display: block; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-grid article { padding: 20px 16px; border-radius: 18px; background: #f1f6fc; }
.feature-grid span { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 14px; border-radius: 12px; background: var(--blue); color: #fff; font-size: 1.3rem; font-weight: 800; }
.feature-grid h3 { margin-bottom: 6px; }
.feature-grid p, .install-help p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }
.install-help ol { padding-left: 22px; line-height: 1.75; }
footer { padding: 22px 18px 34px; color: var(--muted); text-align: center; font-size: .9rem; }
footer a { color: var(--blue); }

@media (max-width: 700px) {
    main { padding: 10px; }
    .hero, .download-card, .features, .install-help { border-radius: 18px; }
    .hero-copy { align-items: flex-start; gap: 14px; padding: 20px 16px; }
    .crest { width: 76px; height: 76px; border-width: 3px; }
    .download-card, .features, .install-help { padding: 22px 18px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
    .hero-copy { display: block; }
    .crest { margin-bottom: 16px; }
    .feature-grid { grid-template-columns: 1fr; }
}
