/* boris.alexthenomad.com. Colours are the app's own (Core/DesignSystem/Theme.swift); the font is the app's Golos Text, served from here. */
@font-face {
  font-family: "Golos Text";
  src: url("/assets/GolosText-Variable.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --ground: #11141b;
  --surface: #181c26;
  --line: #2f3547;
  --text: #e9e7e0;
  --muted: #9ba1b2;
  --accent: #9db4ff;
  --unclear: #e2b05a;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  color: var(--text);
  font: 18px/1.6 "Golos Text", system-ui, -apple-system, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}

a { color: var(--accent); text-underline-offset: 0.18em; }

.mark {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.mark img { width: 72px; height: 72px; border-radius: 16px; }

.mark span { color: var(--muted); font-size: 0.95rem; }

h1 { font-size: 2.4rem; line-height: 1.15; font-weight: 700; margin: 0 0 1rem; letter-spacing: -0.01em; }

h2 { font-size: 1.25rem; font-weight: 650; margin: 2.5rem 0 0.75rem; }

.lede { font-size: 1.2rem; color: var(--muted); margin: 0 0 2rem; }

ul { padding-left: 1.2rem; }

li { margin: 0.6rem 0; }

li::marker { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.card p { margin: 0.4rem 0; }

/* The vendor-retention caveat: a flat amber tint with a full outline. */
.note {
  background: rgba(226, 176, 90, 0.1);
  border: 1px solid rgba(226, 176, 90, 0.45);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.note p { margin: 0.4rem 0; }

.updated { color: var(--muted); font-size: 0.95rem; }

footer {
  border-top: 1px solid var(--line);
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

footer a { color: var(--muted); }

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 2rem; }
  main { padding-top: 2.5rem; }
}
