:root {
  --bg: #f6f5fb; --fg: #17151f; --muted: #5d5a6b; --card: #ffffff; --line: #e4e1ee; --accent: #2f6fe0;
  --chip: #ecebf3;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14121c; --fg: #f1eff7; --muted: #a7a3b8; --card: #1e1b29; --line: #2f2b3d; --accent: #6aa5ff;
          --chip: #2a2638; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
main.wide { max-width: 1040px; }
header { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
header img { width: 84px; height: 84px; flex: none; }
h1 { font-size: 34px; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
.tagline { color: var(--muted); margin: 4px 0 0; }
h2 { font-size: 21px; margin: 40px 0 10px; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.crumb { margin: 0 0 20px; font-size: 15px; }
.crumb a { text-decoration: none; }
.lead { font-size: 19px; }
.shot { display: block; width: 100%; border-radius: 14px; margin: 16px 0 20px; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 22px; margin: 12px 0; }
.card p, .card li { color: var(--muted); }
.card p { margin: 8px 0 0; }
.card ul { margin: 8px 0 0; }
details.card summary { font-weight: 600; cursor: pointer; list-style-position: outside; }
details.card summary::marker { color: var(--muted); }
ul { padding-left: 22px; }
.features li { margin: 4px 0; }
code { font: 0.9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--chip); padding: 1px 5px; border-radius: 5px; }

/* App Store slot */
.store-row { margin: 0 0 8px; }
.store { display: inline-block; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
         background: var(--fg); color: var(--bg); text-decoration: none; }
.store.soon { background: var(--chip); color: var(--muted); font-weight: 500; }

/* Overview */
.intro { display: block; margin-bottom: 8px; }
.intro .tagline { font-size: 19px; max-width: 46em; margin-top: 12px; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.app { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line);
       border-radius: 16px; padding: 18px; }
.app img { width: 64px; height: 64px; flex: none; }
.app h3 { margin: 0; font-size: 18px; }
.app h3 a { color: var(--fg); text-decoration: none; }
.app h3 a:hover { text-decoration: underline; }
.app p { margin: 4px 0 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.app p.links { margin-top: 8px; }
.app .store { font-size: 12px; line-height: 1.35; padding: 4px 10px; margin-top: 6px; border-radius: 8px; }

footer { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 6px 0 0; }
footer a { color: var(--muted); }
footer .disclaimer { font-size: 13px; }

@media (max-width: 520px) {
  main { padding-top: 28px; }
  h1 { font-size: 28px; }
  header img { width: 64px; height: 64px; }
  .grid { grid-template-columns: 1fr; }
}

/* Direct-download product (Tuck): buy + trial buttons, pricing */
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 6px; }
.buy { display: inline-block; font-size: 16px; font-weight: 600; padding: 10px 22px; border-radius: 999px;
       background: var(--accent); color: #fff; text-decoration: none; }
.buy:hover { filter: brightness(1.08); }
.buy.secondary { background: var(--chip); color: var(--fg); }
.buy-note { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.pricing .price { font-size: 19px; color: var(--fg); margin-top: 4px; }
.pricing .price strong { font-size: 28px; }
.pricing .buy-row { margin-top: 14px; }
.app .buy { font-size: 12px; line-height: 1.35; padding: 4px 10px; margin-top: 6px; border-radius: 8px; }
@media (prefers-color-scheme: dark) {
  .buy { color: #0d1526; }
}

/* Comparison table (Tuck vs other menu bar managers) */
.compare-wrap { overflow-x: auto; margin: 12px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
table.compare { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
table.compare th, table.compare td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare tr:last-child td { border-bottom: 0; }
table.compare thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
table.compare th[scope=row] { font-weight: 600; }
table.compare td.us { background: var(--chip); }
.small { font-size: 14px; color: var(--muted); }
