/* «Вместе» web pages. Tokens follow docs/design/DESIGN.md («Белый свет»). */
@font-face {
  font-family: 'Commissioner';
  src: url(/static/fonts/Commissioner-Variable.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  /* Commissioner, SIL Open Font License 1.1: /static/fonts/OFL.txt, changes in FONTLOG.md */
}

:root {
  --bg: #0B0B0C;
  --side: #0E0E10;
  --panel: #121214;
  --control: #1B1B1E;
  --capsule: #18181B;
  --hover: #26262A;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --light-1: #F4F3EF;
  --light-2: #B3B1AB;
  --light-3: #8A8882;
  --light-4: #5C5B57;
  --rose: #FF73A6;
  --azure: #5CA9FF;
  --mint: #43E0A6;
  --lime: #D2F26B;
  --lilac: #B39DFF;
  --ice: #7BE3F0;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--light-1);
  font-family: 'Commissioner', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1, 'kern' 0; }

.page {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 30px 64px 64px;
  isolation: isolate;
}

/* Colored light behind the hero, like the blurred frame on the artboard. */
.glow {
  position: absolute;
  left: 20px;
  top: 120px;
  width: 840px;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  filter: blur(80px) saturate(1.3);
}
.glow span {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--c);
  opacity: 0.55;
}
.glow span:nth-child(1) { left: 210px; top: 40px; }
.glow span:nth-child(2) { left: 70px; top: 170px; }
.glow span:nth-child(3) { left: 350px; top: 170px; }

/* ---- header ---- */
.top {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { display: block; }
.top-links { display: flex; align-items: center; gap: 22px; }
.top-link { font-size: 14.5px; color: var(--light-2); text-decoration: none; }
.top-link:hover { color: var(--light-1); }

.capsule {
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--capsule);
  border: 1px solid var(--line);
  color: var(--light-1);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 450;
  cursor: pointer;
  white-space: nowrap;
}
.capsule:hover { background: var(--hover); }
.capsule svg { flex-shrink: 0; }

/* ---- hero ---- */
.hero {
  margin-top: 90px;
  display: grid;
  grid-template-columns: minmax(0, 736px) minmax(0, 504px);
  justify-content: space-between;
  column-gap: 72px;
  align-items: start;
}

