/* Viralex Club — the international landing, viralex.io (club/server/api/klad/landing_intl.py). Linked after
   landing.css on the English, French and Russian pages of viralex.io only; viralex.club never loads it.
   Same rules as landing.css: no inline styles, no scripts, only the site's own fonts.
   Order: 1 fonts · 2 language switcher · 3 longer English and French text. */

/* 1. The condensed caps file carries Œ œ and € too, but landing.css gives it only U+0000-00FF and U+2010-2027:
   without this face a French heading with œ or € would take those letters from a fallback font. */
@font-face{font-family:KlubCaps;src:url("alumni-lat.woff2") format("woff2");font-weight:900;font-display:swap;unicode-range:U+0152-0153,U+20AC}

/* 2. The language switcher: three plain links next to the sign-in link, the current one marked. */
.top{gap:10px}
.top .logo{margin-right:auto;white-space:nowrap}
.enter{flex:none;padding:0 14px;white-space:nowrap}
.langs{flex:none;display:flex;align-items:center;font:500 13px/1 var(--mono);letter-spacing:.04em;color:var(--t2)}
.langs a{display:inline-flex;align-items:center;min-height:44px;padding:0 5px;text-decoration:none}
.langs a+a::before{content:"·";margin:0 9px 0 -5px;color:#B8B8BE}
.langs a:hover{color:var(--ink)}
.langs a[aria-current="true"]{color:var(--ink);font-weight:600}
/* Logo, switcher and sign-in do not fit one row of a narrow phone with the word «Viralex Club»: there the sign
   stays alone. The link keeps its name for screen readers (its aria-label). */
@media (max-width:379px){
  .logo span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
}

/* 3. Longer English and French text. The heading of the first screen is a third longer than the Russian one
   (French half as long again): set a little smaller, it keeps the button on the first screen of a laptop. */
html[lang="en"] h1,html[lang="fr"] h1{font-size:clamp(46px,6vw,80px)}
/* The app windows of the first two reasons cut long names with «…» on a
   phone («Entreprise AI-native», «validé par le club»): there a name may take two lines instead. */
@media (max-width:420px){
  .mrow:not(.crow){grid-template-columns:72px minmax(0,1fr) auto}
  .mrow{padding-block:6px}
  .mrow .n,.cname span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
}
