/* jpkles.com — feuille de style commune (marque + pages d'applications) */
@font-face { font-family: 'Figtree'; font-weight: 400; font-display: swap; src: url('figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Figtree'; font-weight: 600; font-display: swap; src: url('figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Marcellus'; font-weight: 400; font-display: swap; src: url('marcellus-latin-400-normal.woff2') format('woff2'); }

:root { --bg: #f6f3ec; --surface: #ffffff; --ink: #1c1d29; --muted: #5d5f73; --line: #e2ddd2; --accent: #2f3486; --accent-ink: #ffffff; --gold: #a87a1f; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #12131c; --surface: #1b1d2a; --ink: #eceae4; --muted: #a3a4b5; --line: #2b2e40; --accent: #9ea4ff; --accent-ink: #12131c; --gold: #d8b36a; }
}
body.theme-astrelune { --bg: #0d1130; --surface: #151a42; --ink: #efe8d8; --muted: #a7a5c6; --line: #262c5e; --accent: #d8b36a; --accent-ink: #0d1130; --gold: #d8b36a;
  background: radial-gradient(120% 60% at 50% 0%, #232c75 0%, #0d1130 60%) #0d1130; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 Figtree, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3, .brand { font-family: Marcellus, Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(32px, 6vw, 52px); margin: 0 0 14px; }
h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 0 0 18px; }
h3 { font-size: 20px; margin: 0 0 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.row { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
main > section.wrap { margin: 64px auto; }
main > section.hero { margin-top: 40px; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .row { min-height: 64px; }
.brand { font-size: 26px; color: var(--ink); text-decoration: none; letter-spacing: .02em; margin-right: auto; }
.nav a, .langs a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav { display: flex; gap: 18px; }
.langs { display: flex; gap: 2px; }
.langs a { padding: 4px 7px; border-radius: 8px; font-size: 13px; letter-spacing: .06em; }
.langs a[aria-current] { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.nav a:hover, .langs a:hover { color: var(--ink); }

.hero { padding-top: 32px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--gold); margin: 0 0 10px; }
.eyebrow a { color: inherit; text-decoration: none; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 680px; margin: 0; }
.intro { font-size: 19px; max-width: 760px; }

.appcard { display: flex; gap: 20px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); max-width: 620px; }
.appcard img { border-radius: 22px; flex: none; }
.appcard > span { display: flex; flex-direction: column; gap: 4px; }
.appcard strong { font-family: Marcellus, Georgia, serif; font-weight: 400; font-size: 24px; }
.appcard span span { color: var(--muted); }
.appcard .more { color: var(--accent); font-weight: 600; }
.appcard:hover { border-color: var(--accent); }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.tile p { margin: 0; color: var(--muted); }
.tile ul { margin: 0; padding-left: 18px; color: var(--muted); }
.tile li { margin: 4px 0; }

.app-hero { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.appicon { border-radius: 28px; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.store { display: inline-block; padding: 12px 18px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; font-size: 15px; }
.store.soon { background: transparent; color: var(--muted); border: 1px dashed var(--line); font-weight: 400; }
.shots { display: flex; gap: 14px; overflow-x: auto; padding: 8px 2px 16px; scroll-snap-type: x mandatory; }
.shots img { width: 180px; flex: none; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.fine { color: var(--muted); font-size: 14px; }

.doc { max-width: 760px; padding-top: 24px; padding-bottom: 32px; }
.doc h2 { font-size: 23px; margin-top: 34px; }
.doc .muted { color: var(--muted); font-size: 14px; }
.big { font-size: 24px; }

.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.foot .row { justify-content: space-between; }
.foot a { color: var(--muted); }

@media (max-width: 560px) {
  .top .row { min-height: 56px; gap: 8px 14px; padding-top: 8px; padding-bottom: 8px; }
  .nav { order: 3; width: 100%; }
  .appcard { flex-direction: column; align-items: flex-start; }
  main > section.wrap { margin: 44px auto; }
}
