/* One stylesheet for the whole site. No external fonts or scripts: the pages make no third-party requests. */
:root {
  --page: #f6f5fa;
  --surface: #ffffff;
  --text: #17161c;
  --muted: #5d5b6b;
  --line: #e4e2ee;
  --accent: #5b5bd6;
  --accent-2: #8e4ec6;
  --accent-soft: #eeedfd;
  --shadow: 0 1px 2px rgba(23, 22, 28, 0.04), 0 8px 24px rgba(23, 22, 28, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0f0e13;
    --surface: #1a1920;
    --text: #f1f0f6;
    --muted: #a5a3b5;
    --line: #2b2a35;
    --accent: #9e9ef5;
    --accent-2: #c08af0;
    --accent-soft: #24233a;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 17px/1.6 ui-rounded, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }

header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: 0.01em; color: var(--text); text-decoration: none; }
nav.site { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

h1 { font-size: clamp(32px, 6vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
h2 { font-size: 22px; line-height: 1.3; margin: 44px 0 10px; }
h3 { font-size: 17px; margin: 0 0 4px; }
p { margin: 0 0 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.hero { padding: 40px 0 28px; }
.hero.center { text-align: center; }
.hero.center .lead { margin-left: auto; margin-right: auto; }
.app-icon { width: 104px; height: 104px; border-radius: 23px; box-shadow: var(--shadow); }
.hero.center .app-icon { margin: 0 auto 22px; }

.pill {
  display: inline-block; padding: 7px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-size: 15px; font-weight: 600;
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 20px; box-shadow: var(--shadow);
}
a.card { display: flex; gap: 16px; align-items: center; color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
a.card img { width: 64px; height: 64px; border-radius: 14px; flex: none; }
a.card .go { margin-left: auto; color: var(--muted); font-size: 22px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.grid .card p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 6px; }
.shots img { border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 620px) {
  .shots { grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .shots img { scroll-snap-align: start; }
}

article { padding: 20px 0 10px; }
article h1 { font-size: clamp(28px, 5vw, 38px); }
article ul { padding-left: 22px; margin: 0 0 14px; }
article li { margin-bottom: 6px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

footer.site { margin-top: 60px; border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 15px; color: var(--muted); }
footer.site .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: var(--muted); }

@media (max-width: 480px) {
  a.card .go { display: none; }
  a.card img { width: 52px; height: 52px; border-radius: 12px; }
}
