/* Mini Tool Apps shop. One file for the whole look. Colours are at the top. */
:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #1c1f24;
  --muted: #5b6370;
  --line: #e2e5ea;
  --accent: #2563eb;
  --accent-text: #ffffff;
  --soft: #eaf0fd;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --card: #1d2026;
    --text: #e9ebef;
    --muted: #a0a7b3;
    --line: #2d3139;
    --accent: #5b8cff;
    --accent-text: #0b0d10;
    --soft: #222a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
a { color: var(--accent); }
img, svg { max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Header */
header.top { border-bottom: 1px solid var(--line); background: var(--card); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--accent-text); font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 18px; max-width: 640px; margin: 0 auto; }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.promises li { background: var(--soft); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* App cards */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding: 20px 0 56px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.app .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.app .icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.app h2 { font-size: 21px; margin: 0 0 6px; }
.app p { color: var(--muted); margin: 0 0 14px; }
.app ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.app .bottom { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-size: 22px; font-weight: 700; margin-right: auto; }
.price small { font-size: 13px; font-weight: 400; color: var(--muted); display: block; }
.tag-soon { font-size: 13px; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 4px 10px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; }
.btn-buy { background: var(--accent); color: var(--accent-text); }
.btn-buy:hover { filter: brightness(1.08); }
.btn-store { background: transparent; color: var(--text); border-color: var(--line); }
.btn-store:hover { border-color: var(--muted); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Info sections */
.section { padding: 48px 0; border-top: 1px solid var(--line); }
.section h2 { font-size: 26px; margin: 0 0 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid3 h3 { margin: 0 0 6px; font-size: 17px; }
.grid3 p { margin: 0; color: var(--muted); }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Plain text pages (privacy, terms) */
.page { max-width: 760px; padding: 40px 16px 64px; }
.page h1 { font-size: 32px; margin-top: 0; }
.page h2 { font-size: 20px; margin-top: 32px; }
.page p, .page li { color: var(--text); }
.page .updated { color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 16px; }
footer a:first-child { margin-left: 0; }

@media (max-width: 560px) {
  nav a { margin-left: 0; margin-right: 16px; }
  .hero { padding: 40px 0 24px; }
}
