@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Heebo-Regular.ttf") format("truetype"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Heebo-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/Heebo-Bold.ttf") format("truetype"); }

/* Material-style tokens: components are separated by tonal surfaces, not outlines.
   Elevation (shadow) is used only where a component needs to lift off the page. */
:root {
    --bg: #FAF7F1;              /* page background */
    --surface: #FFFFFF;         /* elevated cards */
    --surface-low: #F5EFE2;     /* tonal containers, fields, chips */
    --surface-high: #F3E2C4;    /* stronger tonal fill */
    --navy: #14100B;
    --navy-2: #332711;
    --text: #14100B;
    --text-soft: #3B3122;
    --muted: #7A6A4F;
    --primary: #C59214;
    --primary-dark: #6A4908;
    --gold: #DFB437;
    --gold-soft: #E9CC7A;
    --green: #1E9E5A;
    --elev-1: 0 1px 2px rgba(20, 16, 11, 0.12), 0 1px 3px rgba(20, 16, 11, 0.08);
    --elev-2: 0 4px 10px rgba(20, 16, 11, 0.12), 0 2px 4px rgba(20, 16, 11, 0.08);
    --elev-3: 0 12px 28px rgba(20, 16, 11, 0.18), 0 4px 8px rgba(20, 16, 11, 0.10);
    --radius-sm: 12px;
    --radius: 16px;
    --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header (top app bar) */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; box-shadow: var(--elev-2); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; padding: 10px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.92rem; }
.nav a { color: #d8cfbd; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold); background: rgba(223, 180, 55, 0.14); }

/* Buttons: filled (primary) and tonal (secondary), with elevation on the primary action */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 0; transition: box-shadow .2s ease, background .2s ease; }
.btn:hover { text-decoration: none; box-shadow: var(--elev-2); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: var(--elev-1); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-tonal { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-tonal:hover { background: rgba(255, 255, 255, 0.2); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

/* Hero */
.hero { background: radial-gradient(circle at 85% 20%, rgba(223, 180, 55, 0.22), transparent 40%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.15; font-weight: 700; margin-bottom: 18px; }
.hero p.lead { font-size: 1.08rem; color: #e6dccb; max-width: 540px; margin-bottom: 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-link { display: inline-block; border-radius: 10px; transition: box-shadow .2s ease, transform .15s ease; }
.store-link:hover { box-shadow: var(--elev-2); transform: translateY(-1px); text-decoration: none; }
.store-link img { height: 54px; width: auto; }
.store-note { margin-top: 16px; font-size: 0.85rem; color: #b9ad97; }

/* Card photos (hero illustration) */
.card-stack { position: relative; height: 340px; }
.mock-card { position: absolute; width: 230px; height: auto; max-width: none; border: 0; border-radius: 14px; overflow: hidden; background: none; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25)); }
.mock-card.back { left: 20px; top: 0; transform: rotate(-8deg); opacity: 0.9; }
.mock-card.front { right: 10px; bottom: 0; transform: rotate(5deg); }

/* Sections: alternating background uses a tonal fill instead of rules */
section.block { padding: 64px 0; }
section.block.alt { background: var(--surface-low); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; margin-bottom: 10px; }
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 32px; }

/* Feature cards: elevated surface on the page background */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--elev-1); transition: box-shadow .2s ease; }
.feature:hover { box-shadow: var(--elev-2); }
.feature .icon { width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.93rem; }

/* Steps: tonal rows */
.steps { counter-reset: step; list-style: none; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--elev-1); }
.steps li::before { content: counter(step); flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 0.93rem; }

/* Banner: filled dark container with elevation */
.banner { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: var(--radius-lg); padding: 36px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; box-shadow: var(--elev-2); }
.banner p { color: #e6dccb; max-width: 520px; }

/* FAQ: tonal surface items */
.faq details { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 20px; margin-bottom: 10px; box-shadow: var(--elev-1); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--muted); margin-top: 8px; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b9ad97; padding: 40px 0 28px; font-size: 0.88rem; }
.site-footer a { color: #e6dccb; }
.site-footer .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.site-footer .links { display: flex; gap: 8px; flex-wrap: wrap; }
.site-footer .links a { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.site-footer .links a:hover { background: rgba(255, 255, 255, 0.12); text-decoration: none; }
.site-footer .fine { padding-top: 18px; font-size: 0.8rem; color: #8f836e; }

/* Legal pages: one elevated document surface */
.legal { padding: 48px 0 72px; }
.legal .doc { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--elev-2); max-width: 820px; margin: 0 auto; }
.legal h1 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 6px; }
.legal .meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 28px; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--surface-low); }
.legal h2 { font-size: 1.16rem; margin: 30px 0 8px; }
.legal p, .legal li { color: var(--text-soft); font-size: 0.97rem; margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 10px; }
.legal li { margin-bottom: 6px; }
.notice { background: var(--surface-high); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.92rem; color: var(--navy); margin: 18px 0 8px; }

/* Store badges: header, banner, footer and the mobile download bar */
#getApp { scroll-margin-top: 96px; }
.nav a.header-cta { padding: 8px 16px; color: var(--navy); background: var(--gold); font-weight: 600; }
.nav a.header-cta:hover { background: var(--gold-soft); }
.store-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.site-header .store-link img { height: 36px; }
.site-footer .store-link img { height: 40px; }
.banner-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.get-band { align-items: center; }
.get-band .store-row { gap: 22px; row-gap: 22px; justify-content: flex-end; }
.footer-get { margin-bottom: 18px; }

/* Floating store bar (mobile): shows when scrolling up, hides when scrolling down */
.floating-store-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 247, 241, 0.94); backdrop-filter: blur(14px); box-shadow: 0 -10px 30px rgba(20, 16, 11, 0.14); transform: translateY(0); transition: transform 0.3s ease; }
.floating-store-bar.hide { transform: translateY(110%); }
.floating-store-buttons { display: flex; justify-content: center; align-items: center; gap: 10px; }
.floating-store-buttons .store-link img { height: 44px; width: auto; }
.platform-android [data-store="ios"], .platform-ios [data-store="android"] { display: none; }
@media (max-width: 700px) {
    .floating-store-bar { display: block; }
    body { padding-bottom: 76px; }
}

/* Responsive */
@media (max-width: 860px) {
    .hero { padding: 48px 0 56px; }
    .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
    .card-stack { height: 280px; max-width: 360px; margin: 0 auto; width: 100%; }
    .mock-card { width: 190px; }
}
@media (max-width: 700px) {
    body { padding-bottom: 76px; }
}
@media (max-width: 480px) {
    .nav { gap: 2px; font-size: 0.85rem; }
    .nav a { padding: 6px 8px; }
    .banner { padding: 26px; }
    .btn { width: 100%; }
    .cta-row .btn { flex: 1 1 100%; }
}
