/* PREMIUM FIVE: the maker's own pages (each app keeps its own look under
   its folder, e.g. bowlytics/). Quiet and neutral, so any app sits well
   under it; light or dark as the device is. */
:root {
  --bg: #f6f5f2;
  --panel: #ffffff;
  --border: #dcd9d1;
  --text: #1d1c1a;
  --dim: #6b6862;
  --accent: #b8860b;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151514;
    --panel: #1f1f1d;
    --border: #3a3935;
    --text: #f1efea;
    --dim: #a8a59d;
    --accent: #e0b44c;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.8 "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans",
    "Yu Gothic", sans-serif;
  padding: 0 16px;
}

a { color: inherit; }

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-block: 32px 64px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font: 600 20px/1 "Oswald", "Noto Sans JP", sans-serif;
  letter-spacing: 0.12em;
}

.brand b { color: var(--accent); font-weight: 600; }

.lang { font-size: 13px; color: var(--dim); }

h1 {
  font: 600 32px/1.3 "Oswald", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-wrap: balance;
}

h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 48px 0 12px;
}

.lead { color: var(--dim); margin: 0; max-width: 65ch; }

.apps {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.apps a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
}

.apps a:hover { border-color: var(--accent); }

.apps img { width: 56px; height: 56px; border-radius: 13px; flex: none; }

.apps div { min-width: 0; }

.apps strong { display: block; font-size: 17px; }

.apps span { display: block; font-size: 13px; color: var(--dim); }

dl.about {
  display: grid;
  grid-template-columns: minmax(7em, 25%) 1fr;
  margin: 0;
  border-top: 1px solid var(--border);
}

dl.about dt, dl.about dd {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

dl.about dt { color: var(--dim); font-size: 14px; padding-right: 16px; }

dl.about dd { overflow-wrap: anywhere; }

@media (max-width: 520px) {
  dl.about { grid-template-columns: 1fr; }
  dl.about dt { border-bottom: 0; padding-bottom: 0; }
}

footer.site {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 13px;
}
