/* style.css — shared look for every Towel software site (Towel design: white mode, flat, 8pt grid).
   Why: one stylesheet = every product site looks like one family; --accent comes from product.toml.
   NEVER DELETE COMMENTS — explain every non-obvious line.
   Update comments with the code; do not strip them. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap"); /* official Towel font */
:root { --ink: #1c1c1e; --muted: #6e6e73; --line: #e5e5ea; --bg: #ffffff; --soft: #f5f5f7; }
* { box-sizing: border-box; }
html { color-scheme: light; }                          /* white mode only: dark UI = defect */
body { margin: 0; font-family: Inter, Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--line); }
.top .brand { font-weight: 700; color: var(--ink); }
.hero { padding: 64px 0 40px; display: flex; gap: 32px; align-items: center; }
.hero img { width: 128px; height: 128px; }             /* app icon at 2x-safe size */
.hero .mark { width: 128px; height: 128px; border-radius: 28px; background: var(--accent); color: #fff;
              display: flex; align-items: center; justify-content: center; font-size: 56px; font-weight: 700; }
h1 { font-size: 48px; line-height: 1.1; margin: 0 0 8px; }
.tagline { font-size: 22px; color: var(--muted); margin: 0 0 16px; }
.downloads { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0 8px; }
.btn { display: inline-flex; flex-direction: column; min-height: 44px; padding: 12px 24px; border-radius: 12px;
       background: var(--accent); color: #fff; font-weight: 600; }      /* 44pt min hit target */
.btn small { font-weight: 400; opacity: .85; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.soon { color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; padding: 32px 0; }
.feature { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.note { font-size: 14px; color: var(--muted); padding: 16px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 16px 0 64px; }
.card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card img, .card .mark { width: 56px; height: 56px; border-radius: 12px; flex: none; }
.card .mark { background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 24px; }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 640px) { .hero { flex-direction: column; align-items: flex-start; } h1 { font-size: 36px; } }
