:root {
  --bg: #F6F7FB; --card: #FFFFFF; --ink: #0E1B2C; --muted: #5A6475; --line: #DCE1EA; --accent: #3355FF;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0E1B2C; --card: #15253A; --ink: #FFFFFF; --muted: #A9B4C6; --line: #24364F; }
}

* { box-sizing: border-box; }
body { margin: 0; }
.page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 72px;
  padding: 40px 24px 32px;
  background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* Header: logo lockup. The word is an outlined SVG sized like the original text:
   its height is the font-size (line-height 1), its width follows the viewBox. */
.logo { margin: 0; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); color: var(--ink); }
.logo-mark { width: clamp(64px, 11vw, 150px); height: auto; flex: none; }
.logo-word { height: clamp(62px, 11.4vw, 148px); width: auto; aspect-ratio: 2508 / 1000; flex: none; overflow: visible; }

/* Apps */
main { width: 100%; max-width: 1320px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
main h2 { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cards { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.card { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.22); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.28); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Preview: the app's og:image (1200×630 = 1.91:1), as messengers show a shared link. The green shows while it loads. */
.preview { aspect-ratio: 1.91 / 1; background: #348A3C; }
.preview img { display: block; width: 100%; height: 100%; object-fit: cover; }

.card-body { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 16px; }
.card-text { display: flex; flex-direction: column; gap: 3px; }
.card-domain { font-size: 12px; color: var(--muted); }
.card-title { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.card-desc { font-size: 14px; line-height: 1.4; color: var(--muted); }
.card-arrow { flex: none; color: var(--muted); }

/* Footer */
footer { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-variant-numeric: tabular-nums; }
.email { display: flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.legal { margin: 0; max-width: 46em; font-size: 12px; line-height: 1.8; color: var(--muted); }
