:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e8e8e8;
  --link: #1a1a1a;
}

@media (prefers-color-scheme: dark) {
  .app img, .product-head img { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
  :root {
    --bg: #202227;
    --text: #ececec;
    --muted: #a0a3aa;
    --line: #33363c;
    --link: #ececec;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

main, header, footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--muted); }

header { padding-top: 40px; display: flex; justify-content: space-between; align-items: baseline; }
header .name { font-weight: 600; text-decoration: none; }
header nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; }
header nav a:hover { color: var(--text); }

h1 { font-size: 30px; line-height: 1.25; letter-spacing: -0.02em; margin: 88px 0 16px; font-weight: 600; }
h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin: 56px 0 16px; }
p { margin: 0 0 16px; }
.lead { color: var(--muted); }

.app { display: flex; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.app:last-of-type { border-bottom: 1px solid var(--line); }
.app img { width: 72px; height: 72px; border-radius: 16px; flex: none; display: block; }
.app h3 { margin: 0; font-size: 18px; font-weight: 600; }
.app p { margin: 2px 0 0; color: var(--muted); font-size: 16px; }
.app .status { font-size: 14px; }

footer { margin-top: 96px; padding-bottom: 40px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--muted); }

/* privacy page */
.doc h1 { margin-top: 64px; }
.doc h2 { text-transform: none; letter-spacing: -0.01em; font-size: 19px; color: var(--text); margin: 36px 0 8px; }
.doc .lead { margin-bottom: 32px; }

/* product page */
.product-head { display: flex; gap: 20px; align-items: center; margin: 64px 0 32px; }
.product-head img { width: 88px; height: 88px; border-radius: 20px; flex: none; }
.product-head h1 { margin: 0; }
.product-head .lead { margin: 0; font-size: 19px; }
.features { padding-left: 20px; margin: 24px 0 32px; }
.features li { margin-bottom: 10px; }
.fine { font-size: 14px; color: var(--muted); }
.app h3 a { text-decoration: none; }

@media (max-width: 480px) {
  .product-head img { width: 68px; height: 68px; border-radius: 16px; }
  h1 { font-size: 25px; margin-top: 56px; }
  .app img { width: 60px; height: 60px; border-radius: 14px; }
}
