@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 700 900;
  font-display: swap;
  src: url("../assets/fonts/montserrat-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #0b0d12;
  --panel: #151922;
  --line: rgba(214, 219, 232, 0.14);
  --text: #eef0f6;
  --muted: #9aa1b2;
  --red: #ff2a40;
  --yellow: #ffd21a;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 500;
  color: var(--text);
  background:
    radial-gradient(70% 50% at 15% -10%, rgba(255, 42, 64, 0.16), transparent 70%),
    radial-gradient(60% 40% at 100% 0%, rgba(255, 210, 26, 0.08), transparent 70%),
    var(--bg);
}

a { color: inherit; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 18, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-style: italic;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(180deg, #ff6372, var(--red) 55%, #c80f25);
  box-shadow: 0 0 18px rgba(255, 42, 64, 0.5);
  position: relative;
}
.logo-mark::after {
  content: "";
  position: absolute;
  inset: 11px 6px;
  border-radius: 3px;
  background: var(--yellow);
}
.logo b { color: var(--red); }

/* ---------- hero ---------- */

.hero { padding: 56px 0 30px; }
.hero h1 {
  margin: 0;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1;
  text-transform: uppercase;
}
.hero h1 span { color: var(--red); }
.hero p { margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
/* one line each on tablets and desktops; phones wrap so the text stays readable */
@media (min-width: 780px) { .hero h1 { white-space: nowrap; } }
@media (min-width: 980px) { .hero p { white-space: nowrap; font-size: clamp(15px, 1.45vw, 17px); } }

/* ---------- app grid (thumbnail cards) ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 28px 22px;
  padding: 10px 0 70px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(255, 42, 64, 0.45), 0 18px 36px rgba(0, 0, 0, 0.45); }

.thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #0f1218;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.card-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 16px; }

.meta { display: flex; align-items: center; gap: 12px; }
.meta img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.meta-text { min-width: 0; flex: 1; }
.meta h2 { margin: 0; font-size: 17px; font-weight: 700; }
.meta p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }

.status {
  flex: none;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--yellow);
  background: rgba(255, 210, 26, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 26, 0.35);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background 140ms ease;
}
.chip svg { width: 14px; height: 14px; fill: var(--muted); }
.chip:hover { background: rgba(255, 255, 255, 0.12); }

.card-soon { box-shadow: 0 0 0 1px var(--line); }
.card-soon:hover { transform: none; box-shadow: 0 0 0 1px var(--line); }

/* "more coming" tile */
.thumb-soon {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 12px, transparent 12px 24px),
    #0f1218;
  font-style: italic;
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
}

/* ---------- text pages (privacy) ---------- */

.doc { max-width: 760px; padding: 48px 0 80px; line-height: 1.65; }
.doc h1 { font-style: italic; font-weight: 900; font-size: clamp(28px, 5vw, 42px); text-transform: uppercase; margin: 0 0 6px; }
.doc h2 { margin: 34px 0 8px; font-size: 20px; }
.doc .updated { color: var(--muted); margin: 0 0 26px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--yellow); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 700; }
.todo { background: rgba(255, 210, 26, 0.18); outline: 1px dashed var(--yellow); padding: 0 4px; }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.site-foot a { color: var(--muted); }

@media (max-width: 560px) {
  .logo { font-size: 18px; }
  .hero { padding-top: 36px; }
}
