/* jonathanantoine.com — shared stylesheet (2026 redesign) */

:root {
  --bg: #f7f6fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f0fa;
  --line: rgba(60, 40, 120, .10);
  --text: #1d1a2e;
  --muted: #6b6884;
  --accent: #6a4ce0;
  --accent-hover: #5a3fcf;
  --accent-soft: rgba(106, 76, 224, .10);
  --accent-ink: #ffffff;
  --shadow: 0 1px 2px rgba(30, 20, 70, .05), 0 10px 30px -14px rgba(30, 20, 70, .18);
  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14121d; --bg-2: #1c1927; --surface: #1f1c2b; --surface-2: #27233a;
    --line: rgba(255, 255, 255, .08); --text: #f1eff8; --muted: #a09cb8;
    --accent: #9b83f5; --accent-hover: #ab97f8; --accent-soft: rgba(155, 131, 245, .14); --accent-ink: #15102a;
    --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #14121d; --bg-2: #1c1927; --surface: #1f1c2b; --surface-2: #27233a;
  --line: rgba(255, 255, 255, .08); --text: #f1eff8; --muted: #a09cb8;
  --accent: #9b83f5; --accent-hover: #ab97f8; --accent-soft: rgba(155, 131, 245, .14); --accent-ink: #15102a;
  --shadow: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  padding-inline: 20px;
  padding-block: 0 48px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 920px; margin: 0 auto; }

/* Nav */
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 16px; }
.brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 600; }
.nav ul a { color: var(--muted); text-decoration: none; }
.nav ul a:hover { color: var(--text); }
.nav .cta { color: var(--accent); }

/* Home hero */
.hero { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.hero h1 {
  font-family: var(--display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  margin: 0 0 14px; text-wrap: balance;
}
.hero p { color: var(--muted); font-size: 16px; margin: 0 auto 22px; max-width: 48ch; }
.platforms { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.platforms span, .chip {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  padding: 5px 11px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
}

/* Section heading */
.sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.sec h2 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.sec span { font-size: 13px; color: var(--muted); }

/* App cards (home) */
.apps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.app {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: start; gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.app .logo { width: 64px; height: 64px; border-radius: 15px; object-fit: cover; }
.app .body { min-width: 0; }
.app h3 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.app h3 a { color: var(--text); text-decoration: none; }
.tag { font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.app p { margin: 0 0 8px; font-size: 14px; color: var(--muted); }
.meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.meta a { font-weight: 700; text-decoration: none; }
.meta a:hover { text-decoration: underline; }

/* Store buttons */
.stores { display: flex; flex-direction: column; gap: 6px; }
.stores a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px;
  border-radius: 9px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text); text-decoration: none;
  font-size: 12.5px; font-weight: 700;
  white-space: nowrap;
}
.stores a:hover, .stores a:focus-visible { border-color: var(--accent); outline: none; }
.stores img { width: 16px; height: 16px; }
.stores.row { flex-direction: row; flex-wrap: wrap; }
.stores.row a { padding: 10px 16px 10px 12px; font-size: 14px; border-radius: 10px; }
.stores.row img { width: 18px; height: 18px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--accent-ink);
  text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 10px; white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); }

/* Support block */
.support {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
  padding: 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 56px;
}
.support h2 { font-family: var(--display); font-size: 18px; margin: 0 0 4px; }
.support p { margin: 0; color: var(--muted); font-size: 14px; max-width: 56ch; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-top: 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; font-size: 13.5px; }
footer h4 { font-family: var(--display); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer .about p { margin: 0 0 8px; color: var(--muted); max-width: 34ch; }
footer .copy { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ---------- App detail pages ---------- */
.app-hero {
  display: grid; grid-template-columns: 112px 1fr; align-items: start; gap: 24px;
  margin-bottom: 40px;
}
.app-hero .logo { width: 112px; height: 112px; border-radius: 26px; object-fit: cover; box-shadow: var(--shadow); }
.app-hero h1 {
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.12;
  margin: 0 0 8px; text-wrap: balance;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.app-hero h1 .tag { font-size: 12px; padding: 3px 8px; }
.app-hero .lead { color: var(--muted); font-size: 16px; margin: 0 0 14px; max-width: 60ch; }
.app-hero .platforms { justify-content: flex-start; margin-bottom: 14px; }

.content { max-width: 720px; }
.content h2 { font-family: var(--display); font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 40px 0 12px; }
.content h2:first-child { margin-top: 0; }
.content p { margin: 0 0 12px; }
.content ul { margin: 0; padding: 0; list-style: none; }
.content li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.content li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.features li strong { color: var(--text); }
.features li { color: var(--muted); font-size: 14px; }
.content .plain li { color: var(--text); }

.shots { margin: 40px 0; }
.shots-scroll { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.shots-scroll img { height: 460px; width: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow); scroll-snap-align: start; flex: 0 0 auto; }

.download { margin: 40px 0; padding: 24px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.download h2 { font-family: var(--display); font-size: 18px; margin: 0 0 14px; }

.policy-link { font-size: 13px; color: var(--muted); margin: 0 0 40px; }

@media (max-width: 680px) {
  .nav { margin-bottom: 36px; }
  .nav ul { gap: 14px; }
  .nav ul li.hide-sm { display: none; }
  .app { grid-template-columns: 56px 1fr; }
  .app .logo { width: 56px; height: 56px; border-radius: 13px; }
  .stores { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .support { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer .about { grid-column: 1 / -1; }
  .app-hero { grid-template-columns: 80px 1fr; gap: 16px; }
  .app-hero .logo { width: 80px; height: 80px; border-radius: 20px; }
  .app-hero .platforms { grid-column: 1 / -1; }
  .features { grid-template-columns: 1fr; }
  .shots-scroll img { height: 380px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
