@font-face {
  font-family: "Libre Franklin";
  src: url("/apps/fonts/libre-franklin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --surface: #151515;
  --ink: #efefef;
  --muted: #9a9a9a;
  --accent: #b11226;
  --accent-hover: #cf1830;
  --face: "Libre Franklin", "Helvetica Neue", Arial, system-ui, sans-serif;
  --m: clamp(16px, 3vw, 40px);
  --fast: 180ms;
  --out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--face);
  font-size: 1.0625rem;
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px var(--m);
  max-width: 880px;
  margin: 0 auto;
}
.wordmark { font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.lang {
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font-size: 0.875rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 0.2em;
}
.lang:hover { color: var(--ink); }

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(32px, 8vh, 96px) var(--m) 48px;
}
h1 {
  font-size: clamp(3rem, 2rem + 6vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: clamp(32px, 6vh, 64px);
}

.app {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: center;
}
/* The one rounded shape on the page: an app icon, cut like a phone's home screen. */
.icon { display: block; transition: transform var(--fast) var(--out); }
.icon img { width: 100%; aspect-ratio: 1; }
.app:hover .icon { transform: translateY(-4px); }
h2 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.app-info p { margin-top: 10px; color: var(--muted); }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 24px;
  min-height: 48px; padding: 0 32px;
  background: var(--accent); color: #fff;
  font-weight: 700; text-decoration: none;
  transition: background-color var(--fast) var(--out), transform var(--fast) var(--out);
}
.button:hover { background: var(--accent-hover); }
.button:active { transform: scale(0.97); }

.note {
  margin-top: clamp(40px, 8vh, 80px);
  font-size: 0.875rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .icon, .button { transition: none; }
  .app:hover .icon { transform: none; }
}

@media (max-width: 480px) {
  .app { grid-template-columns: 88px 1fr; gap: 20px; align-items: start; }
  .button { padding: 0 24px; }
}
