/* Tokens copied from digisol.ai :root. */
:root {
  --bg: #08080a;
  --fg: #e0e0e0;
  --fg-secondary: #a5a5af;
  --fg-muted: #7a7a84;
  --accent: #d54857;
  --accent-text: #ee6a77;
  --border: #1e1e24;
  --rule: #2c2c34;
  --surface: rgba(17, 17, 21, 0.86);
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  min-height: 100vh;
  font-family: "Source Sans 3", -apple-system, system-ui, sans-serif;
  color: var(--fg);
  background-color: var(--bg);
  background-image: radial-gradient(circle at 1px 1px, #1f1f26 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  /* Source Sans swaps to Bulgarian-style Cyrillic under lang="bg". The printed cards use the standard forms. */
  font-feature-settings: "locl" 0;
}

.chip-text, button { font-feature-settings: "locl" 0; }

main {
  max-width: 460px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 16px 40px;
}

a { color: inherit; }

header { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }

.mark { font-weight: 700; font-size: 22px; letter-spacing: -0.6px; text-decoration: none; }
.mark b { color: var(--accent); font-weight: 700; }

.lang { display: flex; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; }
.lang button {
  background: none; border: 0; cursor: pointer;
  color: var(--fg-muted); font: 600 12px/1 inherit; letter-spacing: 0.14em;
  padding: 9px 13px;
}
.lang button[aria-pressed="true"] { background: var(--rule); color: var(--fg); }

.hero { text-align: center; margin-top: 28px; }

.chip { width: 168px; height: auto; filter: drop-shadow(0 0 22px rgba(213, 72, 87, 0.22)); }
.chip-text { font: 700 22px "Source Sans 3", sans-serif; letter-spacing: -0.6px; fill: #f5f5f6; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  color: var(--fg-secondary); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

h1 { margin-top: 10px; font-size: 38px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.08; }
.role { margin-top: 8px; color: var(--accent-text); font-size: 17px; }
.place { margin-top: 4px; color: var(--fg-muted); font-size: 15px; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); text-decoration: none; font-size: 16px; font-weight: 600;
  transition: border-color 0.2s, transform 0.1s;
}
.btn:hover, .btn:focus-visible { border-color: var(--accent); outline: none; }
.btn:active { transform: scale(0.98); }
.btn svg { width: 19px; height: 19px; flex: none; stroke: currentColor; }
.btn.primary, .btn.wide { grid-column: 1 / -1; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #c63f4e; }

.facts { margin-top: 18px; border-top: 1px solid var(--border); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--fg-muted); font-size: 14px; }
.facts dd a { color: var(--fg); font-size: 15px; text-decoration: none; }

section:not(.hero) { margin-top: 34px; }

h2 {
  margin-bottom: 12px; color: var(--fg-muted);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

.link {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  margin-bottom: 10px; padding: 16px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); text-decoration: none;
  transition: border-color 0.2s;
}
.link:hover, .link:focus-visible { border-color: var(--accent); outline: none; }
.link strong { display: block; font-size: 17px; font-weight: 600; }
.link span { display: block; margin-top: 2px; color: var(--fg-secondary); font-size: 14px; line-height: 1.35; }
.arrow { width: 18px; height: 18px; flex: none; stroke: var(--accent-text); }

footer {
  margin-top: 40px; text-align: center;
  color: var(--fg-muted); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
}

@media (min-width: 720px) { main { padding-top: 48px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
