:root {
  --bg: #f5f7fc;
  --card: #ffffff;
  --ink: #141b33;
  --muted: #5b6380;
  --accent: #3a5cf5;
  --accent-soft: #e6ebff;
  --warm: #fff1e4;
  --line: #e1e5f0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1020;
    --card: #151b30;
    --ink: #e8ebf7;
    --muted: #9aa2c0;
    --accent: #7f97ff;
    --accent-soft: #1c2448;
    --warm: #2a2118;
    --line: #252d4a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
header.site a.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 20px; }
header.site img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 600; }
header.site nav a:hover { color: var(--accent); }
.hero {
  text-align: center; padding: 48px 20px 40px;
  background: linear-gradient(160deg, var(--accent-soft), var(--warm));
  border-radius: 28px; margin-top: 8px;
}
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
.hero h1 { font-size: clamp(30px, 6vw, 46px); line-height: 1.15; margin: 20px 0 10px; }
.hero p { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0 auto 24px; }
.button {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; font-weight: 700;
}
.shots { display: flex; gap: 16px; justify-content: center; margin: 36px 0; flex-wrap: wrap; }
.shots img { width: min(260px, 30%); min-width: 200px; border-radius: 24px; box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 32px 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.card h3 { margin: 6px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
.card .emoji { font-size: 28px; }
article { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; margin: 16px 0 32px; }
article h1 { margin-top: 0; font-size: 32px; line-height: 1.2; }
article h2 { font-size: 21px; margin-top: 30px; }
article .updated { color: var(--muted); margin-top: -8px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { color: var(--muted); font-size: 14px; text-align: center; padding: 28px 0 40px; }
footer a { color: var(--muted); margin: 0 8px; }
@media (max-width: 520px) {
  header.site nav a { margin-left: 12px; font-size: 15px; }
  .shots img { width: 44%; min-width: 0; }
  .shots img:nth-child(3) { display: none; }
}
