:root {
  color-scheme: dark;
  font-family: system-ui, Arial, sans-serif;
  color: #f8fafc;
  background: #0f172a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b 50%, #0f172a);
}
main {
  width: min(448px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 44px;
}
header { margin-bottom: 22px; text-align: center; }
.portrait {
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgb(34 197 94 / 22%);
}
h1 { font-size: 30px; line-height: 1.2; margin: 12px 0 7px; }
header p { margin: 0; font-size: 15px; line-height: 1.5; color: #d1d5db; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #4ade80; outline-offset: 3px; }
.language {
  display: inline-flex;
  gap: 2px;
  padding: 2px;
  margin-top: 13px;
  border: 1px solid #475569;
  border-radius: 7px;
}
.language a { padding: 5px 11px; border-radius: 4px; font-size: 13px; color: #cbd5e1; }
.language a[aria-current] { background: #334155; color: #86efac; }
ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.link-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgb(71 85 105 / 58%);
  border-radius: 12px;
  background: rgb(30 41 59 / 65%);
}
.link-row:hover, .link-row:focus-visible { background: #293548; }
.link-row:hover strong, .link-row:focus-visible strong { color: #4ade80; }
.logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
}
.logo img { object-fit: contain; }
.copy strong { font-size: 16px; font-weight: 650; }
.copy p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; color: #b6bfce; overflow-wrap: anywhere; }
.arrow { color: #94a3b8; font: 15px/1 Arial, sans-serif; }
@media (max-width: 380px) {
  .link-row { grid-template-columns: 36px minmax(0, 1fr) 12px; padding: 13px; gap: 11px; }
  .logo { width: 36px; height: 36px; }
}
