:root {
  --bg: #f6f3ec;
  --surface: #ffffff;
  --ink: #1d2433;
  --muted: #5d6475;
  --line: #e4ded1;
  --accent: #2f5d4e;
  --beta-bg: #fff1c9;
  --beta-ink: #7a5600;
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171d;
    --surface: #1d2129;
    --ink: #eef0f4;
    --muted: #a2a8b6;
    --line: #2c313b;
    --accent: #8fc7b2;
    --beta-bg: #3d3214;
    --beta-ink: #ffd877;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600; font-size: 1.3rem; text-decoration: none; color: var(--ink);
}
.brand span { color: var(--accent); }
nav a { margin-left: 20px; color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--ink); }

.hero { padding: 56px 0 40px; }
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  line-height: 1.08; margin: 0 0 18px; font-weight: 600; letter-spacing: -.02em;
}
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0; }
.hero-icons { display: flex; gap: 14px; margin-top: 32px; }
.hero-icons img {
  width: 64px; height: 64px; border-radius: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.hero-icons img:nth-child(2) { transform: rotate(-4deg); }
.hero-icons img:nth-child(3) { transform: rotate(4deg); }

section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.9rem; font-weight: 600; margin: 0 0 6px;
}
.section-sub { color: var(--muted); margin: 0 0 28px; }

.apps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card .art { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.card .art img.icon { width: 46%; border-radius: 22%; box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.card .art.photo { background-size: cover; background-position: center; position: relative; }
.card .art.photo img.icon { width: 30%; position: absolute; left: 18px; bottom: 18px; }
.art.bach { background: linear-gradient(135deg, #dce8dc, #b9cfbe); }
.art.party { background: linear-gradient(135deg, #ff7aa0, #e63a6a); }
.card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--beta-bg); color: var(--beta-ink); padding: 3px 9px; border-radius: 99px;
}
.card .tag { color: var(--muted); margin: 4px 0 12px; font-size: .95rem; }
.card p { margin: 0 0 18px; }
.card .meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; }
.card .meta .platforms { color: var(--muted); }

.about { padding: 72px 0 24px; }
.about p { max-width: 640px; color: var(--muted); }

footer.site {
  border-top: 1px solid var(--line); margin-top: 64px; padding: 28px 0 40px;
  color: var(--muted); font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
}
footer.site a { color: var(--muted); }

/* Privacy pages */
.doc { max-width: 720px; padding: 32px 0 0; }
.doc .doc-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.doc .doc-head img { width: 56px; height: 56px; border-radius: 13px; }
.doc h1 { font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; line-height: 1.15; margin: 0; }
.doc .updated { color: var(--muted); margin: 6px 0 32px; }
.doc h2 { font-size: 1.2rem; margin: 34px 0 8px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: 6px; }
.privacy-list { display: grid; gap: 14px; }
.privacy-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--ink); font-weight: 600;
}
.privacy-list img { width: 40px; height: 40px; border-radius: 10px; }

@media (max-width: 560px) {
  nav a { margin-left: 14px; }
  .hero { padding-top: 32px; }
}
