:root {
  --navy: #0b1f3a;
  --bg: #f3f5f8;
  --surface: #fff;
  --text: #0b1f3a;
  --muted: #3d4f66;
  --locked: #8a93a0;
  --gold: #d5c4a1;
  --border: #c5ced8;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Rubik, Heebo, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.45;
}
a { color: inherit; }
.top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--navy);
  color: #f7f4ee;
  flex-wrap: wrap;
}
.top a.mark { font-weight: 700; text-decoration: none; letter-spacing: -0.02em; }
.top .gold { color: var(--gold); font-size: 0.82rem; text-decoration: none; }
.spacer { flex: 1; }
.top button {
  font: inherit;
  background: transparent;
  color: #f7f4ee;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
main { max-width: 960px; margin: 0 auto; padding: 40px 20px 72px; }
.display { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 0 0 10px; letter-spacing: -0.03em; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.who {
  font-size: 0.78rem;
  color: var(--gold);
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.is-catalog #login { display: none !important; }
.lead { color: var(--muted); max-width: 40rem; margin: 0 0 28px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  max-width: 440px;
  box-shadow: 0 18px 40px rgba(11, 31, 58, 0.12);
}
label { display: block; margin: 12px 0 6px; color: var(--muted); font-size: 0.9rem; }
select, input, .btn {
  font: inherit;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.btn {
  margin-top: 16px;
  background: var(--navy);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 650;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
#gsi { min-height: 40px; display: flex; justify-content: center; }
#gsiHint { margin-top: 12px; }
.btn-ghost { background: transparent; color: var(--navy); border: 1px solid var(--border); width: auto; }
.catalog { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile {
  border-radius: 16px;
  padding: 28px 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}
.tile-featured { grid-column: 1 / -1; min-height: 210px; }
.tile-open { background: var(--navy); color: #f7f4ee; box-shadow: 0 16px 32px rgba(11, 31, 58, 0.2); }
.tile-open:hover { filter: brightness(1.08); }
.tile-trial { background: #16325a; }
.watermark {
  position: fixed;
  inset: 20% 0 auto;
  text-align: center;
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(11, 31, 58, 0.08);
  pointer-events: none;
  z-index: 0;
  transform: rotate(-12deg);
}
main { position: relative; z-index: 1; }
.tile-locked {
  background: #e7eaef;
  color: var(--locked);
  border: 1px dashed #b8c0ca;
  filter: grayscale(1);
  cursor: not-allowed;
}
.tile strong { font-size: 1.6rem; }
.cta { margin-top: auto; font-weight: 650; }
.wall-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.row .btn { width: auto; margin: 0; }
.flag { font-size: 0.78rem; border: 1px solid var(--gold); color: var(--gold); border-radius: 999px; padding: 2px 10px; }
.hide { display: none; }
.muted { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 720px) {
  .catalog, .wall-grid { grid-template-columns: 1fr; }
  .tile-featured { grid-column: auto; }
}
