/* The site's pages: the home and the theme pages (deploy/site_pages.py),
   the text pages (privacy, legal, account deletion). */
:root { color-scheme: light dark; --bg: #f6f4ee; --fg: #1d2420; --muted: #5b6660; --accent: #2e6b46;
        --card: #ffffff; --line: #d9d6cc; --hero: #0e142c; --hero-fg: #e8ece9; --gold: #e8b931; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b0e1a; --fg: #e8ece9; --muted: #a3ada7; --accent: #7fc79a;
        --card: #161b2e; --line: #2a3150; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 32px 16px 64px; }
h1 { font-size: 1.8rem; margin: 0 0 4px; }
h2 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--accent); }
p, li { margin: 6px 0; }
.updated, .lang, .small { color: var(--muted); font-size: .9rem; }
a { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--muted); opacity: .4; margin: 48px 0; }

/* The home and the theme pages. */
.site main { max-width: 960px; }
.site h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.hero { background: var(--hero); color: var(--hero-fg); text-align: center; padding: 48px 16px 40px; }
.hero h1 { font-size: 2.4rem; margin: 8px 0 0; letter-spacing: .02em; }
.hero p { max-width: 640px; margin: 10px auto; }
.hero a { color: var(--gold); }
.hero .tagline { font-size: 1.25rem; color: var(--gold); margin-top: 2px; }
.hero .small { color: #b7bfcc; }
.hero .crumbs { font-size: .9rem; color: #b7bfcc; margin: 0; }
.hero-theme { padding-top: 24px; }
.logo { width: 96px; height: 96px; border-radius: 22px; }
.actions { margin: 20px auto 8px; }
.button { display: inline-block; background: var(--gold); color: #1d1a0a !important; font-weight: 700;
          text-decoration: none; padding: 12px 28px; border-radius: 24px; font-size: 1.05rem; }
.button:hover { filter: brightness(1.08); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
        text-decoration: none; color: var(--fg); }
.tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile-name { display: block; font-weight: 700; font-size: 1.1rem; padding: 12px 14px 0; color: var(--accent); }
.tile-tagline { display: block; padding: 2px 14px 14px; color: var(--muted); font-size: .95rem; }
.how { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px 24px; }
.how h3 { margin: 8px 0 2px; font-size: 1.05rem; }
.screens { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.screens img { width: 240px; height: auto; border-radius: 18px; border: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 12px 14px 0; font-size: 1.1rem; }
.card p { margin: 6px 14px; }
.card .subtitle { margin-top: 0; font-weight: 600; }
.card .caption { color: var(--muted); font-size: .9rem; margin-top: 0; }
.card .credit { color: var(--muted); font-size: .78rem; padding-bottom: 10px; }
.cta { text-align: center; margin-top: 40px; }
.others { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 16px; text-align: center; }
/* The App Store's badge beside the play button. */
.store-badge { display: inline-block; vertical-align: middle; margin-left: 8px; }
.store-badge img { display: block; height: 40px; width: auto; }