.frame {
  position: relative;
  width: 100%;
  aspect-ratio: 736 / 414;
  border-radius: 32px;
  corner-shape: squircle;
  overflow: hidden;
  background: #111113;
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  corner-shape: squircle;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

/* Three people's colors meeting in white light: the brand mark as a projector
   on a dark screen. Circles are people; where all of them overlap it is white. */
.light {
  position: absolute;
  inset: 0;
  isolation: isolate;
  background:
    radial-gradient(60% 75% at 50% 48%, rgba(244, 243, 239, 0.06) 0%, rgba(244, 243, 239, 0) 70%),
    linear-gradient(180deg, #121215 0%, #0c0c0e 100%);
}
.light .halo {
  position: absolute;
  inset: 0;
  filter: blur(46px) saturate(1.2);
  opacity: 0.55;
}
.beam {
  position: absolute;
  width: 29.9%;
  aspect-ratio: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
  background: radial-gradient(circle at 50% 42%, var(--c) 0%, var(--c) 62%, color-mix(in srgb, var(--c) 78%, #000) 100%);
}
.beam:nth-child(1) { left: 35.05%; top: 5.6%; }
.beam:nth-child(2) { left: 26.63%; top: 32.2%; }
.beam:nth-child(3) { left: 43.48%; top: 32.2%; }
.light .edge {
  position: absolute;
  inset: 0;
  background: radial-gradient(95% 80% at 50% 45%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.c-rose { --c: var(--rose); }
.c-azure { --c: var(--azure); }
.c-mint { --c: var(--mint); }
.c-lime { --c: var(--lime); }
.c-lilac { --c: var(--lilac); }
.c-ice { --c: var(--ice); }

.chips {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  height: 28px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(22, 22, 25, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: var(--light-1);
}

.fact {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.fact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(244, 243, 239, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fact-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fact-main { font-size: 14.5px; font-weight: 450; }
.fact-sub { font-size: 13px; color: var(--light-3); }

.steps {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--light-2);
}
.steps li { display: flex; align-items: center; gap: 10px; }
.steps .n { font-size: 13px; color: var(--light-1); }
.steps .dash { width: 28px; height: 1px; background: var(--line-2); flex-shrink: 0; }

.side { padding-top: 8px; }

.who { display: flex; align-items: center; gap: 12px; }
.who-text { font-size: 15px; line-height: 1.4; color: var(--light-2); }
.who-name { color: var(--light-1); font-weight: 500; }

.av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--c);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
}
.av-lg { width: 44px; height: 44px; font-size: 18px; }
.avs { display: flex; }
.avs .av + .av { margin-left: -8px; }

h1.title {
  margin: 26px 0 0;
  font-size: 56px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.meta { margin-top: 14px; font-size: 15px; color: var(--light-2); }
.lead { margin: 18px 0 0; font-size: 15px; line-height: 1.45; color: var(--light-2); max-width: 480px; }
.hint { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--light-3); text-align: center; }
.people { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.people-text { font-size: 14px; color: var(--light-2); }

.actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.btn-primary {
  height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--light-1);
  color: var(--bg);
  text-decoration: none;
  font-size: 16.5px;
  font-weight: 500;
}
.btn-primary:hover { background: #FFFFFF; }
.btn-primary:active { transform: scale(0.97); }
button.btn-primary { width: 100%; border: 0; font: inherit; font-size: 16.5px; font-weight: 500; cursor: pointer; }
.btn-full {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--control);
  border: 1px solid var(--line);
  color: var(--light-2);
  font-size: 15px;
}
.dl-row { display: flex; align-items: center; gap: 14px; }
.btn-dl {
  flex-grow: 1;
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--capsule);
  border: 1px solid var(--line);
  color: var(--light-1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 450;
}
.btn-dl:hover { background: var(--hover); }
.dl-alt { font-size: 14px; color: var(--light-3); }
.dl-alt a { color: var(--light-2); }

.card {
  margin-top: 26px;
  padding: 18px 18px 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 24px;
  corner-shape: squircle;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  corner-shape: squircle;
  background: rgba(244, 243, 239, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-text { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; min-width: 0; }
.card-title { font-size: 15px; font-weight: 500; }
.card-sub { font-size: 13px; line-height: 1.4; color: var(--light-3); }
.card .capsule { background: var(--control); padding: 0 14px; gap: 9px; }

.note { margin: 26px 0 0; font-size: 13px; line-height: 1.5; color: var(--light-3); }
.note a { color: var(--light-2); }

/* ---- message pages ---- */
.page-message .glow { left: 50%; top: 40px; transform: translateX(-50%); width: 640px; height: 440px; opacity: 0.3; }
.page-message .glow span:nth-child(1) { left: 110px; top: 0; }
.page-message .glow span:nth-child(2) { left: 0; top: 110px; }
.page-message .glow span:nth-child(3) { left: 220px; top: 110px; }
.message {
  max-width: 560px;
  margin: 120px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.message .mark { width: 120px; height: 120px; position: relative; isolation: isolate; }
.message .mark .beam { width: 58%; }
.message .mark .beam:nth-child(1) { left: 21%; top: 4%; }
.message .mark .beam:nth-child(2) { left: 6.8%; top: 29%; }
.message .mark .beam:nth-child(3) { left: 35.2%; top: 29%; }
.message h1 { margin: 36px 0 0; font-size: 34px; line-height: 1.15; font-weight: 400; }
.message p { margin: 16px 0 0; font-size: 15px; line-height: 1.45; color: var(--light-2); }
.message .actions { width: 100%; max-width: 420px; margin-top: 32px; }

.foot {
  margin-top: 72px;
  font-size: 12.5px;
  color: var(--light-4);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.foot a { color: var(--light-3); text-decoration: none; }
.foot a:hover { color: var(--light-2); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--light-1); outline-offset: 3px; }

@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 48px; margin-top: 56px; }
  .side { order: -1; padding-top: 0; max-width: 560px; }
  .glow { width: 100%; left: 0; }
}

@media (max-width: 640px) {
  .page { padding: 20px 16px 40px; }
  .top-link { display: none; }
  .capsule.top-dl span { display: none; }
  .hero { margin-top: 36px; row-gap: 32px; }
  h1.title { font-size: 40px; }
  .frame { border-radius: 24px; }
  .steps { flex-direction: column; align-items: flex-start; gap: 10px; }
  .steps .dash { display: none; }
  .dl-row { flex-direction: column; align-items: stretch; }
  .dl-alt { text-align: center; }
  .card { flex-wrap: wrap; }
  .message { margin-top: 64px; }
  .message h1 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:active { transform: none; }
}
.iso { isolation: isolate; }
.scr { mix-blend-mode: screen; }
.light .discs { position: absolute; inset: 0; }
