/* Shared marketing chrome — nav, store badges, phone frame, CTA, footer. Palette comes from tokens.css. */

html { scroll-behavior: smooth; }
body { background: var(--mist); color: var(--neutral-950); }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-500); outline-offset: 3px; border-radius: 4px; }

/* Nav — glass */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-sticky); background: rgba(14, 33, 21, 0.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--card-line); }
.nav__inner { max-width: 1140px; margin: 0 auto; padding: 0.8rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; gap: 0.7rem; }
.nav__logo { width: 34px; height: 34px; object-fit: contain; }
.nav__name { font-family: var(--font-brand); font-weight: 600; font-size: 1.35rem; color: var(--cream); letter-spacing: 0.03em; padding-top: 0.15em; }
.nav__cta { font-size: 0.85rem; font-weight: 600; color: var(--forest-950); background: var(--cream); text-decoration: none; padding: 0.55rem 1.1rem; border-radius: 999px; transition: transform 150ms ease, background 150ms ease; }
.nav__cta:hover { background: #fff; transform: translateY(-1px); }

/* Store badges */
.badge { display: flex; align-items: center; gap: 0.6rem; background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(245, 237, 230, 0.16); border-radius: 12px; padding: 0.5rem 1.2rem; color: var(--cream); text-decoration: none; min-height: 50px; transition: background 150ms ease, border-color 150ms ease, transform 150ms ease; }
.badge:hover { background: rgba(0, 0, 0, 0.55); border-color: rgba(245, 237, 230, 0.35); transform: translateY(-2px); }
.badge__icon { display: flex; width: 22px; height: 22px; flex-shrink: 0; }
.badge__icon svg { width: 100%; height: 100%; }
.badge__label { font-size: 0.62rem; opacity: 0.7; display: block; line-height: 1.2; }
.badge__store { font-size: 0.92rem; font-weight: 600; display: block; line-height: 1.3; }
.badge--cream { background: var(--cream); color: var(--forest-950); border-color: var(--cream); }
.badge--cream:hover { background: #fff; border-color: #fff; }
/* OS targeting: only a positive match hides a badge, so desktop and unknown agents keep both. */
html[data-os="ios"] .badge--android, html[data-os="android"] .badge--ios { display: none; }

/* Phone frame — shared by the landing slider and the static feature-page shots */
.phone-frame { width: 285px; background: #0B0B0B; border-radius: 42px; padding: 11px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 237, 230, 0.1), 0 0 120px rgba(92, 168, 120, 0.16); }
.phone-frame__shot { display: block; width: 100%; height: auto; border-radius: 32px; }

/* CTA */
.cta { background: var(--mist); padding: 2rem 1.5rem 5rem; }
.cta__inner { position: relative; max-width: 1040px; margin: 0 auto; background: linear-gradient(155deg, var(--forest-900), var(--primary-700)); color: var(--cream); border-radius: 26px; padding: 3.6rem 2rem 3.2rem; text-align: center; }
.cta__pin { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(245, 237, 230, 0.12); color: var(--accent-500); }
.cta__pin svg { width: 28px; height: 28px; }
.cta__heading { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; margin-bottom: 0.7rem; }
.cta__subtitle { color: var(--cream-dim); margin-bottom: 2rem; }
.cta__badges { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--mist); color: var(--neutral-600); font-size: 0.85rem; border-top: 1px solid var(--neutral-200); padding: 3rem 1.5rem 1.8rem; }
.footer__inner { display: flex; gap: 3rem; max-width: 1140px; margin: 0 auto; flex-wrap: wrap; }
.footer__brand { flex: 1 1 260px; min-width: 0; }
.footer__mark { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; }
.footer__logo { width: 30px; height: 30px; object-fit: contain; }
.footer__name { font-family: var(--font-brand); font-weight: 600; font-size: 1.2rem; color: var(--forest-900); letter-spacing: 0.03em; padding-top: 0.15em; }
.footer__tagline { max-width: 260px; line-height: 1.6; }
.footer__col { flex: 0 0 auto; }
.footer__heading { font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--neutral-950); margin-bottom: 0.9rem; }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer__links a { color: var(--neutral-600); }
.footer__links a:hover { color: var(--neutral-950); }
.footer__legal { max-width: 1140px; margin: 2.6rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--neutral-200); font-size: 0.8rem; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .badge, .nav__cta { transition: none; }
}

@media (max-width: 560px) {
    .footer__inner { gap: 2.2rem; }
    .cta__badges { flex-direction: column; align-items: center; }
}
